]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S/390: Add SystemTap probes to longjmp and setjmp.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
53244a4e
SL
12014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4 Add setjmp LIBC_PROBE.
5 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6 Likewise.
7 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8 Add longjmp, longjmp_target LIBC_PROBE.
9 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
10 Likewise.
11
47df8251
SL
122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13
14 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
16 to get rid of unused variable warning.
17
618cebef
SL
182014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19
20 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21 Check for unwind_backtrace == NULL only in SHARED case.
22 (__backchain_backtrace): Compile only in SHARED case.
23 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
24 Likewise.
25 (__backchain_backtrace): Declare as static.
26
c6aab2cb
RM
272014-11-12 Roland McGrath <roland@hack.frob.com>
28
29 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30 (__libc_multiple_threads_ptr): Variable moved ...
31 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32
5a6fa4d7
JM
332014-11-12 Joseph Myers <joseph@codesourcery.com>
34
24f4f825
JM
35 * conform/GlibcConform.pm: New file.
36 * conform/conformtest.pl: Use GlibcConform module.
37 * conform/linknamespace.pl: New file.
38 * conform/list-header-symbols.pl: Likewise.
39 * conform/Makefile (linknamespace-symlists-base): New variable.
40 (linknamespace-symlists-tests): Likewise.
41 (linknamespace-header-base): Likewise.
42 (linknamespace-header-tests): Likewise.
43 (tests-special): Add new tests.
44 ($(linknamespace-symlists-tests)): New rule.
45 (linknamespace-libs): New variable.
46 ($(objpfx)symlist-stdlibs): New rule.
47 ($(linknamespace-header-tests)): Likewise.
48 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
49 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
50 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
51 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
52 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
53 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
54 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
55 (test-xfail-ISO/math.h/linknamespace): Likewise.
56 (test-xfail-ISO/signal.h/linknamespace): Likewise.
57 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
58 (test-xfail-ISO/time.h/linknamespace): Likewise.
59 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
60 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
61 (test-xfail-ISO99/math.h/linknamespace): Likewise.
62 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
63 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
64 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
65 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
66 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
67 (test-xfail-ISO11/math.h/linknamespace): Likewise.
68 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
69 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
70 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
71 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
72 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
73 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
74 (test-xfail-XPG3/math.h/linknamespace): Likewise.
75 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
76 (test-xfail-XPG3/search.h/linknamespace): Likewise.
77 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
78 (test-xfail-XPG3/time.h/linknamespace): Likewise.
79 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
80 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
81 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
82 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
83 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
84 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
85 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
86 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
87 (test-xfail-XPG4/math.h/linknamespace): Likewise.
88 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
89 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
90 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
91 (test-xfail-XPG4/search.h/linknamespace): Likewise.
92 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
93 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
94 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
95 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
96 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
97 (test-xfail-XPG4/time.h/linknamespace): Likewise.
98 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
99 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
100 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
101 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
102 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
103 (test-xfail-POSIX/math.h/linknamespace): Likewise.
104 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
105 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
106 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
107 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
108 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
109 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
110 (test-xfail-POSIX/time.h/linknamespace): Likewise.
111 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
112 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
113 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
114 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
115 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
116 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
117 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
118 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
119 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
120 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
121 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
122 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
123 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
124 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
125 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
126 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
127 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
128 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
129 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
130 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
131 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
132 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
133 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
134 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
135 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
136 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
137 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
138 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
139 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
140 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
141 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
142 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
143 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
144 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
145 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
146 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
147 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
148 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
149 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
150 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
151 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
152 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
153 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
154 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
155 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
156 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
157 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
158 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
159 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
160 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
161 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
162 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
163 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
164 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
165 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
166 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
167 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
168 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
169 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
170 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
171 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
172 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
173 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
174 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
175 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
176 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
177 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
178 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
179 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
180 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
181 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
182 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
183 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
184 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
185 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
186 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
187 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
188 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
189 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
190 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
191 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
192 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
193 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
194 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
195 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
196 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
197 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
198 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
199 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
200 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
201 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
202 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
203 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
204 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
205 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
206 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
207 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
208 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
209
cc67478e
JM
210 [BZ #17589]
211 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
212 of fgets_unlocked.
213
9975e3d3
JM
214 [BZ #17585]
215 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
216 (memmem): Rename to __memmem and define as weak alias of
217 __memmem. Use libc_hidden_weak.
218 (__memmem): Use libc_hidden_def.
219 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
220 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
221 memmem.
222
c4eae752
JM
223 [BZ #17582]
224 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
225 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
226 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
227 and define as weak alias of __fgets_unlocked. Use
228 libc_hidden_weak.
229 (__fgets_unlocked): Use libc_hidden_def.
230 * include/stdio.h (__fgets_unlocked): Declare. Use
231 libc_hidden_proto.
232 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
233 __fgets_unlocked instead of fgets_unlocked.
234 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
235 (GET_NPROCS_CONF_PARSER): Likewise.
236 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
237 (GET_NPROCS_CONF_PARSER): Likewise.
238
01cad84e
JM
239 [BZ #17574]
240 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
241 weak alias of __wmemset. Use libc_hidden_weak.
242 (__wmemset): Use libc_hidden_def.
243 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
244 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
245 of wmemset.
246
939da411
JM
247 [BZ #17573]
248 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
249 with asm name __mempcpy.
250 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
251
293d9a41
JM
252 [BZ #17572]
253 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
254 and define as weak alias of __rawmemchr.
255 (__rawmemchr): Do not define as strong alias of rawmemchr.
256
bef8fd60
JM
257 [BZ #17571]
258 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
259 alias of __qsort_r.
260 (qsort): Call __qsort_r instead of qsort_r.
261 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
262 (__qsort_r): Declare. Call libc_hidden_proto.
263 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
264 instead of qsort_r.
265 * nscd/gai.c (__qsort_r): Define to qsort_r.
266 * posix/tst-rfc3484.c (__qsort_r): Likewise.
267 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
268 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
269
c52ff39e
JM
270 [BZ #17570]
271 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
272 define as weak alias of __malloc_info.
273
2f5c1b00
JM
274 [BZ #17584]
275 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
276 as weak alias of __rewinddir. Don't use libc_hidden_def.
277 (__rewinddir): Use libc_hidden_def.
278 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
279 as weak alias of __rewinddir. Don't use libc_hidden_def.
280 (__rewinddir): Use libc_hidden_def.
281 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
282 weak alias of __rewinddir. Don't use libc_hidden_def.
283 (__rewinddir): Use libc_hidden_def.
284 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
285 (__rewinddir): Use libc_hidden_proto.
286 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
287 rewinddir.
288 (__getcwd): Use __rewinddir instead of rewinddir.
289
5a6fa4d7
JM
290 [BZ #17583]
291 * libio/fileno.c (fileno): Rename to __fileno and define as weak
292 alias of __fileno. Use libc_hidden_weak.
293 (__fileno): Use libc_hidden_def.
294 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
295 * libio/ftello.c (ftello): Rename to __ftello and define as weak
296 alias of __ftello.
297 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
298 __ftello.
299 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
300 (__fread_unlocked): Define as strong alias of _IO_fread. Use
301 libc_hidden_def.
302 (fread_unlocked): Don't use libc_hidden_ver.
303 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
304 and define as weak alias of __fread_unlocked. Don't use
305 libc_hidden_def.
306 (__fread_unlocked): Use libc_hidden_def.
307 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
308 (ftello): Don't use libc_hidden_proto.
309 (__ftello): Declare. Use libc_hidden_proto.
310 (fread_unlocked): Don't use libc_hidden_proto.
311 (__fread_unlocked): Declare. Use libc_hidden_proto.
312 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
313 and __ftello instead of fileno, fread_unlocked and ftello.
314
2581b98e
SP
3152012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
316
317 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
318 GOT12.
319 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
320 Likewise.
321 (_dl_start_user): Likewise.
322 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
323
533bb7c2
SP
3242014-11-12 Carlos O'Donell <carlos@redhat.com>
325 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
328 Move argv and envp down instead of moving argc up.
329 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
330
fffa1cf8
LH
3312014-11-12 Leonhard Holz <leonhard.holz@web.de>
332
333 [BZ #17506]
334 * test-skeleton.c (main): Return successful if one of
335 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
336 * string/tst-strcoll-overflow.c: Define expected status.
337
fb89b46d
TU
3382014-11-12 Tatiana Udalova <t.udalova@samsung.com>
339
340 [BZ #17475]
341 * locale/iso-639.def: Define Bhili and Tulu language codes.
342
5c40c3ba
AH
3432014-11-11 Alan Hayward <alan.hayward@arm.com>
344
345 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
346
b17fe01b 3472014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
348
349 [BZ #17555]
350 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
351
bd805071
AS
3522014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
353
354 * configure.ac: Updated check of minimal required version to
355 2.22.
356 * manual/install.texi (Tools for Compilation): Updated version
357 number.
358 * configure: Regenerated.
359 * INSTALL: Likewise.
360
1400983e
AS
3612014-11-07 Andreas Schwab <schwab@linux-m68k.org>
362
363 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
364 __tls_get_addr.
365
2c46a66a
JM
3662014-11-07 Joseph Myers <joseph@codesourcery.com>
367
368 * include/sys/wait.h (__libc_waitpid): Remove declaration.
369 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
370 (__waitpid): Don't define as alias. Use libc_hidden_def not
371 libc_hidden_weak.
372 (waitpid): Define as alias of __waitpid.
373 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
374 __waitpid.
375 (__waitpid): Don't define as alias. Use libc_hidden_def not
376 libc_hidden_weak.
377 (waitpid): Define as alias of __waitpid.
378 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
379 __libc_waitpid alias.
380 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
381 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
382 Likewise.
383 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
384 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
385 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
386 alias.
387 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
388 __waitpid.
389 (__waitpid): Don't define as alias. Use libc_hidden_def not
390 libc_hidden_weak.
391 (waitpid): Define as alias of __waitpid.
392
da53d6db
CD
3932014-11-06 Carlos O'Donell <carlos@redhat.com>
394
a2887bdb
CD
395 * manual/llio.texi: Add comment that write safety has been
396 fixed in Linux.
397
da53d6db
CD
398 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
399 (localplt-build-dso): Add elf/ld.so.
400 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
401 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
402 and free for ld.so.
403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
404 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
406 Likewise.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
408 Likewise.
409 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
410 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
411 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
412 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
413 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
414 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
415 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
416 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
417 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
418 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
419 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
420
9cf27b8d
JM
4212014-11-05 Joseph Myers <joseph@codesourcery.com>
422
423 [BZ #14132]
424 * include/libc-symbols.h (INTUSE): Remove macro.
425 (INTDEF): Likewise.
426 (INTVARDEF): Likewise.
427 (_INTVARDEF): Likewise.
428 (INTDEF2): Likewise.
429 (INTVARDEF2): Likewise.
430 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
431 rtld_hidden_def instead of INTVARDEF.
432 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
433 (_dl_starting_up_internal): Remove declaration.
434 (_dl_starting_up): Use rtld_hidden_proto.
435 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
436 declaration.
437 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
438 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
439 _dl_starting_up.
440 * elf/dl-writev.h (_dl_writev): Likewise.
441 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
442 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
443 _dl_starting_up_internal.
444
af83568d
AZ
4452014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
448 test-skeleton.c.
449
b01ee67c
WN
4502014-11-05 Will Newton <will.newton@linaro.org>
451
452 * benchtests/Makefile: (bench-malloc): Add malloc thread
453 scalability benchmark.
454 * benchtests/bench-malloc-threads.c: New file.
455
be9d4ccc
RE
4562014-11-05 Richard Earnshaw <rearnsha@arm.com>
457
458 * sysdeps/aarch64/strchrnul.S: New file.
459
7110166d
AZ
4602014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461
462 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
463 definition.
464 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
465 Likwise.
466 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
467 Likewise.
468 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
469 Likewise.
470 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
471 Likewise.
472 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
473 Likewise.
474
4752014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
476
477 * catgets/test-gencat.c: Use test-skeleton.c.
478 * catgets/tst-catgets.c: Likewise.
479 * csu/tst-empty.c: Likewise.
480 * elf/tst-audit2.c: Likewise.
481 * elf/tst-global1.c: Likewise.
482 * elf/tst-pathopt.c: Likewise.
483 * elf/tst-piemod1.c: Likewise.
484 * elf/tst-tls10.c: Likewise.
485 * elf/tst-tls11.c: Likewise.
486 * elf/tst-tls12.c: Likewise.
487 * gnulib/tst-gcc.c: Likewise.
488 * iconvdata/tst-e2big.c: Likewise.
489 * iconvdata/tst-loading.c: Likewise.
490 * iconv/tst-iconv1.c: Likewise.
491 * iconv/tst-iconv2.c: Likewise.
492 * inet/test-inet6_opt.c: Likewise.
493 * inet/tst-gethnm.c: Likewise.
494 * inet/tst-network.c: Likewise.
495 * inet/tst-ntoa.c: Likewise.
496 * intl/tst-codeset.c: Likewise.
497 * intl/tst-gettext2.c: Likewise.
498 * intl/tst-gettext3.c: Likewise.
499 * intl/tst-ngettext.c: Likewise.
500 * intl/tst-translit.c: Likewise.
501 * io/test-stat.c: Likewise.
502 * libio/test-fmemopen.c: Likewise.
503 * libio/tst-freopen.c: Likewise.
504 * libio/tst-sscanf.c: Likewise.
505 * libio/tst-ungetwc1.c: Likewise.
506 * libio/tst-ungetwc2.c: Likewise.
507 * libio/tst-widetext.c: Likewise.
508 * localedata/tst-ctype.c: Likewise.
509 * localedata/tst-digits.c: Likewise.
510 * localedata/tst-leaks.c: Likewise.
511 * localedata/tst-mbswcs1.c: Likewise.
512 * localedata/tst-mbswcs2.c: Likewise.
513 * localedata/tst-mbswcs3.c: Likewise.
514 * localedata/tst-mbswcs4.c: Likewise.
515 * localedata/tst-mbswcs5.c: Likewise.
516 * localedata/tst-setlocale.c: Likewise.
517 * localedata/tst-trans.c: Likewise.
518 * localedata/tst-wctype.c: Likewise.
519 * localedata/tst-xlocale1.c: Likewise.
520 * login/tst-grantpt.c: Likewise.
521 * malloc/tst-calloc.c: Likewise.
522 * malloc/tst-malloc.c: Likewise.
523 * malloc/tst-mallocstate.c: Likewise.
524 * malloc/tst-mcheck.c: Likewise.
525 * malloc/tst-mtrace.c: Likewise.
526 * malloc/tst-obstack.c: Likewise.
527 * math/atest-exp2.c: Likewise.
528 * math/atest-exp.c: Likewise.
529 * math/atest-sincos.c: Likewise.
530 * math/test-matherr.c: Likewise.
531 * math/test-misc.c: Likewise.
532 * math/test-powl.c: Likewise.
533 * math/tst-definitions.c: Likewise.
534 * misc/tst-dirname.c: Likewise.
535 * misc/tst-efgcvt.c: Likewise.
536 * misc/tst-fdset.c: Likewise.
537 * misc/tst-hsearch.c: Likewise.
538 * misc/tst-mntent2.c: Likewise.
539 * nptl/tst-sem7.c: Likewise.
540 * nptl/tst-sem8.c: Likewise.
541 * nptl/tst-sem9.c: Likewise.
542 * nss/test-netdb.c: Likewise.
543 * posix/tst-fnmatch.c: Likewise.
544 * posix/tst-getlogin.c: Likewise.
545 * posix/tst-gnuglob.c: Likewise.
546 * posix/tst-mmap.c: Likewise.
547 * pwd/tst-getpw.c: Likewise.
548 * resolv/tst-inet_ntop.c: Likewise.
549 * rt/tst-timer.c: Likewise.
550 * stdio-common/test-fseek.c: Likewise.
551 * stdio-common/test-popen.c: Likewise.
552 * stdio-common/test-vfprintf.c: Likewise.
553 * stdio-common/tst-cookie.c: Likewise.
554 * stdio-common/tst-fileno.c: Likewise.
555 * stdio-common/tst-gets.c: Likewise.
556 * stdio-common/tst-obprintf.c: Likewise.
557 * stdio-common/tst-perror.c: Likewise.
558 * stdio-common/tst-sprintf2.c: Likewise.
559 * stdio-common/tst-sprintf3.c: Likewise.
560 * stdio-common/tst-sprintf.c: Likewise.
561 * stdio-common/tst-swprintf.c: Likewise.
562 * stdio-common/tst-tmpnam.c: Likewise.
563 * stdio-common/tst-unbputc.c: Likewise.
564 * stdio-common/tst-wc-printf.c: Likewise.
565 * stdlib/tst-environ.c: Likewise.
566 * stdlib/tst-fmtmsg.c: Likewise.
567 * stdlib/tst-limits.c: Likewise.
568 * stdlib/tst-rand48-2.c: Likewise.
569 * stdlib/tst-rand48.c: Likewise.
570 * stdlib/tst-random2.c: Likewise.
571 * stdlib/tst-random.c: Likewise.
572 * stdlib/tst-strtol.c: Likewise.
573 * stdlib/tst-strtoll.c: Likewise.
574 * stdlib/tst-tls-atexit.c: Likewise.
575 * stdlib/tst-xpg-basename.c: Likewise.
576 * string/test-ffs.c: Likewise.
577 * string/tst-bswap.c: Likewise.
578 * string/tst-inlcall.c: Likewise.
579 * string/tst-strtok.c: Likewise.
580 * string/tst-strxfrm.c: Likewise.
581 * sysdeps/x86_64/tst-audit10.c: Likewise.
582 * sysdeps/x86_64/tst-audit3.c: Likewise.
583 * sysdeps/x86_64/tst-audit4.c: Likewise.
584 * sysdeps/x86_64/tst-audit5.c: Likewise.
585 * time/tst-ftime_l.c: Likewise.
586 * time/tst-getdate.c: Likewise.
587 * time/tst-mktime3.c: Likewise.
588 * time/tst-mktime.c: Likewise.
589 * time/tst-posixtz.c: Likewise.
590 * time/tst-strptime2.c: Likewise.
591 * time/tst-strptime3.c: Likewise.
592 * wcsmbs/tst-btowc.c: Likewise.
593 * wcsmbs/tst-mbrtowc.c: Likewise.
594 * wcsmbs/tst-mbsrtowcs.c: Likewise.
595 * wcsmbs/tst-wchar-h.c: Likewise.
596 * wcsmbs/tst-wcpncpy.c: Likewise.
597 * wcsmbs/tst-wcrtomb.c: Likewise.
598 * wcsmbs/tst-wcsnlen.c: Likewise.
599 * wcsmbs/tst-wcstof.c: Likewise.
600
2004e7fb
JM
6012014-11-04 Joseph Myers <joseph@codesourcery.com>
602
ab97ee8f
JM
603 [BZ #14132]
604 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
605 INTDEF.
606 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
607 declaration.
608 (_dl_mcount): Use rtld_hidden_proto.
609 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
610 _dl_mcount.
611 * elf/rtld.c (_rtld_global_ro): Likewise.
612
c5684fdb
JM
613 [BZ #14132]
614 * elf/dl-init.c (_dl_init): Don't use INTDEF.
615 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
616 of _dl_init_internal.
617 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
618 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
619 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
620 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
621 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
622 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
623 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
624 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
625 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
626 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
627 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
628 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
629 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
630 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
631 * sysdeps/tile/dl-start.S (_start): Likewise.
632 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
633 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
634
4243cbea
JM
635 [BZ #14132]
636 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
637 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
638 (rtld_progname): Make macro definition unconditional.
639 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
640 INTDEF.
641 (dlmopen_doit): Do not use INTUSE with _dl_argv.
642 (dl_main): Likewise.
643 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
644 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
645 instead of _dl_argv_internal.
646 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
647 __GI__dl_argv instead of INTUSE(_dl_argv).
648 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
649 __GI__dl_argv instead of _dl_argv_internal.
650
2004e7fb
JM
651 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
652 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
653 macro.
654 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
655 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
656 New macro.
657 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
658 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
659 macro.
660 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
661 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
662
97827bfc
AS
6632014-11-04 Andreas Schwab <schwab@suse.de>
664
665 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
666
5e4df284
AZ
6672014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
668
669 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
670 mtvsrd instruction in binary form.
671
04b76b5a
AS
6722014-11-03 Andreas Schwab <schwab@suse.de>
673
674 [BZ #17522]
675 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
676 for less than MB_LEN_MAX use a local buffer of that size.
677 * libio/tst-fputws.c: New file.
678 * libio/Makefile (tests): Add tst-fputws.
679
4c6da7da
JM
6802014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
681
682 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
683 the size of the fpu_fr.fpu_dregs[] array.
684
1679ba8e
JM
6852014-11-01 Joseph Myers <joseph@codesourcery.com>
686
687 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
688 (__nanosleep): Do not define as alias.
689 (nanosleep): Define as alias of __nanosleep.
690 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
691 __libc_nanosleep name.
692
2626c183
JM
6932014-10-31 Joseph Myers <joseph@codesourcery.com>
694
695 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
696 install.texi in comment.
697
7f981fc2
TR
6982014-10-31 Torvald Riegel <triegel@redhat.com>
699
700 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
701 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
702 ... add here and use lwsync or sync ...
703 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
704 ... and add here using lwsync.
705
d6f373d2
MF
7062014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
707
708 * elf/dl-machine-reject-phdr.h: New file.
709 * elf/dl-load.c: #include that.
710 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
711 if that returned true.
712
67c37987
RM
7132014-10-31 Roland McGrath <roland@hack.frob.com>
714
715 [BZ #17496]
716 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
717 gen-as-const-headers chunk. Add a big scare comment after the last
718 safe place to touch before-compile.
719
94a42455 7202014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 721
f3f5d895
JM
722 * manual/install.texi (Tools for Compilation): Update autoconf
723 version requirements.
724 * INSTALL: Regenerated.
725
f62ff286
JM
726 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
727 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
728 (__libc_pselect): Likewise.
94a42455
JM
729
730 [BZ #14138]
731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
735
ff9dbdc0
TR
7362014-10-31 Torvald Riegel <triegel@redhat.com>
737
738 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
739 correct barrier instruction.
740 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
741 Likewise.
742 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
743 Likewise.
744
b4f66884
RM
7452014-10-30 Roland McGrath <roland@hack.frob.com>
746
747 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
748 after defining inlines. Instead, just use parens to defeat macro
749 expansion of __isctype in its declaration.
750
e19c95fd
JM
7512014-10-30 Joseph Myers <joseph@codesourcery.com>
752
753 * include/sys/uio.h (__libc_readv): Remove declaration.
754 (__libc_writev): Likewise.
755 * misc/readv.c (__libc_readv): Rename to __readv.
756 (__readv): Do not define as alias.
757 (readv): Define as alias of __readv.
758 * misc/writev.c (__libc_writev): Rename to __writev.
759 (__writev): Do not define as alias.
760 (writev): Define as alias of __writev.
761 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
762 (__readv): Do not define as alias.
763 (readv): Define unconditionally as alias of __readv.
764 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
765 (__writev): Do not define as alias.
766 (writev): Define unconditionally as alias of __writev.
767 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
768 name.
769 (writev): Do not define __libc_writev name.
770
65b00b6c
RM
7712014-10-30 Roland McGrath <roland@hack.frob.com>
772
773 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
774 (convert_charseq): New function, broken out of ...
775 (use_from_charmap): ... here. Call it.
776 (use_to_charmap): Use convert_charseq and free instead of duplicating
777 its code with a variable-length stack struct.
778
d4e157aa
JM
7792014-10-30 Joseph Myers <joseph@codesourcery.com>
780
781 * include/fcntl.h (__libc_creat): Remove declaration.
782 * io/creat.c (__libc_creat): Rename to creat.
783 (creat): Do not define as alias.
784 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
785 of creat instead of __libc_creat.
786 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
787 to creat.
788 (creat): Do not define as alias.
789 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
790 __libc_creat.
791 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
792 __libc_creat name.
793 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
794 Likewise.
795
0c6891a0
CD
7962014-10-29 Carlos O'Donell <carlos@redhat.com>
797
798 * manual/llio.texi: Add comments discussing why write() may be
799 considered MT-unsafe on Linux.
800
cc00cece
CD
8012014-10-28 Carlos O'Donell <carlos@redhat.com>
802
803 * dl-load.c (local_strdup): Remove.
804 (expand_dynamic_string_token): Use __strdup.
805 (decompose_rpath): Likewise.
806 (_dl_map_object): Likewise.
807
51e623f2
JM
8082014-10-28 Joseph Myers <joseph@codesourcery.com>
809
810 [BZ #14132]
811 * sysdeps/generic/unwind-dw2-fde.c
812 (__register_frame_info_bases_internal): Do not declare.
813 (__register_frame_info_table_bases_internal): Likewise.
814 (__deregister_frame_info_bases_internal): Likewise.
815 (__register_frame_info_bases): Declare and use hidden_proto before
816 definition. Use hidden_def instead of INTDEF.
817 (__register_frame_info_table_bases): Likewise.
818 (__deregister_frame_info_bases): Likewise.
819 (__register_frame_info): Do not use INTUSE.
820 (__register_frame): Likewise.
821 (__register_frame_info_table): Likewise.
822 (__register_frame_table): Likewise.
823 (__deregister_frame_info): Likewise.
824 (__deregister_frame): Likewise.
825
03d41216
GC
8262014-10-27 Gratian Crisan <gratian.crisan@ni.com>
827
828 * sysdeps/unix/sysv/linux/arm/kernel-features.h
829 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
830 not undefine.
831 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
832 Likewise.
833 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
834 Likewise.
835
a4b3624d
JM
8362014-10-27 Joseph Myers <joseph@codesourcery.com>
837
838 [BZ #14138]
839 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
840 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
841 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
842 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
843 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
844 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
845 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
846 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
847 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
848 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
850 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
851 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
852 syscall.
853 (setfsuid): Likewise.
854 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
855 (setfsuid): Likewise.
856 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
857 (setfsuid): Likewise.
858 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
859 Likewise.
860 (setfsuid): Likewise.
861 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
862 (setfsuid): Likewise.
863 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
864 Likewise.
865 (setfsuid): Likewise.
866
3574f2fd
AS
8672014-10-27 Andreas Schwab <schwab@suse.de>
868
869 [BZ #17501]
870 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
871 check for Slow_SSE4_2 feature bit.
872 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
873 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
874 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
875 Likewise. Fix check for Fast_Unaligned_Load feature bit.
876
70996a37
RM
8772014-10-24 Roland McGrath <roland@hack.frob.com>
878
461a7b1e
RM
879 * configure.ac: Validate compiler version with a empirical test of
880 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
881 $CC -v output.
882 * configure: Regenerated.
883
70996a37
RM
884 * inet/htons.c (htons): Prototypify.
885 * inet/htonl.c (htonl): Likewise.
886
e80514b5
WD
8872014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
888
889 * string/strncat.c (strncat): Improve performance by using strlen.
890
6e46de42
WD
8912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
892
893 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
894
6a9ad2fa
WD
8952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
896
897 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
898 Call libc_fetestexcept_aarch64.
899
1c8810ed
WD
9002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
901
902 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
903 Call libc_feholdexcept_aarch64.
904
8b1af712
WD
9052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
906
907 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
908 Call get_rounding_mode.
909
a7b00c11
WD
9102014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
911
912 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
913 Simplify logic.
914
3a84f1a6
WD
9152014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
916
917 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
918 Simplify logic.
919
48eb7a94
JM
9202014-10-24 Joseph Myers <joseph@codesourcery.com>
921
c8bc4038
JM
922 [BZ #14138]
923 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
924 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
925 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
926 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
927 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
928 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
929 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
930 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
931 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
932 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
933 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
934 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
935 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
936 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
937 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
938 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
939 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
940 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
941 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
942 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
943 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
944 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
945 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
946 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
947 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
948 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
949 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
950 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
951 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
952 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
953 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
954 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
955 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
956 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
957 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
958 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
959 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
961 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
962 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
963 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
964 syscall.
965 (geteuid): Likewise.
966 (getgid): Likewise.
967 (getuid): Likewise.
968 (getresgid): Likewise.
969 (getresuid): Likewise.
970 (getgroups): Likewise.
971 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
972 (geteuid): Likewise.
973 (getgid): Likewise.
974 (getuid): Likewise.
975 (getresgid): Likewise.
976 (getresuid): Likewise.
977 (getgroups): Likewise.
978 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
979 (geteuid): Likewise.
980 (getgid): Likewise.
981 (getuid): Likewise.
982 (getresgid): Likewise.
983 (getresuid): Likewise.
984 (getgroups): Likewise.
985 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
986 Likewise.
987 (geteuid): Likewise.
988 (getgid): Likewise.
989 (getuid): Likewise.
990 (getresgid): Likewise.
991 (getresuid): Likewise.
992 (getgroups): Likewise.
993 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
994 (geteuid): Likewise.
995 (getgid): Likewise.
996 (getuid): Likewise.
997 (getresgid): Likewise.
998 (getresuid): Likewise.
999 (getgroups): Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1001 Likewise.
1002 (geteuid): Likewise.
1003 (getgid): Likewise.
1004 (getuid): Likewise.
1005 (getgroups): Likewise.
1006
48eb7a94
JM
1007 [BZ #14138]
1008 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1009 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1010 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1012 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1013 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1014 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1015 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1016 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1017 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1018 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1019 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1020 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1021 __chown.
1022 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1023 (lchown): Likewise.
1024 (fchown): Likewise.
1025 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1026 Likewise.
1027 (lchown): Likewise.
1028 (fchown): Likewise.
1029 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1030 (lchown): Likewise.
1031 (fchown): Likewise.
1032 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1033 Likewise.
1034 (lchown): Likewise.
1035 (fchown): Likewise.
1036
ea9a7c8b
WD
10372014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1038
1039 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1040 Simplify logic.
1041
e226de33
WD
10422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1043
1044 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1045 Cleanup logic.
1046
6e3d8ed3
WD
10472014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1048
1049 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1050 Remove unused include.
1051
eb04247d
WD
10522014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1053
1054 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1055 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1056 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1057 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1058
13d84554
CD
10592014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1060 Helge Deller <deller@gmx.de>
1061
1062 [BZ #17508]
1063 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1064 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1065 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1066
15f9c5df
JM
10672014-10-23 Joseph Myers <joseph@codesourcery.com>
1068
1069 [BZ #14132]
1070 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1071 Remove macro definition.
1072 (__ashrdi3_v_glibc20): Likewise.
1073 (__lshrdi3_v_glibc20): Likewise.
1074 (__cmpdi2_v_glibc20): Likewise.
1075 (__ucmpdi2_v_glibc20): Likewise.
1076 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1077 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1078 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1079 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1080 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1081 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1082
c6dfed24
RM
10832014-10-22 Roland McGrath <roland@hack.frob.com>
1084
1085 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1086 old GNU extension [0] syntax.
1087 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1088 alloca rather than an array member with variable length.
1089 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1090 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1091 (parse_opt): ... here. Likewise use alloca there.
1092 Validate the -i argument before checking for rootness.
1093 (send_shutdown): New function, broken out of ...
1094 (parse_opt): ... here.
1095
8c2b1ed8
RM
10962014-10-22 Roland McGrath <roland@hack.frob.com>
1097
1098 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1099 macro to get at the _rt_local_ro field.
1100 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1101 ([PIC] case) or _dl_hwcap ([!PIC] case).
1102 * sysdeps/arm/setjmp.S: Likewise.
1103
1104 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1105 * sysdeps/arm/configure.ac: New check to define it.
1106 * sysdeps/arm/configure: Regenerated.
1107 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1108 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1109 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1110 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1111 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1112 Use move/movt pair instead of a load.
1113 (LDST_GLOBAL): Macro removed.
1114 (LDR_GLOBAL): New macro replaces it.
1115 (LDR_HIDDEN): New macro.
1116 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1117 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1118
1119 * setjmp/tst-setjmp-static.c: New file.
1120 * setjmp/Makefile (tests): Add it.
1121 (tests-static): New variable.
1122
b5af9297
MR
11232014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1124
1125 [BZ #17485]
1126 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1127
a13d0d74
JM
11282014-10-21 Joseph Myers <joseph@codesourcery.com>
1129
1130 [BZ #14132]
1131 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1132
f05e73f6
RM
11332014-10-21 Roland McGrath <roland@hack.frob.com>
1134
1135 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1136
6ab1d1ea
RM
11372014-10-20 Roland McGrath <roland@hack.frob.com>
1138
1139 * io/fts.c (dirent_not_directory): New function.
1140 (fts_build): Call it.
1141
ab49e763
RM
11422014-10-20 Roland McGrath <roland@hack.frob.com>
1143
e436eb79
RM
1144 * nptl/version.c (__nptl_main): Use normal __write rather than
1145 INTERNAL_SYSCALL.
1146 (banner): Update copyright years.
1147
6af246cf
RM
1148 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1149 gettimeofday.
1150 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1151 * nptl/pthread_cond_timedwait.c: Likewise.
1152 * nptl/pthread_mutex_timedlock.c: Likewise.
1153 * nptl/sem_timedwait.c: Likewise.
1154
ab49e763
RM
1155 * sysdeps/nptl/bits/libc-lock.h
1156 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1157 (__libc_lock_init_recursive): Return void, not 0.
1158 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1159 (__libc_rwlock_init): Likewise.
1160 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1161
f50277c1
TR
11622014-10-20 Torvald Riegel <triegel@redhat.com>
1163
1164 [BZ #15215]
1165 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1166 (__pthread_once_slow): ... here.
1167 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1168 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1169
63668b70
TR
11702014-10-20 Torvald Riegel <triegel@redhat.com>
1171
1172 [BZ #15215]
1173 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1174 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1175 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1176 * nptl/pthread_once.c (__pthread_once): Likewise.
1177 Update comments.
1178
42b7f5d4
JM
11792014-10-20 Joseph Myers <joseph@codesourcery.com>
1180
1181 [BZ #14138]
1182 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1183 name.
1184 (writev): Use __libc_writev as strong name.
1185 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1186 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1187
b0643088
RM
11882014-10-17 Roland McGrath <roland@hack.frob.com>
1189
114c4e09
RM
1190 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1191
674b8978
RM
1192 * sysdeps/i386/nptl/tls.h
1193 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1194 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1195 New macros.
1196 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1197 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1198 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1199 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1200 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1201 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1202
184ee940
RM
1203 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1204 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1205 on [__NR_futex].
1206 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1207 broken out of ...
1208 (__pthread_mutex_init): ... here. Call it.
1209 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1210 Conditionalize PI cases on [__NR_futex].
1211 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1212 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1213 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1214
327ae257
RM
1215 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1216 conditional on [SIGSETXID].
1217 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1218 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1219 is defined. Likewise for SIGSETXID.
1220 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1221 Conditionalize definitions on [SIGSETXID].
1222 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1223 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1224 unblocking on [SIGCANCEL].
1225
b0643088
RM
1226 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1227 [__NR_set_robust_list].
1228
33cc770b
SP
12292014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1230
1231 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1232 (do_compare): Likewise.
1233
0742aef6
LH
12342014-10-17 Leonhard Holz <leonhard.holz@web.de>
1235
1236 [BZ #15884]
1237 * string/strcoll_l.c: Don't include stdio.h.
1238 (coll_seq): Remove members idxarr and rulearr.
1239 (get_next_seq_cached): Remove function.
1240 (get_next_seq): Likewise.
1241 (get_next_seq_nocache): Rename to get_next_seq.
1242 (do_compare): Remove function.
1243 (do_compare_nocache): Rename to do_compare.
1244 (STRCOLL): Remove weight and rules cache.
1245
ee54ce44
RM
12462014-10-16 Roland McGrath <roland@hack.frob.com>
1247
1248 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1249 * sysdeps/arm/sfp-machine.h: ... to here.
1250 * sysdeps/arm/Implies: Remove arm/soft-fp.
1251
a75d3b02
JM
12522014-10-14 Joseph Myers <joseph@codesourcery.com>
1253
1254 * conform/data/sys/utsname.h-data (*_t): Allow.
1255 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1256 [POSIX] (WEXITED): Do not expect constant.
1257 [POSIX] (WSTOPPED): Likewise.
1258 [POSIX] (WNOHANG): Likewise.
1259 [POSIX] (WNOWAIT): Likewise.
1260 [POSIX] (siginfo_t): Do not expect type or elements.
1261 [POSIX] (pid_t): Do not expect type.
1262 [POSIX] (signal.h): Do not allow header.
1263 [POSIX] (sys/resource.h): Likewise.
1264 [POSIX] (si_*): Do not allow pattern.
1265 [POSIX] (W*): Likewise.
1266 [POSIX] (P_*): Likewise.
1267 [POSIX] (BUS_*): Likewise.
1268 [POSIX] (CLD_*): Likewise.
1269 [POSIX] (FPE_*): Likewise.
1270 [POSIX] (ILL_*): Likewise.
1271 [POSIX] (POLL_*): Likewise.
1272 [POSIX] (SEGV_*): Likewise.
1273 [POSIX] (SI_*): Likewise.
1274 [POSIX] (TRAP_*): Likewise.
1275 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1276 variable.
1277
fda389c8
SP
12782014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1279
1280 [BZ #12926]
1281 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1282 infinite loop when __recvmsg returns 0.
1283
6bc6bd3b
JM
12842014-10-10 Joseph Myers <joseph@codesourcery.com>
1285
fcb32af1
JM
1286 * CANCEL-FCT-WAIVE: Remove file.
1287 * CANCEL-FILE-WAIVE: Likewise.
1288
6bc6bd3b
JM
1289 [BZ #14132]
1290 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1291 instead of INTVARDEF.
1292 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1293 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1294 rtld_hidden_data_def instead of INTVARDEF.
1295 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1296 * elf/dl-deps.c (expand_dst): Likewise.
1297 * elf/dl-load.c (_dl_dst_count): Likewise.
1298 (_dl_dst_substitute): Likewise.
1299 (decompose_rpath): Likewise.
1300 (_dl_init_paths): Likewise.
1301 (open_path): Likewise.
1302 (_dl_map_object): Likewise.
1303 * elf/rtld.c (dl_main): Likewise.
1304 (process_dl_audit): Likewise.
1305 (process_envvars): Likewise.
1306 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1307 Remove declaration.
1308 (__libc_enable_secure): Use rtld_hidden_proto.
1309
b8c80a7e
KS
13102014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1311
1312 * elf/dl-load.c
1313 (add_path): New function broken out of _dl_rtld_di_serinfo.
1314 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1315
ff12c11f
JM
13162014-10-09 Joseph Myers <joseph@codesourcery.com>
1317
5c0508a3
JM
1318 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1319 parentheses around macro arguments.
1320 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1321 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1322 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1323 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1324 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1325 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1326 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1327 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1328 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1331 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1332 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1333 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1334 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1335 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1336 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1337 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1338 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1339 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1340 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1341 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1342 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1343 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1344 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1345 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1346 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1347 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1349 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1350 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1351 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1352 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1353 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1354 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1355 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1356 Likewise.
1357 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1358 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1359 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1360 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1361 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1362 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1363 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1364 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1365 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1366 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1367 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1368 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1369 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1370 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1371 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1372 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1373 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1374 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1375 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1376 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1377 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1378 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1379 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1380 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1381 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1382 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1383 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1384 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1385 (_FP_FRAC_SRS_1): Likewise.
1386 (_FP_FRAC_CLZ_1): Likewise.
1387 (_FP_MUL_MEAT_1_imm): Likewise.
1388 (_FP_MUL_MEAT_1_wide): Likewise.
1389 (_FP_MUL_MEAT_1_hard): Likewise.
1390 (_FP_SQRT_MEAT_1): Likewise.
1391 (_FP_FRAC_ASSEMBLE_1): Likewise.
1392 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1393 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1394 (__FP_CLZ_2): Likewise.
1395 (_FP_MUL_MEAT_2_wide): Likewise.
1396 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1397 (_FP_MUL_MEAT_2_gmp): Likewise.
1398 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1399 (_FP_SQRT_MEAT_2): Likewise.
1400 (_FP_FRAC_ASSEMBLE_2): Likewise.
1401 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1402 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1403 (_FP_FRAC_CLZ_4): Likewise.
1404 (_FP_MUL_MEAT_4_wide): Likewise.
1405 (_FP_MUL_MEAT_4_gmp): Likewise.
1406 (_FP_SQRT_MEAT_4): Likewise.
1407 (_FP_FRAC_ASSEMBLE_4): Likewise.
1408 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1409 * soft-fp/op-common.h (_FP_CMP): Likewise.
1410 (_FP_CMP_EQ): Likewise.
1411 (_FP_CMP_UNORD): Likewise.
1412 (_FP_TO_INT): Likewise.
1413 (_FP_FROM_INT): Likewise.
1414 [!__FP_CLZ] (__FP_CLZ): Likewise.
1415 (_FP_DIV_HELP_imm): Likewise.
1416 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1417 Likewise.
1418 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1419 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1420 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1421 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1422 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1423 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1424 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1426 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1429 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1430 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1431 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1432 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1433 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1434 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1435 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1436 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1437 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1439 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1440 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1443 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1444 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1447 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1448 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1449 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1450 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1451 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1452 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1453 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1454 (FP_UNPACK_RAW_SP): Likewise.
1455 (FP_PACK_RAW_S): Likewise.
1456 (FP_PACK_RAW_SP): Likewise.
1457 (FP_UNPACK_S): Likewise.
1458 (FP_UNPACK_SP): Likewise.
1459 (FP_UNPACK_SEMIRAW_S): Likewise.
1460 (FP_UNPACK_SEMIRAW_SP): Likewise.
1461 (FP_PACK_S): Likewise.
1462 (FP_PACK_SP): Likewise.
1463 (FP_PACK_SEMIRAW_S): Likewise.
1464 (FP_PACK_SEMIRAW_SP): Likewise.
1465 (_FP_SQRT_MEAT_S): Likewise.
1466 (FP_CMP_S): Likewise.
1467 (FP_CMP_EQ_S): Likewise.
1468 (FP_CMP_UNORD_S): Likewise.
1469 (FP_TO_INT_S): Likewise.
1470 (FP_FROM_INT_S): Likewise.
1471
a736ec37
JM
1472 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1473
ff12c11f
JM
1474 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1475 (FP_EX_INVALID_IMZ): Likewise.
1476 (FP_EX_INVALID_IMZ_FMA): Likewise.
1477 (FP_EX_INVALID_ISI): Likewise.
1478 (FP_EX_INVALID_ZDZ): Likewise.
1479 (FP_EX_INVALID_IDI): Likewise.
1480 (FP_EX_INVALID_SQRT): Likewise.
1481 (FP_EX_INVALID_CVI): Likewise.
1482 (FP_EX_INVALID_VC): Likewise.
1483 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1484 "invalid" exceptions.
1485 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1486 (_FP_ADD_INTERNAL): Likewise.
1487 (_FP_MUL): Likewise.
1488 (_FP_FMA): Likewise.
1489 (_FP_DIV): Likewise.
1490 (_FP_CMP_CHECK_NAN): Likewise.
1491 (_FP_SQRT): Likewise.
1492 (_FP_TO_INT): Likewise.
1493 (FP_EXTEND): Likewise.
1494
b6dcfe8c
AM
14952014-10-09 Allan McRae <allan@archlinux.org>
1496
1497 * po/fr.po: Update French translation from translation project.
1498
2d6a47ba
JM
14992014-10-09 Joseph Myers <joseph@codesourcery.com>
1500
cb831245
JM
1501 [BZ #14132]
1502 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1503 of INTDEF.
1504 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1505 (__cxa_atexit): Use libc_hidden_proto.
1506 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1507
5deeb190
JM
1508 [BZ #14132]
1509 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1510 declaration.
1511 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1512 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1513 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1514 [!_ISOMAC] (__iswctype_internal): Likewise.
1515 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1516 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1517 alias.
1518 (fcntl): Remove __fcntl_internal alias.
1519 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1520 __connect_internal alias.
1521 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1522 Likewise.
1523
454ac701
JM
1524 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1525 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1526 FP_DENORM_ZERO.
1527 (_FP_CHECK_FLUSH_ZERO): New macro.
1528 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1529 (_FP_CMP): Likewise.
1530 (_FP_CMP_EQ): Likewise.
1531 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1532 FP_DENORM_ZERO.
1533 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1534 (FP_TRUNC): Likewise.
1535
0022e688
JM
1536 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1537 treated as invalid conversion, not as normal exponent.
1538
73e28d9c
JM
1539 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1540 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1541 (_FP_CMP_EQ): Likewise.
1542 (_FP_CMP_UNORD): Likewise.
1543 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1544 (FP_CMP_EQ_D): Likewise.
1545 (FP_CMP_UNORD_D): Likewise.
1546 * soft-fp/extended.h (FP_CMP_E): Likewise.
1547 (FP_CMP_EQ_E): Likewise.
1548 (FP_CMP_UNORD_E): Likewise.
1549 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1550 (FP_CMP_EQ_Q): Likewise.
1551 (FP_CMP_UNORD_Q): Likewise.
1552 * soft-fp/single.h (FP_CMP_S): Likewise.
1553 (FP_CMP_EQ_S): Likewise.
1554 (FP_CMP_UNORD_S): Likewise.
1555 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1556 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1557 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1558 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1559 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1560 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1561 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1562 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1563 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1564 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1565 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1566 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1567 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1568 to FP_CMP_Q.
1569 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1570 FP_CMP_Q.
1571 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1572 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1573 FP_CMP_EQ_Q.
1574 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1575 FP_CMP_Q.
1576 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1577 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1578 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1579 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1580 FP_CMP_EQ_Q.
1581 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1582 FP_CMP_Q.
1583 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1584 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1585 FP_CMP_EQ_Q.
1586 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1587 FP_CMP_Q.
1588 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1589 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1590 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1591 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1592 FP_CMP_EQ_Q.
1593
43059f42
JM
1594 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1595 a subnormal result, set the underflow exception if trapping on
1596 underflow is enabled.
1597 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1598 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1599 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1600 redefine to 0.
1601 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1602 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1603 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1604 * soft-fp/extendxftf2.c (__extendxftf2): Use
1605 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1606
2d6a47ba
JM
1607 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1608 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1609 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1610 FP_HANDLE_EXCEPTIONS.
1611 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1612 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1613 FP_HANDLE_EXCEPTIONS.
1614 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1615 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1616 FP_HANDLE_EXCEPTIONS.
1617 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1618 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1619 FP_HANDLE_EXCEPTIONS.
1620
620f462e
JM
16212014-10-08 Joseph Myers <joseph@codesourcery.com>
1622
1623 [BZ #14132]
1624 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1625 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1626 use INTUSE.
1627 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1628 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1629 Remove alias.
1630 (__adjtimex): Define using libc_hidden_ver.
1631 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1632 Remove declaration.
1633 (ntp_gettime): Call __adjtimex directly.
1634 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1635 Remove declaration.
1636 (ntp_gettimex): Call __adjtimex directly.
1637 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1638 __adjtimex_internal alias.
1639
c763c5d2
RM
16402014-10-08 Roland McGrath <roland@hack.frob.com>
1641
1642 [BZ #17460]
1643 * nscd/nscd.c (more_help): Rewrite list of tables collection
1644 using xstrdup and asprintf.
1645
1646 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1647
7b8fb2b8
RM
16482014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1649 Roland McGrath <roland@hack.frob.com>
1650
1651 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1652 (do_lookup_unique): ... local function 'enter' here; update callers.
1653
abb280f7
JM
16542014-10-06 Joseph Myers <joseph@codesourcery.com>
1655
f7b42517
JM
1656 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1657 compat_symbol calls on [SHARED].
1658 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1659 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1660 Remove.
1661 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1662 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1663 (oldsetrlimit): Remove.
1664 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1666 (lchown): New syscall entry.
1667 (oldsetrlimit): Remove.
1668 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1669 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1670 (oldsetrlimit): Remove.
1671 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1672
abb280f7
JM
1673 [BZ #14138]
1674 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1675 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1676 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1677 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1678 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1679 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1680 (fchown): Likewise.
1681 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1682 (fchown): Likewise.
1683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1684 Likewise.
1685
47d46237
AZ
16862014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
1688 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1689 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1690 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1691 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1692 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1693 Likewise.
1694 (__old_sem_post): Likewise.
1695
16962014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1697
845a7343
CM
1698 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1699 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1700 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1701 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1702 Use INLINE_VSYSCALL macro.
1703 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1704 __vdso_clock_gettime.
1705 * sysdeps/unix/sysv/linux/tile/init-first.c
1706 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1707 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1708 __vdso_clock_gettime.
1709
83d641ef
CM
1710 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1711 to set up frame more cleanly.
1712
d9cd52e6
CM
1713 * sysdeps/tile/memcmp.c: New file.
1714
4b68ea11
CM
1715 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1716
c86f7b80
CM
1717 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1718 * sysdeps/tile/tilegx/strcasestr.c: New file.
1719 * sysdeps/tile/tilegx/strnlen.c: New file.
1720 * sysdeps/tile/tilegx/strstr.c: New file.
1721
1c4c1a6f
CM
1722 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1723
99d86ea3
AS
17242014-10-06 Arjun Shankar <arjun.is@lostca.se>
1725
1726 * nptl/tst-setuid3.c: Write errors to stdout.
1727
06210a44
KS
17282014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1729
1730 * elf/dl-deps.c
1731 (preload): New functions broken out of _dl_map_object_deps.
1732 (_dl_map_object_deps): Remove a nested function. Update call sites.
1733
6268f532
JM
17342014-10-01 Joseph Myers <joseph@codesourcery.com>
1735
1736 [BZ #14138]
1737 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1738 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1739
b925285f
SE
17402014-10-01 Steve Ellcey <sellcey@mips.com>
1741
1742 * sysdeps/mips/strcmp.S: New.
1743
754a15c6
JM
17442014-09-30 Joseph Myers <joseph@codesourcery.com>
1745
1746 [BZ #14138]
1747 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1748 (linkat): Likewise.
1749 (mkdirat): Likewise.
1750 (readlinkat): Likewise.
1751 (renameat): Likewise.
1752 (symlinkat): Likewise.
1753 (unlinkat): Likewise.
1754 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1755 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1756 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1757 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1758 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1759 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1760 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1761
85bb81c9
WN
17622014-09-30 Will Newton <will.newton@linaro.org>
1763
dc6fe23b
WN
1764 * math/math.h: Define long double math functions if
1765 _LIBC_TEST is defined.
1766 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1767
85bb81c9
WN
1768 * localedata/Makefile: Move assignment to tests-special
1769 into an ifdef testing run-built-tests.
1770 * timezone/Makefile: Likewise.
1771
b7e02da4
JM
17722014-09-29 Joseph Myers <joseph@codesourcery.com>
1773
1774 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1775 with $(BASH) not $(SHELL).
1776
62058ce6
CD
17772014-09-29 Carlos O'Donell <carlos@redhat.com>
1778 Matthew LeGendre <legendre1@llnl.gov>
1779
1780 [BZ #17411]
1781 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1782 l_reloc_result.
1783
8e257a29
KS
17842014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1785
1786 * stdio-common/printf_fp.c
1787 (hack_digit): New function, broken out of ...
1788 (__printf_fp): ... local function here. Update call sites.
1789 hack_digit now takes an additional parameter that is a pointer
1790 to a struct of the referenced locals. Those locals moved inside
1791 the struct and references updated.
1792
f4a58f0d
L
17932014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1794
1795 * aclocal.m4: Require autoconf 2.69.
1796 * configure: Regenerated.
1797 * sysdeps/aarch64/configure: Likewise.
1798 * sysdeps/alpha/configure: Likewise.
1799 * sysdeps/arm/armv7/configure: Likewise.
1800 * sysdeps/arm/configure: Likewise.
1801 * sysdeps/ia64/configure: Likewise.
1802 * sysdeps/mach/configure: Likewise.
1803 * sysdeps/mips/configure: Likewise.
1804 * sysdeps/s390/configure: Likewise.
1805 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1807
1808 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1809 file.
1810 * sysdeps/ia64/configure.ac: Likewise.
1811
93ae1eba
JM
18122014-09-26 Joseph Myers <joseph@codesourcery.com>
1813
1810d3ab
JM
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1815 specify symbol version for ld.so. Do not include entry for
1816 libpthread.
1817 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1818 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1819 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1820
93ae1eba
JM
1821 [BZ #14171]
1822 * Makeconfig [$(build-shared) = yes]
1823 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1824 makefiles.
1825 [$(build-shared) = yes && $(soversions.mk-done) = t]
1826 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1827 [$(build-shared) = yes && $(soversions.mk-done) = t]
1828 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1829 to Makerules.
1830 [$(build-shared) = yes && $(soversions.mk-done) = t]
1831 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1832 here.
1833 [$(build-shared) = yes && $(soversions.mk-done) = t]
1834 (common-generated): Don't append gnu/lib-names.h and
1835 gnu/lib-names.stmp here.
1836 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1837 (lib-names-h-abi): New variable.
1838 [$(build-shared) = yes && $(soversions.mk-done) = t]
1839 (lib-names-stmp-abi): Likewise.
1840 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1841 abi-variants] (before-compile): Append
1842 $(common-objpfx)$(lib-names-h-abi).
1843 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1844 abi-variants] (common-generated): Append gnu/lib-names.h.
1845 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1846 abi-variants] (install-others-nosubdir): Depend on
1847 $(inst_includedir)/$(lib-names-h-abi).
1848 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1849 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1850 [$(build-shared) = yes && $(soversions.mk-done) = t]
1851 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1852 [$(build-shared) = yes && $(soversions.mk-done) = t]
1853 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1854 [$(build-shared) = yes && $(soversions.mk-done) = t]
1855 (common-generated): Append $(lib-names-h-abi) and
1856 $(lib-names-stmp-abi).
1857 * scripts/lib-names.awk: Do not handle multi being set.
1858 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1859 Remove variable.
1860 (abi-lp64_be-ld-soname): Likewise.
1861 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1862 Likewise.
1863 (abi-hard-ld-soname): Likewise.
1864 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1865 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1866 Remove variable.
1867 (abi-o32_hard-ld-soname): Likewise.
1868 (abi-o32_soft_2008-ld-soname): Likewise.
1869 (abi-o32_hard_2008-ld-soname): Likewise.
1870 (abi-n32_soft-ld-soname): Likewise.
1871 (abi-n32_hard-ld-soname): Likewise.
1872 (abi-n32_soft_2008-ld-soname): Likewise.
1873 (abi-n32_hard_2008-ld-soname): Likewise.
1874 (abi-n64_soft-ld-soname): Likewise.
1875 (abi-n64_hard-ld-soname): Likewise.
1876 (abi-n64_soft_2008-ld-soname): Likewise.
1877 (abi-n64_hard_2008-ld-soname): Likewise.
1878 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1879 Likewise.
1880 (abi-64-v2-ld-soname): Likewise.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1882 ld.so entries.
1883 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1884 variable.
1885 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1886 entry.
1887 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1888 variable.
1889 (abi-64-ld-soname): Likewise.
1890 (abi-x32-ld-soname): Likewise.
1891 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1892 entry.
1893 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1894
68870f12
JM
18952014-09-23 Joseph Myers <joseph@codesourcery.com>
1896
1897 [BZ #14138]
1898 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1899 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1900 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1901 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1902 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1903 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1904 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1905 syscall entry for GLIBC_2.2 symbol version.
1906 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1907 Likewise.
1908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1909 (setrlimit): Likewise.
1910 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1911 Likewise.
1912
ea58f202
WN
19132014-09-23 Will Newton <will.newton@linaro.org>
1914
1915 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1916 _LINUX_ARM_SYSDEP_H include guard too.
1917 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1918 define.
1919
69eb9a18
RV
19202014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1921
1922 * sysdeps/unix/sysv/linux/eventfd.c:
1923 Make first argument unsigned.
1924 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1925 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1926
20e5a5f7
OB
19272014-09-20 Ondřej Bílka <neleai@seznam.cz>
1928
1929 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1930 * socket/sys/socket.h: Likewise
1931 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1932
d3c827e7
AK
19332014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1934
1935 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1936
fe1cc35a
AS
19372014-09-17 Arjun Shankar <arjun.is@lostca.se>
1938
1939 * time/tst-ftime.c: New test.
1940 * time/Makefile (tests): Add tst-ftime.
1941
4e8afe69
JM
19422014-09-17 Joseph Myers <joseph@codesourcery.com>
1943
c4fe3ea7
JM
1944 * soft-fp/extended.h: Fix comment formatting.
1945 * soft-fp/op-1.h: Likewise.
1946 * soft-fp/op-2.h: Likewise.
1947 * soft-fp/op-4.h: Likewise.
1948 * soft-fp/op-8.h: Likewise.
1949 * soft-fp/op-common.h: Likewise.
1950 * soft-fp/soft-fp.h: Likewise.
1951
4e8afe69
JM
1952 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1953
af296fcd
JM
19542014-09-16 Joseph Myers <joseph@codesourcery.com>
1955
1956 [BZ #6652]
1957 * Makeconfig (soversions-default-setname): Remove variable.
1958 ($(common-objpfx)soversions.i): Don't pass default_setname to
1959 soversions.awk.
1960 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1961 oldest_abi to abi-versions.awk.
1962 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1963 * config.make.in (oldest-abi): Remove variable.
1964 * configure.ac (--enable-oldest-abi): Remove configure option.
1965 * configure: Regenerated.
1966 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1967 text.
1968 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1969 * scripts/soversions.awk: Do not handle default_setname variable.
1970 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1971 variable.
1972 * sysdeps/mach/hurd/configure: Regenerated.
1973 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1974 variable.
1975 * sysdeps/unix/sysv/linux/configure: Regenerated.
1976
545583d6
SP
19772014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1978
d330b980
SP
1979 * elf/Makefile (CFLAGS-interp.c): Remove.
1980 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1981 path string.
1982 * elf/interp.c: Include generated runtime-linker.h
1983
02657da2
SP
1984 * Makerules (lib%.so): Don't include $(+interp) in
1985 prerequisites.
1986 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1987 * dlfcn/eval.c: Remove file.
1988
653b1080
SP
1989 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1990 macros.
1991
602f80ec
SP
1992 [BZ #17266]
1993 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1994 4.2 and newer.
1995
545583d6
SP
1996 [BZ #17370]
1997 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1998
884ddc50
SP
19992014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2000 Jakub Jelinek <jakub@redhat.com>
2001
2002 [BZ #17266]
2003 * libio/stdio.h: Check definition of __fortify_function
2004 instead of __extern_always_inline to include bits/stdio2.h.
2005 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2006 check if __extern_always_inline is defined.
2007 [__USE_MISC || __USE_XOPEN]: Likewise.
2008 [__USE_ISOC99] Likewise.
2009 * misc/sys/cdefs.h (__fortify_function): Define only if
2010 __extern_always_inline is defined.
2011 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2012 __extern_always_inline and __extern_inline only for g++-4.3
2013 and newer or a compatible gcc.
2014
a7b87268
AS
20152014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2016
2017 [BZ #17371]
2018 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2019 last change to handle zero prefix length.
2020
3f41521d
SP
20212014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2022
61fe374a
SP
2023 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2024 _SC_REGEX_VERSION.
2025
3f41521d
SP
2026 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2027 _POSIX_RAW_SOCKETS.
2028
d8f879ee
AM
20292014-09-13 Allan McRae <allan@archlinux.org>
2030
2031 * po/ru.po: Update Russian translation from translation project.
2032
c079afb7
RM
20332014-09-12 Roland McGrath <roland@hack.frob.com>
2034
a62b3c15
RM
2035 * locale/programs/locale.c (show_locale_vars): Inline local function
2036 into its sole call site. Clean up some style nits.
2037 (print_item): New function, broken out of ...
2038 (show_info): ... local function here. Clean up style nits.
2039
d7e49b19
RM
2040 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2041 out of ...
2042 (set_class_defaults): ... local function set_default here.
2043 Define set_default as a macro locally to pass constant parameters.
2044 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2045 rather than a shared local.
2046
c079afb7
RM
2047 * stdlib/rpmatch.c (try): New function, broken out of ...
2048 (rpmatch): ... local function here. Also, prototypify definition.
2049
0bd72468
JM
20502014-09-12 Joseph Myers <joseph@codesourcery.com>
2051
ba90e050
JM
2052 * scripts/soversions.awk: Do not handle configuration names.
2053 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2054 vendor and os variables to soversions.awk.
2055 * configure.ac: Do not modify gnu-* host_os.
2056 * configure: Regenerated
2057 * shlib-versions: Remove first column with configuration names.
2058 * nptl/shlib-versions: Likewise.
2059 * nptl_db/shlib-versions: Likewise.
2060 * sysdeps/hppa/shlib-versions: Likewise.
2061 * sysdeps/m68k/shlib-versions: Likewise.
2062 * sysdeps/mach/hurd/shlib-versions: Likewise.
2063 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2064 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2065 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2066 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2067 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2068 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2069 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2070 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2074 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2075 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2078 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2079 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2080 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2081
73a39112
JM
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2083 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2085 Regenerated.
2086 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2088 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2089
c729e7c1
JM
2090 * shlib-versions: Remove OS-specific entries. Moved to files in
2091 sysdeps.
2092 * sysdeps/mach/hurd/shlib-versions: New file.
2093 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2094
dc932a24
JM
2095 * nptl/shlib-versions: Remove architecture-specific entries.
2096 Moved to files in sysdeps.
2097 * shlib-versions: Likewise.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2099 file.
2100 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2101 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2102 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2104
0bd72468
JM
2105 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2106 (UDP_NO_CHECK6_RX): Likewise.
2107
920238e0
SP
21082014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2109
2110 * sysdeps/posix/sysconf.c (__sysconf): Spell
2111 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2112
ba7b4d29
FW
21132014-08-12 Florian Weimer <fweimer@redhat.com>
2114
2115 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2116 loading.
2117 * iconv/Versions (__gconv_transliterate): Export for use from
2118 gconv modules.
2119 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2120 (struct __gconv_trans_data, __gconv_trans_fct,
2121 __gconv_trans_context_fct, __gconv_trans_query_fct,
2122 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2123 definitions.
2124 (struct __gconv_step_data): Remove __trans member.
2125 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2126 longer hidden. Remove unused trans_data argument.
2127 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2128 (__gconv_translit_find): Remove declaration.
2129 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2130 prototype.
2131 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2132 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2133 trans_data argument. Add hidden definition.
2134 (__gconv_translit_find): Remove.
2135 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2136 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2137 * iconv/skeleton.c: Remove transliteration initialization.
2138 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2139 __gconv_step_data initialization.
2140 * libio/iofwide.c (__libio_translit_): Remove.
2141 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2142 * wcsmbs/btowc.c (__btowc): Likewise.
2143 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2144 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2145 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2146 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2147 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2148 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2149 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2150 * wcsmbs/wctob.c (wctob): Likewise.
2151
5379aebd
SP
21522014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2153
2154 [BZ #16194]
2155 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2156 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2157 register usage.
2158 * sysdeps/x86/Makefile: Adjust.
2159
8c0ab919
RM
21602014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2161 Roland McGrath <roland@hack.frob.com>
2162
2163 * locale/weight.h: Add include guard.
2164 (findidx): Make static rather than auto; take new parameters
2165 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2166 * locale/weightwc.h: Likewise.
2167 * posix/fnmatch_loop.c
2168 (FCT): Change type of EXTRA from int32_t to wint_t.
2169 Don't include either header inside the function.
2170 Call FINDIDX rather than findidx, and pass new arguments.
2171 #undef FINDIDX at the end of the file.
2172 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2173 FINDIDX before including fnmatch_loop.c for the non-wide version.
2174 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2175 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2176 for the wide version.
2177 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2178 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2179 Pass new arguments to findidx.
2180 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2181 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2182 Don't #include it inside the function. Pass new arguments to findidx.
2183 * posix/regex_internal.h
2184 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2185 (re_string_elem_size_at): Don't #include it inside the function.
2186 Pass new arguments to findidx.
2187 * string/strcoll_l.c: #include WEIGHT_H at top level.
2188 (get_next_seq): Don't #include it inside the function.
2189 Pass new arguments to findidx.
2190 (get_next_seq_nocache): Likewise.
2191 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2192 (STRXFRM): Don't #include it inside the function.
2193 Pass new arguments to findidx.
2194
52ffbdf2
FW
21952014-09-11 Florian Weimer <fweimer@redhat.com>
2196
2197 [BZ #17344]
2198 * malloc/malloc.c (unlink): Turn asserts into a call to
2199 malloc_printerr.
2200
984c0ea9
TL
22012014-09-11 Tim Lammens <tim.lammens@gmail.com>
2202
2203 [BZ #17370]
2204 * libio/wfileops (do_ftell_wide): Free OUT.
2205
3daee107
CM
22062014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2207
2208 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2209
58b930ae
SP
22102014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2211
2212 [BZ #17363]
2213 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2214 group if the current group is empty.
2215
3b473fec
AZ
22162014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2217
71ae8647
AZ
2218 * benchtests/bench-memset.c (test_main): Add more test from size
2219 from 32 to 512 bytes.
2220 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2221 Add POWER8 memset object.
2222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2223 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2224 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2225 implementation.
2226 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2227 Likewise.
2228 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2229 multiarch POWER8 memset optimization.
2230 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2231 POWER8 memset optimization.
2232
3b473fec
AZ
2233 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2234 Remove bzero multiarch objects.
2235 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2236 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2237 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2238 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2239 Remove define.
2240 [__bzero]: Redefine to specific name.
2241 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2242 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2243 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2244 define.
2245 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2246 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2247
e6fb9587
FW
22482014-09-10 Florian Weimer <fweimer@redhat.com>
2249
2250 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2251 warnings into errors.
2252
2253 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2254 __cxa_thread_atexit_impl prototype.
2255
9d3a350b
SE
22562014-09-09 Steve Ellcey <sellcey@mips.com>
2257
2258 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2259 Fix capitalization of error message.
2260
0febba23
SE
22612014-09-09 Steve Ellcey <sellcey@mips.com>
2262
2263 * sysdeps/mips/preconfigure: Modify ABI tests.
2264
645a0e9c
CD
22652014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2266
2267 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2268
d83f0734
CD
22692014-09-07 Roland McGrath <roland@hack.frob.com>
2270 Carlos O'Donell <carlos@systemhalted.org>
2271
2272 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2273 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2274 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2275 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2276 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2277 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2278 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2279 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2280 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2281 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2282 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2283 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2284 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2285 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2286 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2287 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2288 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2289 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2290 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2291 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2292 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2293 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2294 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2295 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2296 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2297 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2298 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2299 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2300 Deconditionalize the code that was previously under [RESET_PID].
2301 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2302 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2303 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2304 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2305 include sysdep.h.
2306
21c83793
AM
23072014-09-08 Allan McRae <allan@archlinux.org>
2308
2309 * version.h (RELEASE): Set to "development".
2310 (VERSION): Set to "2.20.90"
2311
1cd9b65c
AM
23122014-09-07 Allan McRae <allan@archlinux.org
2313
b8079dd0
AM
2314 * version.h (RELEASE): Set to "stable".
2315 (VERSION): Set to "2.20"
2316 * include/features.h (__GLIBC_MINOR__): Set to 20.
2317
c46303ef
AM
2318 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2319 Liebler.
2320
1cd9b65c
AM
2321 * po/ko.po: Update Korean translation from translation project.
2322
8622092d
CM
23232014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2324
2325 [BZ #17354]
2326 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2327 macro for handling signed relocations.
2328
41488498
FW
23292014-09-03 Florian Weimer <fweimer@redhat.com>
2330
2331 [BZ #17325]
2332 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2333 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2334 assert.
2335 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2336 * iconvdata/ibm935.c (BODY): Likewise.
2337 * iconvdata/ibm937.c (BODY): Likewise.
2338 * iconvdata/ibm939.c (BODY): Likewise.
2339 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2340 assert.
2341 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2342 script.
2343 * iconvdata/run-iconv-test.sh: New test loop for checking for
2344 decoder crashers.
2345
a78b712d
KR
23462014-09-02 Khem Raj <raj.khem@gmail.com>
2347
2348 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2349 libm_hidden_ver.
2350
cb08abc6
AM
23512014-09-01 Allan McRae <allan@archlinux.org>
2352
2c31e102
AM
2353 * po/eo.po: Update Esperanto translation from translation project.
2354
cb08abc6
AM
2355 * po/ca.po: Update Catalan translation from translation project.
2356
17a62de1
ST
23572014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2358
2359 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2360 __proc_dostop call.
2361
9570bc53
MW
23622014-08-27 Mark Wielaard <mjw@redhat.com>
2363
2364 [BZ #17319]
2365 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2366 to call set_thread_area instead of hand written asm.
2367 (__NR_set_thread_area): Removed define.
2368 (TLS_FLAG_WRITABLE): Likewise.
2369 (__ASSUME_SET_THREAD_AREA): Remove check.
2370 (TLS_EBX_ARG): Remove define.
2371 (TLS_LOAD_EBX): Likewise.
2372
b0f955c9
ST
23732014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2374
2375 Simplify atomicity of socket creation in bind.
2376
2377 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2378 looking up the name after linking the file.
2379
529bf515
AM
23802014-08-27 Allan McRae <allan@archlinux.org>
2381
2382 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2383
a1a6a401
FW
23842014-08-26 Florian Weimer <fweimer@redhat.com>
2385
2386 [BZ #17187]
2387 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2388 trans_compare, open_translit, __gconv_translit_find):
2389 Remove module loading code.
2390
686ab290
AM
23912014-08-26 Allan McRae <allan@archlinux.org>
2392
e4e7cfd2
AM
2393 * po/vi.po: Update Vietnamese translation from translation project.
2394
6aa09f71
AM
2395 * po/uk.po: Update Ukrainian translation from translation project.
2396
edc0660e
AM
2397 * po/fr.po: Update French translation from translation project.
2398
7eea72ac
AM
2399 * po/ru.po: Update Russian translation from translation project.
2400
93c49eff
AM
2401 * po/pl.po: Update Polish translation from translation project.
2402
46acaf63
AM
2403 * po/cs.po: Update Czech translation from translation project.
2404
a9f5ce98
AM
2405 * po/de.po: Update German translation from translation project.
2406
373f2b78
AM
2407 * po/bg.po: Update Bulgarian translation from translation project.
2408
e7548bd8
AM
2409 * po/sv.po: Update Sweedish translation from translation project.
2410
c526bf4d
AM
2411 * po/nl.po: Update Dutch translation from translation project.
2412
686ab290
AM
2413 * po/es.po: Update Spanish translation from translation project.
2414
eb72478a
SP
24152014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2416
dd763fdb
SP
2417 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2418
318c7a58
SP
2419 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2420 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2421 (CPPFLAGS-iconvconfig): Likewise.
2422 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2423
eb72478a
SP
2424 * include/libc-symbols.h: Remove unnecessary check for
2425 NOT_IN_libc.
2426 * nptl/pthreadP.h: Likewise.
2427 * sysdeps/aarch64/setjmp.S: Likewise.
2428 * sysdeps/alpha/setjmp.S: Likewise.
2429 * sysdeps/arm/sysdep.h: Likewise.
2430 * sysdeps/i386/setjmp.S: Likewise.
2431 * sysdeps/m68k/setjmp.c: Likewise.
2432 * sysdeps/posix/getcwd.c: Likewise.
2433 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2434 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2435 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2436 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2437 * sysdeps/sh/sh3/setjmp.S: Likewise.
2438 * sysdeps/sh/sh4/setjmp.S: Likewise.
2439 * sysdeps/unix/alpha/sysdep.h: Likewise.
2440 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2441 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2442 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2443 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2447 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2448 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2449 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2450 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2451 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2453 * sysdeps/x86_64/setjmp.S: Likewise.
2454
d44a052c
JM
24552014-08-13 Joseph Myers <joseph@codesourcery.com>
2456
2457 [BZ #17263]
2458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2459 <stdint.h>.
2460 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2461 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2462
508ce3ac
SP
24632014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2464
e44c8b0e
SP
2465 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2466
508ce3ac
SP
2467 [BZ #17262]
2468 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2469 and __x86_64__ when disabling x87 inline functions.
2470
b4acef1f
L
24712014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2472
2473 [BZ #17259]
2474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2475 asm statement with __cpuid_count.
2476
61b1ef6e
MF
24772014-08-12 Mike Frysinger <vapier@gentoo.org>
2478
2479 * configure.ac: Change __ehdr_start code to dereference the struct.
2480 Run readelf on the output to look for relocations.
2481 * configure: Regenerated.
2482
898c62f4
JM
24832014-08-12 Joseph Myers <joseph@codesourcery.com>
2484
2485 [BZ #17261]
2486 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2487 value to 0.
2488 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2489
9a8a5720
RM
24902014-08-12 Roland McGrath <roland@hack.frob.com>
2491
2492 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2493
4e75751c
BO
24942014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2495
2496 [BZ #16892]
2497 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2498 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2499
bb2ce416
SA
25002014-08-12 Sean Anderson <seanga2@gmail.com>
2501
2502 * malloc/malloc.c: Fix typo in comment.
2503
7950a4ee
AM
25042014-08-09 Allan McRae <allan@archlinux.org>
2505
2506 * Regenerate libc.po.
2507
f469c49f
MF
25082014-08-08 Mike Frysinger <vapier@gentoo.org>
2509
2510 * intl/tst-gettext2.sh: Check every lang file for creation.
2511
656b84c2
WD
25122014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2513
2514 * sysdeps/aarch64/fpu/math_private.h
2515 (libc_feholdsetround_noex_aarch64_ctx): New function.
2516
538e9e45
W
25172014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2518
2519 * sysdeps/arm/armv6/strcpy.S (strcpy):
2520 Fix performance issue in misaligned cases.
2521
d4795e4a
AZ
25222014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2523
2524 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2525 Move definition from termios.h.
2526 (struct termio): Likewise.
2527 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2528 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2529 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2530 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2531 Likewise.
2532 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2533 Move definition to ioctl-types.h
2534 (struct termio): Likewise.
2535 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2536 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2537 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2538 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2539 Likewise.
2540
64accb62
RH
25412014-08-05 Richard Henderson <rth@redhat.com>
2542
27bb6dc0
RH
2543 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2544 exceptions.
2545 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2546 Add fraiseexcpt.
2547 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2548 Use __feraiseexcept.
2549 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2550 Protect libm symbols with IS_IN_libm.
2551
64accb62
RH
2552 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2553
e5292691
BO
25542014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2555
2556 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2557
5b4bd2d4
WN
25582014-08-04 Will Newton <will.newton@linaro.org>
2559
2560 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2561 file.
2562
fcadaeef
MF
25632014-08-04 Mike Frysinger <vapier@gentoo.org>
2564
2565 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2566 variants for each function.
2567
43a94c64
RM
25682014-08-04 Roland McGrath <roland@hack.frob.com>
2569
2570 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2571 appended ...
2572 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2573 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2574 appended ...
2575 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2576 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2577 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2578 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2579 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2580 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2581 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2582 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2583 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2584 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2585 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2586 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2587 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2588 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2589 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2590 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2591 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2592 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2593 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2594 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2595 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2596 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2597 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2598 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2599 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2600 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2601 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2602 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2603 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2604 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2605 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2606 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2607 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2608 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2609 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2610 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2611 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2612 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2613 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2614 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2615 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2616 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2617 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2618 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2619 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2620 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2621 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2622 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2623 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2624 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2625 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2626 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2627 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2628 Update #include.
2629 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2630 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2631
8f3c1fa4
RM
26322014-08-04 Roland McGrath <roland@hack.frob.com>
2633
2634 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2635 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2636 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2637 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2638 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2639 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2640
ca08746f
RM
26412014-08-04 Roland McGrath <roland@hack.frob.com>
2642
2643 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2644 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2645 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2646 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2647
9c925ff9
RM
26482014-08-04 Roland McGrath <roland@hack.frob.com>
2649
2650 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2651 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2652 (__libc_vfork): Define function under this name.
2653 (__vfork): Define as an alias.
2654 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2655 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2656
e641054c
RM
26572014-08-04 Roland McGrath <roland@hack.frob.com>
2658
2659 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2660 that was previously under [RESET_PID].
2661 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2662
dacdc867
AS
26632014-08-04 Andreas Schwab <schwab@suse.de>
2664
2665 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2666
41f725ff
MF
26672014-08-03 Mike Frysinger <vapier@gentoo.org>
2668
2669 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2670 (main): Likewise.
2671
277cfb31
RM
26722014-08-01 Roland McGrath <roland@hack.frob.com>
2673
2674 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2675
4896f049
RH
26762014-08-01 Richard Henderon <rth@redhat.com>
2677
2678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2679 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2680 typo in exact zero test.
2681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2682 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2684
6f64e7d7
RM
26852014-08-01 Roland McGrath <roland@hack.frob.com>
2686
2687 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2688 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2689 * sysdeps/arm/sysdep.h: ... here.
2690 [!__ASSEMBLER__]: Include <stdint.h>.
2691
3f3dd810
SP
26922014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2693
a476ac4b
SP
2694 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2695 (HAVE_WCTYPE_H): Likewise.
2696 (HAVE_ISWCTYPE): Likewise.
2697 (ENABLE_NLS): Likewise.
2698 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2699 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2700
78dd658a
SP
2701 * posix/regex_internal.c: Check if DEBUG is defined and is
2702 set.
2703
3f3dd810
SP
2704 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2705 (HAVE_MBSRTOWCS): Likewise.
2706 * posix/fnmatch.c: Include string.h unconditionally.
2707
95ee7fb1
SL
27082014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2709
2710 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2711 reversal.
2712
23fe486b
RM
27132014-07-31 Roland McGrath <roland@hack.frob.com>
2714
f61a113f
RM
2715 * sysdeps/generic/safe-fatal.h: New file.
2716 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2717 * nptl/forward.c: Include it.
2718 (__pthread_unwind): Use __safe_fatal as default action, rather
2719 than a bogus use of INTERNAL_SYSCALL that could never work.
2720
9fe7e787
RM
2721 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2722 * configure.ac (libc_cv_builtin_trap): New test.
2723 * configure: Regenerated.
2724 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2725 (ABORT_INSTRUCTION): Define using __builtin_trap.
2726
23fe486b
RM
2727 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2728 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2729 * sysdeps/nptl/nptl-signals.h: New file.
2730 * nptl/pthreadP.h: Include <nptl-signals.h>.
2731
f349489e
SL
27322014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2733
2734 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2735 (ONE_DIRECTION): Define.
2736 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2737 (ONE_DIRECTION): Define.
2738 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2739 (ONE_DIRECTION): Define.
2740
2f438e20
SL
27412014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2742
2743 * sysdeps/s390/Makefile: Delete file.
2744 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2745 * sysdeps/s390/__longjmp.c: Delete file.
2746 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2747 Remove fields __flags and __reserved.
2748 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2749 and add versioning.
2750 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2751 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2752 * sysdeps/s390/rtld-setjmp.S: Likewise.
2753 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2754 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2755 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2756 * sysdeps/s390/s390-32/setjmp.S: ... here.
2757 Add versioning.
2758 (__sigsetjmp): Remove setting __flags field.
2759 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2760 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2761 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2762 * sysdeps/s390/s390-64/setjmp.S: ... here.
2763 Add versioning.
2764 (__sigsetjmp): Remove setting __flags field.
2765 * sysdeps/s390/setjmp.S: Delete file.
2766 * sysdeps/s390/sigjmp.c: Likewise.
2767 * sysdeps/s390/v1-longjmp.c: Likewise.
2768 * sysdeps/s390/v1-setjmp.h: Likewise.
2769 * sysdeps/s390/v1-sigjmp.c: Likewise.
2770 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2771 Remove v1-longjmp_chk.
2772 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2773 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2774 Include debug/longjmp_chk.c and add versioning.
2775 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2776 Include nptl/pt-longjmp.c and add versioning.
2777 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2778 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2779 Include __longjmp.c.
2780 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2781 Move to ...
2782 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2783 (__getcontext): Remove setting __flags field.
2784 Add versioning.
2785 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2786 Don't restore upper high grps.
2787 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2788 Likewise.
2789 (__swapcontext): Remove setting uc_flags field.
2790 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2791 Delete file.
2792 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2793 Include __longjmp.c.
2794 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2795 Move to ...
2796 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2797 (__getcontext): Remove setting __flags field.
2798 Add versioning.
2799 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2800 (__swapcontext): Remove setting uc_flags field.
2801 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2802 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2803 Remove fields uc_high_gprs and __reserved.
2804 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2805 New file with reverted content.
2806 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2807 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2808 Regenerated.
2809 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2810 Regenerated.
2811
6c9578a2
AS
28122014-07-31 Andreas Schwab <schwab@suse.de>
2813
2814 * config.h.in (HAVE_IFUNC): Define to 0.
2815 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2816 definedness.
2817
05f3633d
LM
28182014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2819
2820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2821 memmove-avx-unaligned, memcpy-avx-unaligned and
2822 mempcpy-avx-unaligned.
2823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2824 Add tests for AVX memcpy functions.
2825 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2826 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2827 memcpy_chk.
2828 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2829 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2830 memmove_chk.
2831 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2832 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2833 mempcpy_chk.
2834 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2835 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2836 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2837
a53fbd8e
AZ
28382013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839
2840 [BZ #17213]
2841 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2842 powerpc64le.
2843
0961f7e1
JL
28442014-07-29 Jeff Layton <jlayton@poochiereds.net>
2845
2846 [BZ #16839]
2847 * manual/llio.texi: Add section about open file description locks.
2848 * manual/examples/ofdlocks.c: Example of open file description
2849 lock usage.
2850 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2851 F_OFD_SETLK, and F_OFD_SETLKW.
2852
cc5fb300
AM
28532014-07-23 Allan McRae <allan@archlinux.org>
2854
2855 * po/es.po: Update Spanish translation from translation project.
2856
23329dca
AS
28572014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2858
2859 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2860
9c82da17
MR
28612014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2862
2863 [BZ #17078]
2864 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2865 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2866 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2867
29c4f53e
JM
28682014-07-17 Joseph Myers <joseph@codesourcery.com>
2869
831b9896
JM
2870 [BZ #17088]
2871 * math/fesetenv.c (__fesetenv)
2872 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2873 * math/feupdateenv.c (__feupdateenv)
2874 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2875
b21c2d50
JM
2876 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2877 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2878 (__ASSUME_SOCKETCALL): Do not define.
2879
067764ef
JM
2880 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2881 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2882 (__ASSUME_SOCKETCALL): Do not define.
2883 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2884 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2885 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2886 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2887 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2888 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2889 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2890 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2891
642530c1
JM
2892 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2893 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2894 (__ASSUME_SOCKETCALL): Do not define.
2895 (__ASSUME_IPC64): Define unconditionally.
2896 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2897 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2898 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2899 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2900 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2901 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2902 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2903 Likewise.
2904
03f77315
JM
2905 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2906 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2907 (__ASSUME_SOCKETCALL): Do not define.
2908 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2909 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2910 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2911 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2912 (__ASSUME_REQUEUE_PI): Define unconditionally.
2913 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2914 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2915 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2916 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2917 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2918 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2919
083b1f7c
JM
2920 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2921 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2922 (__ASSUME_SOCKETCALL): Do not define.
2923 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2924 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2925 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2926 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2927 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2928 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2929
5be44ea6
JM
2930 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2931 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2932 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2933 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2934 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2935 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2936 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2937 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2938 (__ASSUME_GETCPU_SYSCALL): Likewise.
2939
d95ffd4c
JM
2940 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2941 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2942 cases for individual architectures.
2943 * sysdeps/gnu/configure: Regenerated.
2944 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2945 LIBC_SLIBDIR_RTLDDIR.
2946 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2947 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2948 LIBC_SLIBDIR_RTLDDIR.
2949 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2951 LIBC_SLIBDIR_RTLDDIR.
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2953 Regenerated.
2954 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2955 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2956 file.
2957 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2958 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2959 file.
2960 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2961 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2962 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2963 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2964
29c4f53e
JM
2965 * sysdeps/aarch64/shlib-versions: Move to ...
2966 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2967 * sysdeps/alpha/shlib-versions: Move to ...
2968 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2969 * sysdeps/arm/shlib-versions: Move to ...
2970 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2971 * sysdeps/hppa/shlib-versions: Move all contents except for
2972 libgcc_s entry to ...
2973 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2974 entry from ...
2975 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2976 * sysdeps/ia64/shlib-versions: Move to ...
2977 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2978 entry from ...
2979 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2980 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2981 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2982 * sysdeps/microblaze/shlib-versions: Move to ...
2983 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2984 * sysdeps/mips/shlib-versions: Move to ...
2985 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2986 entry from ...
2987 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2988 * sysdeps/tile/shlib-versions: Move to ...
2989 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2990 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2991 from ...
2992 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2993 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2994 entry from ...
2995 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2996
32bead5b
WN
29972014-07-17 Will Newton <will.newton@linaro.org>
2998
57977c4b
WN
2999 * sysdeps/arm/bits/atomic.h
3000 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3001 (__arch_compare_and_exchange_bool_16_int): Likewise.
3002 (__arch_compare_and_exchange_bool_64_int): Likewise.
3003
32bead5b
WN
3004 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3005 into an #else block.
3006
37fccd41
RM
30072014-07-16 Roland McGrath <roland@hack.frob.com>
3008
3009 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3010 just Linux configurations. Test empirically that the compiler sets
3011 __ARM_EABI__, rather than using the tuple to decide.
3012 * sysdeps/arm/preconfigure: Regenerated.
3013 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3014 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3015 contents appended ...
3016 * sysdeps/arm/configure.ac: ... here.
3017 * sysdeps/arm/configure: Regenerated.
3018
b365f3ec
RM
30192014-07-15 Roland McGrath <roland@hack.frob.com>
3020
8badf496
RM
3021 * nptl/pthread_kill.c: New file.
3022 * nptl/pthread_sigmask.c: New file.
3023 * nptl/pthread_sigqueue.c: New file.
3024
3df6f22e
RM
3025 * sysdeps/nptl/lowlevellock.h: New file.
3026 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3027 * sysdeps/nptl/lowlevellock-futex.h: New file.
3028
b365f3ec
RM
3029 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3030 Remove dead declarations.
3031
f2fef657
L
30322014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3033
3034 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3035 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3036 config-cflags-avx2.
3037 * sysdeps/x86_64/configure.ac: Likewise.
3038 * sysdeps/i386/configure: Regenerated.
3039 * sysdeps/x86_64/configure: Likewise.
3040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3041 memset-avx2 only if config-cflags-avx2 is yes.
3042 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3043 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3044 defined.
3045 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3046 only if HAVE_AVX2_SUPPORT is defined.
3047 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3048
f6c44d47
AM
30492014-07-14 Alan Modra <amodra@gmail.com>
3050
3051 [BZ #17153]
3052 * elf/elf.h (DT_PPC64_NUM): Correct value.
3053 * NEWS: Add to fixed bug list.
3054
7ee03f00
JM
30552014-07-13 Jim Meyering <meyering@fb.com>
3056
3057 [BZ 17150]
3058 regex: don't deref NULL upon heap allocation failure
3059 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3060 failure in one more place.
3061 To trigger the segfault, configure grep -with-included-regex,
3062 build it, and run these commands:
3063 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3064
9d39d517
AS
30652014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3066
3067 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3068
a75b89b7
RH
30692014-07-11 Richard Henderson <rth@redhat.com>
3070
3071 * sysdeps/aarch64/libm-test-ulps: Update.
3072
771eb141
FW
30732014-07-10 Florian Weimer <fweimer@redhat.com>
3074
3075 [BZ #17135]
3076 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3077 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3078 (__nptl_setxid): Initialize error member. Call
3079 __nptl_setxid_error.
3080 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3081 * nptl/descr.h (struct xid_command): Add error member.
3082 * nptl/tst-setuid3.c: New file.
3083 * nptl/Makefile (tests): Add it.
3084
bc1da176
AZ
30852014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086
3087 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3088 New define.
3089 (__lll_trylock): Use __lll_base_trylock.
3090 (__lll_cond_trylock): Likewise.
3091
887865fc
RM
30922014-07-10 Roland McGrath <roland@hack.frob.com>
3093
c0c6bac9
RM
3094 * nptl/pthread_create.c (start_thread): Use atomic_or and
3095 lll_futex_wake directly rather than lll_robust_dead.
3096 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3097 (lll_robust_dead): Macro removed.
6a42be57 3098 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3099 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3100 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3101 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3102 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3103 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3104 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3105 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3106 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3107 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3108 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3109 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3110 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3111 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3112 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3113
887865fc
RM
3114 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3115 Use atomic_compare_and_exchange_val_acq directly rather than
3116 lll_robust_trylock.
3117 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3118 (__lll_robust_trylock, lll_robust_trylock): Removed.
3119 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3120 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3121 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3122 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3123 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3124 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3125 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3126 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3127 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3128 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3129 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3130 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3131 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3132 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3133
58536726
FW
31342014-07-02 Florian Weimer <fweimer@redhat.com>
3135
3136 * manual/locale.texi (Locale Names): New section documenting
3137 locale name syntax. Adjust menu and node chaining accordingly.
3138 (Choosing Locale): Reference Locale Names, Locale Categories.
3139 Mention setting LC_ALL=C. Reflect that name syntax is now
3140 documented.
3141 (Locale Categories): New section title. Reference Locale Names.
3142 LC_ALL is an environment variable, but not a category.
3143 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3144 description, now in Locale Name. Reference that section. Locale
3145 name syntax is now documented.
3146
4e8f95a0
FW
31472014-07-02 Florian Weimer <fweimer@redhat.com>
3148
3149 [BZ #17137]
3150 * locale/findlocale.c (name_present, valid_locale_name): New
3151 functions.
3152 (_nl_find_locale): Use the loc_name variable to store name
3153 candidates. Call name_present and valid_locale_name to check and
3154 validate locale names. Return an error if the locale is invalid.
3155
d1836456
FW
31562014-07-02 Florian Weimer <fweimer@redhat.com>
3157
3158 * locale/setlocale.c (setlocale): Use strdup for allocating
3159 composite name copy.
3160
d69b7f5a
SP
31612014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3162
888c679b
SP
3163 Sync up with gnulib.
3164 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3165 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3166 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3167 and _GL_ARG_NONNULL.
3168 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3169 [!_LIBC]: Include code for Windows and Cygwin.
3170 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3171 Include prototype for int strerror_r.
3172 [!_LIBC] (is_open): New function.
3173 (flush_stdout): New function.
3174 (print_errno_message): Use it.
3175 (error): Likewise.
3176 (error_at_line): Likewise.
3177 (error_tail) Add function attribute macros. Use
3178 __builtin_expect.
3179
180e0e4b
SP
3180 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3181
d22f1fe2
SP
3182 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3183
12f2254b
SP
3184 * io/ftw.c: Include sys/param.h unconditionally.
3185
c3c7c360
SP
3186 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3187
d62aa75a
SP
3188 [BZ #17125]
3189 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3190 libc_freeres_ptr.
3191 (freecache): New function to free CACHE on exit.
3192
d69b7f5a
SP
3193 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3194 initialization.
3195
5efe06a1
DM
31962014-07-09 David S. Miller <davem@davemloft.net>
3197
3198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3199
7000d82e
DM
3200 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3201 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3202 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3203 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3204 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3205 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3206 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3207 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3208 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3209 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3210 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3211 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3212 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3213
c213442d
AS
32142014-07-09 Andreas Schwab <schwab@suse.de>
3215
4a2552c3
AS
3216 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3217 output.
3218 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3219 (do_test): Likewise.
3220
c213442d
AS
3221 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3222
82374e65
WN
32232014-07-09 Will Newton <will.newton@linaro.org>
3224
3225 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3226 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3227 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3228 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3229 * sysdeps/hppa/start.S (_start): Likewise.
3230
6680738a
SP
32312014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3232
6ee3eab4
SP
3233 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3234
6680738a
SP
3235 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3236 defined.
3237
80b5c505
SP
32382014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3239
e35c53e3
SP
3240 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3241 after checking that it is non-NULL.
3242
80b5c505
SP
3243 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3244
91f4b564
AZ
32452014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3246
27b75f56
AZ
3247 * sysdeps/powerpc/memmove.c: Remove file.
3248 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3249 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3250 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3251 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3252 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3253 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3254 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3255 string memmove instead of removed powerpc one.
3256
e7f95bb5
AZ
3257 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3258 [weak_alias]: Fix compiler warning due trailing data.
3259 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3260 [weak_alias]: Likewise.
3261 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3262 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3263
91f4b564
AZ
3264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3265 (__libc_ifunc_impl_list): Add memmove functions.
3266
7c33f1e5
SP
32672014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3268
3269 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3270 Remove code.
3271 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3272 Likewise
3273 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3274 Likewise
3275 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3276 Likewise
3277 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3278 Likewise
3279 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3280 Likewise
3281 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3282 Likewise
3283 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3284 Likewise
3285 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3286 Likewise
3287 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3288 Likewise
3289 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3290 Likewise
3291 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3292 Likewise
3293 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3294 Likewise
3295 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3296 Likewise
3297 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3298 Likewise
3299 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3300 Likewise
3301 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3302 Likewise
3303
3f17b03b
AZ
33042014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3305
87868c24
AZ
3306 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3307 to avoid alignment traps in non-cacheable memory.
3308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3309
07aedd78
AZ
3310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3311 multiarch objects.
3312 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3313 file: multiarch power7 memmove.
3314 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3315 multiarch default memmove.
3316 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3317 multiarch memove for powerpc32/power4.
3318
17762f66
AZ
3319 * string/bcopy.c: Use full path to include memmove.c.
3320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3321 multiarch objects.
3322 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3323 bcopy for powerpc64.
3324 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3325 bcopy for powerpc64.
3326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3327 and memmove implementations.
3328 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3329 optimized multiarch memmove for POWER7/powerpc64.
3330 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3331 default multiarch memmove for powerpc64.
3332 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3333 multiarch for powerpc64.
3334 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3335 for POWER7/powerpc64.
3336 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3337 memmove for POWER7/powerpc64.
3338
d6f68bbe
AZ
3339 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3340 glibc default one.
3341
3f17b03b
AZ
3342 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3343 __ELF_NATIVE_CLASS equal to 64.
3344
08192659
RM
33452014-07-07 Roland McGrath <roland@hack.frob.com>
3346
f4c4021b
RM
3347 * sysdeps/nptl/lowlevellock.h: File removed.
3348
f083450f
RM
3349 * NEWS: NPTL is no longer an add-on!
3350 * nptl/internaltypes.h: Moved ...
3351 * sysdeps/nptl/internaltypes.h: ... here.
3352 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3353 * sysdeps/nptl/fork.c: Likewise.
3354 * sysdeps/nptl/gai_misc.h: Likewise.
3355 * sysdeps/nptl/librt-cancellation.c: Likewise.
3356 * sysdeps/nptl/jmp-unwind.c: Likewise.
3357 * sysdeps/nptl/setxid.h: Likewise.
3358 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3359 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3360 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3361 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3362 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3363 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3364 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3365 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3366 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3367 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3368 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3369 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3370 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3371 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3372 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3373 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3374 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3375 * nptl/Makeconfig: Moved ...
3376 * sysdeps/nptl/Makeconfig: ... here.
3377 * nptl/configure: File removed.
3378 * nptl/ANNOUNCE: File removed.
3379 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3380 * sysdeps/unix/sysv/linux/configure: Regenerated.
3381
08192659
RM
3382 * nptl/Makefile (routines): Add libc_pthread_init,
3383 libc_multiple_threads, register-atfork and unregister-atfork.
3384 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3385 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3386 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3387 pthread-pi-defines.sym, structsem.sym.
3388 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3389 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3390 [$(subdir) = nptl] (tests): Add tst-setgetname.
3391 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3392 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3393 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3394 [!LIBC_SIGACTION]: Remove aliases.
3395 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3396 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3397 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3398 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3399 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3400 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3401 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3403 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3404 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3405 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3406 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3407 __libc_allocate_rtsig_private.
3408 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3409 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3410 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3411 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3412 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3413 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3414 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3415 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3416 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3417 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3418 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3419 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3420 * nptl/internaltypes.h: ... here.
3421 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3422 * sysdeps/nptl/jmp-unwind.c: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3424 * nptl/libc-lowlevellock.c: ... here.
3425 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3426 * nptl/libc_multiple_threads.c: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3428 * nptl/libc_pthread_init.c: ... here.
3429 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3430 * nptl/lowlevelbarrier.sym: ... here.
3431 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3432 * nptl/lowlevelcond.sym: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3434 * nptl/lowlevellock.c: ... here.
3435 * nptl/lowlevellock.h: Moved ...
3436 * sysdeps/nptl/lowlevellock.h: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3438 * nptl/lowlevelrobustlock.c: ... here.
3439 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3440 * nptl/lowlevelrobustlock.sym: ... here.
3441 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3442 * nptl/lowlevelrwlock.sym: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3444 * nptl/pt-fork.c: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3446 * nptl/pthread-pi-defines.sym: ... here.
3447 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3448 * nptl/pthread_attr_getaffinity.c: ... here.
3449 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3450 * nptl/pthread_attr_setaffinity.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3452 * nptl/pthread_mutex_cond_lock.c: ... here.
3453 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3454 Update #include.
3455 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3456 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3457 * nptl/pthread_once.c: ... here, replacing old file.
3458 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3459 * nptl/pthread_yield.c: ... here.
3460 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3461 * nptl/register-atfork.c: ... here.
3462 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3463 * nptl/sem_post.c: ... here.
3464 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3465 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3466 * nptl/sem_timedwait.c: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3468 * nptl/sem_trywait.c: ... here.
3469 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3470 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3471 * nptl/sem_wait.c: ... here.
3472 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3473 * nptl/structsem.sym: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3475 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3476 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3477 * nptl/unregister-atfork.c: ... here.
3478 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3479 * nptl/unwindbuf.sym: ... here.
3480 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3481 * sysdeps/nptl/fork.c: ... here.
3482 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3483 * sysdeps/nptl/fork.h: ... here.
3484 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3485 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3486 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3488 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3489 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3490 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3492 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3494 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3495 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3496 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3497 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3498 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3499 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3500 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3501 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3502 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3504 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3506 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3507 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3508 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3509 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3510 * sysdeps/unix/sysv/linux/raise.c: ... here.
3511 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3512 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3513 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3514 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3515 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3516 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3517 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3518 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3519 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3520 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3521 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3522 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3523 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3524 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3525 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3526
96baf6ff
SP
35272014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3528
3529 * sysdeps/generic/memcopy.h: Add comment for
3530 MEMCPY_OK_FOR_FWD_MEMMOVE.
3531
6b7b14b2
WN
35322014-07-04 Will Newton <will.newton@linaro.org>
3533
1570a72b
WN
3534 * string/memchr.c: Merge from gnulib.
3535 [_LIBC]: Remove conditionals.
3536 (__ptr_t): Remove define.
3537 (LONG_MAX_32_BITS): Likewise.
3538 (LONG_MAX): Likewise.
3539 (MEMCHR): Use ANSI prototype and optimize algorithm.
3540
6b7b14b2
WN
3541 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3542
38851324
SP
35432014-07-03 Roland McGrath <roland@hack.frob.com>
3544
3d9eb57c
RM
3545 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3546 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3547
78b984ae
RM
3548 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3549 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3550 in a bare environment with no <stdlib.h> installed.
3551 * sysdeps/nptl/configure: Regenerated.
3552
2d5976a5
RM
3553 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3554
c1f5acd4
RM
3555 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3556 AC_EGREP_CPP for kernel header checks, so they only succeed if
3557 including <linux/version.h> actually works right.
3558 * sysdeps/unix/sysv/linux/configure: Regenerated.
3559
4d614fe5
RM
3560 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3561 value so it's not diagnosed as unused.
3562
38851324
SP
3563 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3564 thing) with "ifeq ($(subdir),rt)".
3565
b3ec00e5
RH
35662014-07-03 Richard Henderson <rth@redhat.com>
3567
69862e25
RH
3568 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3569 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3570 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3571
d5e16ade
RH
3572 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3573 (math_force_eval): New.
3574
ca7b945c
RH
3575 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3576 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3577
cd1175a3
RH
3578 * sysdeps/alpha/fpu/s_round.c: Remove file.
3579 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3580
b3ec00e5
RH
3581 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3582 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3583 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3584 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3585 (_dl_start, print_statistics): Likewise.
3586 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3587 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3588
3589 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3590 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3591 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3592 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3593 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3594 (HP_SMALL_TIMING_AVAIL): Define.
3595 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3597 (HP_SMALL_TIMING_AVAIL): Define.
3598 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3599 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3600
3601 * sysdeps/aarch64/hp-timing.h: New file.
3602
3603 * sysdeps/generic/hp-timing.h: Remove dead comment.
3604 * sysdeps/generic/hp-timing-common.h: New file.
3605 * sysdeps/alpha/hp-timing.h: Include it.
3606 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3607 * sysdeps/i386/i686/hp-timing.h: Likewise.
3608 * sysdeps/ia64/hp-timing.h: Likewise.
3609 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3610 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3611 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3612 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3613 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3614 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3615 (hp_timing_t): New.
3616
3617 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3618 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3619 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3620 * elf/rtld.c (_dl_start_final): Likewise.
3621 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3622 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3623 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3624 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3625 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3626 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3627 (HP_TIMING_DIFF_INIT): Remove.
3628 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3629 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3630 (HP_TIMING_DIFF_INIT): Remove.
3631 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3632 * sysdeps/i386/i686/hp-timing.c: Remove file.
3633 * sysdeps/x86_64/hp-timing.c: Remove file.
3634 * sysdeps/ia64/hp-timing.c: Remove file.
3635 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3636 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3637 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3638 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3639
3640 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3641 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3642 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3643 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3645 (HP_TIMING_ACCUM): Remove.
3646 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3647 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3648 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3649
3650 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3651 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3652 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3653 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3654 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3655 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3657 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3658
3659 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3660
225f410f
MR
36612014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3662
3663 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3664
3247f285
SP
36652014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3666
3667 Sync up with gettext.
3668 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3669 [_MSC_VER]: Include malloc.h
3670 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3671 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3672 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3673 TEMP_FAILURE_RETRY. Cast return of alloca.
3674 [!_LIBC] Call gl_rwlock_init.
3675 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3676
d12704c7
SP
36772014-07-02 Roland McGrath <roland@hack.frob.com>
3678
3679 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3680 before checking its value.
3681
99f8dc92
SP
36822014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
05fdac77
SP
3684 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3685
99f8dc92
SP
3686 * debug/memcpy_chk.c: Don't include pagecopy.h.
3687 * debug/mempcpy_chk.c: Likewise.
3688 * string/memcpy.c: Likewise.
3689 * string/memmove.c: Likewise.
3690 * sysdeps/powerpc/memmove.c: Likewise.
3691 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3692 definition of PAGE_COPY_FWD_MAYBE here...
3693 * sysdeps/generic/pagecopy.h: ... from here.
3694 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3695
bc8ea385
VR
36962014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3697 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3698
3699 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3701 optimizations.
3702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3703 (__libc_ifunc_impl_list): Likewise.
3704 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3705 multiarch strcat for PPC64.
3706 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3707 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3708
fe5f34e4
RM
37092014-07-02 Roland McGrath <roland@hack.frob.com>
3710
3711 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3712
256aa665
SP
37132014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3714
d4eb8195
SP
3715 * intl/loadmsgcat.c: Remove declaration of
3716 get_sysdep_segment_value.
3717 (get_sysdep_segment_value): Use ISO C style.
3718 (_nl_load_domain): Use ISO C style. Get rid of redundant
3719 semicolon. Fix typo and formatting in comment.
3720 (_nl_unload_domain): Use ISO C style.
3721
256aa665
SP
3722 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3723
b100f9aa
WN
37242014-07-02 Will Newton <will.newton@linaro.org>
3725
3726 * malloc/obstack.c: Merge from gnulib master.
3727 [HAVE_CONFIG_H]: Remove conditional code.
3728 [!_LIBC]: Include config.h.
3729 [!ELIDE_CODE]: Don't include inttypes.h, include
3730 stdint.h unconditionally.
3731 (print_and_abort): Mark as _Noreturn.
3732 (_obstack_allocated_p): Mark as __attribute_pure__.
3733 (obstack_free): Rename to __obstack_free.
3734 [!__attribute__]: Remove conditional code.
3735 * malloc/obstack.h: Merge from gnulib master.
3736 [__cplusplus]: Move conditional down.
3737 [!__attribute_pure__]: Define __attribute_pure__ here
3738 if it is not already defined.
3739 (_obstack_memory_used): Mark as __attribute_pure__.
3740 [!__obstack_free]: Define as obstack_free.
3741 [__GNUC__]: Remove check for ancient NeXT gcc.
3742
c4c41244
PE
37432014-07-02 Will Newton <will.newton@linaro.org>
3744 Paul Eggert <eggert@cs.ucla.edu>
3745
3746 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3747
e1e041c4
SP
37482014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3749
3750 * resolv/gethnamaddr.c: Add comment warning that the file is
3751 not maintained.
3752
ccf431ff
CD
37532014-07-01 Carlos O'Donell <carlos@redhat.com>
3754
d34570a6
CD
3755 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3756 entries.
3757
ccf431ff
CD
3758 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3759 entry for aio_cancel and aio_cancel64.
3760 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3761 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3762 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3763 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3764 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3765 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3766 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3767 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3768 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3769 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3770 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3771 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3772 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3773
ca06321d
RM
37742014-07-01 Roland McGrath <roland@hack.frob.com>
3775
3776 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3777 * nptl/pthread_mutex_lock.c: Likewise.
3778 * nptl/pthread_mutex_timedlock.c: Likewise.
3779 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3780
a1ac3184
RH
37812014-07-01 Richard henderson <rth@redhat.com>
3782
631021e0
RH
3783 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3784 (__isnan, __isnanl): Remove.
3785 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3786
a1ac3184
RH
3787 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3788
0c1d731f
SL
37892014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3790
3791 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3792
76985d3e
SP
37932014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3794
3795 * resolv/nss_dns/dns-host.c (getanswer_r)
3796 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3797
b0cb3096
JM
37982014-07-01 Joseph Myers <joseph@codesourcery.com>
3799
3800 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3801 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3802 undefine.
3803 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3804 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3805
4d76cb39
RM
38062014-07-01 Roland McGrath <roland@hack.frob.com>
3807
3808 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3809 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3810
3811 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3812 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3813
3814 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3815 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3816 ... here.
3817 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3818 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3819
3820 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3821 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3822 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3823 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3824
3825 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3826 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3827 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3828 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3829 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3830 Moved ...
3831 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3832 ... here.
3833 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3834 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3835 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3836 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3837 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3838 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3839 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3840 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3841 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3842 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3843 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3844 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3845 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3846 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3847 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3848 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3849 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3850 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3851 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3852 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3853 ... here.
3854 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3855 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3856 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3857 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3858 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3859 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3860 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3861 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3862
0cdcad17
DH
38632014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3864
3865 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3866 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3867 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3868 Add sysdep.
3869
9b71d0e3
AZ
38702014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3871
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3873
665390c2
JM
38742014-06-30 Joseph Myers <joseph@codesourcery.com>
3875
ae05a9d7
JM
3876 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3877 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3878
a7672a2f
JM
3879 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3880
665390c2
JM
3881 * sysdeps/arm/libm-test-ulps: Regenerated.
3882
d7a05d07
MR
38832014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3884 Roland McGrath <roland@hack.frob.com>
3885
3886 * test-skeleton.c (signal_handler): Kill the whole process group
3887 before killing the child individually.
3888 (main): Report any failure on `setpgid'.
3889
46f1d8a6
RM
38902014-06-30 Roland McGrath <roland@hack.frob.com>
3891
3892 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3893 from _TLS_H to _ARM_NPTL_TLS_H.
3894 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3895 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3896
9c37ec0b
JM
38972014-06-30 Joseph Myers <joseph@codesourcery.com>
3898
ce9c5b3e
JM
3899 [BZ #16539]
3900 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3901 (__expm1l): Return argument unchanged when small but not
3902 subnormal.
3903
3a6e9887
JM
3904 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3905 include macro name.
3906 (_FP_UNPACK_RAW_1_P): Likewise.
3907 (_FP_PACK_RAW_1): Likewise.
3908 (_FP_PACK_RAW_1_P): Likewise.
3909 (_FP_MUL_MEAT_1_wide): Likewise.
3910 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3911 (_FP_MUL_MEAT_1_hard): Likewise.
3912 (_FP_DIV_MEAT_1_imm): Likewise.
3913 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3914 (_FP_DIV_MEAT_1_udiv): Likewise.
3915 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3916 (_FP_UNPACK_RAW_2): Likewise.
3917 (_FP_UNPACK_RAW_2_P): Likewise.
3918 (_FP_PACK_RAW_2): Likewise.
3919 (_FP_PACK_RAW_2_P): Likewise.
3920 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3921 (_FP_MUL_MEAT_2_wide): Likewise.
3922 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3923 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3924 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3925 (_FP_MUL_MEAT_2_gmp): Likewise.
3926 (_FP_DIV_MEAT_2_udiv): Likewise.
3927 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3928 (_FP_FRAC_SRL_4): Likewise.
3929 (_FP_FRAC_SRST_4): Likewise.
3930 (_FP_FRAC_SRS_4): Likewise.
3931 (_FP_UNPACK_RAW_4): Likewise.
3932 (_FP_UNPACK_RAW_4_P): Likewise.
3933 (_FP_PACK_RAW_4): Likewise.
3934 (_FP_PACK_RAW_4_P): Likewise.
3935 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3936 (_FP_MUL_MEAT_4_wide): Likewise.
3937 (_FP_MUL_MEAT_4_gmp): Likewise.
3938 (umul_ppppmnnn): Likewise.
3939 (_FP_DIV_MEAT_4_udiv): Likewise.
3940 (__FP_FRAC_ADD_4): Likewise.
3941 (__FP_FRAC_SUB_3): Likewise.
3942 (__FP_FRAC_SUB_4): Likewise.
3943 (__FP_FRAC_DEC_3): Likewise.
3944 (__FP_FRAC_DEC_4): Likewise.
3945 (__FP_FRAC_ADDI_4): Likewise.
3946 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3947 (_FP_FRAC_SRL_8): Likewise.
3948 (_FP_FRAC_SRS_8): Likewise.
3949
9c37ec0b
JM
3950 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3951 include macro name.
3952 (FP_UNPACK_RAW_EP): Likewise.
3953 (FP_PACK_RAW_E): Likewise.
3954 (FP_PACK_RAW_EP): Likewise.
3955 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3956 (_FP_ISSIGNAN): Likewise.
3957 (_FP_ADD_INTERNAL): Likewise.
3958 (_FP_FMA): Likewise.
3959 (_FP_CMP): Likewise.
3960 (_FP_SQRT): Likewise.
3961 (_FP_TO_INT): Likewise.
3962 (_FP_FROM_INT): Likewise.
3963 (FP_EXTEND): Likewise.
3964 (_FP_DIV_MEAT_N_loop): Likewise.
3965
2125f674
MR
39662014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3967
3968 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3969 throughout.
3970
edea4028
JM
39712014-06-29 Joseph Myers <joseph@codesourcery.com>
3972
3973 [BZ #17097]
3974 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3975 result with correct sign in case of exponents that produce
3976 overflow except for X very close to 1.
3977
dd0ba018
PE
39782014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3979
3980 mktime: merge #if/#ifdef usage from glibc
3981 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3982 as that works with both Glibc's and Gnulib's style.
3983 See thread starting at Siddhesh Poyarekar's bug report at:
3984 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3985
64df73c2
SP
39862014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3987
3988 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3989 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3990 * sysdeps/tile/tilegx/memmove.c: Remove file.
3991
f1eafb41
JM
39922014-06-27 Joseph Myers <joseph@codesourcery.com>
3993
3994 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3995 abi-name definition.
3996 * scripts/soversions.awk: Do not handle or generate ABI lines.
3997 * shlib-versions: Remove ABI entries.
3998 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3999 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4000
58eb0862
RM
40012014-06-27 Roland McGrath <roland@hack.frob.com>
4002
37caf178
RM
4003 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4004 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4005 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4006 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4007 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4008 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4010 Moved ...
4011 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4012 ... here.
4013 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4014 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4015 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4016 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4018 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4020 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4021 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4022 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4024 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4026 Moved ...
4027 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4029 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4031 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4033 Moved ...
4034 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4035 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4036 Moved ...
4037 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4041 Moved ...
4042 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4044 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4046 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4048 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4050 Moved ...
4051 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4053 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4055 Moved ...
4056 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4058 Moved ...
4059 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4060 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4063 Moved ...
4064 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4065 ... here.
4066 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4067 Identical file removed.
4068 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4069 Moved ...
4070 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4072 Identical file removed.
4073 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4076 Moved ...
4077 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4079 Identical file removed.
4080 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4083 Identical file removed.
4084 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4087 Identical file removed.
4088 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4091 Identical file removed.
4092 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4093 Moved ...
4094 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4095 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4096 Identical file removed.
4097 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4098 Moved ...
4099 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4103 Identical file removed.
4104 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4105 Moved ...
4106 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4107 ... here.
4108 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4109 Identical file removed.
4110 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4111 Moved ...
4112 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4114 Identical file removed.
4115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4116 Moved ...
4117 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4118 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4119 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4120 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4123 Moved ...
4124 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4125 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4126 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4127
58eb0862
RM
4128 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4129 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4130 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4131 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4132 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4133
6f12d062
AS
41342014-06-27 Arjun Shankar <arjun.is@lostca.se>
4135
4136 [BZ #17092]
4137 * nscd/nscd.c (monitor_child): Return exit status of child
4138 instead of return value from wait syscall.
4139
be254932
JM
41402014-06-27 Joseph Myers <joseph@codesourcery.com>
4141
cb403c34
JM
4142 * configure.ac (libc_commonpagesize): Remove variable.
4143 (libc_relro_required): Likewise.
4144 (libc_cv_z_relro): Remove configure test.
4145 * configure: Regenerated.
4146 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4147 variable.
4148 (libc_relro_required): Likewise.
4149 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4150 (libc_relro_required): Likewise.
4151 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4152 (libc_relro_required): Likewise.
4153 * sysdeps/arm/preconfigure: Regenerated.
4154 * sysdeps/ia64/preconfigure: Remove file.
4155 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4156 variable.
4157 (libc_relro_required): Likewise.
4158
be254932
JM
4159 [BZ #16561]
4160 [BZ #16562]
4161 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4162 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4163 recompute overflowing results in original rounding mode.
4164 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4165 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4166 recompute overflowing results in original rounding mode.
4167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4168 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4169 recompute overflowing results in original rounding mode.
4170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4171 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4172 recompute overflowing results in original rounding mode.
4173 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4174 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4175 recompute overflowing results in original rounding mode.
4176 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4177 (libc_feholdsetround_ctx): New macro.
4178 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4179 * sysdeps/i386/fpu/libm-test-ulps: Update.
4180 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4181
b351d85a
JM
41822014-06-26 Joseph Myers <joseph@codesourcery.com>
4183
4184 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4185 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4186 corresponding .cpsetup call.
4187
3cb4de47
RM
41882014-06-26 Roland McGrath <roland@hack.frob.com>
4189
4190 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4191 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4192 * sysdeps/arm/Makefile [$(subdir) = csu]
4193 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4194 (static-only-routines): Add aeabi_read_tp here.
4195 (shared-only-routines): Add libc-aeabi_read_tp here.
4196 (CFLAGS-libc-start.c): Add -fexceptions here.
4197 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4198 (sysdep_routines, static-only-routines, shared-only-routines):
4199 Don't add to these here.
4200 (CFLAGS-libc-start.c): Likewise.
4201
4202 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4203 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4204 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4205 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4206 * sysdeps/arm/Makefile [$(subdir) = rt]
4207 (librt-sysdep_routines, librt-shared-only-routines):
4208 Append rt-aeabi_unwind_cpp_pr1 here.
4209 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4210 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4211 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4212 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4213 Append nptl-aeabi_unwind_cpp_pr1 here.
4214 (tests): Filter out tst-cleanupx4 here.
4215 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4216 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4217 Don't do those here.
4218
354426bb
JM
42192014-06-26 Joseph Myers <joseph@codesourcery.com>
4220
4221 * scripts/list-sources.sh: Do not handle ports specially.
4222
28b0a8c9
RM
42232014-06-26 Roland McGrath <roland@hack.frob.com>
4224
a3dd035d
RM
4225 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4226 * sysdeps/arm/feupdateenv.c: Likewise.
4227
28b0a8c9
RM
4228 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4229
e66a8203
JM
42302014-06-26 Joseph Myers <joseph@codesourcery.com>
4231
4232 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4233 trailing whitespace removed.
4234 * scripts/config.guess: Update to version 2014-03-23.
4235 * scripts/config.sub: Update to version 2014-05-01
4236 * scripts/install-sh: Update to version 2013-12-25.23.
4237 * scripts/move-if-change: Update from gnulib.
4238
74171115
SP
42392014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4240
b97c9ce5
SP
4241 * debug/memmove_chk.c: Remove pagecopy.h include.
4242
4000f892
SP
42432014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4244
74171115
SP
4245 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4246 identical to gnulib mktime.
4247
a8779c28
JM
42482014-06-26 Joseph Myers <joseph@codesourcery.com>
4249
e64708de
JM
4250 * configure.ac: Do not test for machine being rs6000. Do not test
4251 for powerpc*-*soft.
4252 * configure: Regenerated.
4253
a8779c28
JM
4254 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4255 test.
4256 * configure: Regenerated.
4257 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4258 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4259 Remove configure test.
4260 * sysdeps/arm/configure: Regenerated.
4261 * sysdeps/nptl/configure.ac: Do not check
4262 libc_cv_asm_cfi_directives.
4263 * sysdeps/nptl/configure: Regenerated.
4264 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4265 * sysdeps/x86_64/nptl/configure: Remove generated file.
4266 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4267 unconditional.
4268 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4269
2aac0a86
SP
42702014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4271
059bf913
SP
4272 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4273 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4274 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4275 it is defined.
4276
4cf5b6d0
SP
4277 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4278 instead of whether it is defined.
4279 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4280 * sysdeps/hppa/dl-machine.h: Likewise.
4281 * sysdeps/ia64/dl-machine.h: Likewise.
4282 * sysdeps/m68k/dl-machine.h: Likewise.
4283 * sysdeps/microblaze/dl-machine.h: Likewise.
4284 * sysdeps/mips/dl-machine.: Likewise.
4285 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4286 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4287 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4288 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4289 * sysdeps/sh/dl-machine.h: Likewise.
4290 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4291 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4292 * sysdeps/tile/dl-machine.h: Likewise.
4293 * sysdeps/x86_64/dl-machine.h: Likewise.
4294
2aac0a86
SP
4295 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4296 code.
4297 (verify_persistent_db): Likewise.
4298
6ad2df0b
RM
42992014-06-26 Roland McGrath <roland@hack.frob.com>
4300
d8a483f3
RM
4301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4302 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4304 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4306 Moved ...
4307 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4308 ... here.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4312 Identical file removed.
4313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4314 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4316 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4318 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4324 Moved ...
4325 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4327 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4329 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4331 Moved ...
4332 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4334 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4336 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4338 Identical file removed.
4339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4340 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4342 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4344 Moved ...
4345 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4346 ... here.
4347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4348 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4350 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4352 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4354 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4356 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4358 Moved ...
4359 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4361 Moved ...
4362 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4364 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4366 Moved ...
4367 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4369 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4370
52ae23b4
RM
4371 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4372 folded into ...
4373 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4374 * sysdeps/unix/sysv/linux/s390/Versions
4375 (libpthread: GLIBC_2.19): New version set.
4376 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4377 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4378 (librt: GLIBC_2.3.3): New version set.
4379 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4380 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4381 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4383 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4385 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4387 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4389 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4391 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4393 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4395 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4396 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4397 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4398 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4399 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4400 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4401 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4402 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4403 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4404 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4405 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4406 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4407 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4408 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4409 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4410 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4412 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4414 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4415 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4417 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4419 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4421 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4422 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4423 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4424
39507e4a
RM
4425 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4426 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4427 (__libc_vfork): Define the function under this name.
4428 [!NOT_IN_libc] (__vfork): Make this an alias.
4429 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4431 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4432 (__libc_vfork): Define the function under this name.
4433 [!NOT_IN_libc] (__vfork): Make this an alias.
4434 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4435 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4436 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4437 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4438 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4439 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4440
e549ee56
RM
4441 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4442 code that was previously under [RESET_PID].
4443 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4444 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4445 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4446
6ad2df0b
RM
4447 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4448 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4449 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4450 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4451 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4452 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4453 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4454 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4455 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4458 Moved ...
4459 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4460 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4461 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4462 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4463 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4464 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4465 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4466 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4467 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4468 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4469 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4471 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4473 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4474 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4475 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4477 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4481 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4483 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4484 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4485 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4486 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4487 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4488
7c1c1d8e
RM
44892014-06-25 Roland McGrath <roland@hack.frob.com>
4490
4491 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4492 that was previously under [RESET_PID].
4493 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4494
3e239be6
JM
44952014-06-25 Joseph Myers <joseph@codesourcery.com>
4496
74385da5
JM
4497 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4498 not undefine and redefine.
4499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4500 [O_CLOEXEC]: Make code unconditional.
4501 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4502 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4503 <kernel-features.h>.
4504 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4505 conditional variable definition.
4506 (shm_open) [O_CLOEXEC]: Make code unconditional.
4507 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4508 code.
4509
c2570a0b
JM
4510 * configure.ac (USE_REGPARMS): Don't define here.
4511 * configure: Regenerated.
4512 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4513 * sysdeps/i386/configure: Regenerated.
4514
11b076bb
JM
4515 * nptl/createthread.c: Don't include kernel-features.h.
4516 * nptl/pthread_cancel.c: Likewise.
4517 * nptl/pthread_condattr_setclock.c: Likewise.
4518 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4519 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4520 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4521 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4522 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4523 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4524 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4527 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4528 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4529 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4530 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4531 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4532 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4533 * nscd/gai.c: Likewise.
4534 * nss/nss_db/db-open.c: Likewise.
4535 * sysdeps/generic/ldsodefs.h: Likewise.
4536 * sysdeps/sh/nptl/tls.h: Likewise.
4537 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4538 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4539 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4540 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4541 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4542 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4543 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4544 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4545 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4546 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4547 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4548 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4549 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4550 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4551 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4552 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4553 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4554 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4555 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4556 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4557 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4558 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4559 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4560 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4561 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4562 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4563 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4564 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4565 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4566 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4567 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4568 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4569 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4570 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4571 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4572 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4573 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4574 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4575 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4576 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4577 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4578 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4579 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4580 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4581 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4582 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4583 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4584 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4585 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4586 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4587 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4588 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4589 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4590 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4591 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4592 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4593 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4594 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4617 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4618 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4619 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4620 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4621 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4622 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4623 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4624 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4625 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4626 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4627 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4628 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4629 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4630 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4631 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4632 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4633 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4634 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4635 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4636 * sysdeps/unix/sysv/linux/system.c: Likewise.
4637 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4638 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4639 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4640 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4641 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4642 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4643 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4644
92072d57
JM
4645 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4646 * configure: Regenerated.
4647 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4648
3e239be6
JM
4649 * configure.ac (base_machine): Do not set specially for particular
4650 machines here.
4651 * configure: Regenerated.
4652 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4653 settings from configure.ac.
4654 * sysdeps/i386/preconfigure: New file.
4655 * sysdeps/s390/preconfigure: Likewise.
4656 * sysdeps/sh/preconfigure: Likewise.
4657 * sysdeps/sparc/preconfigure: Likewise.
4658
06d50baa
RM
46592014-06-25 Roland McGrath <roland@hack.frob.com>
4660
74836003
RM
4661 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4662 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4663 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4664 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4665 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4666 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4667 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4668 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4669 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4670 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4671 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4672 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4673 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4674 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4675 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4676 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4677 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4678 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4679 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4680
4681 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4682 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4683 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4684 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4685 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4686 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4687 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4688 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4689 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4690 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4691 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4692 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4693 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4694 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4695 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4696 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4697 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4698 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4699 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4700 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4701 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4702 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4703 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4704 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4705 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4706 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4707 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4708 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4709 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4710 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4711 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4712 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4713 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4714 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4715 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4716 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4717 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4718 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4719
06d50baa
RM
4720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4721 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4725 Moved ...
4726 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4727 ... here.
4728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4733 Moved ...
4734 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4736 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4738 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4742 Moved ...
4743 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4745 Moved ...
4746 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4748 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4750 Moved ...
4751 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4753 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4755 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4757 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4761 Moved ...
4762 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4763 ... here.
4764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4765 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4767 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4769 Moved ...
4770 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4772 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4774 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4776 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4778 Moved ...
4779 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4781 Moved ...
4782 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4784 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4786 Moved ...
4787 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4791 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4792
a4ccbc9b
JM
47932014-06-25 Joseph Myers <joseph@codesourcery.com>
4794
0828edbf
JM
4795 * timezone/checktab.awk: Update from tzcode 2014e.
4796 * timezone/private.h: Likewise.
4797 * timezone/tzfile.h: Likewise.
4798 * timezone/zdump.c: Likewise.
4799 * timezone/zic.c: Likewise.
4800
a4ccbc9b
JM
4801 * sysdeps/unix/sysv/linux/kernel-features.h
4802 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4803 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4804 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4805 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4806 Remove conditional code.
4807
9aea0cb8
WN
48082014-06-25 Will Newton <will.newton@linaro.org>
4809
4810 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4811 (_dl_arm_cap_flags): Add HWCAP2 values.
4812 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4813 (_DL_HWCAP_COUNT): Increase to 37.
4814 (_DL_HWCAP_LAST): New define.
4815 (_DL_HWCAP2_LAST): New define.
4816 (_dl_procinfo): Add support for printing
4817 AT_HWCAP2 entries.
4818 (_dl_string_hwcap): Use _dl_hwcap_string.
4819
6eaa65ce
AZ
48202014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4821
4822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4823
0f5b7185
JM
48242014-06-25 Joseph Myers <joseph@codesourcery.com>
4825
cfd2ea50
JM
4826 * README: Do not mention ports directory.
4827
cecf2ed4
JM
4828 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4829 Remove macro.
4830 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4831 <kernel-features.h>.
4832 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4833 conditional variable definition.
4834 (__futimes): Update comment.
4835 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4836 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4837
a638de82
JM
4838 [BZ #16560]
4839 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4840 arguments close to 0.
4841 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4842 Likewise.
4843 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4844 Likewise.
4845 * math/auto-libm-test-in: Add more tests of exp10.
4846 * math/auto-libm-test-out: Regenerated.
4847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4848
0f5b7185
JM
4849 * sysdeps/unix/sysv/linux/kernel-features.h
4850 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4851 * sysdeps/unix/sysv/linux/readv.c: Do not include
4852 <kernel-features.h>.
4853 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4854 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4855 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4856 unconditional.
4857 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4858 conditional code.
4859 * sysdeps/unix/sysv/linux/writev.c: Do not include
4860 <kernel-features.h>.
4861 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4862 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4863 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4864 unconditional.
4865 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4866 conditional code.
4867
c7aec4be
WN
48682014-06-25 Will Newton <will.newton@linaro.org>
4869
4870 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4871 comment changes throughout the file. Remove checks
4872 for HAVE_*_H definitions that are not required.
4873 (__gen_tempname): Call abort if an unknown kind value is
4874 passed.
4875
c5241f95
AS
48762014-06-25 Andreas Schwab <schwab@suse.de>
4877
4878 [BZ #17086]
4879 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4880 scalbln, scalblnf, scalblnl in libc.
4881
911422da
SP
48822014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4883
4884 [BZ #17086]
4885 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4886 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4887 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4888
0d749bbe
RM
48892014-06-24 Roland McGrath <roland@hack.frob.com>
4890
4891 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4892 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4893 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4894 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4895 Update #include.
4896 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4897 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4898 Update #include.
4899 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4900 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4901 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4902 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4903 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4904 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4905 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4906 * sysdeps/x86/bits/semaphore.h: ... here.
4907 * sysdeps/x86/nptl/elide.h: Moved ...
4908 * sysdeps/x86/elide.h: ... here.
4909 * sysdeps/x86_64/nptl/Implies: File removed.
4910 * sysdeps/i386/nptl/Implies: File removed.
4911
0ea5d373
JM
49122014-06-24 Joseph Myers <joseph@codesourcery.com>
4913
4060283d
JM
4914 [BZ #16539]
4915 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4916 return the argument for normal arguments with exponent below -64.
4917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4918 Likewise.
4919 * math/auto-libm-test-in: Add another test of expm1.
4920 * math/auto-libm-test-out: Regenerated.
4921
e7dd3c8c
JM
4922 [BZ #16287]
4923 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4924 calling __erfcl for arguments at least 16.
4925 * math/auto-libm-test-in: Add more tests of erf.
4926 * math/auto-libm-test-out: Regenerated.
4927
0ea5d373
JM
4928 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4929 individual architectures.
4930 * sysdeps/unix/sysv/linux/configure: Regenerated.
4931 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4932 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4933 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4934 (ldd_rewrite_script): Define variable.
4935 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4937 file.
4938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4939 generated file.
4940 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4941 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4942 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4943 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4944 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4945 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4946 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4947 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4948
2307e126
SP
49492014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4950
4951 [BZ #17084]
4952 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4953 Rename member __data.d to __data.__elision_data.
4954
c0a4ed77
W
49552014-06-24 Wilco <wdijkstr@arm.com>
4956
4957 * NEWS: Add 16918 to fixed bug list.
4958
b8c00573
W
49592014-06-24 Wilco <wdijkstr@arm.com>
4960
4961 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4962
b5570d92
W
49632014-06-24 Wilco <wdijkstr@arm.com>
4964
4965 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4966 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4967 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4968 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4969 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4970 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4971 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4972 Use _FPU_MASK_RM.
4973
947bdca2
W
49742014-06-24 Wilco <wdijkstr@arm.com>
4975
4976 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4977
00f669ed
W
49782014-06-24 Wilco <wdijkstr@arm.com>
4979
4980 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4981 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4982 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4983 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4984
db59bad3
W
49852014-06-24 Wilco <wdijkstr@arm.com>
4986
4987 [BZ #16918]
4988 * sysdeps/arm/feupdateenv.c (feupdateenv):
4989 Rewrite to reduce FPSCR accesses and fix return value.
4990
001f7b77
W
49912014-06-24 Wilco <wdijkstr@arm.com>
4992
4993 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4994 Optimize to avoid unnecessary FPSCR writes.
4995 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4996 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4997 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4998 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4999
4841e6a6
W
50002014-06-24 Wilco <wdijkstr@arm.com>
5001
5002 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5003 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5004 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5005 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5006 Call libc_fetestexcept_vfp.
5007 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5008 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5009 __SOFTFP__ ifdef so that they can be built for softfp.
5010
0813022c
SP
50112014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5012
08e5862f
SP
5013 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5014 argument type signed char.
5015
0813022c
SP
5016 * Makerules (check-abi): Dump diff of symlist if the test
5017 fails.
5018
3fc7236a
RM
50192014-06-23 Roland McGrath <roland@hack.frob.com>
5020
aba8ef95
RM
5021 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5022 using abort.
5023
3fc7236a
RM
5024 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5025 Remove unused variable ST.
5026
4da6db51
JM
50272014-06-23 Joseph Myers <joseph@codesourcery.com>
5028
4648909d
JM
5029 [BZ #16354]
5030 [BZ #17061]
5031 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5032 small arguments before calling __expm1.
5033 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5034 small arguments before calling __expm1f.
5035 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5036 small arguments before calling __expm1l.
5037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5038 Likewise.
5039 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5040 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5041 spurious underflow for some cosh tests.
5042 * math/auto-libm-test-out: Regenerated.
5043 * sysdeps/i386/fpu/libm-test-ulps: Update.
5044
46a3d3c7
JM
5045 [BZ #17050]
5046 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5047 (__ieee754_y1): Set errno if return value overflows.
5048 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5049 (__ieee754_y1f): Set errno if return value overflows.
5050 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5051 (__ieee754_y1l): Set errno if return value overflows.
5052 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5053 (__ieee754_y1l): Set errno if return value overflows.
5054 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5055 * math/auto-libm-test-out: Regenerated.
5056
863893ec
JM
5057 * math/gen-auto-libm-tests.c: Document use of
5058 ignore-zero-inf-sign.
5059 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5060 (input_flags): Add ignore-zero-inf-sign.
5061 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5062 * math/gen-libm-test.pl (generate_testfile): Handle
5063 ignore-zero-inf-sign.
5064 * math/auto-libm-test-in: Mark some cpow tests with
5065 ignore-zero-inf-sign and some with xfail-rounding.
5066 * math/auto-libm-test-out: Regenerated.
5067 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5068 * sysdeps/i386/fpu/libm-test-ulps: Update.
5069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5070
4da6db51
JM
5071 [BZ #16315]
5072 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5073 overflowing or underflowing operations take place with sign of
5074 result.
5075 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5076 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5078 (__ieee754_pow): Recompute overflowing and underflowing results in
5079 original rounding mode.
5080 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5081 (__powl_helper): Allow negative argument X and scale negated value
5082 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5084 overflowing or underflowing operations take place with sign of
5085 result.
5086 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5087 Include <math.h>.
5088 * math/auto-libm-test-in: Add more tests of pow.
5089 * math/auto-libm-test-out: Regenerated.
5090 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5091 (pow_tonearest_test_data): Remove.
5092 (pow_test_tonearest): Likewise.
5093 (pow_towardzero_test_data): Likewise.
5094 (pow_test_towardzero): Likewise.
5095 (pow_downward_test_data): Likewise.
5096 (pow_test_downward): Likewise.
5097 (pow_upward_test_data): Likewise.
5098 (pow_test_upward): Likewise.
5099 (main): Don't call removed functions.
5100 * sysdeps/i386/fpu/libm-test-ulps: Update.
5101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5102
5686b236
RM
51032014-06-23 Roland McGrath <roland@hack.frob.com>
5104
5105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5106 Moved ...
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5109 Moved ...
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5112 Moved ...
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5115 Moved ...
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5118 File removed.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5120 File removed.
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5122 File removed.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5124 File removed.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5126 File removed.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5128 File removed.
5129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5130 File removed.
5131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5132 File removed.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5134 File removed.
5135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5136 File removed.
5137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5138 File removed.
5139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5140 File removed.
5141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5142 Moved ...
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5145 Moved ...
5146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5147 ... here.
5148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5149 Moved ...
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5152 Moved ...
5153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5155 Moved ...
5156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5158 Moved ...
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5161 Moved ...
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5164 Moved ...
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5167 Moved ...
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5171 ... here.
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5173 Moved ...
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5176 Moved ...
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5178 ... here.
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5180 Moved ...
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5182 ... here.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5184 Moved ...
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5186 ... here.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5188 Moved ...
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5191 Moved ...
5192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5196 Moved ...
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5198 ... here.
5199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5200 Moved ...
5201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5202 ... here.
5203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5204 Moved ...
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5207 Moved ...
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5210 Moved ...
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5213 Moved ...
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5216 Moved ...
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5218 ... here.
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5220 Moved ...
5221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5223 Moved ...
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5226 Moved ...
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5229 Moved ...
5230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5234 Moved ...
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5237 Moved ...
5238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5240 Moved ...
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5242 ... here.
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5244 Moved ...
5245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5246 ... here.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5248 Moved ...
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5250 ... here.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5252 Moved ...
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5255 Moved ...
5256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5258 Moved ...
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5263 ... here.
5264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5265 Moved ...
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5267 ... here.
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5269 Moved ...
5270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5271 ... here.
5272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5273 Moved ...
5274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5276 Moved ...
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5278
e6d90d67
WD
52792014-06-23 Will Newton <will.newton@linaro.org>
5280 Wilco <wdijkstr@arm.com>
5281
5282 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5283 implementation. Include get-rounding-mode.h.
5284 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5285 [!libc_feholdsetround_noex_ctx]: Define
5286 libc_feholdsetround_noex_ctx.
5287 [!libc_feholdsetround_noexf_ctx]: Define
5288 libc_feholdsetround_noexf_ctx.
5289 [!libc_feholdsetround_noexl_ctx]: Define
5290 libc_feholdsetround_noexl_ctx.
5291 (libc_feholdsetround_ctx): New function.
5292 (libc_feresetround_ctx): New function.
5293 (libc_feholdsetround_noex_ctx): New function.
5294 (libc_feresetround_noex_ctx): New function.
5295
d42df555
RM
52962014-06-23 Roland McGrath <roland@hack.frob.com>
5297
88a46474
RM
5298 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5299 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5300 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5301 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5302 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5303 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5304
15bed472
RM
5305 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5306 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5307 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5308 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5309 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5310 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5311 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5312 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5313 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5316 Moved ...
5317 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5318 ... here.
5319 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5320 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5322 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5323 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5324 Moved ...
5325 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5326 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5327 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5328 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5329 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5330 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5331 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5332 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5333 Moved ...
5334 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5335 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5336 Moved ...
5337 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5338 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5339 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5341 Moved ...
5342 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5344 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5345 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5346 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5347 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5348 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5349 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5350 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5351 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5352 Moved ...
5353 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5354 ... here.
5355 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5356 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5357 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5358 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5360 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5361 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5362 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5363 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5364 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5365 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5366 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5368 Moved ...
5369 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5370 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5371 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5372 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5373 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5374 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5375 Moved ...
5376 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5378 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5379 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5380 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5381
d42df555
RM
5382 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5383 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5384 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5385 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5387 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5388 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5389 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5391 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5393 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5394 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5395 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5396 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5397 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5398 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5399 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5400 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5401 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5402 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5403 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5404 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5405 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5406 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5407 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5408 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5409 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5410
76e5216e
JM
54112014-06-23 Joseph Myers <joseph@codesourcery.com>
5412
5413 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5414 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5415 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5416 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5417 (IPV6_PMTUDISC_INTERFACE): Likewise.
5418 (IPV6_PMTUDISC_OMIT): Likewise.
5419
7a81cbcc
AS
54202014-06-23 Andreas Schwab <schwab@suse.de>
5421
5422 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5423 Remove unused errout label.
5424
db224009
AZ
54252014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5426
5427 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5428 macro: hardware supports Vector Crypto instructions.
5429
f393b4aa
WN
54302014-06-23 Will Newton <will.newton@linaro.org>
5431
cc7d0447
WN
5432 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5433 rather than __builtin_expect.
5434
d6d06225
WN
5435 * elf/dl-lookup.c (undefined_msg): Remove variable.
5436 (_dl_lookup_symbol_x): Replace undefined_msg with string
5437 literal.
5438
f393b4aa
WN
5439 * elf/dl-lookup.c (do_lookup_unique): New function.
5440 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5441 to a separate function.
5442
ac60763e
AS
54432014-06-23 Andreas Schwab <schwab@suse.de>
5444
5445 [BZ #17079]
5446 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5447 before reading the next line.
5448
c5c13355
WN
54492014-06-23 Will Newton <will.newton@linaro.org>
5450
5451 * test-skeleton.c (signal_handler): Use printf and %m
5452 rather than perror. Use printf rather than fprintf to
5453 stderr. Use puts rather than fputs to stderr.
5454 (main): Likewise.
5455
bd3675f9
LC
54562014-06-22 Ludovic Courtès <ludo@gnu.org>
5457
5458 * nscd/nscd.c (thread_info_t): Remove typedef.
5459 (thread_info): Remove variable.
5460
d03efb2f
AM
54612014-06-21 Allan McRae <allan@archlinux.org>
5462
5463 * NEWS: Mention CVE-2014-4043.
5464
bc4a86fa
RM
54652014-06-20 Roland McGrath <roland@hack.frob.com>
5466
dc9a54f8
RM
5467 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5468 * nptl/smp.h: ... here.
5469
bd7022c4
RM
5470 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5471
26ffd5e6
RM
5472 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5473 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5474 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5475 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5476
93a6d082
RM
5477 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5478 * nptl/stack-aliasing.h: New file.
5479 * sysdeps/i386/i686/stack-aliasing.h: New file.
5480 * sysdeps/i386/i686/nptl/Makefile: File removed.
5481 * sysdeps/x86_64/stack-aliasing.h: New file.
5482 * sysdeps/x86_64/nptl/Makefile
5483 (CFLAGS-pthread_create.c): Variable removed.
5484
bc4a86fa
RM
5485 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5486 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5487 old file.
5488 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5489 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5490 old file.
5491
2272ffc1
JM
54922014-06-21 Joseph Myers <joseph@codesourcery.com>
5493
5494 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5495 (__ASSUME_SIGFRAME_V2): Remove macro.
5496 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5497 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5498 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5499 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5500 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5501 Declare as function. Remove conditional macro definitions.
5502 (__default_rt_sa_restorer): Likewise.
5503 (__default_sa_restorer_v1): Remove declaration.
5504 (__default_sa_restorer_v2): Likewise.
5505 (__default_rt_sa_restorer_v1): Likewise.
5506 (__default_rt_sa_restorer_v2): Likewise.
5507 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5508 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5509 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5510
4b88139b
RM
55112014-06-20 Roland McGrath <roland@hack.frob.com>
5512
5513 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5514 (libpthread-routines): Add sysdep.
5515 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5516 * sysdeps/unix/sysv/linux/sparc/Versions
5517 (libpthread: GLIBC_2.3.3): New version set.
5518 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5519 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5520 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5521 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5522 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5523 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5524 Moved ...
5525 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5526 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5527 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5528 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5529 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5530 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5531 * sysdeps/sparc/nptl/sem_init.c: ... here.
5532 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5533 * sysdeps/sparc/nptl/sem_post.c: ... here.
5534 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5535 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5536 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5537 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5539 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5540 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5541 (libpthread-routines): Add cpu_relax.
5542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5543 File removed.
5544 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5545 (librt: GLIBC_2.3.3): New version set.
5546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5547 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5548 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5549 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5550 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5552 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5554 Moved ...
5555 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5557 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5559 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5561 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5563 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5565 Moved ...
5566 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5567 Update #include.
5568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5569 Moved ...
5570 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5571 Update #include.
5572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5573 Moved ...
5574 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5575 Update #include.
5576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5577 Moved ...
5578 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5579 Update #include.
5580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5581 Moved ...
5582 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5583 Update #include.
5584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5585 Moved ...
5586 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5587 Update #include.
5588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5589 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5595 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5597 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5599 Moved ...
5600 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5602 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5604 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5605
d7109027
JM
56062014-06-20 Joseph Myers <joseph@codesourcery.com>
5607
9bc6103d
JM
5608 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5609 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5610 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5611 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5612 * nscd/nscd.c: Likewise.
5613 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5614 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5615 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5616 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5617
d7109027
JM
5618 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5619 <kernel-features.h>.
5620 (init_mq_netlink): Remove conditional have_sock_cloexec
5621 definitions. Remove code conditional on have_sock_cloexec < 0.
5622 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5623 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5624 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5625 <kernel-features.h>.
5626 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5627 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5628
d92d8f8a
L
56292014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5630
5631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5632 Add tests for memset_chk and memset.
5633
5634 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5635 with AVX2_Usable.
5636
4e6d2347
MR
56372014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5638
257ce712
MR
5639 [BZ #16046]
5640 * elf/tst-dl-iter-static.c: New file.
5641 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5642
4e6d2347
MR
5643 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5644 error.
5645
a2a76afe
JM
56462014-06-20 Joseph Myers <joseph@codesourcery.com>
5647
7fd00f99
JM
5648 * sysdeps/unix/sysv/linux/kernel-features.h
5649 (__ASSUME_F_GETOWN_EX): Remove macro.
5650 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5651 <kernel-features.h>.
5652 (miss_F_GETOWN_EX): Remove variable or macro.
5653 (do_fcntl): Do not check miss_F_GETOWN_EX.
5654 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5655
4a103975
JM
5656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5657 Remove macro.
5658 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5659 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5660 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5661
a2a76afe
JM
5662 * sysdeps/unix/sysv/linux/kernel-features.h
5663 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5664 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5665 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5666 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5667
90e5dd48
MR
56682014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5669
5670 [BZ #17075]
5671 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5672 Fix calculation of the symbol's value.
5673 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5674 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5675 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5676 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5677 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5678 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5679 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5680 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5681 (modules-names): Add `tst-armtlsdescmod',
5682 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5683 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5684 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5685 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5686 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5687 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5688 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5689 ($(objpfx)tst-armtlsdescloc): New dependency.
5690 ($(objpfx)tst-armtlsdescextnow): Likewise.
5691 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5692 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5693 TLS scheme support.
5694 * sysdeps/arm/configure: Regenerate.
5695
809fdf0d
JM
56962014-06-20 Joseph Myers <joseph@codesourcery.com>
5697
5698 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5699 (__atfct_seterrno_2): Likewise.
5700 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5701 <kernel-features.h>.
5702 (__ASSUME_ATFCTS): Do not undefine and redefine.
5703 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5704 (__have_atfcts): Remove conditional definition.
5705 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5706 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5707 unreachable if [__ASSUME_ATFCTS].
5708 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5709 not undefine and redefine.
5710 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5711 <kernel-features.h>.
5712 (faccessat) [__NR_faccessat]: Make code unconditional.
5713 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5714 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5715 <kernel-features.h>.
5716 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5717 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5718 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5719 <kernel-features.h>.
5720 (fchownat) [__NR_fchownat]: Make code unconditional.
5721 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5722 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5723 <kernel-features.h>.
5724 (futimesat) [__NR_futimesat]: Make code unconditional.
5725 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5726 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5727 <kernel-features.h>.
5728 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5729 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5730 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5731 <kernel-features.h>.
5732 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5733 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5734 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5735 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5736 <kernel-features.h>.
5737 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5738 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5739 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5740 <kernel-features.h>.
5741 (linkat) [__NR_linkat]: Make code unconditional.
5742 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5743 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5744 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5745 <kernel-features.h>.
5746 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5747 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5748 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5749 <kernel-features.h>.
5750 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5751 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5752 * sysdeps/unix/sysv/linux/openat.c: Do not include
5753 <kernel-features.h>.
5754 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5755 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5756 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5757 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5758 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5759 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5760 <kernel-features.h>.
5761 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5762 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5763 result of INLINE_SYSCALL directly, not via int variable.
5764 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5765 <kernel-features.h>.
5766 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5767 (renameat) [__NR_renameat]: Make code unconditional.
5768 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5769 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5770 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5771 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5772 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5773 (__ASSUME_ATFCTS): Do not undefine and redefine.
5774 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5775 <kernel-features.h>.
5776 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5777 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5778 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5779 <kernel-features.h>.
5780 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5781 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5782 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5783 (__ASSUME_ATFCTS): Do not undefine and redefine.
5784 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5785 <kernel-features.h>.
5786 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5787 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5788 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5789 <kernel-features.h>.
5790 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5791 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5792
224c6c51
L
57932014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5794
5795 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5796
aa6ec754
AS
57972014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5798
5799 [BZ #17069]
5800 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5801 constructed tree before returning error.
5802 * posix/bug-regexp36.c: Expand test case.
5803
d8c2869d
SL
58042014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5805
3ef6b850
SL
5806 [BZ #6803]
5807 * math/libm-test.inc (scalbln_test_date):
5808 Add errno expectations.
5809 * math/w_scalblnf.c: New File.
5810 Add wrapper which checks for setting errno to ERANGE.
5811 Add weak_alias for corresponding scalbln function.
5812 * math/w_scalbln.c: Likewise.
5813 * math/w_scalblnl.c: Likewise.
5814 * math/Makefile (libm-calls): Add w_scalbln.
5815 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5816 Remove weak_alias for corresponding scalbln function.
5817 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5818 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5820 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5821 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5822 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5823 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5824 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5825 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5826 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5827 Remove long_double_symbol for scalblnl function in libm, libc.
5828 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5829 Add wrapper which checks for setting errno to ERANGE.
5830 Add long_double_symbol for scalblnl function in libm, libc.
5831 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5832 Remove long_double_symbol for scalblnl in libm.
5833 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5834 Add wrapper which checks for setting errno to ERANGE.
5835 Add long_double_symbol for scalblnl function in libm.
5836 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5837 Do not use wrapper because of own implementation.
5838
c8daec5c
L
58392014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5840
5841 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5842 3 bytes for __pad1 for x32.
5843 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5844
5c74e47c
LM
58452014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5846 H.J. Lu <hongjiu.lu@intel.com>
5847
5848 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5849 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5850 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5851 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5852 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5853
4d43ef1e
AS
58542014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5855
5856 [BZ #17069]
5857 * posix/regcomp.c (parse_expression): Deallocate partially
5858 constructed tree before returning error.
5859 * posix/Makefile.c (tests): Add bug-regex36.
5860 (generated): Add bug-regex36.mtrace.
5861 (tests-special): Add $(objpfx)bug-regex36-mem.out
5862 (bug-regex36-ENV): New variable.
5863 ($(objpfx)bug-regex36-mem.out): New rule.
5864 * posix/bug-regex36.c: New file.
5865
51a7380b
WN
58662014-06-19 Will Newton <will.newton@linaro.org>
5867
5868 * malloc/malloc.c (systrim): If extra is zero then return
5869 early.
5870
91b84fe5
SP
58712014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5872
5873 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5874
f940b965
RE
58752014-06-19 Richard Earnshaw <rearnsha@arm.com>
5876
5877 * sysdeps/aarch64/strchr.S: New file.
5878
4ba7a00f
JM
58792014-06-18 Joseph Myers <joseph@codesourcery.com>
5880
5881 [BZ #17022]
5882 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5883 from arguments -2 or below.
5884 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5885 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5886
b3a9f56b
AS
58872014-06-18 Andreas Schwab <schwab@suse.de>
5888
5889 [BZ #17062]
5890 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5891 of a bracket expr not to run off the end of the string.
5892 * posix/Makefile (tests): Add tst-fnmatch3.
5893 * posix/tst-fnmatch3.c: New file.
5894
85d89278
JM
58952014-06-18 Joseph Myers <joseph@codesourcery.com>
5896
5897 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5898 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5899 [$(cross-compiling) = no]: Likewise.
5900 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5901 [$(cross-compiling) = no]: Likewise.
5902
754c5a08
RS
59032014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5904
5905 [BZ #17031]
5906 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5907 double, adjusted for any remainder from the high double.
5908 * math/libm-test.inc (nearbyint): Add tests.
5909 (rint): Likewise.
5910
556f529d
AZ
59112014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5912
5913 * nptl/sysdeps/powerpc/Makefile: Moved ...
5914 * sysdeps/powerpc/nptl/Makefile: ... here.
5915 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5916 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5917 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5918 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5919 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5920 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5921 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5922 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5923 * nptl/sysdeps/powerpc/tls.h: Moved ...
5924 * sysdeps/powerpc/nptl/tls.h: ... here.
5925
91c03c53
JM
59262014-06-16 Joseph Myers <joseph@codesourcery.com>
5927
5928 [BZ #16681]
5929 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5930 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5931 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5932 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5933 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5934 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5935 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5936 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5937 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5938
a76e63c5
AS
59392014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5940
5941 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5942
f2f6d82f
AS
59432014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5944
ea8a15f6
AS
5945 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5946 defined operator.
5947
f2f6d82f
AS
5948 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5949 $TIMEOUTFACTOR.
5950
a7291117
FW
59512014-06-16 Florian Weimer <fweimer@redhat.com>
5952
5953 [BZ #17058]
5954 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5955 non-executed part of the test.
5956
3d7c00e3
AS
59572014-06-16 Andreas Schwab <schwab@suse.de>
5958
5959 * string/bits/string2.h (strdup, strndup): Update feature guard.
5960
6957fb31
DM
59612014-06-14 David S. Miller <davem@davemloft.net>
5962
5963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5964
11b9e55b
AS
59652014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5966
1d2a0492
AS
5967 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5968 that was previously under [RESET_PID].
5969 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5970
11b9e55b
AS
5971 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5972 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5973 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5974 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5975 (__libc_vfork): New strong alias.
5976 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5977
0f6901d0
AK
59782014-06-14 Andi Kleen <ak@linux.intel.com>
5979
5980 * sysdeps/generic/elide.h: New file.
5981
38bbbb9f
SL
59822014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5983
5984 * Makefile (installed-headers): Adjust path of pthread.h header.
5985
45193bb8
RM
59862014-06-13 Roland McGrath <roland@hack.frob.com>
5987
9a25fd1e
RM
5988 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5989 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5991 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5992
4004f7e4
RM
5993 * nptl/sysdeps/s390/Makefile: Moved ...
5994 * sysdeps/s390/nptl/Makefile: ... here.
5995 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5996 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5997 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5998 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5999 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6000 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6001 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6002 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6003 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6004 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6005 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6006 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6007 * nptl/sysdeps/s390/tls.h: Moved ...
6008 * sysdeps/s390/nptl/tls.h: ... here.
6009
45193bb8
RM
6010 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6011 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6012
f6fdf533
DM
60132014-06-13 David S. Miller <davem@davemloft.net>
6014
6015 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6017 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6018 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6019 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6021 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6022 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6023 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6024 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6025 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6026 Remove RESET_PID cpp guards.
6027 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6028 Remove RESET_PID cpp guards.
6029 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6030
f5d71e14
AS
60312014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6032
6033 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6034 __sp to uintptr_t.
6035
b7aa8caa
AK
60362014-06-13 Andi Kleen <ak@linux.intel.com>
6037
4b266200
AZ
6038 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6039 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6040 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6041 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6042 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6043 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6044 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6045 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6046 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6047 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6048 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6049 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6050 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6051 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6052 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6053 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6054 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6055 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6056 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6057 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6058
6059 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6060 (pthread_rwlock_rdlock): Add elision.
6061 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6062 (pthread_rwlock_wrlock): Add elision.
6063 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6064 (pthread_rwlock_trywrlock): Add elision.
6065 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6066 (pthread_rwlock_tryrdlock): Add elision.
6067 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6068 (pthread_rwlock_tryrdlock): Add elision unlock.
6069 * nptl/sysdeps/pthread/pthread.h:
6070 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6071 (PTHREAD_RWLOCK_INITIALIZER,
6072 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6073 Handle new elision field.
6074 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6075 * sysdeps/arm/nptl/bits/pthreadtypes.h
6076 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6077 * sysdeps/sh/nptl/bits/pthreadtypes.h
6078 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6079 * sysdeps/tile/nptl/bits/pthreadtypes.h
6080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6081 * sysdeps/a/nptl/bits/pthreadtypes.h
6082 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6083 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6084 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6085 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6087 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6089 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6091 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6093 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6095 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6097 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6099 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6100 (elision_init): Set try_xbegin to zero when no RTM.
6101 * sysdeps/x86/nptl/bits/pthreadtypes.h
6102 (pthread_rwlock_t): Change __pad1 to __rwelision.
6103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6104
a832bdd3
AK
61052014-06-13 Andi Kleen <ak@linux.intel.com>
6106
6107 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6108 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6109 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6110 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6111
995a46bb
MI
61122014-06-13 Meador Inge <meadori@codesourcery.com>
6113
6114 [BZ #16996]
03ed7738 6115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6116 that the cached result has been set before returning it.
6117
45262aee
RM
61182014-06-12 Roland McGrath <roland@hack.frob.com>
6119
febf6cc5
RM
6120 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6121 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6122 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6123 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6124 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6125 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6126
e2682246
RM
6127 * nptl/sysdeps/sparc/Makefile: Moved ...
6128 * sysdeps/sparc/nptl/Makefile: ... here.
6129 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6130 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6131 * nptl/sysdeps/sparc/tls.h: Moved ...
6132 * sysdeps/sparc/nptl/tls.h: ... here.
6133 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6134 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6135 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6136 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6137 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6138 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6139 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6140 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6141 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6142 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6143 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6144 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6145 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6146 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6147 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6148 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6149 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6150 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6151 Update #include.
6152 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6154 Update #include.
6155 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6156 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6157 Update #include.
6158 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6160 Update #include.
6161
b0725f43
RM
6162 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6163
b14368b8
RM
6164 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6165 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6166
c5620eb3
RM
6167 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6168 (struct list_links): Type removed.
6169 (struct thread_node, struct timer_node): Replace struct list_links
6170 with struct list_head.
6171 (list_unlink_ip): Likewise.
6172 * sysdeps/pthread/timer_routines.c
6173 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6174 (list_append, list_insbefore): Likewise.
6175 (list_init): Function removed.
6176 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6177 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6178 * sysdeps/pthread/Makefile: ... here, new file.
6179
6180 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6181 * sysdeps/nptl/Implies: ... here.
6182 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6183 * nptl/sysdeps/pthread/list.h: Moved ...
6184 * include/list.h: ... here.
6185 * nptl/sysdeps/pthread/createthread.c: Moved ...
6186 * nptl/createthread.c: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6188 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6189 * nptl/pt-longjmp.c: ... here.
6190 * nptl/sysdeps/pthread/Makefile: Moved ...
6191 * sysdeps/nptl/Makefile: ... here.
6192 * nptl/sysdeps/pthread/Subdirs: Moved ...
6193 * sysdeps/nptl/Subdirs: ... here.
6194 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6195 * sysdeps/nptl/aio_misc.h: ... here.
6196 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6197 * sysdeps/nptl/bits/libc-lock.h: ... here.
6198 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6199 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6200 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6201 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6202 * nptl/sysdeps/pthread/configure: Moved ...
6203 * sysdeps/nptl/configure: ... here.
6204 * nptl/sysdeps/pthread/configure.ac: Moved ...
6205 * sysdeps/nptl/configure.ac: ... here.
6206 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6207 * sysdeps/nptl/gai_misc.h: ... here.
6208 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6209 * sysdeps/nptl/librt-cancellation.c: ... here.
6210 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6211 * sysdeps/nptl/malloc-machine.h: ... here.
6212 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6213 * sysdeps/nptl/pthread-functions.h: ... here.
6214 * nptl/sysdeps/pthread/pthread.h: Moved ...
6215 * sysdeps/nptl/pthread.h: ... here.
6216 * nptl/sysdeps/pthread/setxid.h: Moved ...
6217 * sysdeps/nptl/setxid.h: ... here.
6218 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6219 * sysdeps/nptl/sigfillset.c: ... here.
6220 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6221 * sysdeps/nptl/tcb-offsets.h: ... here.
6222 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6223 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6224 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6225 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6226 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6227 * sysdeps/pthread/allocalim.h: ... here.
6228 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6229 * sysdeps/pthread/bits/sigthread.h: ... here.
6230 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6231 * sysdeps/pthread/flockfile.c: ... here.
6232 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6233 * sysdeps/pthread/ftrylockfile.c: ... here.
6234 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6235 * sysdeps/pthread/funlockfile.c: ... here.
6236 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6237 * sysdeps/pthread/posix-timer.h: ... here.
6238 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6239 * sysdeps/pthread/timer_create.c: ... here.
6240 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6241 * sysdeps/pthread/timer_delete.c: ... here.
6242 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6243 * sysdeps/pthread/timer_getoverr.c: ... here.
6244 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6245 * sysdeps/pthread/timer_gettime.c: ... here.
6246 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6247 * sysdeps/pthread/timer_routines.c: ... here.
6248 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6249 * sysdeps/pthread/timer_settime.c: ... here.
6250 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6251 * sysdeps/pthread/tst-timer.c: ... here.
6252 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6253 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6254
e876b090
RM
6255 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6256 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6257
f6b07b3d
RM
6258 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6259 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6260 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6261 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6262 Update #include target.
6263 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6264 * sysdeps/i386/i686/nptl/Makefile: ... here.
6265 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6266 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6267 Update #include target.
6268 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6269 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6270 * nptl/sysdeps/i386/Makefile: Moved ...
6271 * sysdeps/i386/nptl/Makefile: ... here.
6272 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6273 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6274 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6275 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6276 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6277 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6278 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6279 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6280 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6281 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6282 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6283 * nptl/sysdeps/i386/tls.h: Moved ...
6284 * sysdeps/i386/nptl/tls.h: ... here.
6285
45262aee
RM
6286 * sysdeps/sh/Makefile [$(subdir) = csu]
6287 (gen-as-const-headers): Add tcb-offsets.sym.
6288 * nptl/sysdeps/sh/Makefile: File removed.
6289 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6290 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6291 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6292 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6293 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6294 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6295 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6296 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6297 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6298 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6299 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6300 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6301 * nptl/sysdeps/sh/tls.h: Moved ...
6302 * sysdeps/sh/nptl/tls.h: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6304 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6306 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6308 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6310 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6312 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6314 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6315 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6316 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6317 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6318 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6319 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6320 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6321 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6322 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6323 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6324 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6326 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6327 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6328 Moved ...
6329 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6331 Moved ...
6332 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6334 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6336 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6337 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6338 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6339 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6340 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6341 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6342 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6343 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6344 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6345 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6346 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6347 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6348 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6349 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6350 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6351
35a5e3e3
SL
63522014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6353
6354 * posix/spawn_faction_addopen.c: Include string.h.
6355
14642b85
RM
63562014-06-11 Roland McGrath <roland@hack.frob.com>
6357
6358 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6359 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6360 * nptl/sysdeps/x86_64/Makefile: Moved ...
6361 * sysdeps/x86_64/nptl/Makefile: ... here.
6362 * nptl/sysdeps/x86_64/configure: Moved ...
6363 * sysdeps/x86_64/nptl/configure: ... here.
6364 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6365 * sysdeps/x86_64/nptl/configure.ac: ... here.
6366 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6367 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6368 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6369 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6370 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6371 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6372 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6373 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6374 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6375 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6376 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6377 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6378 * nptl/sysdeps/x86_64/tls.h: Moved ...
6379 * sysdeps/x86_64/nptl/tls.h: ... here.
6380 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6381 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6382 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6383 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6384
6385 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6386
31c44fea
AZ
63872014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6390
e81a4f9a
JM
63912014-06-11 Joseph Myers <joseph@codesourcery.com>
6392
6393 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6394 type.
6395 [POSIX] (off_t): Likewise.
6396 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6397 [POSIX] (S_ISBLK): Require macro.
6398 [POSIX] (S_ISCHR): Likewise.
6399 [POSIX] (S_ISDIR): Likewise.
6400 [POSIX] (S_ISFIFO): Likewise.
6401 [POSIX] (S_ISREG): Likewise.
6402 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6403 optional-macro.
6404 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6405 type.
6406 [POSIX] (time_t): Likewise.
6407 [POSIX] (timer_t): Likewise.
6408
89e435f3
FW
64092014-06-11 Florian Weimer <fweimer@redhat.com>
6410
6411 [BZ #17048]
6412 * posix/spawn_int.h (struct __spawn_action): Make the path string
6413 non-const to support deallocation.
6414 * posix/spawn_faction_addopen.c
6415 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6416 * posix/spawn_faction_destroy.c
6417 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6418 path in all spawn_do_open actions.
6419 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6420 posix_spawn_file_actions_addopen.
6421
c3a2ebe1
CM
64222014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6423
6424 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6425 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6426 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6427 conditional code always true.
6428 (__libc_vfork): New alias.
6429
9503784a
RM
64302014-06-11 Roland McGrath <roland@hack.frob.com>
6431
c9cab3d2
RM
6432 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6433 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6434
d3996c79
RM
6435 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6436
ba5ec611
RM
6437 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6438 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6439
f12b4814
RM
6440 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6441 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6442
9503784a
RM
6443 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6444 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6445
e23d3d26
VR
64462014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6447
6448 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6449 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6450 multiarch strcmp for PPC64.
6451 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6452 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6454 multiarch optimizations.
6455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6456 (__libc_ifunc_impl_list): Likewise.
6457
42b1161e
SP
64582014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6459
6460 * benchtests/scripts/validate_benchout.py: New script.
6461 * benchtests/Makefile (bench-func): Call it.
6462 * benchtests/scripts/benchout.schema.json: New file.
6463
2d0fc4dc
CM
64642014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6465
4a594c34
AZ
6466 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6467 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6468 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6469 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6470 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6471 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6472 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6473 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6474 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6475 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6476 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6477 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6478 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6479 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6480 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6481 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6483 Moved ...
4a594c34 6484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6485 ... here.
4a594c34 6486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6487 Moved ...
4a594c34
AZ
6488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6490 Moved ...
4a594c34 6491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6492 ... here.
4a594c34 6493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6494 Moved ...
4a594c34 6495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6496 ... here.
4a594c34 6497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6498 Moved ...
4a594c34
AZ
6499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6501 Moved ...
4a594c34 6502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6503 ... here.
4a594c34 6504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6505 Moved ...
4a594c34 6506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6507 ... here.
4a594c34 6508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6509 Moved ...
4a594c34
AZ
6510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6512 Moved ...
4a594c34 6513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6514 ... here.
4a594c34 6515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6516 Moved ...
4a594c34 6517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6518 ... here.
4a594c34 6519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6520 Moved ...
4a594c34 6521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6522 ... here.
4a594c34 6523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6524 Moved ...
4a594c34
AZ
6525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6527 Moved ...
4a594c34 6528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6529 ... here.
4a594c34 6530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6531 Moved ...
4a594c34 6532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6533 ... here.
4a594c34 6534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6535 Moved ...
4a594c34 6536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6537 ... here.
4a594c34 6538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6539 Moved ...
4a594c34
AZ
6540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6542 Moved ...
4a594c34 6543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6544 ... here.
4a594c34 6545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6546 Moved ...
4a594c34 6547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6548 ... here.
4a594c34 6549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6550 Moved ...
4a594c34
AZ
6551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6553 Moved ...
4a594c34 6554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6555 ... here.
4a594c34 6556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6557 Moved ...
4a594c34
AZ
6558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6560 Moved ...
4a594c34
AZ
6561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6563 Moved ...
4a594c34 6564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6565 ... here.
4a594c34 6566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6567 Moved ...
4a594c34 6568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6569 ... here.
4a594c34 6570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6571 Moved ...
4a594c34 6572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6573 ... here.
4a594c34 6574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6575 Moved ...
4a594c34
AZ
6576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6578 Moved ...
4a594c34 6579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6580 ... here.
4a594c34 6581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6582 Moved ...
4a594c34 6583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6584 ... here.
4a594c34
AZ
6585 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6586 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6587 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6588 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6589 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6590 Moved ...
4a594c34 6591 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6592 ... here.
4a594c34
AZ
6593 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6594 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6596 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6598 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6599 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6600 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6601 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6602 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6604 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6606 Moved ...
4a594c34
AZ
6607 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6608 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6609 Moved ...
4a594c34
AZ
6610 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6612 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6614 Moved ...
4a594c34
AZ
6615 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6617 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6618 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6619 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6620 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6621 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6622
0570cfed
W
66232014-06-10 Wilco <wdijkstr@arm.com>
6624
6625 * math/test-fenv-return.c: New file.
6626 * math/Makefile: Add new test test-fenv-return.
6627
f8ba1b56
JM
66282014-06-10 Joseph Myers <joseph@codesourcery.com>
6629
6630 [BZ #17042]
6631 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6632 when x - 1 is zero.
6633 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6634 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6635 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6636 0.0L for an argument of 1.0L.
6637 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6638 Likewise.
6639 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6640 value when x - 1 is zero.
6641 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6642 * sysdeps/i386/fpu/libm-test-ulps: Update.
6643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6644
2c3520d9
BO
66452014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6646
6647 [BZ #15119]
6648 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6649
acaa4d24
RM
66502014-06-09 Roland McGrath <roland@hack.frob.com>
6651
6652 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6653 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6654
962b744d
RM
66552014-06-09 Roland McGrath <roland@hack.frob.com>
6656
d752f0cc
RM
6657 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6658 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6659
34eda6d1
RM
6660 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6661 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6662
50f0a637
RM
6663 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6664 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6665
08f41f04
RM
6666 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6667 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6668
962b744d
RM
6669 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6670 if not already defined.
6671 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6672 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6673 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6674 (TLS_INIT_TP): Use it.
6675 (TLS_DEFINE_INIT_TP): New macro.
6676 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6677
09f19b05
JM
66782014-06-09 Joseph Myers <joseph@codesourcery.com>
6679
6680 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6681 constant.
6682 [POSIX] (IXANY): Likewise.
6683 [POSIX] (OLCUC): Likewise.
6684 [POSIX || POSIX2008] (CBAUD): Do not allow.
6685 [POSIX || POSIX2008] (DEFECHO): Likewise.
6686 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6687 [POSIX || POSIX2008] (ECHOKE): Likewise.
6688 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6689 [POSIX || POSIX2008] (EXTA): Likewise.
6690 [POSIX || POSIX2008] (EXTB): Likewise.
6691 [POSIX || POSIX2008] (FLUSHO): Likewise.
6692 [POSIX || POSIX2008] (LOBLK): Likewise.
6693 [POSIX || POSIX2008] (PENDIN): Likewise.
6694 [POSIX || POSIX2008] (SWTCH): Likewise.
6695 [POSIX || POSIX2008] (VDISCARD): Likewise.
6696 [POSIX || POSIX2008] (VDSUSP): Likewise.
6697 [POSIX || POSIX2008] (VLNEXT): Likewise.
6698 [POSIX || POSIX2008] (VREPRINT): Likewise.
6699 [POSIX || POSIX2008] (VSTATUS): Likewise.
6700 [POSIX || POSIX2008] (VWERASE): Likewise.
6701 (B*): Change to B[0123456789]*.
6702 * conform/data/time.h-data [POSIX || UNIX98]
6703 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6704 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6705 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6706 [POSIX] (tm_*): Do not allow.
6707
686554bf
JM
67082014-06-07 Joseph Myers <joseph@codesourcery.com>
6709
6710 * Makefile (install): Don't set LANGUAGE.
6711 * Makefile.in (install): Likewise.
6712 * assert/Makefile (test-assert-ENV): Remove variable.
6713 (test-assert-perr-ENV): Likewise.
6714 * elf/Makefile (neededtest4-ENV): Likewise.
6715 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6716 [$(cross-compiling) = no]: Don't set LANGUAGE.
6717 * io/ftwtest-sh (LANG): Remove variable.
6718 * libio/Makefile (tst-widetext-ENV): Likewise.
6719 * manual/install.texi (Running make install): Don't refer to
6720 environment settings for make install.
6721 * INSTALL: Regenerated.
6722 * nptl/tst-tls6.sh: Don't set LANG.
6723 * posix/globtest.sh (LANG): Remove variable.
6724 * string/Makefile (tester-ENV): Likewise.
6725 (inl-tester-ENV): Likewise.
6726 (noinl-tester-ENV): Likewise.
6727 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6728 [$(cross-compiling) = no]: Don't set LANGUAGE.
6729 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6730 without explicit environment settings.
6731
68e6b6b1
RM
67322014-06-06 Roland McGrath <roland@hack.frob.com>
6733
6734 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6735 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6736 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6737 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6738
4d3ae034
CM
67392014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6740
6741 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6742 other files in the crypt directory.
6743 * crypt/crypt.c: Remove duplicate includes.
6744 * crypt/crypt-entry.c: Likewise.
6745 * crypt/crypt_util.c: Likewise.
6746
8540f6d2
JM
67472014-06-06 Joseph Myers <joseph@codesourcery.com>
6748
6749 * Makeconfig (run-program-env): New variable.
6750 (run-program-prefix-before-env): Likewise.
6751 (run-program-prefix-after-env): Likewise.
6752 (run-program-prefix): Define in terms of new variables.
6753 (built-program-cmd-before-env): New variable.
6754 (built-program-cmd-after-env): Likewise.
6755 (built-program-cmd): Define in terms of new variables.
6756 (test-program-prefix-before-env): New variable.
6757 (test-program-prefix-after-env): Likewise.
6758 (test-program-prefix): Define in terms of new variables.
6759 (test-program-cmd-before-env): New variable.
6760 (test-program-cmd-after-env): Likewise.
6761 (test-program-cmd): Define in terms of new variables.
6762 * Rules (make-test-out): Use $(run-program-env).
6763 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6764 (help): Do not mention environment variables. Mention
6765 --timeoutfactor option.
6766 (timeoutfactor): New variable.
6767 (blacklist_exports): Remove function.
6768 (exports): Remove variable.
6769 (command): Do not include ${exports}.
6770 * manual/install.texi (Configuring and compiling): Do not mention
6771 test wrappers preserving environment variables. Mention that last
6772 assignment to a variable must take precedence.
6773 * INSTALL: Regenerated.
6774 * benchtests/Makefile (run-bench): Use $(run-program-env).
6775 * catgets/Makefile ($(objpfx)test1.cat): Use
6776 $(built-program-cmd-before-env), $(run-program-env) and
6777 $(built-program-cmd-after-env).
6778 ($(objpfx)test2.cat): Do not specify environment variables
6779 explicitly.
6780 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6781 $(run-program-env) and $(built-program-cmd-after-env).
6782 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6783 $(run-program-env) and $(test-program-cmd-after-env).
6784 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6785 explicitly.
6786 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6787 run_program_env and test_program_cmd_after_env arguments.
6788 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6789 * elf/tst-pathopt.sh: Use run_program_env argument.
6790 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6791 $(test-wrapper-env) and $(run-program-env).
6792 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6793 run_program_env arguments.
6794 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6795 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6796 $(test-program-prefix-before-env), $(run-program-env) and
6797 $(test-program-prefix-after-env).
6798 ($(objpfx)tst-gettext2.out): Likewise.
6799 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6800 run_program_env and test_program_prefix_after_env arguments.
6801 * intl/tst-gettext2.sh: Likewise.
6802 * intl/tst-gettext4.sh: Do not set environment variables
6803 explicitly.
6804 * intl/tst-gettext6.sh: Likewise.
6805 * intl/tst-translit.sh: Likewise.
6806 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6807 $(test-program-prefix-before-env), $(run-program-env) and
6808 $(test-program-prefix-after-env).
6809 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6810 run_program_env and test_program_prefix_after_env arguments.
6811 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6812 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6813 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6814 explicitly with each use of ${test_wrapper_env}.
6815 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6816 $(test-program-prefix-before-env), $(run-program-env) and
6817 $(test-program-prefix-after-env).
6818 * posix/tst-getconf.sh: Do not set environment variables
6819 explicitly.
6820 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6821 run_program_env and test_program_prefix_after_env arguments.
6822 * stdio-common/tst-printf.sh: Do not set environment variables
6823 explicitly.
6824 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6825 $(test-program-prefix-before-env), $(run-program-env) and
6826 $(test-program-prefix-after-env).
6827 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6828 run_program_env and test_program_prefix_after_env arguments.
6829 Split $test calls into $test_pre and $test.
6830 * timezone/Makefile (build-testdata): Use
6831 $(built-program-cmd-before-env), $(run-program-env) and
6832 $(built-program-cmd-after-env).
6833
ed36bfa1
AZ
68342014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6837 strlen for non SHARED builds.
6838
fc75bf46
SP
68392014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6840
6841 * nptl/allocatestack.c (check_list): Inlined function...
6842 (__reclaim_stacks): ... here.
6843
d89b3d80
OB
68442014-06-05 Ondřej Bílka <neleai@seznam.cz>
6845
6846 [BZ #15698]
6847 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6848 memory overrun.
6849
2bf18041
JM
68502014-06-05 Joseph Myers <joseph@codesourcery.com>
6851
6852 * Rules (make-test-out): Include
6853 LOCPATH=$(common-objpfx)localedata in default environment.
6854 * debug/Makefile (tst-chk1-ENV): Remove variable.
6855 (tst-chk2-ENV): Likewise.
6856 (tst-chk3-ENV): Likewise.
6857 (tst-chk4-ENV): Likewise.
6858 (tst-chk5-ENV): Likewise.
6859 (tst-chk6-ENV): Likewise.
6860 (tst-lfschk1-ENV): Likewise.
6861 (tst-lfschk2-ENV): Likewise.
6862 (tst-lfschk3-ENV): Likewise.
6863 (tst-lfschk4-ENV): Likewise.
6864 (tst-lfschk5-ENV): Likewise.
6865 (tst-lfschk6-ENV): Likewise.
6866 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6867 (tst-iconv7-ENV): Likewise.
6868 * intl/Makefile (LOCPATH-ENV): Likewise.
6869 (tst-codeset-ENV): Likewise.
6870 (tst-gettext3-ENV): Likewise.
6871 (tst-gettext5-ENV): Likewise.
6872 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6873 (tst-fopenloc-ENV): Likewise.
6874 (tst-fgetws-ENV): Remove variable.
6875 (tst-ungetwc1-ENV): Likewise.
6876 (tst-ungetwc2-ENV): Likewise.
6877 (bug-ungetwc2-ENV): Likewise.
6878 (tst-swscanf-ENV): Likewise.
6879 (bug-ftell-ENV): Likewise.
6880 (tst-fgetwc-ENV): Likewise.
6881 (tst-fseek-ENV): Likewise.
6882 (tst-ftell-partial-wide-ENV): Likewise.
6883 (tst-ftell-active-handler-ENV): Likewise.
6884 (tst-ftell-append-ENV): Likewise.
6885 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6886 (tst-regexloc-ENV): Likewise.
6887 (bug-regex1-ENV): Likewise.
6888 (tst-regex-ENV): Likewise.
6889 (tst-regex2-ENV): Likewise.
6890 (bug-regex5-ENV): Likewise.
6891 (bug-regex6-ENV): Likewise.
6892 (bug-regex17-ENV): Likewise.
6893 (bug-regex18-ENV): Likewise.
6894 (bug-regex19-ENV): Likewise.
6895 (bug-regex20-ENV): Likewise.
6896 (bug-regex22-ENV): Likewise.
6897 (bug-regex23-ENV): Likewise.
6898 (bug-regex25-ENV): Likewise.
6899 (bug-regex26-ENV): Likewise.
6900 (bug-regex30-ENV): Likewise.
6901 (bug-regex32-ENV): Likewise.
6902 (bug-regex33-ENV): Likewise.
6903 (bug-regex34-ENV): Likewise.
6904 (bug-regex35-ENV): Likewise.
6905 (tst-rxspencer-ENV): Likewise.
6906 (tst-rxspencer-no-utf8-ENV): Likewise.
6907 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6908 (tst-sscanf-ENV): Likewise.
6909 (tst-swprintf-ENV): Likewise.
6910 (tst-swscanf-ENV): Likewise.
6911 (test-vfprintf-ENV): Likewise.
6912 (scanf13-ENV): Likewise.
6913 (bug14-ENV): Likewise.
6914 (tst-grouping-ENV): Likewise.
6915 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6916 (tst-strtod3-ENV): Likewise.
6917 (tst-strtod4-ENV): Likewise.
6918 (tst-strtod5-ENV): Likewise.
6919 (testmb2-ENV): Likewise./
6920 * string/Makefile (tst-strxfrm-ENV): Likewise.
6921 (tst-strxfrm2-ENV): Likewise.
6922 (bug-strcoll1-ENV): Likewise.
6923 (test-strcasecmp-ENV): Likewise.
6924 (test-strncasecmp-ENV): Likewise.
6925 * time/Makefile (tst-strptime-ENV): Likewise.
6926 (tst-ftime_l-ENV): Likewise.
6927 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6928 (tst-mbrtowc-ENV): Likewise.
6929 (tst-wcrtomb-ENV): Likewise.
6930 (tst-mbrtowc2-ENV): Likewise.
6931 (tst-c16c32-1-ENV): Likewise.
6932 (tst-mbsnrtowcs-ENV): Likewise.
6933
cd1fb604
OB
69342014-06-05 Ondřej Bílka <neleai@seznam.cz>
6935
6936 * manual/resource.texi (How to get information about the memory
6937 subsystem?): Fix typo.
6938 Reported by Peon de la Parra Ivan <peon@keba.com>
6939
b42eca7d
GY
69402014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6941
6942 [BZ #16882]
6943 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6944 (pthread_spin_lock): Branch out of spin loop to proper location.
6945 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6946 (pthread_spin_lock): Likewise.
6947
902b71f9
DM
6948 * nptl/tst-spin4.c: New test.
6949 * nptl/Makefile (tests): Add tst-spin4.
6950
f9d2d032
AS
69512014-06-03 Andreas Schwab <schwab@suse.de>
6952
6953 [BZ #15946]
6954 * resolv/res_send.c (send_dg): Reload file descriptor after
6955 calling reopen.
6956
cf7bfd28
SL
69572014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6958
6959 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6960
111cc714
RH
69612014-06-03 Richard Henderson <rth@redhat.com>
6962
89b4bd6b
RH
6963 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6964 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6965 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6966 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6967 in the SAVE_PID block.
6968 (__libc_vfork): New alias.
71840409 6969 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 6970
111cc714
RH
6971 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6972 child in registers, not on the stack. Remove RESET_PID conditionals.
6973 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6974
ccc39911
MS
69752014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6976
6977 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6978
693096cc
W
69792014-06-03 Wilco <wdijkstr@arm.com>
6980
6981 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6982 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6983 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6984 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6985 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6986 Likewise.
6987
0b4366bc
W
69882014-06-03 Wilco <wdijkstr@arm.com>
6989
6990 * sysdeps/aarch64/fpu/math_private.h
6991 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6992 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6993 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6994 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6995 Fix declarations.
6996
8747cd03
KS
69972014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6998
6999 * crypt/crypt-private.h: Include ufc-crypt.h.
7000 (__b64_from_24bit): Declare extern.
7001 * crypt/crypt_util.c(__b64_from_24bit): New function.
7002 (b64t): New static const variable.
7003 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7004 (b64t): Remove variable.
7005 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7006 * crypt/sha256-crypt.c: Include crypt-private.h.
7007 (b64t): Remove variable.
7008 (__sha256_crypt_r): Remove b64_from_24bit and replace
7009 with __b64_from_24bit.
7010 * crypt/sha512-crypt.c: Likewise.
7011
d936d379
RM
70122014-06-02 Roland McGrath <roland@hack.frob.com>
7013
7014 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7015 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7016 Label the code __libc_vfork rather than __vfork.
7017 [!NOT_IN_libc] (vfork): Define as weak alias.
7018 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7019 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7020 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7021
9fa76613
SP
70222014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7023
7024 * malloc/malloc.c (malloc_info): Fix format specifier for
7025 n_mmaps.
7026
a88dadbe
W
70272014-06-02 Wilco <wdijkstr@arm.com>
7028
7029 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7030 FPCR write.
7031
c95b3011
W
70322014-06-02 Wilco <wdijkstr@arm.com>
7033
7034 [BZ #17009]
7035 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7036 Rewrite to reduce FPCR/FPSR accesses.
7037
6b4d7a90
DM
70382014-06-01 David S. Miller <davem@davemloft.net>
7039
7040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7041
30f3d07c
DM
70422014-05-31 David S. Miller <davem@davemloft.net>
7043
7044 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7045 to occur in round to nearest mode when |x| >= 2.0
7046
74f31c18
RH
70472014-05-30 Richard Henderson <rth@twiddle.net>
7048
f0712b54
RH
7049 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7050 (PSEUDO_RET_NOERRNO): Remove.
7051 (ret): Don't redefine.
7052 (ret_NOERRNO): Define in terms of ret.
7053 (ret_ERRVAL): Likewise.
7054
74f31c18
RH
7055 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7056 use of PSEUDO_RET; perform the error check directly.
7057
30477995
MM
70582014-05-30 Marko Myllynen <myllynen@redhat.com>
7059
7060 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7061 with __int128_t.
7062
62a58816
SP
70632014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7064
7065 * malloc/malloc (malloc_info): Fix formatting.
7066
4d653a59
SP
70672014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7068 Roland McGrath <roland@hack.frob.com>
7069
7070 * malloc/malloc (malloc_info): Also print mmapped statistics.
7071
5190c17f
RM
70722014-05-30 Roland McGrath <roland@hack.frob.com>
7073
7074 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7075 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7076
987c0269
OB
70772014-05-30 Ondřej Bílka <neleai@seznam.cz>
7078
7079 * malloc/malloc.c (malloc_info): Inline mi_arena.
7080
af4e8ef9
RH
70812014-05-29 Richard Henderson <rth@twiddle.net>
7082
1670e207
RH
7083 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7084 Remove comma before expanding ASM_ARGS_##nr.
7085 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7086 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7087 of ASM_ARGS_##nr.
7088 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7089 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7090 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7091 (ASM_ARGS_1): Add leading comma.
7092
11a28aee
RH
7093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7094 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7095 to __errno_location.
7096 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7097 Remove the expected plt for __errno_location.
7098
a17e5ffb 7099 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7100 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7101 call to __read_tp.
7102
b5be4597
RH
7103 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7104 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7105 it and break it down.
7106 (DOCARGS_0, DOCARGS_1): Do nothing.
7107 (DOCARGS_2): Update to store into the new stack frame.
7108 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7109 (UNDOCARGS_1): Update to restore from the new stack frame.
7110 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7111 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7112
645d44ab
RH
7113 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7114 (SINGLE_THREAD_P): New parameter for result regno.
7115 (PSEUDO): Update to match; use cbz instead of beq.
7116
a8b4f04a
RH
7117 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7118 Use ENTRY to define the _nocancel entry point. Share the syscall
7119 and syscall error check paths with the cancel path.
7120 (PSEUDO_END): New.
7121
af4e8ef9
RH
7122 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7123 whitespace; tabs before and after asm mnemonics.
7124
26b0d2e1
EW
71252014-05-29 Eric Wong <normalperson@yhbt.net>
7126
7127 [BZ #15132]
7128 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7129 Call fstat64 or stat64 internally, depending on arguments passed.
7130 Replace stat buffer argument with file descriptor argument.
7131 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7132 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7133 Pass fd to __internal_statvfs instead of calling fstat64.
7134 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7135 Pass fd to __internal_statvfs64 instead of calling fstat64.
7136 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7137 Pass -1 to __internal_statvfs instead of calling stat64.
7138 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7139 Pass -1 to __internal_statvfs64 instead of calling stat64.
7140
1efe2bd9
RM
71412014-05-28 Roland McGrath <roland@hack.frob.com>
7142
0d3b7a19
RM
7143 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7144 that was previously under [RESET_PID].
7145 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7146
1efe2bd9
RM
7147 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7148 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7149
a6bea3ca
RM
71502014-05-27 Roland McGrath <roland@hack.frob.com>
7151
30b6629e
RM
7152 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7153
a6bea3ca
RM
7154 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7155 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7156
3dfb9a5c
OB
71572014-05-27 Ondřej Bílka <neleai@seznam.cz>
7158
7159 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7160
774f9285
AS
71612014-05-27 Andreas Schwab <schwab@suse.de>
7162
7163 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7164 TLS_INIT_TP macro.
7165 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7166 * elf/rtld.c (init_tls, dl_main): Likewise.
7167 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7168 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7169 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7170 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7171 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7172 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7173 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7174 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7175 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7176 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7177 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7178 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7179 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7180 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7181 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7182 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7183 * sysdeps/generic/tls.h: Update description.
7184
36ffe739
WN
71852014-05-27 Will Newton <will.newton@linaro.org>
7186
7187 [BZ #16990]
7188 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7189 and restore r2 rather than just restoring.
7190
2482ae43
SP
71912014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7192
7193 [BZ #16724]
7194 * libio/tst-ftell-append.c: New test case.
7195 * libio/Makefile (tests): Add test case.
7196 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7197 append mode.
7198 * libio/wfileops.c (do_ftell_wide): Likewise.
7199
3d1024e8
AZ
72002014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7201
bab90016
AZ
7202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7203
c7a8d667
AZ
7204 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7205 ...
7206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7208 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7209 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7210 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7211 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7212 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7213 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7215 Moved ...
7216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7218 Moved ...
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7220 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7221 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7223 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7224 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7225 ...
7226 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7227 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7228 Moved ...
7229 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7230 here.
7231 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7232 ...
7233 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7235 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7236
daee7851
AZ
7237 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7238 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7239 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7240 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7241
50a40819
AZ
7242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7243 merge into ...
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7245 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7246 ...
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7249 ...
7250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7252 Moved ...
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7254 here.
7255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7256 Moved ...
7257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7259 Moved ...
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7261
8464c2a1
AZ
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7263 conditional [RESET_PID].
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7266 removed.
7267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7268 removed.
7269
3d1024e8
AZ
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7271 <tcb-offsets.h>.
7272 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7273 (__libc_vfork): New strong alias.
7274 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7275 removed.
7276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7277 Removed.
7278
7279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7280 <tcb-offsets.h>.
7281 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7282 (__libc_vfork): New strong alias.
7283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7284 removed.
7285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7286 removed.
7287
fdfd175d
CD
72882014-05-26 Carlos O'Donell <carlos@redhat.com>
7289
7290 * malloc/malloc.c (mi_arena): New function.
7291 (malloc_info): Remove nested function mi_arena. Call non-nosted
7292 function mi_arena.
7293
d298c416
AZ
72942014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7295
7296 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7297 by insrwi.
7298 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7299 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7300 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7301 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7302 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7303 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7304 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7305
b60ea6ff
AS
73062014-05-26 Andreas Schwab <schwab@suse.de>
7307
7308 [BZ #16984]
7309 * locale/programs/repertoire.c (repertoire_read): Add slash
7310 between I18NPATH element and file name.
7311 * locale/programs/locfile.c (locfile_read): Likewise.
7312
67365926
SL
73132014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7314
7315 * nptl/pthread_mutexattr_settype.c
7316 (__pthread_mutexattr_settype):
7317 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7318
f8bdf1f0
SL
73192014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7320
7321 * nptl/tst-mutex5 (do_test):
7322 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7323
15eaf6ff
SP
73242014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7325
7326 * benchtests/README: Document 'init' directive.
7327 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7328 BENCH_INIT.
7329 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7330 (parse_file): Recognize 'init' directive.
7331
75f11331
KM
73322014-05-26 Kyle McMartin <kyle@redhat.com>
7333
7334 [BZ #16796]
7335 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7336 alignment of struct pthread.
7337
c3ec475c
SP
73382014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7339
7340 [BZ #16878]
7341 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7342 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7343 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7344 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7345
82aab97c
RH
73462014-05-25 Richard Henderson <rth@twiddle.net>
7347
aa2f176d
RH
7348 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7349 (SINGLE_THREAD_P_PIC): Remove.
7350 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7351 (SINGLE_THREAD_P_PIC): Remove.
7352
ca3cfa40
RH
7353 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7354 branch to syscall error ...
7355 (PSEUDO): ... here.
7356 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7357 from __local_syscall_error to .Lsyscall_error.
7358 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7359 (SYSCALL_ERROR): Update label name.
7360
6e6c2d01
RH
7361 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7362 Do not use DOARGS/UNDOARGS.
7363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7364 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7365 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7366 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7367 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7368
c69abcee
RH
7369 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7370 block comment.
7371
82aab97c
RH
7372 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7373 define if !NOT_IN_libc.
7374 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7375 define with non-default symbol versions.
7376
8820e3ac
RH
73772014-05-23 Richard Henderson <rth@twiddle.net>
7378
900e445f
RH
7379 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7380 (vfork, __vfork): Define via compat_symbol.
7381
8820e3ac
RH
7382 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7383 [!HAVE_IFUNC] (vfork_compat): Remove.
7384 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7385
e59252a5
JM
73862014-05-23 Joseph Myers <joseph@codesourcery.com>
7387
7388 [BZ #16978]
7389 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7390 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7391 variable.
7392
132c7f5f
RH
73932014-05-23 Richard Henderson <rth@twiddle.net>
7394
bc89e962
RH
7395 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7396 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7397 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7398 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7399
7400 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7401 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7402 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7403 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7404 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7405 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7406 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7407 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7408 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7409 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7410 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7411 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7412 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7413 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7415 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7419 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7420 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7423 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7424 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7425 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7426 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7427 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7431 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7433 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7435 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7436 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7437 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7438 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7439 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7440 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7441 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7442 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7443 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7444 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7445 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7446 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7447 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7448 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7449 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7450 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7451 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7452 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7453 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7454 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7455 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7456
e2fa4bc2
RH
7457 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7458 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7459 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7460 before exiting on error.
7461 (__libc_vfork): New strong alias.
7462 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7463 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7464
279b24e2
RH
7465 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7466 that was previously under [RESET_PID].
7467 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7468
132c7f5f
RH
7469 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7470
b72592e7
JM
74712014-05-23 Joseph Myers <joseph@codesourcery.com>
7472
7473 [BZ #16977]
7474 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7475 value when x - 1 is zero.
7476 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7477 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7478 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7479 0.0L for an argument of 1.0L.
7480 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7481 Likewise.
7482 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7483 value when x - 1 is zero.
7484 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7485 * sysdeps/i386/fpu/libm-test-ulps: Update.
7486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7487
2302d679
RV
74882014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7489
7490 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7491 alphasort and versionsort.
7492
32999d63
AZ
74932014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7494
7495 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7496 macro.
7497 [copysignf]: Likewise.
7498
019324d0
SP
74992014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7500
7501 * crypt/md5-crypt.c: Fix formatting.
7502
34fff5c2
KS
75032014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7504
7505 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7506 (b64_from_24bit): New function.
7507
3d2badac
AZ
75082014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7509
7510 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7511 libc_hidden_builtin_def to ifunc.
7512 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7513 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7514
f7bb179f 75152014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7516
7517 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7518 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7519
4134b50d
JM
75202014-05-21 Joseph Myers <joseph@codesourcery.com>
7521
bb7d0337
JM
7522 * nscd/Depend (linuxthreads): Remove.
7523 (nptl): Add.
7524 * resolv/Depend (linuxthreads): Remove.
7525 * rt/Depend (linuxthreads): Remove.
7526
4134b50d
JM
7527 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7528 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7529 $(common-objpfx)elf/.
7530 (link-libc-before-gnulib): Likewise.
7531 (elfobjdir): Remove variable.
7532 * Makefile (install): Use $(elf-objpfx) instead of
7533 $(common-objpfx)elf/.
7534 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7535 $(elfobjdir)/.
7536 (link-libc-deps): Likewise.
7537 ($(common-objpfx)libc.so): Likewise.
7538 ($(common-objpfx)linkobj/libc.so): Likewise.
7539 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7540 instead of $(common-objpfx)elf/.
7541 (symbolic-link-list): Likewise.
7542 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7543 [$(cross-compiling) = no]: Likewise.
7544 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7545 $(elfobjdir)/.
7546 (static-gnulib-arch): Likewise.
7547 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7548 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7549 $(common-objpfx)elf/.
7550
3612eb8f
RH
75512014-05-21 Richard Henderson <rth@redhat.com>
7552
a6b3657b
RH
7553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7554 (SINGLE_THREAD_P): Use the correct width load. Fold
7555 into the ldr offset.
7556
3612eb8f
RH
7557 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7558 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7559
175cef41
JM
75602014-05-20 Joseph Myers <joseph@codesourcery.com>
7561
7562 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7563 (libgcc_s_resume): Use __attribute_used__.
7564 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7565 Likewise.
7566
e13bccd3
AZ
75672014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7568
7569 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7570 optimization when used with float constants.
7571
7c112a38
AZ
7572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7573
ae75a883
AJ
75742014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7575
7576 [BZ #16915]
7577 * locale/nl_langinfo_l.c: Make direct reference to every
7578 _nl_current_CATEGORY symbol.
7579 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7580 (tests-static): Add tst-langinfo-static.
7581 (tests-special): Add tst-langinfo-static.out.
7582 ($(objpfx)tst-langinfo.out): Redirect output.
7583 ($(objpfx)tst-langinfo-static.out): New.
7584 * localedata/tst-langinfo.sh: Send output to stdout.
7585 * localedata/tst-langinfo-static.c: New file.
7586
4406c41c
AJ
7587 [BZ #16965]
7588 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7589 when the shift amount is modulo the limb size.
7590
4c0a1e63
RH
75912014-05-20 Richard Henderson <rth@redhat.com>
7592
de9d8f20
RH
7593 [BZ #16967]
7594 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7595 Change type of sa_flags from unsigned int to int.
7596
4c0a1e63
RH
7597 [BZ #16966]
7598 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7599
7600 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7601
a60339aa
WN
76022014-05-20 Will Newton <will.newton@linaro.org>
7603
7604 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7605 Test the return value of the system call in the nocancel case.
7606
7d05a816
YR
76072014-05-20 Will Newton <will.newton@linaro.org>
7608 Yvan Roux <yvan.roux@linaro.org>
7609
7610 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7611 #include of asm/ptrace.h.
7612 (PTRACE_GET_THREAD_AREA): Remove #undef.
7613 (PTRACE_GETHBPREGS): Likewise.
7614 (PTRACE_SETHBPREGS): Likewise.
7615 (struct user_regs_struct): New structure.
7616 (struct user_fpsimd_struct): New structure.
7617 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7618 #include of asm/ptrace.h and second #include of sys/user.h.
7619 (PTRACE_GET_THREAD_AREA): Remove #undef.
7620 (PTRACE_GETHBPREGS): Likewise.
7621 (PTRACE_SETHBPREGS): Likewise.
7622 (ELF_NGREG): Use new struct user_regs_struct.
7623 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7624
af121e37
AZ
76252014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7626
7627 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7629
834caf06
JM
76302014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7631
7632 [BZ #16958]
7633 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7634 membar to avoid block loads/stores to overlap previous stores.
7635
e184a918
RH
76362014-05-17 Richard Henderson <rth@redhat.com>
7637
7638 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7639 Create the __##syscall_name##_nocancel entry point.
7640 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7641 Remove; let the sysdep-cancel.h code create it.
7642
f56c7a6a
DM
76432014-05-17 David S. Miller <davem@davemloft.net>
7644
7645 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7646 Protect with __USE_GNU.
7647 (TIOCSET_TEMPT): Likewise.
7648 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7649 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7650 these are already provided in bits/ioctl-types.h
7651
f75616b2
RM
76522014-05-16 Roland McGrath <roland@hack.frob.com>
7653
3edeca86
RM
7654 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7655 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7656
f75616b2
RM
7657 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7658 Use wait4 regardless of [__NR_waitpid].
7659
deb0f7f6
MR
76602014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7661
7662 PR libgcc/60166
7663 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7664 (_FP_NANSIGN_Q): Set the quiet bit.
7665
79520f4b
JM
76662014-05-16 Joseph Myers <joseph@codesourcery.com>
7667
7668 * benchtests/Makefile
7669 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7670 not $(common-objpfx)math/libm.so.
7671 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7672 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7673 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7674 $(common-objpfx)dlfcn/libdl.so.
7675 ($(objpfx)tst-audit8): Depend on $(libm), not
7676 $(common-objpfx)math/libm.so.
7677 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7678 not $(common-objpfx)dlfcn/libdl.so.
7679 * math/Makefile
7680 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7681 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7682 [$(build-shared) = yes].
7683 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7684 $(common-objpfx)nptl/libpthread.so.
7685 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7686 $(common-objpfx)math/libm.so$(libm.so-version) or
7687 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7688 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7689 $(common-objpfx)dlfcn/libdl.so.
7690 * setjmp/Makefile (link-libm): Remove variable.
7691 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7692 * stdio-common/Makefile (link-libm): Remove variable.
7693 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7694 * stdlib/Makefile (link-libm): Remove variable.
7695 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7696 ($(objpfx)tst-strtod-round): Likewise.
7697 ($(objpfx)tst-tininess): Likewise.
7698 ($(objpfx)tst-strtod-underflow): Likewise.
7699 ($(objpfx)tst-strtod6): Likewise.
7700 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7701 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7702 $(common-objpfx)dlfcn/libdl.so.
7703
026b0fe4
AZ
77042014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7705
7706 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7707 BSD terminal modes definitions.
7708
def4bcb2
RM
77092014-05-16 Roland McGrath <roland@hack.frob.com>
7710
fe39b021
RM
7711 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7712 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7713
1d1fc46e 7714 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7715 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7716 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7717 Don't do #include_next.
7718 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7719 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7720 Don't do #include_next.
7721 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7722 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7723 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7724 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7725
c72399fb
AM
77262014-05-16 Allan McRae <allan@archlinux.org>
7727
d51d659d
AM
7728 * po/sv.po: Update Swedish translation from translation project.
7729
c72399fb
AM
7730 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7731 in sed expression.
7732
d0583c40
AJ
77332014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7734
7735 [BZ #16917]
7736 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7737 errno if the TIOCGPTN ioctl fails with an error different than
7738 EINVAL.
7739 * login/tst-ptsname.c: New file.
7740 * login/Makefile (tests): Add tst-ptsname.
7741
d16e6ec7
AJ
7742 [BZ #16943]
7743 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7744 and prlimit64.
7745
cf26a0cb
SP
77462014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
7748 [BZ #16849]
7749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7750 herrno to return EAI_AGAIN.
7751
5675da1e
RM
77522014-05-14 Roland McGrath <roland@hack.frob.com>
7753
a5d87b3d
RM
7754 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7755 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7756 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7757 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7758 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7759 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7760 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7761 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7763 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7764 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7765 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7766 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7767 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7768 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7769 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7771 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7772 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7773 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7774 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7775 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7776 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7777 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7778 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7779 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7780 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7781 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7782 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7783 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7785 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7787 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7789 Moved ...
7790 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7792 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7794 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7795 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7796 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7798 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7800 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7802 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7804 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7806 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7808 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7810 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7812 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7814 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7816 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7818 Moved ...
7819 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7821 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7823 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7825 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7827 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7829 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7831 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7833 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7835 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7837 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7839 Moved ...
7840 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7843
039890a6
RM
7844 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7845 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7846 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7847 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7848 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7849 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7850 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7851 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7852 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7853 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7854 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7855 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7856 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7857 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7858 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7859 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7860 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7862 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7863 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7864 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7865 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7866 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7867 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7868 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7869 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7870 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7871 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7872 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7873 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7874 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7875
65c89320
RM
7876 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7877 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7878
348f8e8c
RM
7879 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7880 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7881 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7882 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7883 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7884 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7885 Moved ...
7886 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7887 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7888 Moved ...
7889 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7890 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7891 Moved ...
7892 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7894 Moved ...
7895 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7896 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7897 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7899 Moved ...
7900 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7901 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7902 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7903 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7904 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7905 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7906 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7908 Moved ...
7909 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7911 Moved ...
7912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7913 ... here.
7914 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7915 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7916 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7917 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7919 Moved ...
7920 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7921 ... here.
7922 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7923 Moved ...
7924 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7925 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7926 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7927 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7928 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7929 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7930 Moved ...
7931 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7932 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7933 Moved ...
7934 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7935 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7936 Moved ...
7937 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7938 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7939 Moved ...
7940 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7941 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7942 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7943 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7944 Moved ...
7945 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7946 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7947 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7948 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7949 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7950 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7951 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7953 Moved ...
7954 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7956 Moved ...
7957 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7958 ... here.
7959 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7960 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7962 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7964 Moved ...
7965 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7966 ... here.
7967 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7968 Moved ...
7969 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7971 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7973 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7974 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7975 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7976 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7977 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7978 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7979 Moved ...
7980 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7982 Moved ...
7983 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7984 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7985 Moved ...
7986 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7987 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7988 Moved ...
7989 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7990 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7991 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7993 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7994 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7995 Moved ...
7996 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7997 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7998 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7999 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8000 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8001 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8002 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8003 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8004 Moved ...
8005 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8007 Moved ...
8008 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8009 ... here.
8010 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8011 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8012 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8013 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8015 Moved ...
8016 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8017 ... here.
8018 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8019 Moved ...
8020 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8021 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8022 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8023 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8024 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8025 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8026 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8027 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8028 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8029 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8030 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8031
5085af05
RM
8032 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8033 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8034
708f0813
RM
8035 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8036 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8037
c96067bc
RM
8038 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8039 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8040 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8041 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8042 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8043 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8044 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8045 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8046 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8047 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8048 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8049 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8050 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8052 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8053 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8054 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8055 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8056 Moved ...
8057 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8058 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8059 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8061 Moved ...
8062 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8064 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8066 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8067 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8068 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8069 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8070 Moved ...
8071 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8073 Moved ...
8074 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8078 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8080 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8082 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8083 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8084 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8085 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8086 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8087 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8088 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8089 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8090 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8091
ec136444
RM
8092 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8093 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8094 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8095 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8096 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8097
2fbdf533
RM
8098 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8099 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8100 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8101 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8102 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8103 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8104 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8105 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8106 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8107 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8108
4c68138b
RM
8109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8110 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8111
4eaae765
RM
8112 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8113 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8114 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8115 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8116 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8117 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8118 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8119 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8120 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8121 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8122 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8123 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8124 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8125 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8126 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8127 Update #include.
8128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8129 Likewise.
8130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8131 Likewise.
8132 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8133 Likewise.
8134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8135 Likewise.
8136 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8137 Likewise.
8138 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8139 Likewise.
8140 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8141 Likewise.
8142 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8143 Likewise.
8144 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8145 Likewise.
4ef6befa
RM
8146 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8147 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8148 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8149 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8151 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8152 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8154 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8156 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8157 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8158 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8159 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8160 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8161
941d7dfd
RM
8162 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8163 that was previously under [RESET_PID].
8164 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8165 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8166 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8167
1b731c35
RM
8168 * sysdeps/i386/nptl/Implies: New file.
8169 * sysdeps/x86_64/nptl/Implies: New file.
8170 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8171 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8172 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8173 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8174
e2787137
RM
8175 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8176 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8177 (__libc_vfork): New strong alias.
8178 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8179 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8180
8181 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8182 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8183 (__libc_vfork): New strong alias.
8184 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8185 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8186
5675da1e
RM
8187 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8188 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8189 (__libc_vfork): New strong alias.
8190 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8191 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8192 * nptl/pt-vfork.c: New file.
8193 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8194 (libpthread: GLIBC_2.20): New version set (empty).
8195
4f02e2b8
WN
81962014-05-14 Will Newton <will.newton@linaro.org>
8197
8198 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8199 rather than #if.
8200
0bf061d3
JM
82012014-05-14 Joseph Myers <joseph@codesourcery.com>
8202
1a84c3d6
JM
8203 [BZ #16564]
8204 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8205 arguments with exponent 65 or above.
8206 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8207 arguments 0x1p113L or above.
8208 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8209 to arguments 0x1p107L or above.
8210 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8211 positive arguments with exponent 65 or above.
8212 * math/auto-libm-test-in: Add more tests of log1p.
8213 * math/auto-libm-test-out: Regenerated.
8214
01dbacd2
JM
8215 [BZ #16928]
8216 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8217 non-finite arguments is +0.
8218 * math/s_cacosf.c (__cacosf): Likewise.
8219 * math/s_cacosl.c (__cacosl): Likewise.
8220 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8221 * sysdeps/i386/fpu/libm-test-ulps: Update.
8222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8223
913d03c8
JM
8224 [BZ #16927]
8225 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8226 value.
8227 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8228 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8229 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8230 for explicit high bit of mantissa when testing for argument equal
8231 to 1.
8232 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8233 * sysdeps/i386/fpu/libm-test-ulps: Update.
8234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8235
0bf061d3
JM
8236 [BZ #16516]
8237 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8238 (__erf): Scale by 16 instead of 8 in potentially underflowing
8239 case. Ensure exception if result actually underflows.
8240 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8241 (__erff): Scale by 16 instead of 8 in potentially underflowing
8242 case. Ensure exception if result actually underflows.
8243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8244 (efx8): Remove variable.
8245 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8246 case. Ensure exception if result actually underflows.
8247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8248 (efx8): Remove variable.
8249 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8250 case. Ensure exception if result actually underflows.
8251 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8252 (efx8): Remove variable.
8253 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8254 case. Ensure exception if result actually underflows.
8255 * math/auto-libm-test-in: Add more tests of erf.
8256 * math/auto-libm-test-out: Regenerated.
8257
73ba67cb
AS
82582014-05-14 Andreas Schwab <schwab@suse.de>
8259
3d8c8bff
AS
8260 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8261 Remove code conditionalized on USE___THREAD.
8262
73ba67cb
AS
8263 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8264 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8265 not definedness.
8266
5c521ecd
JM
82672014-05-14 Joseph Myers <joseph@codesourcery.com>
8268
5e7698c6
JM
8269 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8270 Define unconditionally.
8271 (__ASSUME_O_CLOEXEC): Likewise.
8272 (__ASSUME_SOCK_CLOEXEC): Likewise.
8273 (__ASSUME_IN_NONBLOCK): Likewise.
8274 (__ASSUME_PIPE2): Likewise.
8275 (__ASSUME_EVENTFD2): Likewise.
8276 (__ASSUME_SIGNALFD4): Likewise.
8277 (__ASSUME_DUP3): Likewise.
8278 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8279 (__ASSUME_DUP3): Do not define.
8280 (__ASSUME_EVENTFD2): Likewise.
8281 (__ASSUME_IN_NONBLOCK): Likewise.
8282 (__ASSUME_O_CLOEXEC): Likewise.
8283 (__ASSUME_PIPE2): Likewise.
8284 (__ASSUME_SIGNALFD4): Likewise.
8285 (__ASSUME_SOCK_CLOEXEC): Likewise.
8286 (__ASSUME_UTIMES): Undefine.
8287 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8288 (__ASSUME_UTIMES): Do not define.
8289 (__ASSUME_O_CLOEXEC): Likewise.
8290 (__ASSUME_SOCK_CLOEXEC): Likewise.
8291 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8292 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8293 0x020621].
8294 (__ASSUME_PIPE2): Likewise.
8295 (__ASSUME_EVENTFD2): Likewise.
8296 (__ASSUME_SIGNALFD4): Likewise.
8297 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8298 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8299 Do not define.
8300 (__ASSUME_EVENTFD2): Likewise.
8301 (__ASSUME_SIGNALFD4): Likewise.
8302 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8303 (__ASSUME_32BITUIDS): Likewise.
8304 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8305 (__ASSUME_IPC64): Likewise.
8306 (__ASSUME_ST_INO_64_BIT): Likewise.
8307 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8308 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8309 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8310 (__ASSUME_UTIMES): Do not define.
8311 (__ASSUME_PSELECT): Likewise.
8312 (__ASSUME_PPOLL): Likewise.
8313 (__ASSUME_O_CLOEXEC): Likewise.
8314 (__ASSUME_SOCK_CLOEXEC): Likewise.
8315 (__ASSUME_IN_NONBLOCK): Likewise.
8316 (__ASSUME_PIPE2): Likewise.
8317 (__ASSUME_EVENTFD2): Likewise.
8318 (__ASSUME_SIGNALFD4): Likewise.
8319 (__ASSUME_DUP3): Likewise.
8320 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8321 (__ASSUME_UTIMES): Likewise.
8322 (__ASSUME_O_CLOEXEC): Likewise.
8323 (__ASSUME_SOCK_CLOEXEC): Likewise.
8324 (__ASSUME_IN_NONBLOCK): Likewise.
8325 (__ASSUME_PIPE2): Likewise.
8326 (__ASSUME_EVENTFD2): Likewise.
8327 (__ASSUME_SIGNALFD4): Likewise.
8328 (__ASSUME_DUP3): Likewise.
8329 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8330 (__ASSUME_UTIMES): Likewise.
8331 (__ASSUME_O_CLOEXEC): Likewise.
8332 (__ASSUME_SOCK_CLOEXEC): Likewise.
8333 (__ASSUME_IN_NONBLOCK): Likewise.
8334 (__ASSUME_PIPE2): Likewise.
8335 (__ASSUME_EVENTFD2): Likewise.
8336 (__ASSUME_SIGNALFD4): Likewise.
8337 (__ASSUME_DUP3): Likewise.
8338 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8339 Likewise.
8340 (__ASSUME_UTIMES): Likewise.
8341 (__ASSUME_EVENTFD2): Likewise.
8342 (__ASSUME_SIGNALFD4): Likewise.
8343 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8344 (__ASSUME_O_CLOEXEC): Likewise.
8345 (__ASSUME_SOCK_CLOEXEC): Likewise.
8346 (__ASSUME_IN_NONBLOCK): Likewise.
8347 (__ASSUME_PIPE2): Likewise.
8348 (__ASSUME_EVENTFD2): Likewise.
8349 (__ASSUME_SIGNALFD4): Likewise.
8350 (__ASSUME_DUP3): Likewise.
8351 (__ASSUME_UTIMES): Undefine.
8352
5c521ecd
JM
8353 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8354 feclearexcept. Remove symbol versioning code.
8355 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8356 symbol versioning code.
8357 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8358 symbol versioning code.
8359 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8360 feupdateenv. Remove symbol versioning code.
8361 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8362 fegetexceptflag. Remove symbol versioning code.
8363 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8364 fesetexceptflag. Remove symbol versioning code.
8365 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8366 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8367 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8368 (__posix_fadvise64_l32): Remove prototype.
8369 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8370 code.
8371
5da9dfad
RM
83722014-05-13 Roland McGrath <roland@hack.frob.com>
8373
8374 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8375 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8376 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8377 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8378
893b4f37
SK
83792014-05-13 Sami Kerola <kerolasa@iki.fi>
8380
8381 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8382 current working directory
8383
e0db6517
RM
83842014-05-13 Roland McGrath <roland@hack.frob.com>
8385
58aa195d
RM
8386 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8387 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8388 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8389 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8390 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8391 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8392 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8393 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8394 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8395 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8396 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8397 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8398 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8399 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8401 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8403 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8405 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8406 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8407 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8408 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8409 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8410 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8411 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8413 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8414 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8415 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8416 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8417 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8418 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8419 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8420 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8421 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8422 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8423 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8424 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8425 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8426 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8427 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8428
8c6d01f0
RM
8429 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8430 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8431
8432 * sysdeps/unix/sysv/linux/arm/Makefile
8433 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8434 Add rt-aeabi_unwind_cpp_pr1.
8435 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8436 Add nptl-aeabi_unwind_cpp_pr1.
8437 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8438 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8439 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8440 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8441 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8442 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8443
8444 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8445 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8446 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8447 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8448
bba6da4e
RM
8449 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8450 Deconditionalize the code that was previously under [RESET_PID].
8451 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8452
e0db6517
RM
8453 * sysdeps/generic/exit-thread.h: New file.
8454 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8455 * include/unistd.h (__exit_thread): Remove declaration.
8456 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8457 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8458 * csu/libc-start.c: Include <exit-thread.h>.
8459 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8460 * nptl/pthread_create.c: Include <exit-thread.h>.
8461 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8462 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8463 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8464 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8465 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8466 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8467 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8468 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8469 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8470 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8471 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8472 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8473 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8474 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8475 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8476 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8477 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8478
01eb16fd
AS
84792014-05-13 Andreas Schwab <schwab@suse.de>
8480
8481 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8482
637461d9
JM
84832014-05-12 Joseph Myers <joseph@codesourcery.com>
8484
8485 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8486 (__ASSUME_UTIMES): Do not condition on kernel version.
8487 (__ASSUME_PSELECT): Define unconditionally.
8488 (__ASSUME_PPOLL): Likewise.
8489 (__ASSUME_ATFCTS): Likewise.
8490 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8491 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8492 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8493 (__ASSUME_UTIMENSAT): Define unconditionally.
8494 (__ASSUME_PRIVATE_FUTEX): Likewise.
8495 (__ASSUME_FALLOCATE): Likewise.
8496 (__ASSUME_O_CLOEXEC): Likewise.
8497 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8498 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8499 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8500 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8501 (__ASSUME_IN_NONBLOCK): Likewise.
8502 (__ASSUME_PIPE2): Likewise.
8503 (__ASSUME_EVENTFD2): Likewise.
8504 (__ASSUME_SIGNALFD4): Likewise.
8505 (__ASSUME_DUP3): Likewise.
8506 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8507 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8508 (__ASSUME_AT_RANDOM): Likewise.
8509 (__ASSUME_PREADV): Likewise.
8510 (__ASSUME_PWRITEV): Likewise.
8511 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8512 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8513 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8514 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8515 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8516 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8517 (__ASSUME_O_CLOEXEC): Define unconditionally.
8518 (__ASSUME_PSELECT): Do not undefine conditionally.
8519 (__ASSUME_PPOLL): Likewise.
8520 (__ASSUME_ATFCTS): Likewise.
8521 (__ASSUME_SET_ROBUST_LIST): Likewise.
8522 (__ASSUME_UTIMENSAT): Likewise.
8523 (__ASSUME_FDATASYNC): Define unconditionally.
8524 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8525 (__ASSUME_SIGFRAME_V2): Likewise.
8526 )__ASSUME_EVENTFD2): Likewise.
8527 (__ASSUME_SIGNALFD4): Likewise.
8528 (__ASSUME_PSELECT): Do not undefine conditionally.
8529 (__ASSUME_PPOLL): Likewise.
8530 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8531 (__ASSUME_PSELECT): Define unconditionally.
8532 (__ASSUME_PPOLL): Likewise.
8533 (__ASSUME_O_CLOEXEC): Likewise.
8534 (__ASSUME_SOCK_CLOEXEC): Likewise.
8535 (__ASSUME_IN_NONBLOCK): Likewise.
8536 (__ASSUME_PIPE2): Likewise.
8537 (__ASSUME_EVENTFD2): Likewise.
8538 (__ASSUME_SIGNALFD4): Likewise.
8539 (__ASSUME_DUP3): Likewise.
8540 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8541 (__ASSUME_O_CLOEXEC): Likewise.
8542 (__ASSUME_SOCK_CLOEXEC): Likewise.
8543 (__ASSUME_IN_NONBLOCK): Likewise.
8544 (__ASSUME_PIPE2): Likewise.
8545 (__ASSUME_EVENTFD2): Likewise.
8546 (__ASSUME_SIGNALFD4): Likewise.
8547 (__ASSUME_DUP3): Likewise.
8548 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8549 (__ASSUME_EVENTFD2): Likewise.
8550 (__ASSUME_SIGNALFD4): Likewise.
8551 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8552
315eb1d8
AS
85532014-05-12 Andreas Schwab <schwab@suse.de>
8554
8555 [BZ #16932]
8556 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8557 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8558 than maximum RPC packet size.
8559 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8560 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8561 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8562 (_nss_nis_getservbyport_r): Likewise.
8563
91df99f7
WN
85642014-05-12 Will Newton <will.newton@linaro.org>
8565
8566 * malloc/Makefile (tests): Add tst-mallopt.
8567 * malloc/tst-mallopt.c: New file.
8568
0a982a29
RM
85692014-05-09 Roland McGrath <roland@hack.frob.com>
8570
8571 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8572 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8573
0ded08a5
AZ
85742014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8575
8576 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8577 (tst-tlsmod6.so): Likewise.
8578
55d4d550
RM
85792014-05-09 Roland McGrath <roland@hack.frob.com>
8580
8581 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8582
77d08aca
JM
85832014-05-09 Joseph Myers <joseph@codesourcery.com>
8584
8585 [BZ #16064]
8586 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8587 and <dl-procinfo.h>.
8588 (__fegetenv): Save SSE state in envp->__eip if supported.
8589 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8590 envp->__eip if supported.
8591 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8592 and <dl-procinfo.h>.
8593 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8594 __data_offset and __data_selector in environment to 0. Set SSE
8595 state if supported.
8596 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8597 test-fenv-sse.
8598 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8599 -mfpmath=sse.
8600 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8601
28162f4d
WN
86022014-05-09 Will Newton <will.newton@linaro.org>
8603
8604 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8605 and libc_relro_required for ARM.
8606 * sysdeps/arm/preconfigure: Regenerate.
8607
5a414ff7
DV
86082014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8609 Stefan Liebler <stli@linux.vnet.ibm.com>
8610
8611 * config.make.in (enable-lock-elision): New Makefile variable.
8612 * configure.ac: Likewise.
8613 * configure: Regenerate.
8614 * sysdeps/s390/configure.ac:
8615 Add check for gcc transactions support.
8616 * sysdeps/s390/configure: Regenerate.
8617 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8618 Build elision files if enabled.
8619 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8620 Add lock elision support for s390.
8621 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8622 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8623 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8624 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8625 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8626 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8627 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8628 Likewise.
8629 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8630 Likewise.
8631 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8632 Likewise.
8633 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8634 Likewise.
8635 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8636 (__lll_timedlock_elision, __lll_lock_elision)
8637 (__lll_unlock_elision, __lll_trylock_elision)
8638 (lll_timedlock_elision, lll_lock_elision)
8639 (lll_unlock_elision, lll_trylock_elision): Add.
8640 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8641 (pthread_mutex_t): Add lock elision support for s390.
8642
1a2f40e5
W
86432014-05-14 Wilco <wdijkstr@arm.com>
8644
8645 * sysdeps/arm/fclrexcpt.c: Cleanup.
8646 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8647 * sysdeps/arm/feenablxcpt.c: Cleanup.
8648 * sysdeps/arm/fegetenv.c: Cleanup.
8649 * sysdeps/arm/fegetexcept.c: Cleanup.
8650 * sysdeps/arm/fegetround.c: Cleanup.
8651 * sysdeps/arm/feholdexcpt.c: Cleanup.
8652 * sysdeps/arm/fesetenv.c: Cleanup.
8653 * sysdeps/arm/fesetround.c: Cleanup.
8654 * sysdeps/arm/feupdateenv.c: Cleanup.
8655 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8656 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8657 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8658 * sysdeps/arm/ftestexcept.c: Cleanup.
8659 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8660 * sysdeps/arm/setfpucw.c: Cleanup.
8661
f63c86fe
WN
86622014-05-09 Will Newton <will.newton@linaro.org>
8663
8664 * sysdeps/arm/armv7/strcmp.S: New file.
8665 * NEWS: Mention addition of ARMv7 optimized strcmp.
8666
7a1a51b5
RM
86672014-05-08 Roland McGrath <roland@hack.frob.com>
8668
95afbbe5
RM
8669 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8670 look for %.ac rather than %.in.
8671
8672 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8673 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8674 * sysdeps/mach/hurd/configure: Regenerated.
8675 * sysdeps/unix/sysv/linux/configure: Regenerated.
8676
7a1a51b5
RM
8677 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8678
5057ad3b
SE
86792014-05-07 Steve Ellcey <sellcey@mips.com>
8680
8681 [BZ# 16922]
8682 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8683 (LONG_SUB): Ditto.
8684 (PTR_SUB): Ditto.
8685
8dc97517
AS
86862014-05-07 Andreas Schwab <schwab@suse.de>
8687
8688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8689 when skipping over non-matching result from nscd.
8690
ce0c5b8f
OB
86912014-05-07 Ondřej Bílka <neleai@seznam.cz>
8692
8693 [BZ #16876]
8694 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8695
a1189263
OB
8696 [BZ #16877]
8697 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8698 nscd security class.
ce0c5b8f 8699
0f58d252
RM
87002014-05-06 Roland McGrath <roland@hack.frob.com>
8701
8702 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8703 * sysdeps/arm/unwind.h: ... here.
8704
83df9ad0
AJ
87052014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8706
ce0c5b8f
OB
8707 [BZ# 16916]
8708 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8709 Define.
83df9ad0 8710
f360f94a
VR
87112014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8712
8713 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8714 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8715 multiarch strncpy for PPC64.
8716 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8717 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8718 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8719 multiarch optimizations.
8720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8721 (__libc_ifunc_impl_list): Likewise.
8722 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8723 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8724 multiarch stpncpy for PPC64.
8725 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8726 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8727
978a41c3
AS
87282014-05-06 Andreas Schwab <schwab@suse.de>
8729
8730 [BZ #16912]
8731 * gmon/mcount.c (_MCOUNT_DECL): Use
8732 atomic_compare_and_exchange_bool_acq instead of
8733 catomic_compare_and_exchange_bool_acq.
8734
eb1ed03d
RM
87352014-05-05 Roland McGrath <roland@hack.frob.com>
8736
fe658845
RM
8737 * elf/Makefile (others, install-bin): Remove pldd.
8738 (pldd-modules): Variable removed.
8739 ($(objpfx)pldd): Target removed.
8740 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8741 (others, install-bin): Append pldd here.
8742 ($(objpfx)pldd): New target.
8743
eb1ed03d
RM
8744 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8745 to 0, so the first #if test emitted later doesn't see it undefined.
8746 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8747 * sysdeps/gnu/errlist.c: Regenerated.
8748
19c4bec0
AZ
87492014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8750
8751 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8752 [libc_hidden_builtin_def]: Define to empty value.
8753 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8754 [libc_hidden_builtin_def]: Likewise.
8755 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8756 [libc_hidden_builtin_def]: Likewise.
8757 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8758 [libc_hidden_builtin_def]: Likewise.
8759 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8760 __redirect_memcpy and define ifunc as default hidden symbol.
8761 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8762 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8763
7776e669
AC
87642014-05-04 Adam Conrad <adconrad@0c3.net>
8765
8766 * locale/iso-4217.def: Reintroduce XDR currency.
8767
d69aeb12
AM
87682014-05-04 Allan McRae <allan@archlinux.org>
8769
8770 * po/eo.po: Update Esperanto translation from translation project.
8771
8f1df5cf
CD
87722014-05-02 Carlos O'Donell <carlos@redhat.com>
8773
8774 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8775 and FEATURE_INDEX_MAX to 1.
8776 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8777
13e402e7
SE
87782014-05-01 Steve Ellcey <sellcey@mips.com>
8779
8780 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8781 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8782 * iconvdata/big5.c (ONE_DIRECTION): Define.
8783 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8784 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8785 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8786 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8787 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8788 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8789 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8790 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8791 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8792 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8793 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8794 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8795 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8796 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8797 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8798 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8799 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8800 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8801 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8802 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8803 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8804 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8805 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8806 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8807 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8808 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8809 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8810 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8811 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8812 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8813 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8814 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8815 * iconvdata/johab.c (ONE_DIRECTION): Define.
8816 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8817 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8818 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8819 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8820 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8821 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8822 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8823 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8824 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8825 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8826
c727f032
RM
88272014-05-01 Roland McGrath <roland@hack.frob.com>
8828
8f2f08d0
RM
8829 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8830 (_IO_JUMPS_OFFSET): Define to 0.
8831
c727f032
RM
8832 * nptl/sysdeps/pthread/bits/libc-lock.h
8833 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8834 (__libc_lock_define_initialized_recursive): Always define using
8835 initializer. Modern compilers treat uninitialized (implicit zero) and
8836 explicit zero initializers the same (i.e. put the datum in bss).
8837
a849e800
AS
88382014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8839
8840 * nscd/nscd-client.h: Include <string.h>.
8841
5331255b
DM
88422014-05-01 David S. Miller <davem@davemloft.net>
8843
8844 [BZ #16885]
8845 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8846 multiple zero bytes exist at the end of a string.
8847 Reported by Aurelien Jarno <aurelien@aurel32.net>
8848
8849 * string/test-strcmp.c (check): Add explicit test for situations where
8850 there are multiple zero bytes after the first.
8851
4fdfe821
AS
88522014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8853
8854 [BZ #16890]
8855 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8856 when compiling wprintf.
8857 * stdio-common/tstdiomisc.c (t3): New function.
8858 (main): Call it.
8859
0cdddc25
SE
88602014-05-01 Steve Ellcey <sellcey@mips.com>
8861
8862 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8863 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8864 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8865 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8866
6426d77e
SE
88672014-05-01 Steve Ellcey <sellcey@mips.com>
8868
8869 * stdlib/longlong.h: Updated from GCC.
8870
6d96f5e4
WN
88712014-05-01 Will Newton <will.newton@linaro.org>
8872 Bernard Ogden <bernie.ogden@linaro.org>
8873
7470db0c
WN
8874 * NEWS: Update fixed bug list.
8875
6d96f5e4
WN
8876 [BZ #15119]
8877 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8878
211d653c
DM
88792014-04-30 David S. Miller <davem@davemloft.net>
8880
4fa262fa
DM
8881 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8882 (libc_feholdexcept_setround_sparc_ctx): New function.
8883 (libc_fesetenv_sparc_ctx): Likewise.
8884 (libc_feupdateenv_sparc_ctx): Likewise.
8885 (libc_feholdsetround_sparc_ctx): Likewise.
8886 (libc_feholdexcept_setround_ctx): Define.
8887 (libc_feholdexcept_setroundf_ctx): Likewise.
8888 (libc_feholdexcept_setroundl_ctx): Likewise.
8889 (libc_fesetenv_ctx): Likewise.
8890 (libc_fesetenvf_ctx): Likewise.
8891 (libc_fesetenvl_ctx): Likewise.
8892 (libc_feupdateenv_ctx): Likewise.
8893 (libc_feupdateenvf_ctx): Likewise.
8894 (libc_feupdateenvl_ctx): Likewise.
8895 (libc_feresetround_ctx): Likewise.
8896 (libc_feresetroundf_ctx): Likewise.
8897 (libc_feresetroundl_ctx): Likewise.
8898 (libc_feholdsetround_ctx): Likewise.
8899 (libc_feholdsetroundf_ctx): Likewise.
8900 (libc_feholdsetroundl_ctx): Likewise.
8901
1d3d93ef
DM
8902 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8903 with __USE_GNU instead of XOPEN cpp guards.
8904
8aa583c3
DM
8905 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8906 0.
8907
211d653c
DM
8908 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8909 with XOPEN cpp guards.
8910
60c8f1f6
JB
89112014-04-30 Julian Brown <julian@codesourcery.com>
8912
8913 [BZ #16888]
8914 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8915 handling.
8916
9a461d46
JM
89172014-04-30 Joseph Myers <joseph@codesourcery.com>
8918
d0f5b3f8
JM
8919 [BZ #9894]
8920 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8921 Change to 2.6.32.
8922 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8923 * sysdeps/unix/sysv/linux/configure: Regenerated.
8924 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8925 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8926 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8927 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8928 * README: Update reference to required Linux kernel version.
8929 * manual/install.texi (Linux): Update reference to required Linux
8930 kernel headers version.
8931 * INSTALL: Regenerated.
8932
9a461d46
JM
8933 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8934 header inclusion.
8935 [POSIX] (limits.h): Likewise.
8936 [POSIX] (math.h): Likewise.
8937 [POSIX] (sys/wait.h): Likewise.
8938 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8939 function.
8940 [POSIX] (stddef.h): Do not allow header inclusion.
8941
1775babf
AZ
89422014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8943
57f41c40 8944 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8945
8f630cca
YY
89462014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8947
8948 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8949 Return immediately after lll_futex_wake.
8950
1cdeb237
SP
89512014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8952
bc8f194c
SP
8953 [BZ #16791]
8954 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8955 structure.
8956 (datahead_init_pos): Call datahead_init_common early.
8957 (datahead_init_neg): Likewise.
8958
1cdeb237
SP
8959 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8960 datahead_init_neg): New functions.
8961 * nscd/aicache.c (addhstaiX): Use them.
8962 * nscd/grpcache.c (cache_addgr): Likewise.
8963 * nscd/hstcache.c (cache_addhst): Likewise.
8964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8965 * nscd/netgroupcache.c (do_notfound): Likewise.
8966 (addgetnetgrentX): Likewise.
8967 (addinnetgrX): Likewise.
8968 * nscd/pwdcache.c (cache_addpw): Likewise.
8969 * nscd/servicescache.c (cache_addserv): Likewise.
8970
16b293a7
SP
89712014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8972 Atsushi Onoe <atsushi@onoe.org>
8973
8974 [BZ #14308]
8975 [BZ #12994]
8976 [BZ #13651]
8977 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8978 one response is valid.
8979 * resolv/res_send.c (send_dg): Check for validity of other
8980 response if the current response is a referral.
8981
a28a9b94
SE
89822014-04-29 Steve Ellcey <sellcey@mips.com>
8983
8984 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8985
2ca180e9
SL
89862014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8987
8988 [BZ #16823]
8989 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8990 Always divide by positive zero when computing -Inf result.
8991 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8992 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8993
18f2945a
AZ
89942014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8995
8996 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8997 FPSCR if value do not change.
8998 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8999 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9000 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9001 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9002 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9003 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9004 function.
9005
5abebba4
CD
90062014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9007
9008 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9009 * sysdeps/unix/sysv/linux/hppa: Move directory from
9010 ports/systeps/unix/sysv/linux/hppa.
9011 * README: Update listing for hppa-*-linux-gnu.
9012
f7ed60c2
OB
90132014-04-28 Ondřej Bílka <neleai@seznam.cz>
9014
fff763a5
OB
9015 [BZ #16754]
9016 * manual/stdio.texi (Hook functions): Fix types of stream hook
9017 functions.
f7ed60c2
OB
9018 [BZ #16854]
9019 * socket/sys/socket.h: Fix typo in comment.
9020
df639d73
WD
90212014-04-28 Wilco <wdijkstr@arm.com>
9022
f7ed60c2 9023 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9024 * sysdeps/arm/math_private.h: New file.
9025 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9026
48332d82
L
90272014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9028
9029 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9030 with __int128_t.
9031 (La_x86_64_retval): Likewise.
9032
e5e0d9a4
IB
90332014-04-24 Ian Bolton <ian.bolton@arm.com>
9034
9035 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9036 fpsr if value didn't change.
9037 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9038 to fpcr if value didn't change.
9039 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9040 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9041 fpsr or fpcr if value didn't change.
9042 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9043 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9044 fpcr if value didn't change.
9045 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9046 to fpsr if value didn't change.
9047
bacc75f7
SP
90482014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9049
9050 * nptl/tst-sem3.c: Use test-skeleton.c
9051 (main): Rename to do_test. Use return instead of
9052 exit.
9053 * nptl/tst-sem4.c: Use test-skeleton.c
9054 (main): Rename to do_test.
9055
a059d359
DM
90562014-04-22 David S. Miller <davem@davemloft.net>
9057
9058 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9059 (struct sigaction): New struct member __glibc_reserved0, change
9060 type of sa_flags to int.
9061
ea6c92f3
YZ
90622014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9063
9064 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9065 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9066
766c4a36
SP
90672014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9068
9069 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9070 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9071
140cc7ab
VK
90722014-04-22 Will Newton <will.newton@linaro.org>
9073 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9074
9075 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9076 (__longjmp): Add longjmp and longjmp_target SystemTap
9077 probes.
9078 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9079 (__sigsetjmp): Add setjmp SystemTap probe.
9080
c54e5cf7
CD
90812014-04-17 Carlos O'Donell <carlos@redhat.com>
9082
9083 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9084 match manual order.
9085
75ffb047
AZ
90862014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9087
9088 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9089
2cd925f7
AZ
9090 * sysdeps/powerpc/fpu/fenv_private.h
9091 (libc_feholdexcept_setroundl_ctx): Define to
9092 libc_feholdexcept_setround_ppc_ctx.
9093 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9094 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9095 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9096 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9097
39e6cd8d
IB
90982014-04-17 Ian Bolton <ian.bolton@arm.com>
9099
9100 * sysdeps/aarch64/math-tests.h: New file.
9101
f9281df9
SY
91022014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9103
9104 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9105 New.
9106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9107 Check and set bit_AVX2_Usable.
9108 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9109 macro.
9110 (bit_AVX2): Likewise.
9111 (index_AVX2_Usable): Likewise.
9112 (CPUID_AVX2): Likewise.
9113 (HAS_AVX2): Likewise.
9114
37d35007
WN
91152014-04-17 Will Newton <will.newton@linaro.org>
9116
7c677662
WN
9117 * manual/setjmp.texi (System V contexts): Add note that
9118 calling setcontext on a context created by a call to a
9119 signal handler is undefined. Update text to note that
9120 setcontext from a signal handler is possible but not
9121 recommended.
9122
37d35007 9123 [BZ #16629]
e04a4e9d
WN
9124 * stdlib/tst-setcontext.c: Include signal.h.
9125 (main): Check that the signal stack before and
9126 after swapcontext is the same.
9127
37d35007
WN
9128 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9129 Re-implement to restore registers in user code and avoid
9130 rt_sigreturn system call.
9131
423a7160
W
91322014-04-17 Wilco <wdijkstr@arm.com>
9133
9134 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9135 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9136 * math/test-fenv.c: Skip exception trap tests on targets which only
9137 support non-stop mode.
9138
bc93ab29
IB
91392014-04-17 Ian Bolton <ian.bolton@arm.com>
9140 Wilco Dijkstra <wilco.dijkstra@arm.com>
9141
9142 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9143 (libc_feholdsetround_aarch64_ctx)
9144 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9145 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9146 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9147 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9148 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9149 (libc_feresetround_noexl_ctx): Define.
9150
95fc5fa3
RH
91512014-04-16 Richard Henderson <rth@redhat.com>
9152
ddb04724
RH
9153 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9154
d77c0899
RH
9155 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9156 unwind tables.
9157
a3df56fc
RH
9158 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9159 const from the non-libc, non-ldso copy.
9160
95fc5fa3
RH
9161 * sysdeps/alpha/libm-test-ulps: Regenerate.
9162
7e0b6763
IB
91632014-04-16 Ian Bolton <ian.bolton@arm.com>
9164 Wilco Dijkstra <wilco.dijkstra@arm.com>
9165
9166 * sysdeps/aarch64/fpu/math_private.h: New file.
9167
a9ea2e0c
MS
91682014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9169
9170 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9171
ea8ba7cd
IZ
91722014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9173
7e54fd04 9174 [BZ #16275]
ea8ba7cd
IZ
9175 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9176 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9177 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9178 Intel MPX bound registers before _dl_profile_fixup.
9179 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9180 registers after _dl_profile_fixup. Save and restore bound
9181 registers bnd0/bnd1 when calling _dl_call_pltexit.
9182 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9183 (LR_BND_OFFSET): Likewise.
9184 (LRV_BND0_OFFSET): Likewise.
9185 (LRV_BND1_OFFSET): Likewise.
9186
9f2a4fbc
ST
91872014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9188
9189 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9190 to...
9191 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9192 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9193 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9194 fields.
9f2a4fbc 9195
fd15a59b
ST
91962014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9197
9198 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9199
f19dfa0a
SL
92002014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9201
9202 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9203
4fa8bc3b
SL
92042014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9205
9206 [BZ #14770]
9207 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9208 * sysdeps/s390/configure: Regenerate.
9209
8ea587db
SL
9210 [BZ #16824]
9211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9212 Set round-to-nearest internally to reduce error accumulation.
9213
aa5f0ff1
AM
92142014-04-16 Alan Modra <amodra@gmail.com>
9215
9216 [BZ #16740]
9217 [BZ #16619]
9218 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9219 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9220 * NEWS: Update fixed bug list.
aa5f0ff1 9221
bb9c256f
SP
92222014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9223
9224 * benchtests/Makefile: Depend on libraries in build directory.
9225 (bench-math): Separate out math tests.
9226 (bench-pthread): Separate out pthread tests.
9227 (bench): Include math and pthread tests.
9228
f737dfd0
CD
92292014-04-14 Carlos O'Donell <carlos@redhat.com>
9230
9231 [BZ #16831]
9232 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9233 _dl_debug_initialize.
9234
0699f766
CD
9235 * configure.ac: Remove SELinux header check.
9236 * configure: Regenerate.
9237 * nscd/selinux.c (perms): Array of const char* to permission names.
9238 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9239 default policy. Call string_to_security_class and string_to_av_perm to
9240 translate strings. Enforce default policy and call avs_has_perm with
9241 results of translated strings.
9242
809bd45f
DM
92432014-04-13 David S. Miller <davem@davemloft.net>
9244
9245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9246
89e691f2
AM
92472014-04-12 Allan McRae <allan@archlinux.org>
9248
9249 [BZ #16838]
9250 * manual/string.texi (Collation Functions): Fix qsort argument
9251 order in example.
9252 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9253
9c9daaeb
CM
92542014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9255
9256 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9257 Make the test a no-op if there are no exceptions defined.
9258
95561fb9
PP
92592014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9260
fe8d072c 9261 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9262 enable-hardcoded-path-in-tests
9263
970c602a
WN
92642014-04-11 Will Newton <will.newton@linaro.org>
9265
9266 * benchtests/Makefile (extra-objs): Add json-lib.o.
9267 (bench-func): Tidy up JSON output.
9268 * benchtests/bench-skeleton.c: Include json-lib.h.
9269 (main): Use JSON library functions to do output of
9270 benchmark results.
9271 * benchtests/bench-timing-type.c (main): Output the
9272 timing type simply, leaving formatting to the user.
9273 * benchtests/json-lib.c: New file.
9274 * benchtests/json-lib.h: Likewise.
9275
36875b06
TR
92762014-04-11 Torvald Riegel <triegel@redhat.com>
9277
9278 [BZ #15215]
9279 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9280 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9281 memory barriers. Add comments.
9282 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9283 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9284 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9285 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9286 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9287 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9288
579db35a
SL
92892014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9290
9291 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9292 * sysdeps/s390/s390-64/configure.ac: ... this ...
9293 * sysdeps/s390/configure.ac: ... to here.
9294 * sysdeps/s390/s390-32/configure: Delete file.
9295 * sysdeps/s390/s390-64/configure: Delete file.
9296 * sysdeps/s390/configure: Regenerate.
9297
c12e9f37
JAPH
92982014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9299
9300 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9301
439bda32
WN
93022014-04-11 Will Newton <will.newton@linaro.org>
9303
9304 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9305 to zero if it is not defined elsewhere. (mtrim): Test
9306 the value of MALLOC_DEBUG with #if rather than #ifdef.
9307
6a5d6ea1
TR
93082014-04-10 Torvald Riegel <triegel@redhat.com>
9309
9310 * benchtests/pthread_once-inputs: New file.
9311 * benchtests/pthread_once-source.c: New file.
9312 * benchtests/README: Update documentation.
9313
a4c75cfd
IZ
93142014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9315 H.J. Lu <hongjiu.lu@intel.com>
9316
7e54fd04 9317 [BZ #16275]
a4c75cfd
IZ
9318 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9319 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9320 * sysdeps/x86_64/configure: Regenerated.
9321 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9322 macro.
9323 (REGISTER_SAVE_RAX): Likewise.
9324 (REGISTER_SAVE_RCX): Likewise.
9325 (REGISTER_SAVE_RDX): Likewise.
9326 (REGISTER_SAVE_RSI): Likewise.
9327 (REGISTER_SAVE_RDI): Likewise.
9328 (REGISTER_SAVE_R8): Likewise.
9329 (REGISTER_SAVE_R9): Likewise.
9330 (REGISTER_SAVE_BND0): Likewise.
9331 (REGISTER_SAVE_BND1): Likewise.
9332 (REGISTER_SAVE_BND2): Likewise.
9333 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9334 bound registers when calling _dl_fixup.
9335
27822ce6
AZ
93362014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9337
9338 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9339 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9340 of its definition.
27822ce6
AZ
9341 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9342 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9343 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9344 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9345 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9346 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9347 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9348
a88ddc90
PTB
93492014-04-09 Peter Brett <peter@peter-b.co.uk>
9350
9351 [BZ #15514]
9352 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9353 pathconf(_PC_NAME_MAX).
9354
01f8eac2
AZ
93552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9356
9357 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9358 Remove macro usage.
9359 (__PTHREAD_SPINS): Move definition to ...
9360 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9361 (__PTHREAD_SPINS): ... here.
9362 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9363 (__PTHREAD_SPIN): Likewise.
9364 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9365 (__PTHREAD_SPIN): Likewise.
9366 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9367 (__PTHREAD_SPIN): Likewise.
9368 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9369 (__PTHREAD_SPIN): Likewise.
9370 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9371 (__PTHREAD_SPIN): Likewise.
9372 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9373 (__PTHREAD_SPIN): Likewise.
9374 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9375 (__PTHREAD_SPIN): Likewise.
9376 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9377 (__PTHREAD_SPIN): Likewise.
9378 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9379 (__PTHREAD_SPIN): Likewise.
9380 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9381 (__PTHREAD_SPIN): Likewise.
9382 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9383 (__PTHREAD_SPIN): Likewise.
9384 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9385 (__PTHREAD_SPIN): Likewise.
9386
de21c33c
AZ
9387 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9388 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9389 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9390 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9391 imply folder.
9392 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9393 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9394 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9395 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9396 correct imply path.
9397 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9398 strlen symbol for non multi-arch builds.
9399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9400 missing hidden_def and weak_alias.
9401
862c472e
CD
94022014-04-08 Carlos O'Donell <carlos@redhat.com>
9403
9404 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9405
8667f90e
WN
94062014-04-07 Will Newton <will.newton@linaro.org>
9407
9408 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9409 and contents. [!_LIBC] Remove #ifndef and contents.
9410 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9411 * string/memccpy.c (__memccpy): Use ANSI prototype.
9412 * string/memfrob.c (memfrob): Likewise.
9413 * string/strcoll.c (STRCOLL): Likewise.
9414 * string/strlen.c (strlen): Likewise.
9415 * string/strtok.c (STRTOK): Likewise.
9416 * string/strcat.c: Remove unused #include of memcopy.h.
9417 (strcat): Use ANSI prototype.
9418 * string/strchr.c: Remove unused #include of memcopy.h.
9419 (strchr): Use ANSI prototype.
9420 * string/strcmp.c: Remove unused #include of memcopy.h.
9421 (strcmp): Use ANSI prototype.
9422 * string/strcpy.c: Remove unused #include of memcopy.h.
9423 (strcpy): Use ANSI prototype.
9424
7ffa9423
AZ
94252014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9426
9427 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9428 * config.make.in (config-extra-cppflags): Set it from
9429 libc_extra_cppflags.
9430 * configure.ac (libc_extra_cflags): Make it accumulate over
9431 configure fragments.
9432 (libc_extra_cppflags): New flag.
9433 * configure. Regenerate.
9434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9435 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9436 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9438
8bd70862
AZ
9439 [BZ #16815]
9440 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9441 result for FE_DOWNWARD rounding mode.
9442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9443 Likewise.
9444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9445
d42f3448
CM
94462014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9447
9448 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9449 in function argument name.
9450
1c21d115
DS
94512014-04-03 David Svoboda <svoboda@cert.org>
9452
9453 [BZ #5666]
9454 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9455 explicitly.
9456
fcccd512
RM
94572014-04-03 Roland McGrath <roland@hack.frob.com>
9458
9459 * elf/dl-unmap-segments.h: New file.
9460 * sysdeps/generic/ldsodefs.h
9461 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9462 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9463 * elf/dl-fptr.c: Likewise.
9464 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9465 * sysdeps/aarch64/tlsdesc.c: Likewise.
9466 * sysdeps/arm/tlsdesc.c: Likewise.
9467 * sysdeps/i386/tlsdesc.c: Likewise.
9468 * sysdeps/tile/dl-runtime.c: Likewise.
9469 * sysdeps/x86_64/tlsdesc.c: Likewise.
9470 * elf/dl-load.h: New file.
9471 * elf/dl-load.c: Include it.
9472 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9473 Macros moved to dl-load.h.
9474 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9475 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9476 Use _dl_unmap_segments in place of __munmap.
9477 Break out segment-mapping loop into ...
9478 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9479
f6488e2b
WN
94802014-04-03 Will Newton <will.newton@linaro.org>
9481
9482 * elf/dl-lookup.c (do_lookup_x): Remove comment
9483 referring to nested function and move variable
9484 declarations down to before first use.
9485
6f05bafe
JM
94862014-04-02 Joseph Myers <joseph@codesourcery.com>
9487
a84e78c8
JM
9488 [BZ #16799]
9489 [BZ #16800]
9490 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9491 with 0 numerator.
9492 * math/s_catanf.c (__catanf): Likewise.
9493 * math/s_catanh.c (__catanh): Likewise.
9494 * math/s_catanhf.c (__catanhf): Likewise.
9495 * math/s_catanhl.c (__catanhl): Likewise.
9496 * math/s_catanl.c (__catanl): Likewise.
9497 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9498 by positive zero when computing -Inf result.
9499 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9500 (catanh_test): Likewise.
9501 * sysdeps/i386/fpu/libm-test-ulps: Update.
9502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9503
6f05bafe
JM
9504 [BZ #16789]
9505 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9506 instead of using underflowing value in computing result.
9507 * math/s_clog10.c (__clog10): Likewise.
9508 * math/s_clog10f.c (__clog10f): Likewise.
9509 * math/s_clog10l.c (__clog10l): Likewise.
9510 * math/s_clogf.c (__clogf): Likewise.
9511 * math/s_clogl.c (__clogl): Likewise.
9512 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9513 (clog10_test): Likewise.
9514 * sysdeps/i386/fpu/libm-test-ulps: Update.
9515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9516
b0abbc21
AM
95172014-04-02 Alan Modra <amodra@gmail.com>
9518
9519 [BZ #16739]
9520 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9521 output when value is near a power of two. Use int64_t for lx and
9522 remove casts. Use decimal rather than hex exponent constants.
9523 Don't use long double multiplication when double will suffice.
9524 * math/libm-test.inc (nextafter_test_data): Add tests.
9525 * NEWS: Add 16739 and 16786 to bug list.
9526
af6b1797
AM
9527 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9528
483818d7
AM
9529 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9530
f6c55796
WN
95312014-04-01 Will Newton <will.newton@linaro.org>
9532
9533 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9534 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9535
13f7fe35
FW
95362014-04-01 Florian Weimer <fweimer@redhat.com>
9537
9538 [BZ #13347]
9539 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9540 * nptl/tst-setuid2.c: New file.
9541 * nptl/Makefile (xtests): Add tst-setuid2.
9542
c859b32e
AM
95432014-04-01 Alan Modra <amodra@gmail.com>
9544
9545 [BZ #16786]
9546 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9547
54fa2475
JM
95482014-03-31 Joseph Myers <joseph@codesourcery.com>
9549
8795b4a4
JM
9550 [BZ #6803]
9551 [BZ #6804]
9552 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9553 set errno as appropriate.
9554 * math/w_scalbf.c (__scalbf): Likewise.
9555 * math/w_scalbl.c (__scalbl): Likewise.
9556 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9557 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9558 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9559 Add more NaN tests.
9560
54fa2475
JM
9561 [BZ #16349]
9562 * math/w_atan2.c: Include <errno.h>.
9563 (__atan2): Set errno for result underflowing to zero.
9564 * math/w_atan2f.c: Include <errno.h>.
9565 (__atan2f): Set errno for result underflowing to zero.
9566 * math/w_atan2l.c: Include <errno.h>.
9567 (__atan2l): Set errno for result underflowing to zero.
9568 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9569 tests.
9570 * math/auto-libm-test-out: Regenerated.
9571
757d9dd5
AZ
95722014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573
9574 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9575 Encode instruction correctly in little endian.
9576 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9577 Likewise.
9578 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9579 Likewise.
9580 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9581 Likewise.
9582 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9583 Likewise.
9584
d7a68734
JM
95852014-03-31 Joseph Myers <joseph@codesourcery.com>
9586
47c5adeb
JM
9587 [BZ #9894]
9588 * sysdeps/unix/sysv/linux/kernel-features.h
9589 [__sparc__ && !__arch64__ && !__sparc_v9__]
9590 (__ASSUME_SET_ROBUST_LIST): Do not define.
9591 [__sparc__ && !__arch64__ && !__sparc_v9__]
9592 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9593 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9594 Likewise.
9595 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9596 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9597 (__ASSUME_REQUEUE_PI): Likewise.
9598 (__ASSUME_SET_ROBUST_LIST): Likewise.
9599 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9600 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9601 Undefine.
9602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9603 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9604 Likewise.
9605 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9606 Likewise.
9607 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9608 Likewise.
9609 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9610 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9611 Undefine.
9612 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9613 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9614 Likewise.
9615
d7a68734
JM
9616 [BZ #16648]
9617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9618 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9619 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9620
c760f5c2
WN
96212014-03-31 Will Newton <will.newton@linaro.org>
9622
9623 * benchtests/Makefile (bench): Add ffs and ffsll to list
9624 of tests.
9625 * benchtests/ffs-inputs: New file.
9626 * benchtests/ffsll-inputs: Likewise.
9627
ea6029b1
JM
96282014-03-29 Joseph Myers <joseph@codesourcery.com>
9629
9630 [BZ #16770]
9631 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9632 too large before casting to int.
9633 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9634 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9635 * math/libm-test.inc (scalb_test_data): Add more tests.
9636
cf806aff
SP
96372014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9638
56737508
SP
9639 * benchtests/Makefile (DETAILED_OPT): New make option.
9640 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9641 set.
9642 * benchtests/bench-skeleton.c: Include stdbool.h.
9643 (main): Store and print timings per input.
9644 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9645 member to each argument value.
9646 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9647 (_print_arg_data): Initialize per-input timing to 0.
9648
cb5e4aad
SP
9649 * benchtests/Makefile (timing-type): New binary.
9650 (bench-clean): Also remove bench-timing-type.
9651 (bench): New target for timing-type.
9652 (bench-func): Print output in JSON format.
9653 * benchtests/bench-skeleton.c (main): Print output in JSON
9654 format.
9655 * benchtests/bench-timing-type.c: New file.
9656 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9657 (TIMING_PRINT_STATS): Remove.
9658 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9659 name separately.
9660
cf806aff
SP
9661 * benchtests/bench-modf.c: Remove.
9662 * benchtests/modf-inputs: New inputs file.
9663
289e0779
JM
96642014-03-28 Joseph Myers <joseph@codesourcery.com>
9665
9666 [BZ #16362]
9667 * math/s_clog10.c (M_PI_LOG10E): New macro.
9668 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9669 imaginary parts are 0.
9670 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9671 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9672 imaginary parts are 0.
9673 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9674 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9675 imaginary parts are 0.
9676 * math/libm-test.inc (clog10_test_data): Update expected results
9677 for when real and imaginary parts are 0.
9678
277ae3f1
PP
96792014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9680
9681 * elf/dl-load.c: Finish conversion of __builtin_expect into
9682 __glibc_{un}likely.
9683
03a7091f
JM
96842014-03-27 Joseph Myers <joseph@codesourcery.com>
9685
9686 [BZ #16348]
9687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9688 1+x for argument with exponent below -67.
9689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9690 Likewise.
9691 * math/auto-libm-test-in: Add more tests of exp.
9692 * math/auto-libm-test-out: Regenerated.
9693
ea7d8b95
SP
96942014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9695
dd3022d7
SP
9696 [BZ #16759]
9697 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9698 (nscd_getnetgrent): Use it.
9699
ea7d8b95
SP
9700 [BZ #16760]
9701 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9702 of stpcpy.
9703
df5b85da
AK
97042014-03-27 Andi Kleen <ak@linux.intel.com>
9705
57f41c40
AS
9706 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9707 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9708 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9709 (lll_robust_unlock): Remove out of line section. Use cfi
9710 intrinsics.
df5b85da 9711 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9712 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9713 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9714 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9715 (lll_robust_unlock): Remove out of line section. Use cfi
9716 intrinsics.
df5b85da
AK
9717 (LLL_STUB_UNWIND_INFO*): Remove.
9718
fbd6b5a4
SP
97192014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9720
9721 [BZ #16758]
9722 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9723 blank values.
9724
1b26b855
PP
97252014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9726
9727 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9728
9be36fb8
JM
97292014-03-26 Joseph Myers <joseph@codesourcery.com>
9730
9731 [BZ #16198]
9732 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9733 fnstenv.
9734 * math/test-fenv-preserve.c: New file.
9735 * math/Makefile (tests): Add test-fenv-preserve.
9736
60a2f3c1
WN
97372014-03-26 Will Newton <will.newton@linaro.org>
9738
9739 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9740
a5e5f1e2
RM
97412014-03-25 Roland McGrath <roland@hack.frob.com>
9742
9743 * scripts/versionlist.awk: Partition the version sets and emit all
9744 GLIBC_* (sorted) before all others (sorted).
9745
00f4012a
JM
97462014-03-25 Joseph Myers <joseph@codesourcery.com>
9747
9748 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9749 GLIBC_2.2.5 version.
9750
7bc5a741
AZ
97512014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9752
9753 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9754 calls.
9755
7578473b
AZ
9756 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9757 previous change.
9758
f3f1dab3
AZ
9759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9760
6da36183
AS
97612014-03-25 Andreas Schwab <schwab@suse.de>
9762
9763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9764 label to be used after in6ailist is initialized.
9765
f3f1dab3 97662014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9767
7578473b 9768 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9769 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9770
046651c1
JM
97712014-03-25 Joseph Myers <joseph@codesourcery.com>
9772
9773 [BZ #16357]
9774 [BZ #16599]
9775 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9776 min_plus_half.
9777 (fp_formats): Update initializers.
9778 (init_fp_formats): Initialize new field.
9779 (output_for_one_input_case): Allow underflow for results up to
9780 min_plus_half.
9781 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9782 * math/auto-libm-test-in: Don't mark some underflows from asin and
9783 atanh as spurious.
9784 * math/auto-libm-test-out: Regenerated.
9785 * sysdeps/i386/fpu/libm-test-ulps: Update.
9786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9787
003e49ed
AS
97882014-03-25 Andreas Schwab <schwab@suse.de>
9789
9790 * libio/Makefile (tst-ftell-partial-wide-ENV)
9791 (tst-ftell-active-handler-ENV): Define.
9792
de031874
SL
97932014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9794
9795 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9796
55a81e3b
PP
97972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9798
9799 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9800
f3426898
JM
98012014-03-24 Joseph Myers <joseph@codesourcery.com>
9802
9803 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9804 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9805 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9806
a42faf59
PP
98072014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9808
9809 [BZ #16634]
a42faf59 9810 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9811 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9812 (open_path): Change from boolean 'secure' to complete flag 'mode'
9813 (_dl_map_object): Adjust.
a42faf59
PP
9814 * elf/Makefile (tests): Add tst-dlopen-aout.
9815 * elf/tst-dlopen-aout.c: New test.
9816
50936127
SL
98172014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9818
9819 [BZ #16714]
9820 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9821 (struct stat): Rename member pad0 to __glibc_reserved0.
9822
26011b5c
SL
9823 [BZ #16712]
9824 * sysdeps/s390/s390-32/bits/wordsize.h
9825 (__WORDSIZE32_SIZE_ULONG): New define.
9826 * sysdeps/s390/s390-64/bits/wordsize.h
9827 (__WORDSIZE32_SIZE_ULONG): Likewise.
9828 * sysdeps/generic/stdint.h (SIZE_MAX):
9829 Define as UL if __WORDSIZE32_SIZE_ULONG.
9830
a2d86bf1
SL
9831 [BZ #16713]
9832 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9833 (__glibc_reserved0): New variable.
9834 (sa_flags): Change type to int.
9835
78b6eebc
SL
9836 * posix/Makefile (before-compile): Use += before-compile instead
9837 of a :=.
9838
f1399b5a
SL
9839 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9840 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9841
a071766e
AS
98422014-03-20 Andreas Schwab <schwab@suse.de>
9843
9844 [BZ #16743]
9845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9846 non-matching result from nscd.
9847
27c673b8
SP
98482014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9849
9850 * scripts/bench.py: Moved to ...
9851 * benchtests/scripts/bench.py: ... here.
9852 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9853
44152e4b
AS
98542014-03-24 Andreas Schwab <schwab@suse.de>
9855
9856 [BZ #16002]
9857 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9858 alloca_account and account alloca use for struct in6ailist.
9859
b376a11a
JM
98602014-03-24 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #16284]
9863 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9864 rounding mode to recompute results that overflow to infinity or
9865 underflow to zero.
9866 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9867 bug 16284.
9868 * math/auto-libm-test-out: Regenerated.
9869 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9870 (ccosh_test): Likewise.
9871 (csin_test_data): Use plus_oflow.
9872 (csin_test): Use ALL_RM_TEST.
9873 (csinh_test_data): Use plus_oflow.
9874 (csinh_test): Use ALL_RM_TEST.
9875 * sysdeps/i386/fpu/libm-test-ulps: Update.
9876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9877
f7be7376
JM
98782014-03-21 Joseph Myers <joseph@codesourcery.com>
9879
1ca2d03e
JM
9880 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9881 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9882 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9883
f7be7376
JM
9884 [BZ #16731]
9885 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9886 when x - 1 is zero.
9887 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9888 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9889 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9890 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9891 argument is 1.
9892 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9893 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9894 zero.
9895 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9896 * sysdeps/i386/fpu/libm-test-ulps: Update.
9897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9898
fdf4534d
SP
98992014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9900
df26ea53
SP
9901 * scripts/bench.pl: Remove file.
9902 * scripts/bench.py: New benchmark script.
9903 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9904 * benchtests/README: Mention python dependency.
9905 * scripts/pylintrc: New file.
9906 * scripts/pylint: New file.
9907
fdf4534d
SP
9908 * bits/mathdef.h: Use #ifdef instead of #if.
9909 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9910 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9911 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9912 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9913 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9914 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9915
6f23d093
AZ
99162014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9917 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9918
9919 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9921 and strpbrk-ppc64 objects.
9922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9923 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9924 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9925 multiarch strpbrk for POWER7.
9926 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9927 multiarch strpbrk for PPC64.
9928 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9929 ifunc selector.
9930 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9931 strpbrk for POWER7.
9932
8c92dfff
JM
99332014-03-20 Joseph Myers <joseph@codesourcery.com>
9934
9935 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9936 (atan_test): Likewise.
9937 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9938 (atanh_test): Use ALL_RM_TEST.
9939 (atan2_test_data): Likewise.
9940 (cabs_test): Likewise.
9941 (cacosh_test): Likewise.
9942 (carg_test): Likewise.
9943 (casin_test): Likewise.
9944 (casinh_test): Likewise.
9945 (cbrt_test): Likewise.
9946 (csqrt_test): Likewise.
9947 (erf_test): Likewise.
9948 (erfc_test): Likewise.
9949 (pow10_test): Likewise.
9950 (exp2_test): Likewise.
9951 (hypot_test): Likewise.
9952 (j0_test): Likewise.
9953 (j1_test): Likewise.
9954 (lgamma_test): Likewise.
9955 (gamma_test): Likewise.
9956 (sincos_test): Likewise.
9957 (tanh_test): Likewise.
9958 (y0_test): Likewise.
9959 (y1_test): Likewise.
9960 * sysdeps/i386/fpu/libm-test-ulps: Update.
9961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9962
6eaf95cb
AZ
99632014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9964
a387428c
SP
9965 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9966 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
9967 and strcspn-ppc64 objects.
9968 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9969 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9970 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9971 multiarch strcspn for POWER7.
9972 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9973 multiarch strcspn for PPC64.
9974 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9975 ifunc selector.
9976 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9977 strcspn for POWER7.
9978
ae3a5dff
JM
99792014-03-20 Joseph Myers <joseph@codesourcery.com>
9980
9981 * math/gen-libm-test.pl (generate_testfile): Expect only function
9982 name as argument to AUTO_TESTS_* and pass results for all rounding
9983 modes to parse_args.
9984 (parse_auto_input): Separate inputs of automatic tests from
9985 outputs before storing in %auto_tests.
9986 * math/libm-test.inc (acos_test_data): Update call to
9987 AUTO_TESTS_f_f.
9988 (acos_test): Use ALL_RM_TEST.
9989 (acos_tonearest_test_data): Remove.
9990 (acos_test_tonearest): Likewise.
9991 (acos_towardzero_test_data): Likewise.
9992 (acos_test_towardzero): Likewise.
9993 (acos_downward_test_data): Likewise.
9994 (acos_test_downward): Likewise.
9995 (acos_upward_test_data): Likewise.
9996 (acos_test_upward): Likewise.
9997 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9998 (asin_test_data): Likewise.
9999 (asin_test): Use ALL_RM_TEST.
10000 (asin_tonearest_test_data): Remove.
10001 (asin_test_tonearest): Likewise.
10002 (asin_towardzero_test_data): Likewise.
10003 (asin_test_towardzero): Likewise.
10004 (asin_downward_test_data): Likewise.
10005 (asin_test_downward): Likewise.
10006 (asin_upward_test_data): Likewise.
10007 (asin_test_upward): Likewise.
10008 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10009 (atan_test_data): Likewise.
10010 (atanh_test_data): Likewise.
10011 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10012 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10013 (carg_test_data): Likewise.
10014 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10015 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10016 (ccosh_test_data): Likewise.
10017 (cexp_test_data): Likewise.
10018 (clog_test_data): Likewise.
10019 (clog10_test_data): Likewise.
10020 (cos_test_data): Update call to AUTO_TESTS_f_f.
10021 (cos_test): Use ALL_RM_TEST.
10022 (cos_tonearest_test_data): Remove.
10023 (cos_test_tonearest): Likewise.
10024 (cos_towardzero_test_data): Likewise.
10025 (cos_test_towardzero): Likewise.
10026 (cos_downward_test_data): Likewise.
10027 (cos_test_downward): Likewise.
10028 (cos_upward_test_data): Likewise.
10029 (cos_test_upward): Likewise.
10030 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10031 (cosh_test): Use ALL_RM_TEST.
10032 (cosh_tonearest_test_data): Remove.
10033 (cosh_test_tonearest): Likewise.
10034 (cosh_towardzero_test_data): Likewise.
10035 (cosh_test_towardzero): Likewise.
10036 (cosh_downward_test_data): Likewise.
10037 (cosh_test_downward): Likewise.
10038 (cosh_upward_test_data): Likewise.
10039 (cosh_test_upward): Likewise.
10040 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10041 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10042 (ctan_test_data): Likewise.
10043 (ctan_test): Use ALL_RM_TEST.
10044 (ctan_tonearest_test_data): Remove.
10045 (ctan_test_tonearest): Likewise.
10046 (ctan_towardzero_test_data): Likewise.
10047 (ctan_test_towardzero): Likewise.
10048 (ctan_downward_test_data): Likewise.
10049 (ctan_test_downward): Likewise.
10050 (ctan_upward_test_data): Likewise.
10051 (ctan_test_upward): Likewise.
10052 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10053 (ctanh_test): Use ALL_RM_TEST.
10054 (ctanh_tonearest_test_data): Remove.
10055 (ctanh_test_tonearest): Likewise.
10056 (ctanh_towardzero_test_data): Likewise.
10057 (ctanh_test_towardzero): Likewise.
10058 (ctanh_downward_test_data): Likewise.
10059 (ctanh_test_downward): Likewise.
10060 (ctanh_upward_test_data): Likewise.
10061 (ctanh_test_upward): Likewise.
10062 (erf_test_data): Update call to AUTO_TESTS_f_f.
10063 (erfc_test_data): Likewise.
10064 (exp_test_data): Likewise.
10065 (exp_test): Use ALL_RM_TEST.
10066 (exp_tonearest_test_data): Remove.
10067 (exp_test_tonearest): Likewise.
10068 (exp_towardzero_test_data): Likewise.
10069 (exp_test_towardzero): Likewise.
10070 (exp_downward_test_data): Likewise.
10071 (exp_test_downward): Likewise.
10072 (exp_upward_test_data): Likewise.
10073 (exp_test_upward): Likewise.
10074 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10075 (exp10_test): Use ALL_RM_TEST.
10076 (exp10_tonearest_test_data): Remove.
10077 (exp10_test_tonearest): Likewise.
10078 (exp10_towardzero_test_data): Likewise.
10079 (exp10_test_towardzero): Likewise.
10080 (exp10_downward_test_data): Likewise.
10081 (exp10_test_downward): Likewise.
10082 (exp10_upward_test_data): Likewise.
10083 (exp10_test_upward): Likewise.
10084 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10085 (expm1_test_data): Likewise.
10086 (expm1_test): Use ALL_RM_TEST.
10087 (expm1_tonearest_test_data): Remove.
10088 (expm1_test_tonearest): Likewise.
10089 (expm1_towardzero_test_data): Likewise.
10090 (expm1_test_towardzero): Likewise.
10091 (expm1_downward_test_data): Likewise.
10092 (expm1_test_downward): Likewise.
10093 (expm1_upward_test_data): Likewise.
10094 (expm1_test_upward): Likewise.
10095 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10096 (fma_test): Use ALL_RM_TEST.
10097 (fma_towardzero_test_data): Remove.
10098 (fma_test_towardzero): Likewise.
10099 (fma_downward_test_data): Likewise.
10100 (fma_test_downward): Likewise.
10101 (fma_upward_test_data): Likewise.
10102 (fma_test_upward): Likewise.
10103 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10104 (j0_test_data): Update call to AUTO_TESTS_f_f.
10105 (j1_test_data): Likewise.
10106 (jn_test_data): Update call to AUTO_TESTS_if_f.
10107 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10108 (log_test_data): Update call to AUTO_TESTS_f_f.
10109 (log10_test_data): Likewise.
10110 (log1p_test_data): Likewise.
10111 (log2_test_data): Likewise.
10112 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10113 (pow_tonearest_test_data): Likewise.
10114 (sin_test_data): Update call to AUTO_TESTS_f_f.
10115 (sin_test): Use ALL_RM_TEST.
10116 (sin_tonearest_test_data): Remove.
10117 (sin_test_tonearest): Likewise.
10118 (sin_towardzero_test_data): Likewise.
10119 (sin_test_towardzero): Likewise.
10120 (sin_downward_test_data): Likewise.
10121 (sin_test_downward): Likewise.
10122 (sin_upward_test_data): Likewise.
10123 (sin_test_upward): Likewise.
10124 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10125 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10126 (sinh_test): Use ALL_RM_TEST.
10127 (sinh_tonearest_test_data): Remove.
10128 (sinh_test_tonearest): Likewise.
10129 (sinh_towardzero_test_data): Likewise.
10130 (sinh_test_towardzero): Likewise.
10131 (sinh_downward_test_data): Likewise.
10132 (sinh_test_downward): Likewise.
10133 (sinh_upward_test_data): Likewise.
10134 (sinh_test_upward): Likewise.
10135 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10136 (sqrt_test): Use ALL_RM_TEST.
10137 (sqrt_tonearest_test_data): Remove.
10138 (sqrt_test_tonearest): Likewise.
10139 (sqrt_towardzero_test_data): Likewise.
10140 (sqrt_test_towardzero): Likewise.
10141 (sqrt_downward_test_data): Likewise.
10142 (sqrt_test_downward): Likewise.
10143 (sqrt_upward_test_data): Likewise.
10144 (sqrt_test_upward): Likewise.
10145 (tan_test_data): Update call to AUTO_TESTS_f_f.
10146 (tan_test): Use ALL_RM_TEST.
10147 (tan_tonearest_test_data): Remove.
10148 (tan_test_tonearest): Likewise.
10149 (tan_towardzero_test_data): Likewise.
10150 (tan_test_towardzero): Likewise.
10151 (tan_downward_test_data): Likewise.
10152 (tan_test_downward): Likewise.
10153 (tan_upward_test_data): Likewise.
10154 (tan_test_upward): Likewise.
10155 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10156 (tgamma_test_data): Likewise.
10157 (y0_test_data): Likewise.
10158 (y1_test_data): Likewise.
10159 (yn_test_data): Update call to AUTO_TESTS_if_f.
10160 (main): Do not call removed functions.
10161
d71aeee8
JM
101622014-03-19 Joseph Myers <joseph@codesourcery.com>
10163
10164 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10165 (ldexp_test_data): Remove.
10166 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10167 scalbn_test_data.
10168 (scalb_test): Use ALL_RM_TEST.
10169
baaf1ded
AS
101702014-03-19 Andreas Schwab <schwab@suse.de>
10171
10172 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10173
b1115e91
JM
101742014-03-19 Joseph Myers <joseph@codesourcery.com>
10175
10176 [BZ #16649]
10177 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10178 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10179 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10180 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10181 (__ASSUME_PREADV): Undefine.
10182 (__ASSUME_PWRITEV): Likewise.
10183
0283ecca
RM
101842014-03-18 Roland McGrath <roland@hack.frob.com>
10185
7d375303
RM
10186 * bits/mman-linux.h: Add comment about non-Linux use.
10187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10188 bits/mman-linux.h resting place.
10189
0283ecca
RM
10190 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10191 * bits/mman-linux.h: ... here.
10192
aebe1003
AZ
101932014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10194
10195 * conform/conformtest.pl: Add standard definition when calling C
10196 preprocessor on data files.
10197 (checknamespace): Remove unused variable.
10198
b29b6bb8
JM
101992014-03-18 Joseph Myers <joseph@codesourcery.com>
10200
10201 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10202 minus_oflow, plus_uflow and minus_uflow in expected results.
10203 * math/libm-test.inc (scalbn_test_data): Add more tests of
10204 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10205 minus_uflow.
10206 (scalbn_test): Use ALL_RM_TEST.
10207 (scalbln_test_data): Add more tests of negative arguments. Use
10208 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10209 (scalbln_test): Use ALL_RM_TEST.
10210
c8f8fa15
RM
102112014-03-18 Roland McGrath <roland@hack.frob.com>
10212
10213 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10214
fede7a5f
WN
102152014-03-18 Will Newton <will.newton@linaro.org>
10216
10217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10218 inaccurate comment.
10219
80cf0a58
JM
102202014-03-18 Joseph Myers <joseph@codesourcery.com>
10221
10222 * Makerules [!subdir] (check-abi): Exit with error status if a
10223 test failed.
10224
b3620862
JM
102252014-03-17 Joseph Myers <joseph@codesourcery.com>
10226
10227 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10228 for rint. Include results for all rounding modes.
10229 (nearbyint_test): Use ALL_RM_TEST.
10230 (rint_test_data): Include all tests used for nearbyint.
10231
788bba36
WN
102322014-03-17 Will Newton <will.newton@linaro.org>
10233
04ec140a
WN
10234 * nptl/sysdeps/pthread/pthread.h: Revert previous
10235 change.
10236
7579d8d5
WN
10237 * sysdeps/generic/ldsodefs.h: Revert previous
10238 change.
10239
c15cf13a
WN
10240 * libio/genops.c: Revert previous change.
10241 * libio/libioP.h: Likewise.
10242 * stdio-common/vfprintf.c: Likewise.
10243
d0ac1324
WN
10244 * sysdeps/generic/math_private.h: Revert previous
10245 change.
10246
9290130a
WN
10247 * sysdeps/generic/math_private.h: Check whether
10248 HAVE_RM_CTX is defined with #ifdef rather
10249 than #if.
10250
afb466fc
WN
10251 * argp/argp-fmtstream.h: Check whether
10252 __STRICT_ANSI__ is defined with #ifdef rather
10253 than #if.
10254 * argp/argp.h: Likewise.
10255
f7efd7c3
WN
10256 * libio/genops.c: Check whether
10257 _IO_JUMPS_OFFSET is defined with #ifdef rather
10258 than #if.
10259 * libio/libioP.h: Likewise.
10260 * stdio-common/vfprintf.c: Likewise.
10261
53f1bed3
WN
10262 * sysdeps/generic/ldsodefs.h: Check whether
10263 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10264 than #if.
10265
788bba36
WN
10266 * nptl/sysdeps/pthread/pthread.h: Check
10267 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10268 its value.
10269
fcd89ebe
SP
102702014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10271
ae42bbc5
SP
10272 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10273 setting O_APPEND.
10274 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10275 test case.
10276
ea33158c
SP
10277 [BZ #16680]
10278 * libio/fileops.c (_IO_file_open): Seek to end of file but
10279 don't cache the offset.
10280 (get_file_offset): Remove function.
10281 (do_ftell): Use cached offset when available.
10282 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10283 don't cache the offset.
10284 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10285 case.
10286 (do_one_test): Call it.
10287 (do_ftell_test): Fix up expected old offset for a+ mode.
10288 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10289 available.
10290
b1dbb426
SP
10291 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10292 up test status with function return status.
10293 (do_write_test): Likewise.
10294 (do_append_test): Likewise.
10295
fcd89ebe
SP
10296 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10297 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10298 Remove.
10299
9962a2d3
JM
103002014-03-17 Joseph Myers <joseph@codesourcery.com>
10301
10302 * math/gen-libm-test.pl (parse_args): Handle results specified for
10303 each rounding mode separately.
10304 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10305 tests and results from lrint_tonearest_test_data,
10306 lrint_towardzero_test_data, lrint_downward_test_data and
10307 lrint_upward_test_data.
10308 (lrint_test): Use ALL_RM_TEST.
10309 (lrint_tonearest_test_data): Remove.
10310 (lrint_test_tonearest): Likewise.
10311 (lrint_towardzero_test_data): Likewise.
10312 (lrint_test_towardzero): Likewise.
10313 (lrint_downward_test_data): Likewise.
10314 (lrint_test_downward): Likewise.
10315 (lrint_upward_test_data): Likewise.
10316 (lrint_test_upward): Likewise.
10317 (llrint_test_data): Merge in per-rounding-mode tests and results
10318 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10319 llrint_downward_test_data and llrint_upward_test_data.
10320 (llrint_test): Use ALL_RM_TEST.
10321 (llrint_tonearest_test_data): Remove.
10322 (llrint_test_tonearest): Likewise.
10323 (llrint_towardzero_test_data): Likewise.
10324 (llrint_test_towardzero): Likewise.
10325 (llrint_downward_test_data): Likewise.
10326 (llrint_test_downward): Likewise.
10327 (llrint_upward_test_data): Likewise.
10328 (llrint_test_upward): Likewise.
10329 (rint_test_data): Merge in per-rounding-mode tests and results
10330 from rint_tonearest_test_data, rint_towardzero_test_data,
10331 rint_downward_test_data and rint_upward_test_data. Add
10332 per-rounding-mode results for tests not in those arrays.
10333 (rint_test): Use ALL_RM_TEST.
10334 (rint_tonearest_test_data): Remove.
10335 (rint_test_tonearest): Likewise.
10336 (rint_towardzero_test_data): Likewise.
10337 (rint_test_towardzero): Likewise.
10338 (rint_downward_test_data): Likewise.
10339 (rint_test_downward): Likewise.
10340 (rint_upward_test_data): Likewise.
10341 (rint_test_upward): Likewise.
10342 (main): Don't call removed functions.
10343
5006148e
RM
103442014-03-14 Roland McGrath <roland@hack.frob.com>
10345
10346 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10347 "Compiled on ..." crapola. It is anti-useful.
10348
d6fe5e58
JM
103492014-03-14 Joseph Myers <joseph@codesourcery.com>
10350
10351 * scripts/evaluate-test.sh: Handle fourth argument to determine
10352 whether test run should stop on failure.
10353 * Makeconfig (stop-on-test-failure): New variable.
10354 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10355 $(stop-on-test-failure).
10356 * Makefile (tests): Give a summary of results from testing and
10357 exit with failure status if they include an ERROR or FAIL.
10358 (xtests): Likewise.
10359 * manual/install.texi (Configuring and compiling): Mention
10360 stop-on-test-failure=y.
10361 * INSTALL: Regenerated.
10362
498a2233
RM
103632014-03-14 Roland McGrath <roland@hack.frob.com>
10364
22dbc19d
RM
10365 * scripts/versionlist.awk: New file.
10366 * Makerules [$(build-shared) = yes]
10367 (postclean-generated): Add Versions.def, not Versions.def.v and
10368 Versions.def.v.i.
10369 ($(common-objpfx)Versions.def.v.i): Target removed.
10370 ($(common-objpfx)Versions.def): New target.
10371 ($(common-objpfx)Versions.all): Depend on that rather that
10372 $(common-objpfx)Versions.def.v.
10373 * Versions.def: File removed.
10374
498a2233
RM
10375 * Makeconfig (+gccwarn): Add -Wundef.
10376 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10377 a dl-sysdep.h breaking its contract.
10378 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10379 * include/stackinfo.h: New file.
10380 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10381 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10382 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10383 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10384 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10385 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10386 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10387 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10388 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10389 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10390 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10391 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10392 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10393 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10394 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10395
c7de5025
AZ
103962014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10397
10398 [BZ #16707]
10399 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10400 implementation.
10401 * math/libm-test.inc (round_test_data): Add more tests.
10402
98fb27a3
AZ
10403 [BZ #16706]
10404 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10405 implementation.
10406 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10407
374f7f61
AZ
10408 [BZ #16701]
10409 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10410 implementation.
10411 * math/libm-test.inc (ceil_test_data): Add more tests.
10412
4655c291
AZ
10413 * math/libm-test.inc (trunc_test_data): Add more tests related to
10414 BZ#16414.
10415
d7329d4b
RM
104162014-03-14 Roland McGrath <roland@hack.frob.com>
10417
10418 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10419 with #if rather than #ifdef.
10420 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10421
aa4de9ce
L
104222014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10423
10424 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10425 first. Disable AVX-512 GCC support if assembler doesn't support
10426 it.
10427 * sysdeps/x86_64/configure: Regenerated.
10428
2e03fae7
CD
104292014-03-13 Carlos O'Donell <carlos@redhat.com>
10430
10431 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10432 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10433 (__old_pthread_attr_setstack): Likewise.
10434 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10435 [!_STACK_GROWS_DOWN]: Likewise.
10436
43ca83ec
MF
104372014-03-13 Mike Frysinger <vapier@gentoo.org>
10438
10439 * config.make.in (have-bash2): Delete.
10440 * configure.ac (libc_cv_have_bash2): Delete.
10441 * configure: Regenerate.
10442 * elf/Makefile (common-ldd-rewrite): Rename to ...
10443 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10444 (sh-ldd-rewrite): Delete.
10445 (bash-ldd-rewrite): Delete.
10446 (have-bash2): Delete checks.
57f41c40
AS
10447 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10448 ldd-rewrite.
c66e48b4
MF
10449
10450 * config.make.in (have-ksh): Delete.
10451 (KSH): Delete.
10452 * configure.ac (libc_cv_have_ksh): Delete.
10453 * configure: Regenerate.
10454
b93834ef
MF
10455 * elf/Makefile: Delete $(have-ksh) check.
10456 ($(objpfx)sotruss): Change KSH to BASH.
10457 * elf/sotruss.ksh: Rename to ...
10458 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10459 function style to match POSIX. Drop ksh vim mode setting.
10460
f3a4632a
MF
10461 * manual/time.texi (Specifying the Time Zone with TZ): Change
10462 Tuesday to Thursday.
10463
5896c8bd
MF
10464 * debug/tst-longjmp_chk2.c: Update header comment.
10465 (stackoverflow_handler): Add comment. Call assert on pass value.
10466
2d63a517
IZ
104672014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10468
7e54fd04 10469 [BZ #16194]
2d63a517
IZ
10470 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10471 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10472 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10473 (La_x86_64_vector): Add zmm.
10474 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10475 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10476 ($(objpfx)tst-audit10): New target.
10477 ($(objpfx)tst-audit10.out): Likewise.
10478 (tst-audit10-ENV): New.
10479 (AVX512-CFLAGS): Likewise.
10480 (CFLAGS-tst-audit10.c): Likewise.
10481 (CFLAGS-tst-auditmod10a.c): Likewise.
10482 (CFLAGS-tst-auditmod10b.c): Likewise.
10483 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10484 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10485 * sysdeps/x86_64/configure: Regenerated.
10486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10487 AVX-512 zmm register support.
10488 (_dl_x86_64_save_sse): Likewise.
10489 (_dl_x86_64_restore_sse): Likewise.
10490 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10491 size vector registers.
10492 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10493 (ZMM_SIZE): Likewise.
10494 * sysdeps/x86_64/tst-audit10.c: New file.
10495 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10496 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10497
44c4e5d5
RM
104982014-03-13 Roland McGrath <roland@hack.frob.com>
10499
10500 * configure.ac (HAVE_EHDR_START): New check.
10501 * configure: Regenerated.
10502 * config.h.in (HAVE_EHDR_START): New #undef.
10503 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10504 assuming the lowest-addressed segment maps the start of the file.
10505
acd6e389
JM
105062014-03-13 Joseph Myers <joseph@codesourcery.com>
10507
10508 * INSTALL: Regenerated.
10509
6f918f36
WN
105102014-03-13 Will Newton <will.newton@linaro.org>
10511
10512 * manual/setjmp.texi (System V contexts): Improve
10513 clarity and grammar of documentation.
10514
798212a0
PP
105152014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10516
10517 [BZ #16381]
798212a0 10518 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10519 (tests-pie): Add tst-pie2.
798212a0
PP
10520 * elf/tst-pie2.c: New file.
10521 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10522 for ET_EXEC.
10523 * elf/rtld.c (map_doit): Load executable as lt_executable.
10524 (dl_main): Likewise.
10525
abe6d90c
JM
105262014-03-12 Joseph Myers <joseph@codesourcery.com>
10527
10528 [BZ #16642]
10529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10530 (__ASSUME_PSELECT): Undefine.
10531
dd3946c6
AZ
105322014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10533
10534 [BZ #16689]
10535 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10536 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10537 static build.
10538 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10539 selector for static builds.
10540
c44496df
SP
105412014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10542
10543 [BZ #16695]
10544 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10545 key in the buffer.
10546
27c7220a
AZ
105472014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10548
57f41c40
AS
10549 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10550 IFUNC selector for static builds.
27c7220a 10551
600fa361
JM
105522014-03-11 Joseph Myers <joseph@codesourcery.com>
10553
76c96cf7
JM
10554 * sysdeps/mips/math_private.h [__mips_hard_float]
10555 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10556 libc_feresetround_mips_ctx.
10557 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10558 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10559 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10560
600fa361
JM
10561 [BZ #16677]
10562 * math/s_nextafter.c (__nextafter): Do not return value from
10563 overflowing computation.
10564 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10565 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10567 Likewise.
10568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10569 Likewise.
10570 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10571 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10572
d7706c32
RM
105732014-03-11 Roland McGrath <roland@hack.frob.com>
10574
10575 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10576 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10577 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10578 the new mov targetting sp.
10579
4facea47
AZ
105802014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10581
10582 [BZ #16683]
10583 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10584 Define it for static builds as well.
10585 (NO_BZERO_IMPL): Likewise.
10586
e65caf1f
VR
105872014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10588
10589 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10590 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10591 multiarch strspn for PPC64.
10592 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10593 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10595 (__libc_ifunc_impl_list): Likewise.
10596 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10597 multiarch optimizations
10598 * string/strspn.c (strspn): Using macro to redefine symbol name.
10599
ba9cc071
AZ
106002014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10601 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10602
10603 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10604 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10605 multiarch strncat for PPC64.
10606 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10607 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10609 (__libc_ifunc_impl_list): Likewise.
10610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10611 multiarch optimizations
10612
8b4ff974
SP
106132014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10614
10615 [BZ #16639]
10616 * nscd/nscd.service: Make service type forking.
10617
54b46a4b
AZ
106182014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10619
10620 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10621 sign in non default rounding modes.
10622 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10623
e9996ef7
JM
106242014-03-08 Joseph Myers <joseph@codesourcery.com>
10625
10626 * math/libm-test.inc (ALL_RM_TEST): New macro.
10627 (ceil_test): Use ALL_RM_TEST.
10628 (cimag_test): Likewise.
10629 (conj_test): Likewise.
10630 (copysign_test): Likewise.
10631 (cproj_test): Likewise.
10632 (creal_test): Likewise.
10633 (fabs_test): Likewise.
10634 (floor_test): Likewise.
10635 (fmax_test): Likewise.
10636 (fmin_test): Likewise.
10637 (fmod_test): Likewise.
10638 (fpclassify_test): Likewise.
10639 (frexp_test): Likewise.
10640 (ilogb_test): Likewise.
10641 (isfinite_test): Likewise.
10642 (finite_test): Likewise.
10643 (isgreater_test): Likewise.
10644 (isgreaterequal_test): Likewise.
10645 (isinf_test): Likewise.
10646 (isless_test): Likewise.
10647 (islessequal_test): Likewise.
10648 (islessgreater_test): Likewise.
10649 (isnan_test): Likewise.
10650 (isnormal_test): Likewise.
10651 (issignaling_test): Likewise.
10652 (isunordered_test): Likewise.
10653 (logb_test): Likewise.
10654 (logb_downward_test_data): Remove.
10655 (logb_test_downward): Likewise.
10656 (lround_test): Use ALL_RM_TEST.
10657 (llround_test): Likewise.
10658 (modf_test): Likewise.
10659 (nexttoward_test): Likewise.
10660 (remainder_test): Likewise.
10661 (drem_test): Likewise.
10662 (remainder_tonearest_test_data): Likewise.
10663 (remainder_test_tonearest): Likewise.
10664 (drem_test_tonearest): Likewise.
10665 (remainder_towardzero_test_data): Likewise.
10666 (remainder_test_towardzero): Likewise.
10667 (drem_test_towardzero): Likewise.
10668 (remainder_downward_test_data): Likewise.
10669 (remainder_test_downward): Likewise.
10670 (drem_test_downward): Likewise.
10671 (remainder_upward_test_data): Likewise.
10672 (remainder_test_upward): Likewise.
10673 (drem_test_upward): Likewise.
10674 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10675 (round_test): Use ALL_RM_TEST.
10676 (signbit_test): Likewise.
10677 (trunc_test): Likewise.
10678 (significand_test): Likewise.
10679 (main): Don't call removed functions.
10680
bc61d27c
JM
106812014-03-07 Joseph Myers <joseph@codesourcery.com>
10682
5c780849
JM
10683 [BZ #16674]
10684 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10685 || __USE_XOPEN2K8].
10686 (ILL_ILLOPN): Likewise.
10687 (ILL_ILLADR): Likewise.
10688 (ILL_ILLTRP): Likewise.
10689 (ILL_PRVOPC): Likewise.
10690 (ILL_PRVREG): Likewise.
10691 (ILL_COPROC): Likewise.
10692 (ILL_BADSTK): Likewise.
10693 (FPE_INTDIV): Likewise.
10694 (FPE_INTOVF): Likewise.
10695 (FPE_FLTDIV): Likewise.
10696 (FPE_FLTOVF): Likewise.
10697 (FPE_FLTUND): Likewise.
10698 (FPE_FLTRES): Likewise.
10699 (FPE_FLTINV): Likewise.
10700 (FPE_FLTSUB): Likewise.
10701 (SEGV_MAPERR): Likewise.
10702 (SEGV_ACCERR): Likewise.
10703 (BUS_ADRALN): Likewise.
10704 (BUS_ADRERR): Likewise.
10705 (BUS_OBJERR): Likewise.
10706 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10707 (TRAP_TRACE): Likewise.
10708 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10709 __USE_XOPEN2K8].
10710 (CLD_KILLED): Likewise.
10711 (CLD_DUMPED): Likewise.
10712 (CLD_TRAPPED): Likewise.
10713 (CLD_STOPPED): Likewise.
10714 (CLD_CONTINUED): Likewise.
10715 (POLL_IN): Likewise.
10716 (POLL_OUT): Likewise.
10717 (POLL_MSG): Likewise.
10718 (POLL_ERR): Likewise.
10719 (POLL_PRI): Likewise.
10720 (POLL_HUP): Likewise.
10721 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10722 Likewise.
10723 (ILL_ILLOPN): Likewise.
10724 (ILL_ILLADR): Likewise.
10725 (ILL_ILLTRP): Likewise.
10726 (ILL_PRVOPC): Likewise.
10727 (ILL_PRVREG): Likewise.
10728 (ILL_COPROC): Likewise.
10729 (ILL_BADSTK): Likewise.
10730 (FPE_INTDIV): Likewise.
10731 (FPE_INTOVF): Likewise.
10732 (FPE_FLTDIV): Likewise.
10733 (FPE_FLTOVF): Likewise.
10734 (FPE_FLTUND): Likewise.
10735 (FPE_FLTRES): Likewise.
10736 (FPE_FLTINV): Likewise.
10737 (FPE_FLTSUB): Likewise.
10738 (SEGV_MAPERR): Likewise.
10739 (SEGV_ACCERR): Likewise.
10740 (BUS_ADRALN): Likewise.
10741 (BUS_ADRERR): Likewise.
10742 (BUS_OBJERR): Likewise.
10743 (BUS_MCEERR_AR): Likewise.
10744 (BUS_MCEERR_AO): Likewise.
10745 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10746 (TRAP_TRACE): Likewise.
10747 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10748 __USE_XOPEN2K8].
10749 (CLD_KILLED): Likewise.
10750 (CLD_DUMPED): Likewise.
10751 (CLD_TRAPPED): Likewise.
10752 (CLD_STOPPED): Likewise.
10753 (CLD_CONTINUED): Likewise.
10754 (POLL_IN): Likewise.
10755 (POLL_OUT): Likewise.
10756 (POLL_MSG): Likewise.
10757 (POLL_ERR): Likewise.
10758 (POLL_PRI): Likewise.
10759 (POLL_HUP): Likewise.
10760 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10761 (ILL_ILLOPN): Likewise.
10762 (ILL_ILLADR): Likewise.
10763 (ILL_ILLTRP): Likewise.
10764 (ILL_PRVOPC): Likewise.
10765 (ILL_PRVREG): Likewise.
10766 (ILL_COPROC): Likewise.
10767 (ILL_BADSTK): Likewise.
10768 (FPE_INTDIV): Likewise.
10769 (FPE_INTOVF): Likewise.
10770 (FPE_FLTDIV): Likewise.
10771 (FPE_FLTOVF): Likewise.
10772 (FPE_FLTUND): Likewise.
10773 (FPE_FLTRES): Likewise.
10774 (FPE_FLTINV): Likewise.
10775 (FPE_FLTSUB): Likewise.
10776 (SEGV_MAPERR): Likewise.
10777 (SEGV_ACCERR): Likewise.
10778 (BUS_ADRALN): Likewise.
10779 (BUS_ADRERR): Likewise.
10780 (BUS_OBJERR): Likewise.
10781 (BUS_MCEERR_AR): Likewise.
10782 (BUS_MCEERR_AO): Likewise.
10783 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10784 (TRAP_TRACE): Likewise.
10785 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10786 __USE_XOPEN2K8].
10787 (CLD_KILLED): Likewise.
10788 (CLD_DUMPED): Likewise.
10789 (CLD_TRAPPED): Likewise.
10790 (CLD_STOPPED): Likewise.
10791 (CLD_CONTINUED): Likewise.
10792 (POLL_IN): Likewise.
10793 (POLL_OUT): Likewise.
10794 (POLL_MSG): Likewise.
10795 (POLL_ERR): Likewise.
10796 (POLL_PRI): Likewise.
10797 (POLL_HUP): Likewise.
10798 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10799 Likewise.
10800 (ILL_ILLOPN): Likewise.
10801 (ILL_ILLADR): Likewise.
10802 (ILL_ILLTRP): Likewise.
10803 (ILL_PRVOPC): Likewise.
10804 (ILL_PRVREG): Likewise.
10805 (ILL_COPROC): Likewise.
10806 (ILL_BADSTK): Likewise.
10807 (ILL_BADIADDR): Likewise.
10808 (ILL_BREAK): Likewise.
10809 (FPE_INTDIV): Likewise.
10810 (FPE_INTOVF): Likewise.
10811 (FPE_FLTDIV): Likewise.
10812 (FPE_FLTOVF): Likewise.
10813 (FPE_FLTUND): Likewise.
10814 (FPE_FLTRES): Likewise.
10815 (FPE_FLTINV): Likewise.
10816 (FPE_FLTSUB): Likewise.
10817 (FPE_DECOVF): Likewise.
10818 (FPE_DECDIV): Likewise.
10819 (FPE_DECERR): Likewise.
10820 (FPE_INVASC): Likewise.
10821 (FPE_INVDEC): Likewise.
10822 (SEGV_MAPERR): Likewise.
10823 (SEGV_ACCERR): Likewise.
10824 (SEGV_PSTKOVF): Likewise.
10825 (BUS_ADRALN): Likewise.
10826 (BUS_ADRERR): Likewise.
10827 (BUS_OBJERR): Likewise.
10828 (BUS_MCEERR_AR): Likewise.
10829 (BUS_MCEERR_AO): Likewise.
10830 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10831 (TRAP_TRACE): Likewise.
10832 (TRAP_BRANCH): Likewise.
10833 (TRAP_HWBKPT): Likewise.
10834 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10835 __USE_XOPEN2K8].
10836 (CLD_KILLED): Likewise.
10837 (CLD_DUMPED): Likewise.
10838 (CLD_TRAPPED): Likewise.
10839 (CLD_STOPPED): Likewise.
10840 (CLD_CONTINUED): Likewise.
10841 (POLL_IN): Likewise.
10842 (POLL_OUT): Likewise.
10843 (POLL_MSG): Likewise.
10844 (POLL_ERR): Likewise.
10845 (POLL_PRI): Likewise.
10846 (POLL_HUP): Likewise.
10847 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10848 (ILL_ILLOPN): Likewise.
10849 (ILL_ILLADR): Likewise.
10850 (ILL_ILLTRP): Likewise.
10851 (ILL_PRVOPC): Likewise.
10852 (ILL_PRVREG): Likewise.
10853 (ILL_COPROC): Likewise.
10854 (ILL_BADSTK): Likewise.
10855 (FPE_INTDIV): Likewise.
10856 (FPE_INTOVF): Likewise.
10857 (FPE_FLTDIV): Likewise.
10858 (FPE_FLTOVF): Likewise.
10859 (FPE_FLTUND): Likewise.
10860 (FPE_FLTRES): Likewise.
10861 (FPE_FLTINV): Likewise.
10862 (FPE_FLTSUB): Likewise.
10863 (SEGV_MAPERR): Likewise.
10864 (SEGV_ACCERR): Likewise.
10865 (BUS_ADRALN): Likewise.
10866 (BUS_ADRERR): Likewise.
10867 (BUS_OBJERR): Likewise.
10868 (BUS_MCEERR_AR): Likewise.
10869 (BUS_MCEERR_AO): Likewise.
10870 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10871 (TRAP_TRACE): Likewise.
10872 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10873 __USE_XOPEN2K8].
10874 (CLD_KILLED): Likewise.
10875 (CLD_DUMPED): Likewise.
10876 (CLD_TRAPPED): Likewise.
10877 (CLD_STOPPED): Likewise.
10878 (CLD_CONTINUED): Likewise.
10879 (POLL_IN): Likewise.
10880 (POLL_OUT): Likewise.
10881 (POLL_MSG): Likewise.
10882 (POLL_ERR): Likewise.
10883 (POLL_PRI): Likewise.
10884 (POLL_HUP): Likewise.
10885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10886 (ILL_ILLOPN): Likewise.
10887 (ILL_ILLADR): Likewise.
10888 (ILL_ILLTRP): Likewise.
10889 (ILL_PRVOPC): Likewise.
10890 (ILL_PRVREG): Likewise.
10891 (ILL_COPROC): Likewise.
10892 (ILL_BADSTK): Likewise.
10893 (FPE_INTDIV): Likewise.
10894 (FPE_INTOVF): Likewise.
10895 (FPE_FLTDIV): Likewise.
10896 (FPE_FLTOVF): Likewise.
10897 (FPE_FLTUND): Likewise.
10898 (FPE_FLTRES): Likewise.
10899 (FPE_FLTINV): Likewise.
10900 (FPE_FLTSUB): Likewise.
10901 (SEGV_MAPERR): Likewise.
10902 (SEGV_ACCERR): Likewise.
10903 (BUS_ADRALN): Likewise.
10904 (BUS_ADRERR): Likewise.
10905 (BUS_OBJERR): Likewise.
10906 (BUS_MCEERR_AR): Likewise.
10907 (BUS_MCEERR_AO): Likewise.
10908 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10909 (TRAP_TRACE): Likewise.
10910 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10911 __USE_XOPEN2K8].
10912 (CLD_KILLED): Likewise.
10913 (CLD_DUMPED): Likewise.
10914 (CLD_TRAPPED): Likewise.
10915 (CLD_STOPPED): Likewise.
10916 (CLD_CONTINUED): Likewise.
10917 (POLL_IN): Likewise.
10918 (POLL_OUT): Likewise.
10919 (POLL_MSG): Likewise.
10920 (POLL_ERR): Likewise.
10921 (POLL_PRI): Likewise.
10922 (POLL_HUP): Likewise.
10923 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10924 (ILL_ILLOPN): Likewise.
10925 (ILL_ILLADR): Likewise.
10926 (ILL_ILLTRP): Likewise.
10927 (ILL_PRVOPC): Likewise.
10928 (ILL_PRVREG): Likewise.
10929 (ILL_COPROC): Likewise.
10930 (ILL_BADSTK): Likewise.
10931 (FPE_INTDIV): Likewise.
10932 (FPE_INTOVF): Likewise.
10933 (FPE_FLTDIV): Likewise.
10934 (FPE_FLTOVF): Likewise.
10935 (FPE_FLTUND): Likewise.
10936 (FPE_FLTRES): Likewise.
10937 (FPE_FLTINV): Likewise.
10938 (FPE_FLTSUB): Likewise.
10939 (SEGV_MAPERR): Likewise.
10940 (SEGV_ACCERR): Likewise.
10941 (BUS_ADRALN): Likewise.
10942 (BUS_ADRERR): Likewise.
10943 (BUS_OBJERR): Likewise.
10944 (BUS_MCEERR_AR): Likewise.
10945 (BUS_MCEERR_AO): Likewise.
10946 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10947 (TRAP_TRACE): Likewise.
10948 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10949 __USE_XOPEN2K8].
10950 (CLD_KILLED): Likewise.
10951 (CLD_DUMPED): Likewise.
10952 (CLD_TRAPPED): Likewise.
10953 (CLD_STOPPED): Likewise.
10954 (CLD_CONTINUED): Likewise.
10955 (POLL_IN): Likewise.
10956 (POLL_OUT): Likewise.
10957 (POLL_MSG): Likewise.
10958 (POLL_ERR): Likewise.
10959 (POLL_PRI): Likewise.
10960 (POLL_HUP): Likewise.
10961 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10962 (ILL_ILLOPN): Likewise.
10963 (ILL_ILLADR): Likewise.
10964 (ILL_ILLTRP): Likewise.
10965 (ILL_PRVOPC): Likewise.
10966 (ILL_PRVREG): Likewise.
10967 (ILL_COPROC): Likewise.
10968 (ILL_BADSTK): Likewise.
10969 (ILL_DBLFLT): Likewise.
10970 (ILL_HARDWALL): Likewise.
10971 (FPE_INTDIV): Likewise.
10972 (FPE_INTOVF): Likewise.
10973 (FPE_FLTDIV): Likewise.
10974 (FPE_FLTOVF): Likewise.
10975 (FPE_FLTUND): Likewise.
10976 (FPE_FLTRES): Likewise.
10977 (FPE_FLTINV): Likewise.
10978 (FPE_FLTSUB): Likewise.
10979 (SEGV_MAPERR): Likewise.
10980 (SEGV_ACCERR): Likewise.
10981 (BUS_ADRALN): Likewise.
10982 (BUS_ADRERR): Likewise.
10983 (BUS_OBJERR): Likewise.
10984 (BUS_MCEERR_AR): Likewise.
10985 (BUS_MCEERR_AO): Likewise.
10986 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10987 (TRAP_TRACE): Likewise.
10988 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10989 __USE_XOPEN2K8].
10990 (CLD_KILLED): Likewise.
10991 (CLD_DUMPED): Likewise.
10992 (CLD_TRAPPED): Likewise.
10993 (CLD_STOPPED): Likewise.
10994 (CLD_CONTINUED): Likewise.
10995 (POLL_IN): Likewise.
10996 (POLL_OUT): Likewise.
10997 (POLL_MSG): Likewise.
10998 (POLL_ERR): Likewise.
10999 (POLL_PRI): Likewise.
11000 (POLL_HUP): Likewise.
11001 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11002 (ILL_ILLOPN): Likewise.
11003 (ILL_ILLADR): Likewise.
11004 (ILL_ILLTRP): Likewise.
11005 (ILL_PRVOPC): Likewise.
11006 (ILL_PRVREG): Likewise.
11007 (ILL_COPROC): Likewise.
11008 (ILL_BADSTK): Likewise.
11009 (FPE_INTDIV): Likewise.
11010 (FPE_INTOVF): Likewise.
11011 (FPE_FLTDIV): Likewise.
11012 (FPE_FLTOVF): Likewise.
11013 (FPE_FLTUND): Likewise.
11014 (FPE_FLTRES): Likewise.
11015 (FPE_FLTINV): Likewise.
11016 (FPE_FLTSUB): Likewise.
11017 (SEGV_MAPERR): Likewise.
11018 (SEGV_ACCERR): Likewise.
11019 (BUS_ADRALN): Likewise.
11020 (BUS_ADRERR): Likewise.
11021 (BUS_OBJERR): Likewise.
11022 (BUS_MCEERR_AR): Likewise.
11023 (BUS_MCEERR_AO): Likewise.
11024 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11025 (TRAP_TRACE): Likewise.
11026 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11027 __USE_XOPEN2K8].
11028 (CLD_KILLED): Likewise.
11029 (CLD_DUMPED): Likewise.
11030 (CLD_TRAPPED): Likewise.
11031 (CLD_STOPPED): Likewise.
11032 (CLD_CONTINUED): Likewise.
11033 (POLL_IN): Likewise.
11034 (POLL_OUT): Likewise.
11035 (POLL_MSG): Likewise.
11036 (POLL_ERR): Likewise.
11037 (POLL_PRI): Likewise.
11038 (POLL_HUP): Likewise.
11039 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11040 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11041
bc61d27c
JM
11042 [BZ #16670]
11043 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11044 before #include of <time.h>.
11045 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11046 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11047 (test-xfail-UNIX98/sched.h/conform): Likewise.
11048
302949e2
MS
110492014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11050
11051 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11052 error absence of trapping exception support.
11053 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11054
a00f522a
JM
110552014-03-07 Joseph Myers <joseph@codesourcery.com>
11056
6f99f280
JM
11057 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11058 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11059 * timezone/Makefile (testdata): Move definition above include of
11060 Rules.
11061 (test-zones): New variable.
11062 (tests-special): Add zone files.
11063 (build-testdata): Use $(evaluate-test).
11064
0b20a9e8
JM
11065 * elf/Makefile (tests-special): Rename tests to end with .out.
11066 ($(objpfx)noload-mem): Likewise.
11067 ($(objpfx)tst-leaks1-mem): Likewise.
11068 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11069 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11070 $(objpfx)test-iconvconfig.out.
11071 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11072 set -e inside subshell and redirect output to file.
11073 * iconvdata/Makefile (generated): Rename tests to end with .out.
11074 Correct type.
11075 (tests-special): Rename tests to end with .out.
11076 ($(objpfx)mtrace-tst-loading): Likewise.
11077 * intl/Makefile (generated): Likewise.
11078 (tests-special): Likewise.
11079 ($(objpfx)mtrace-tst-gettext): Likewise.
11080 * misc/Makefile (generated): Likewise.
11081 (tests-special): Likewise.
11082 ($(objpfx)tst-error1-mem): Likewise.
11083 * nptl/Makefile (tests-special): Likewise.
11084 ($(objpfx)tst-stack3-mem): Likewise.
11085 (generated): Likewise.
11086 * posix/Makefile (generated): Likewise.
11087 (tests-special): Likewise.
11088 (xtests-special): Likewise.
11089 ($(objpfx)tst-fnmatch-mem): Likewise.
11090 ($(objpfx)bug-regex2-mem): Likewise.
11091 ($(objpfx)bug-regex14-mem): Likewise.
11092 ($(objpfx)bug-regex21-mem): Likewise.
11093 ($(objpfx)bug-regex31-mem): Likewise.
11094 ($(objpfx)tst-vfork3-mem): Likewise.
11095 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11096 ($(objpfx)tst-pcre-mem): Likewise.
11097 ($(objpfx)tst-boost-mem): Likewise.
11098 ($(objpfx)bug-ga2-mem): Likewise.
11099 ($(objpfx)bug-glob2-mem): Likewise.
11100 * resolv/Makefile (generate): Likewise.
11101 (tests-special): Likewise.
11102 (xtests-special): Likewise.
11103 (generated): Likewise.
11104 ($(objpfx)mtrace-tst-leaks): Likewise.
11105 ($(objpfx)mtrace-tst-leaks2): Likewise.
11106
265d52ab
JM
11107 * scripts/merge-test-results.sh: New file.
11108 * Makefile (tests-special-notdir): New variable.
11109 (tests): Run merge-test-results.sh.
11110 (xtests): Likewise.
11111 * Rules (tests-special-notdir): New variable.
11112 (xtests-special-notdir): Likewise.
11113 (tests): Run merge-test-results.sh
11114 (xtests): Likewise.
11115
54ee292d
JM
11116 * Makeconfig (test-xfail-name): New variable.
11117 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11118 compute variable name for expected failures.
11119 * conform/Makefile (conformtest-headers-data): New variable.
11120 (conformtest-standards): Likewise.
11121 (conformtest-headers-ISO): Likewise.
11122 (conformtest-headers-ISO99): Likewise.
11123 (conformtest-headers-ISO11): Likewise.
11124 (conformtest-headers-POSIX): Likewise.
11125 (conformtest-headers-XPG3): Likewise.
11126 (conformtest-headers-XPG4): Likewise.
11127 (conformtest-headers-UNIX98): Likewise.
11128 (conformtest-headers-XOPEN2K): Likewise.
11129 (conformtest-headers-POSIX2008): Likewise.
11130 (conformtest-headers-XOPEN2K8): Likewise.
11131 (conformtest-header-list-base): Likewise.
11132 (conformtest-header-list-tests): Likewise.
11133 (conformtest-header-base): Likewise.
11134 (conformtest-header-tests): Likewise.
11135 (tests-special): Add $(conformtest-header-list-tests). If
11136 [$(fast-check) && !$(cross-compiling)], add
11137 $(conformtest-header-tests) instead of
11138 $(objpfx)run-conformtest.out.
11139 (generated): Add $(conformtest-header-list-base). If
11140 [$(fast-check) && !$(cross-compiling)], add
11141 $(conformtest-header-base). Remove previous setting.
11142 ($(conformtest-header-list-tests)): New target.
11143 (test-xfail-run-conformtest): Remove variable.
11144 ($(objpfx)run-conformtest.out): Remove target.
11145 (test-xfail-ISO11/complex.h/conform): New variable.
11146 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11147 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11148 (test-xfail-XPG3/varargs.h/conform): Likewise.
11149 (test-xfail-XPG4/varargs.h/conform): Likewise.
11150 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11151 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11152 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11153 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11154 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11155 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11156 (test-xfail-XPG3/ftw.h/conform): Likewise.
11157 (test-xfail-XPG3/grp.h/conform): Likewise.
11158 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11159 (test-xfail-XPG3/limits.h/conform): Likewise.
11160 (test-xfail-XPG3/pwd.h/conform): Likewise.
11161 (test-xfail-XPG3/search.h/conform): Likewise.
11162 (test-xfail-XPG3/signal.h/conform): Likewise.
11163 (test-xfail-XPG3/stdio.h/conform): Likewise.
11164 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11165 (test-xfail-XPG3/string.h/conform): Likewise.
11166 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11167 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11168 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11169 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11170 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11171 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11172 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11173 (test-xfail-XPG3/termios.h/conform): Likewise.
11174 (test-xfail-XPG3/time.h/conform): Likewise.
11175 (test-xfail-XPG3/unistd.h/conform): Likewise.
11176 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11177 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11178 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11179 (test-xfail-XPG4/netdb.h/conform): Likewise.
11180 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11181 (test-xfail-XPG4/signal.h/conform): Likewise.
11182 (test-xfail-XPG4/stdio.h/conform): Likewise.
11183 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11184 (test-xfail-XPG4/stropts.h/conform): Likewise.
11185 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11186 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11187 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11188 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11189 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11190 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11191 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11192 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11193 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11194 (test-xfail-XPG4/termios.h/conform): Likewise.
11195 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11196 (test-xfail-XPG4/unistd.h/conform): Likewise.
11197 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11198 (test-xfail-POSIX/sched.h/conform): Likewise.
11199 (test-xfail-POSIX/signal.h/conform): Likewise.
11200 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11201 (test-xfail-POSIX/tar.h/conform): Likewise.
11202 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11203 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11204 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11205 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11206 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11207 (test-xfail-UNIX98/sched.h/conform): Likewise.
11208 (test-xfail-UNIX98/signal.h/conform): Likewise.
11209 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11210 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11211 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11212 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11213 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11214 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11215 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11216 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11217 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11218 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11219 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11220 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11221 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11222 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11223 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11224 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11225 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11226 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11227 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11228 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11229 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11230 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11231 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11232 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11233 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11234 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11235 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11236 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11237 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11238 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11239 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11240 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11241 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11242 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11243 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11244 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11245 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11246 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11247 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11248 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11249 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11250 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11251 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11252 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11253 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11254 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11255 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11256 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11257 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11258 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11259 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11260 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11261 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11262 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11263 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11264 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11265 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11266 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11267 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11268 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11269 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11270 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11271 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11272 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11273 (conformtest-cc-flags): Likewise.
11274 ($(conformtest-header-tests): New target.
11275 * conform/check-header-lists.sh: New file.
11276 * conform/run-conformtest.sh: Remove.
11277
a00f522a
JM
11278 * conform/conformtest.pl: Allow ' and \ in values given for
11279 constants.
11280 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11281 inclusion.
11282 [POSIX] (sys/types.h): Likewise.
11283 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11284 inclusion.
11285 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11286 inclusion.
11287 * conform/data/signal.h-data (SIGIO): Remove expectation.
11288 [XPG3] (SIGBUS): Do not expect.
11289 [POSIX || XPG3] (SIGPOLL): Likewise.
11290 [POSIX || XPG3] (SIGPROF): Likewise.
11291 [POSIX || XPG3] (SIGSYS): Likewise.
11292 [XPG3] (SIGTRAP): Likewise.
11293 [POSIX || XPG3] (SIGURG): Likewise.
11294 [POSIX || XPG3] (SIGVTALRM): Likewise.
11295 [POSIX || XPG3] (SIGXCPU): Likewise.
11296 [POSIX || XPG3] (SIGXFSZ): Likewise.
11297 [POSIX] (SA_SIGINFO): Expect.
11298 [XPG3] (siginfo_t): Do not expect type or contents.
11299 [POSIX] (si_pid): Do not expect element.
11300 [POSIX] (si_uid): Likewise.
11301 [POSIX] (si_addr): Likewise.
11302 [POSIX] (si_status): Likewise.
11303 [POSIX] (si_band): Likewise.
11304 [XPG4] (si_value): Likewise.
11305 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11306 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11307 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11308 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11309 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11310 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11311 [POSIX || XPG3] (ILL_COPROC): Likewise.
11312 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11313 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11314 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11315 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11316 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11317 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11318 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11319 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11320 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11321 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11322 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11323 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11324 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11325 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11326 [POSIX || XPG3] (CLD_EXITED): Likewise.
11327 [POSIX || XPG3] (CLD_KILLED): Likewise.
11328 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11329 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11330 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11331 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11332 [POSIX || XPG3] (POLL_IN): Likewise.
11333 [POSIX || XPG3] (POLL_OUT): Likewise.
11334 [POSIX || XPG3] (POLL_MSG): Likewise.
11335 [POSIX || XPG3] (POLL_ERR): Likewise.
11336 [POSIX || XPG3] (POLL_PRI): Likewise.
11337 [POSIX || XPG3] (POLL_HUP): Likewise.
11338 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11339 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11340 (SIG*): Do not allow.
11341 [XPG3] (si_*): Likewise.
11342 [XPG3] (SI_*): Likewise.
11343 [XPG3 || XPG4] (sigev_*): Likewise.
11344 [XPG3 || XPG4] (SIGEV_*): Likewise.
11345 [XPG3 || XPG4] (sival_*): Likewise.
11346 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11347 [POSIX || XPG3] (BUS_*): Likewise.
11348 [POSIX || XPG3] (CLD_*): Likewise.
11349 [POSIX || XPG3] (FPE_*): Likewise.
11350 [POSIX || XPG3] (ILL_*): Likewise.
11351 [POSIX || XPG3] (POLL_*): Likewise.
11352 [POSIX || XPG3] (SEGV_*): Likewise.
11353 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11354 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11355 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11356 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11357 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11358 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11359 Specify type and value.
11360 (TVERSLEN): Likewise.
11361 (REGTYPE): Likewise.
11362 (AREGTYPE): Likewise.
11363 (LNKTYPE): Likewise.
11364 (SYMTYPE): Likewise.
11365 (CHRTYPE): Likewise.
11366 (BLKTYPE): Likewise.
11367 (DIRTYPE): Likewise.
11368 (FIFOTYPE): Likewise.
11369 (CONTTYPE): Likewise.
11370 (TSUID): Likewise.
11371 (TSGID): Likewise.
11372 (TSVTX): Likewise.
11373 (TUREAD): Likewise.
11374 (TUWRITE): Likewise.
11375 (TUEXEC): Likewise.
11376 (TGREAD): Likewise.
11377 (TGWRITE): Likewise.
11378 (TGEXEC): Likewise.
11379 (TOREAD): Likewise.
11380 (TOWRITE): Likewise.
11381 (TOEXEC): Likewise.
11382 [POSIX] (TSVTX): Expect constant.
11383
aa97dee1
JM
113842014-03-06 Joseph Myers <joseph@codesourcery.com>
11385
f214606a
JM
11386 * Makefile (tests): Change dependencies to ....
11387 (tests-special): ... additions to this variable.
11388 (tests): Depend on $(tests-special).
11389 * Makerules (check-abi-list): New variable.
11390 (check-abi): Depend on $(check-abi-list).
11391 [$(subdir) = elf] (tests-special): Add
11392 $(objpfx)check-abi-libc.out.
11393 [$(build-shared) = yes && subdir] (tests-special): Add
11394 $(check-abi-list).
11395 [$(build-shared) = yes && subdir] (tests): Do not depend on
11396 check-abi.
11397 * Rules (tests): Depend on $(tests-special).
11398 (xtests): Depend on $(xtests-special).
11399 * catgets/Makefile (tests): Change dependencies to ....
11400 (tests-special): ... additions to this variable.
11401 * conform/Makefile (tests): Change dependencies to ....
11402 (tests-special): ... additions to this variable.
11403 * elf/Makefile (tests): Change dependencies to ....
11404 (tests-special): ... additions to this variable.
11405 * grp/Makefile (tests): Change dependencies to ....
11406 (tests-special): ... additions to this variable.
11407 * iconv/Makefile (xtests): Change dependencies to ....
11408 (xtests-special): ... additions to this variable.
11409 * iconvdata/Makefile (tests): Change dependencies to ....
11410 (tests-special): ... additions to this variable.
11411 * intl/Makefile (tests): Change dependencies to ....
11412 (tests-special): ... additions to this variable. Also add
11413 $(objpfx)tst-gettext.out.
11414 * io/Makefile (tests): Change dependencies to ....
11415 (tests-special): ... additions to this variable.
11416 * libio/Makefile (tests): Change dependencies to ....
11417 (tests-special): ... additions to this variable.
11418 * malloc/Makefile (tests): Change dependencies to ....
11419 (tests-special): ... additions to this variable.
11420 * misc/Makefile (tests): Change dependencies to ....
11421 (tests-special): ... additions to this variable.
11422 * nptl/Makefile (tests): Change dependencies to ....
11423 (tests-special): ... additions to this variable.
11424 * nptl_db/Makefile (tests): Change dependencies to ....
11425 (tests-special): ... additions to this variable.
11426 * posix/Makefile (tests): Change dependencies to ....
11427 (tests-special): ... additions to this variable.
11428 (xtests): Change dependencies to ....
11429 (xtests-special): ... additions to this variable.
11430 * resolv/Makefile (tests): Change dependencies to ....
11431 (tests-special): ... additions to this variable.
11432 (xtests): Change dependencies to ....
11433 (xtests-special): ... additions to this variable.
11434 * stdio-common/Makefile (tests): Change dependencies to ....
11435 (tests-special): ... additions to this variable.
11436 (do-tst-unbputc): Remove target.
11437 (do-tst-printf): Likewise.
11438 * stdlib/Makefile (tests): Change dependencies to ....
11439 (tests-special): ... additions to this variable.
11440 * string/Makefile (tests): Change dependencies to ....
11441 (tests-special): ... additions to this variable.
11442 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11443 (tests-special): ... additions to this variable.
11444
81700b53
JM
11445 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11446 whole file.
11447 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11448 whole file.
11449 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11450 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11451
2ea18461
JM
11452 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11453 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11454 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11455 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11456 * conform/data/libgen.h-data [XPG3]: Likewise.
11457 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11458 * conform/data/ndbm.h-data [XPG3]: Likewise.
11459 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11460 * conform/data/netdb.h-data [XPG3]: Likewise.
11461 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11462 * conform/data/poll.h-data [XPG3]: Likewise.
11463 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11464 * conform/data/strings.h-data [XPG3]: Likewise.
11465 * conform/data/stropts.h-data [XPG3]: Likewise.
11466 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11467 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11468 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11469 Likewise.
11470 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11471 * conform/data/sys/time.h-data [XPG3]: Likewise.
11472 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11473 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11474 * conform/data/sys/un.h-data [XPG3]: Likewise.
11475 * conform/data/syslog.h-data [XPG3]: Likewise.
11476 * conform/data/ucontext.h-data [XPG3]: Likewise.
11477 * conform/data/utmpx.h-data [XPG3]: Likewise.
11478 * conform/data/varargs.h-data [UNIX98]: Enable file.
11479
355bc986
JM
11480 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11481
215db402
JM
11482 * math/libm-test.inc (struct test_f_f_data): Move expected results
11483 into structure for each rounding mode.
11484 (struct test_ff_f_data): Likewise.
11485 (struct test_ff_f_data_nexttoward): Likewise.
11486 (struct test_fi_f_data): Likewise.
11487 (struct test_fl_f_data): Likewise.
11488 (struct test_if_f_data): Likewise.
11489 (struct test_fff_f_data): Likewise.
11490 (struct test_c_f_data): Likewise.
11491 (struct test_f_f1_data): Likewise.
11492 (struct test_fF_f1_data): Likewise.
11493 (struct test_ffI_f1_data): Likewise.
11494 (struct test_c_c_data): Likewise.
11495 (struct test_cc_c_data): Likewise.
11496 (struct test_f_i_data): Likewise.
11497 (struct test_ff_i_data): Likewise.
11498 (struct test_f_l_data): Likewise.
11499 (struct test_f_L_data): Likewise.
11500 (struct test_fFF_11_data): Likewise.
11501 (RM_): New macro.
11502 (RM_FE_DOWNWARD): Likewise.
11503 (RM_FE_TONEAREST): Likewise.
11504 (RM_FE_TOWARDZERO): Likewise.
11505 (RM_FE_UPWARD): Likewise.
11506 (RUN_TEST_LOOP_f_f): Update references to expected results.
11507 (RUN_TEST_LOOP_2_f): Likewise.
11508 (RUN_TEST_LOOP_fff_f): Likewise.
11509 (RUN_TEST_LOOP_c_f): Likewise.
11510 (RUN_TEST_LOOP_f_f1): Likewise.
11511 (RUN_TEST_LOOP_fF_f1): Likewise.
11512 (RUN_TEST_LOOP_fI_f1): Likewise.
11513 (RUN_TEST_LOOP_ffI_f1): Likewise.
11514 (RUN_TEST_LOOP_c_c): Likewise.
11515 (RUN_TEST_LOOP_cc_c): Likewise.
11516 (RUN_TEST_LOOP_f_i): Likewise.
11517 (RUN_TEST_LOOP_f_i_tg): Likewise.
11518 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11519 (RUN_TEST_LOOP_f_b): Likewise.
11520 (RUN_TEST_LOOP_f_b_tg): Likewise.
11521 (RUN_TEST_LOOP_f_l): Likewise.
11522 (RUN_TEST_LOOP_f_L): Likewise.
11523 (RUN_TEST_LOOP_fFF_11): Likewise.
11524 * math/gen-libm-test.pl (parse_args): Output four copies of
11525 expected results for each test.
11526
67737b8f
JM
11527 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11528 (__ASSUME_UTIMES): Remove.
11529 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11530 (__ASSUME_UTIMES): Likewise.
11531
aa97dee1
JM
11532 * math/gen-auto-libm-tests.c: Update comment on output format.
11533 (output_for_one_input_case): Generate before-rounding and
11534 after-rounding information as conditions on output flags not
11535 floating-point format.
11536 * math/auto-libm-test-out: Regenerated.
11537 * math/gen-libm-test.pl (cond_value): New function.
11538 (or_cond_value): Use cond_value.
11539 (generate_testfile): Handle conditional exceptions.
11540
e6b6a857
JM
115412014-03-05 Joseph Myers <joseph@codesourcery.com>
11542
2f0a0f44
JM
11543 * math/libm-test.inc (max_valid_error): New variable.
11544 (init_max_error): Take new argument specifying whether function
11545 results are exactly determined. Set max_valid_error and bound
11546 other variables for errors based on this argument.
11547 (set_max_error): Do not record results above max_valid_error.
11548 (check_float_internal): Only accept errors of up to 0.5ulps if
11549 also at most max_valid_error.
11550 (START): Take new argument EXACT and pass it to init_max_error.
11551 (acos_test): Update call to START.
11552 (acos_test_tonearest): Likewise.
11553 (acos_test_towardzero): Likewise.
11554 (acos_test_downward): Likewise.
11555 (acos_test_upward): Likewise.
11556 (acosh_test): Likewise.
11557 (asin_test): Likewise.
11558 (asin_test_tonearest): Likewise.
11559 (asin_test_towardzero): Likewise.
11560 (asin_test_downward): Likewise.
11561 (asin_test_upward): Likewise.
11562 (asinh_test): Likewise.
11563 (atan_test): Likewise.
11564 (atanh_test): Likewise.
11565 (atan2_test): Likewise.
11566 (cabs_test): Likewise.
11567 (cacos_test): Likewise.
11568 (cacosh_test): Likewise.
11569 (carg_test): Likewise.
11570 (casin_test): Likewise.
11571 (casinh_test): Likewise.
11572 (catan_test): Likewise.
11573 (catanh_test): Likewise.
11574 (cbrt_test): Likewise.
11575 (ccos_test): Likewise.
11576 (ccosh_test): Likewise.
11577 (ceil_test): Likewise.
11578 (cexp_test): Likewise.
11579 (cimag_test): Likewise.
11580 (clog_test): Likewise.
11581 (clog10_test): Likewise.
11582 (conj_test): Likewise.
11583 (copysign_test): Likewise.
11584 (cos_test): Likewise.
11585 (cos_test_tonearest): Likewise.
11586 (cos_test_towardzero): Likewise.
11587 (cos_test_downward): Likewise.
11588 (cos_test_upward): Likewise.
11589 (cosh_test): Likewise.
11590 (cosh_test_tonearest): Likewise.
11591 (cosh_test_towardzero): Likewise.
11592 (cosh_test_downward): Likewise.
11593 (cosh_test_upward): Likewise.
11594 (cpow_test): Likewise.
11595 (cproj_test): Likewise.
11596 (creal_test): Likewise.
11597 (csin_test): Likewise.
11598 (csinh_test): Likewise.
11599 (csqrt_test): Likewise.
11600 (ctan_test): Likewise.
11601 (ctan_test_tonearest): Likewise.
11602 (ctan_test_towardzero): Likewise.
11603 (ctan_test_downward): Likewise.
11604 (ctan_test_upward): Likewise.
11605 (ctanh_test): Likewise.
11606 (ctanh_test_tonearest): Likewise.
11607 (ctanh_test_towardzero): Likewise.
11608 (ctanh_test_downward): Likewise.
11609 (ctanh_test_upward): Likewise.
11610 (erf_test): Likewise.
11611 (erfc_test): Likewise.
11612 (exp_test): Likewise.
11613 (exp_test_tonearest): Likewise.
11614 (exp_test_towardzero): Likewise.
11615 (exp_test_downward): Likewise.
11616 (exp_test_upward): Likewise.
11617 (exp10_test): Likewise.
11618 (exp10_test_tonearest): Likewise.
11619 (exp10_test_towardzero): Likewise.
11620 (exp10_test_downward): Likewise.
11621 (exp10_test_upward): Likewise.
11622 (pow10_test): Likewise.
11623 (exp2_test): Likewise.
11624 (expm1_test): Likewise.
11625 (expm1_test_tonearest): Likewise.
11626 (expm1_test_towardzero): Likewise.
11627 (expm1_test_downward): Likewise.
11628 (expm1_test_upward): Likewise.
11629 (fabs_test): Likewise.
11630 (fdim_test): Likewise.
11631 (floor_test): Likewise.
11632 (fma_test): Likewise.
11633 (fma_test_towardzero): Likewise.
11634 (fma_test_downward): Likewise.
11635 (fma_test_upward): Likewise.
11636 (fmax_test): Likewise.
11637 (fmin_test): Likewise.
11638 (fmod_test): Likewise.
11639 (fpclassify_test): Likewise.
11640 (frexp_test): Likewise.
11641 (hypot_test): Likewise.
11642 (ilogb_test): Likewise.
11643 (isfinite_test): Likewise.
11644 (finite_test): Likewise.
11645 (isgreater_test): Likewise.
11646 (isgreaterequal_test): Likewise.
11647 (isinf_test): Likewise.
11648 (isless_test): Likewise.
11649 (islessequal_test): Likewise.
11650 (islessgreater_test): Likewise.
11651 (isnan_test): Likewise.
11652 (isnormal_test): Likewise.
11653 (issignaling_test): Likewise.
11654 (isunordered_test): Likewise.
11655 (j0_test): Likewise.
11656 (j1_test): Likewise.
11657 (jn_test): Likewise.
11658 (ldexp_test): Likewise.
11659 (lgamma_test): Likewise.
11660 (gamma_test): Likewise.
11661 (lrint_test): Likewise.
11662 (lrint_test_tonearest): Likewise.
11663 (lrint_test_towardzero): Likewise.
11664 (lrint_test_downward): Likewise.
11665 (lrint_test_upward): Likewise.
11666 (llrint_test): Likewise.
11667 (llrint_test_tonearest): Likewise.
11668 (llrint_test_towardzero): Likewise.
11669 (llrint_test_downward): Likewise.
11670 (llrint_test_upward): Likewise.
11671 (log_test): Likewise.
11672 (log10_test): Likewise.
11673 (log1p_test): Likewise.
11674 (log2_test): Likewise.
11675 (logb_test): Likewise.
11676 (logb_test_downward): Likewise.
11677 (lround_test): Likewise.
11678 (llround_test): Likewise.
11679 (modf_test): Likewise.
11680 (nearbyint_test): Likewise.
11681 (nextafter_test): Likewise.
11682 (nexttoward_test): Likewise.
11683 (pow_test): Likewise.
11684 (pow_test_tonearest): Likewise.
11685 (pow_test_towardzero): Likewise.
11686 (pow_test_downward): Likewise.
11687 (pow_test_upward): Likewise.
11688 (remainder_test): Likewise.
11689 (drem_test): Likewise.
11690 (remainder_test_tonearest): Likewise.
11691 (drem_test_tonearest): Likewise.
11692 (remainder_test_towardzero): Likewise.
11693 (drem_test_towardzero): Likewise.
11694 (remainder_test_downward): Likewise.
11695 (drem_test_downward): Likewise.
11696 (remainder_test_upward): Likewise.
11697 (drem_test_upward): Likewise.
11698 (remquo_test): Likewise.
11699 (rint_test): Likewise.
11700 (rint_test_tonearest): Likewise.
11701 (rint_test_towardzero): Likewise.
11702 (rint_test_downward): Likewise.
11703 (rint_test_upward): Likewise.
11704 (round_test): Likewise.
11705 (scalb_test): Likewise.
11706 (scalbn_test): Likewise.
11707 (scalbln_test): Likewise.
11708 (signbit_test): Likewise.
11709 (sin_test): Likewise.
11710 (sin_test_tonearest): Likewise.
11711 (sin_test_towardzero): Likewise.
11712 (sin_test_downward): Likewise.
11713 (sin_test_upward): Likewise.
11714 (sincos_test): Likewise.
11715 (sinh_test): Likewise.
11716 (sinh_test_tonearest): Likewise.
11717 (sinh_test_towardzero): Likewise.
11718 (sinh_test_downward): Likewise.
11719 (sinh_test_upward): Likewise.
11720 (sqrt_test): Likewise.
11721 (sqrt_test_tonearest): Likewise.
11722 (sqrt_test_towardzero): Likewise.
11723 (sqrt_test_downward): Likewise.
11724 (sqrt_test_upward): Likewise.
11725 (tan_test): Likewise.
11726 (tan_test_tonearest): Likewise.
11727 (tan_test_towardzero): Likewise.
11728 (tan_test_downward): Likewise.
11729 (tan_test_upward): Likewise.
11730 (tanh_test): Likewise.
11731 (tgamma_test): Likewise.
11732 (trunc_test): Likewise.
11733 (y0_test): Likewise.
11734 (y1_test): Likewise.
11735 (yn_test): Likewise.
11736 (significand_test): Likewise.
11737
e6b6a857
JM
11738 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11739 individual tests in comment.
11740 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11741 (prev_max_error): New variable.
11742 (prev_real_max_error): Likewise.
11743 (prev_imag_max_error): Likewise.
11744 (compare_ulp_data): Don't refer to test names in comment.
11745 (find_test_ulps): Remove function.
11746 (find_function_ulps): Likewise.
11747 (find_complex_function_ulps): Likewise.
11748 (init_max_error): Take function name as argument. Look up ulps
11749 for that function.
11750 (print_ulps): Remove function.
11751 (print_max_error): Use prev_max_error instead of calling
11752 find_function_ulps.
11753 (print_complex_max_error): Use prev_real_max_error and
11754 prev_imag_max_error instead of calling find_complex_function_ulps.
11755 (check_float_internal): Take max_ulp parameter instead of calling
11756 find_test_ulps. Don't call print_ulps.
11757 (check_float): Update call to check_float_internal.
11758 (check_complex): Update calls to check_float_internal.
11759 (START): Pass argument to init_max_error.
11760 * math/gen-libm-test.pl (%results): Don't include "kind"
11761 information.
11762 (parse_ulps): Don't handle ulps of individual tests.
11763 (print_ulps_file): Likewise.
11764 (output_ulps): Likewise.
11765 * math/README.libm-test: Update.
11766 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11767 individual tests.
11768 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11769 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11770 * sysdeps/arm/libm-test-ulps: Likewise.
11771 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11772 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11773 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11774 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11775 * sysdeps/microblaze/libm-test-ulps: Likewise.
11776 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11777 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11779 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11780 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11781 * sysdeps/sh/libm-test-ulps: Likewise.
11782 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11783 * sysdeps/tile/libm-test-ulps: Likewise.
11784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11785
45adef3c
JM
117862014-03-04 Joseph Myers <joseph@codesourcery.com>
11787
11788 * math/libm-test.inc (print_complex_max_error): Check separately
11789 whether real and imaginary errors are within allowed range and
11790 pass 0 to print_complex_function_ulps instead of value within
11791 allowed range.
11792
000232b9
SP
117932014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11794
d4b17258
SP
11795 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11796 formatting.
11797 (get_handles_fopen): Likewise.
11798 (do_write_test): Likewise.
11799
091eff71
SP
11800 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11801
fa3cd248
SP
11802 * libio/fileops.c (do_ftell): Use cached offset when
11803 available.
11804 * libio/iofwide.c (do_ftell_wide): Likewise.
11805 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11806 _IO_file_attach.
11807 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11808
000232b9
SP
11809 [BZ #16532]
11810 * libio/libioP.h (get_file_offset): New function.
11811 * libio/fileops.c (get_file_offset): Likewise.
11812 (do_ftell): Likewise.
11813 (_IO_new_file_seekoff): Split out ftell logic.
11814 * libio/wfileops.c (do_ftell_wide): Likewise.
11815 (_IO_wfile_seekoff): Split out ftell logic.
11816 * libio/tst-ftell-active-handler.c: New test case.
11817 * libio/Makefile (tests): Add it.
11818
116f4d1a
RM
118192014-03-03 Roland McGrath <roland@hack.frob.com>
11820
11821 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11822 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11823
532a6035
SP
118242014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11825
11826 [BZ #16639]
11827 * nscd/connections.c (nscd_init): Call do_exit.
11828 (start_threads): Call do_exit and notify_parent.
11829 (begin_drop_privileges): Call do_exit.
11830 (finish_drop_privileges): Likewise.
11831 * nscd/selinux.c (preserve_capabilities): Likewise.
11832 (install_real_capabilities): Likewise.
11833 (nscd_selinux_enabled): Likewise.
11834 (avc_create_thread): Likewise.
11835 (avc_alloc_lock): Likewise.
11836 (nscd_avc_init): Likewise.
11837 * nscd/nscd.c (parent_fd): New static variable.
11838 (main): Create a pipe between parent and child processes.
11839 Skip closing parent_fd.
11840 (monitor_child): New function.
11841 (do_exit): Likewise.
11842 (notify_parent): Likewise.
11843 * nscd/nscd.h (notify_parent): Likewise.
11844 (do_exit): Likewise.
11845
d6285c9f
CD
118462014-03-03 Carlos O'Donell <carlos@redhat.com>
11847
11848 * malloc/malloc.c (__libc_calloc): Revert last change.
11849
2b85d2a0
AZ
118502014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11851
11852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11853
c7debbdf
RS
118542014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11855
11856 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11857 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11858 implementation.
11859 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11860 (__libc_ifunc_impl_list): Likewise.
11861 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11862 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11863 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11864 * string/strrchr.c: Define STRRCHR.
11865
235eed86
OB
118662014-02-28 Ondřej Bílka <neleai@seznam.cz>
11867
11868 * benchtest/bench-strtok.c (simple_strtok): Delete.
11869 (strtok_string): Use as benchmark.
11870 * string/strtok (STRTOK): New macro.
11871
8e25d1e7
CD
118722014-02-28 Carlos O'Donell <carlos@redhat.com>
11873
ef563f92
CD
11874 * manual/threads.texi: Add header and standard comments to all
11875 functions.
11876
8e25d1e7
CD
11877 * elf/dl-lookup.c (check_match): New function.
11878 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11879 (do_lookup_x): Remove nested function check_match. Use non-nested
11880 function check_match.
11881
ff71cc37
RM
118822014-02-28 Roland McGrath <roland@hack.frob.com>
11883
f08e9a26
RM
11884 * csu/Makefile (generated, before-compile): Use += rather than =.
11885 * catgets/Makefile (generated, generated-dirs): Likewise.
11886 * debug/Makefile (generated): Likewise.
11887 * dlfcn/Makefile (generated): Likewise.
11888 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11889 * iconvdata/Makefile (before-compile, generated): Likewise.
11890 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11891 * libio/Makefile (generated): Likewise.
11892 * malloc/Makefile (generated): Likewise.
11893 * manual/Makefile (generated, generated-dirs): Likewise.
11894 * misc/Makefile (generated): Likewise.
11895 * posix/Makefile (generated): Likewise.
11896 * resolv/Makefile (generated): Likewise.
11897 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11898 * timezone/Makefile (generated, generated-dirs): Likewise.
11899
ff71cc37
RM
11900 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11901
fe13a20c
AZ
119022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11903
57f41c40
AS
11904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11905 power8 implementation.
11906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11907 file: POWER8 llround ifunc implementation.
11908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11909 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11910 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11911 POWER8 llround implementation.
11912
57f41c40
AS
11913 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11914 power8 implementation.
11915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11916 file: POWER8 llrint ifunc implementation.
11917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11918 Add POWER8 implementation.
1ad8950a
AZ
11919 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11920 POWER8 llrint implementation.
11921
57f41c40
AS
11922 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11923 power8 implementation.
11924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11925 file: POWER8 finite ifunc implementation.
11926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11927 Add POWER8 implementation.
cac626d6
AZ
11928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11929 Likewise.
11930 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11931 POWER8 finite implementation.
11932 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11933
57f41c40
AS
11934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11935 power8 implementation.
11936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11937 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11939 POWER8 implementation.
11940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11941 Likewise.
57f41c40
AS
11942 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11943 isinf implementation.
4393fc11
AZ
11944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11945
57f41c40
AS
11946 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11947 (INIT_ARCH): Add hwcap2 initialization.
11948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11949 power8 implementation.
11950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11951 file: POWER8 isnan ifunc implementation.
487972ae
AZ
11952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11953 POWER8 implementation.
11954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11955 Likewise.
57f41c40
AS
11956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11957 isnan implementation.
487972ae
AZ
11958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11959
7d92b787
JY
119602014-02-27 Joey Ye <joey.ye@arm.com>
11961
11962 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11963 (_FP_NANFRAC_Q): Set to zero.
11964
1cadc858
SP
119652014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11966
11967 [BZ #16623]
11968 * math/auto-libm-test-in: New test inputs.
11969 * math/auto-libm-test-out: Regenerate.
11970 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11971 and DA.
11972 (__cos): Likewise.
11973 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11974
f8c17e79
JM
119752014-02-27 Joseph Myers <joseph@codesourcery.com>
11976
11977 * scripts/evaluate-test.sh: Take new argument indicating whether
11978 failure is expected.
11979 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11980 indicating whether failure is expected.
11981 * conform/Makefile (test-xfail-run-conformtest): New variable.
11982 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11983 level.
11984 * posix/Makefile (test-xfail-annexc): New variable.
11985 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11986
a5f891ac
JM
119872014-02-26 Joseph Myers <joseph@codesourcery.com>
11988
11989 * argp/Makefile: Include Makeconfig immediately after defining
11990 subdir.
11991 * assert/Makefile: Likewise.
11992 * benchtests/Makefile: Likewise.
11993 * catgets/Makefile: Likewise.
11994 * conform/Makefile: Likewise.
11995 * crypt/Makefile: Likewise.
11996 * csu/Makefile: Likewise.
11997 (all): Remove target.
11998 * ctype/Makefile: Include Makeconfig immediately after defining
11999 subdir.
12000 * debug/Makefile: Likewise.
12001 * dirent/Makefile: Likewise.
12002 * dlfcn/Makefile: Likewise.
12003 * gmon/Makefile: Likewise.
12004 * gnulib/Makefile: Likewise.
12005 * grp/Makefile: Likewise.
12006 * gshadow/Makefile: Likewise.
12007 * hesiod/Makefile: Likewise.
12008 * hurd/Makefile: Likewise.
12009 (all): Remove target.
12010 * iconvdata/Makefile: Include Makeconfig immediately after
12011 defining subdir.
12012 * inet/Makefile: Likewise.
12013 * intl/Makefile: Likewise.
12014 * io/Makefile: Likewise.
12015 * libio/Makefile: Likewise.
12016 (all): Remove target.
12017 * locale/Makefile: Include Makeconfig immediately after defining
12018 subdir.
12019 * login/Makefile: Likewise.
12020 * mach/Makefile: Likewise.
12021 (all): Remove target.
12022 * malloc/Makefile: Include Makeconfig immediately after defining
12023 subdir.
12024 (all): Remove target.
12025 * manual/Makefile: Include Makeconfig immediately after defining
12026 subdir.
12027 * math/Makefile: Likewise.
12028 * misc/Makefile: Likewise.
12029 * nis/Makefile: Likewise.
12030 * nss/Makefile: Likewise.
12031 * po/Makefile: Likewise.
12032 (all): Remove target.
12033 * posix/Makefile: Include Makeconfig immediately after defining
12034 subdir.
12035 * pwd/Makefile: Likewise.
12036 * resolv/Makefile: Likewise.
12037 * resource/Makefile: Likewise.
12038 * rt/Makefile: Likewise.
12039 * setjmp/Makefile: Likewise.
12040 * shadow/Makefile: Likewise.
12041 * signal/Makefile: Likewise.
12042 * socket/Makefile: Likewise.
12043 * soft-fp/Makefile: Likewise.
12044 * stdio-common/Makefile: Likewise.
12045 * stdlib/Makefile: Likewise.
12046 * streams/Makefile: Likewise.
12047 * string/Makefile: Likewise.
12048 * sunrpc/Makefile: Likewise.
12049 (all): Remove target.
12050 * sysvipc/Makefile: Include Makeconfig immediately after defining
12051 subdir.
12052 * termios/Makefile: Likewise.
12053 * time/Makefile: Likewise.
12054 * timezone/Makefile: Likewise.
12055 (all): Remove target.
12056 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12057 subdir.
12058 * wctype/Makefile: Likewise.
12059
5b456e9d
SE
120602014-02-26 Steve Ellcey <sellcey@mips.com>
12061
12062 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12063 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12064 (libc_feholdexcept_setround_mips): Ditto.
12065 (libc_feholdsetround): New.
12066 (libc_feholdsetroundf): New.
12067 (libc_feholdsetroundl): New.
12068 (libc_feupdateenv_test_mips): New.
12069 (libc_feupdateenv_test): New.
12070 (libc_feupdateenv_testf): New.
12071 (libc_feupdateenv_testl): New.
12072 (libc_feresetround): New.
12073 (libc_feresetroundf): New.
12074 (libc_feresetroundl): New.
12075 (libc_fetestexcept_mips): New.
12076 (libc_fetestexcept): New.
12077 (libc_fetestexceptf): New.
12078 (libc_fetestexceptl): New.
12079 (HAVE_RM_CTX): New.
12080 (libc_feholdexcept_setround_mips_ctx): New.
12081 (libc_feholdexcept_setround_ctx): New.
12082 (libc_feholdexcept_setroundf_ctx): New.
12083 (libc_feholdexcept_setroundl_ctx): New.
12084 (libc_fesetenv_mips_ctx): New.
12085 (libc_fesetenv_ctx): New.
12086 (libc_fesetenv_ctxf): New.
12087 (libc_fesetenv_ctxl): New.
12088 (libc_feupdateenv_mips_ctx): New.
12089 (libc_feupdateenv_ctx): New.
12090 (libc_feupdateenvf_ctx): New.
12091 (libc_feupdateenvl_ctx): New.
12092 (libc_feholdsetround_mips_ctx): New.
12093 (libc_feholdsetround_ctx): New.
12094 (libc_feholdsetroundf_ctx): New.
12095 (libc_feholdsetroundl_ctx): New.
12096 (libc_feresetround_mips_ctx): New.
12097 (libc_feresetround_ctx): New.
12098 (libc_feresetroundf_ctx): New.
12099 (libc_feresetroundl_ctx): New.
12100
085d0e35
CD
121012014-02-26 Carlos O'Donell <carlos@redhat.com>
12102
f067bf1f
CD
12103 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12104
085d0e35
CD
12105 * manual/ipc.texi: New file.
12106 * manual/Makefile (chapters): Add ipc.
12107 * manual/job.texi: Add "Inter-Process Communication" to next.
12108 * manual/process.texi: Add "Inter-Process Communication" to prev.
12109
86e58c08
AZ
121102014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12111
12112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12113
4248f0da
OB
121142014-02-26 Ondřej Bílka <neleai@seznam.cz>
12115
12116 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12117
cf822e3c
OB
12118 * manual/arith.texi: Fix spaces after sentences.
12119 * manual/charset.texi: Likewise.
12120 * manual/errno.texi: Likewise.
12121 * manual/install.texi: Likewise.
12122 * manual/llio.texi: Likewise.
12123 * manual/locale.texi: Likewise.
12124 * manual/maint.texi: Likewise.
12125 * manual/math.texi: Likewise.
12126 * manual/memory.texi: Likewise.
12127 * manual/message.texi: Likewise.
12128 * manual/probes.texi: Likewise.
12129 * manual/resource.texi: Likewise.
12130 * manual/signal.texi: Likewise.
12131 * manual/socket.texi: Likewise.
12132 * manual/stdio.texi: Likewise.
12133 * manual/string.texi: Likewise.
12134 * manual/time.texi: Likewise.
12135 * manual/users.texi: Likewise.
12136
ade40b10
CD
121372014-02-25 Carlos O'Donell <carlos@redhat.com>
12138
12139 [BZ #16632]
12140 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12141 _DEFAULT_SOURCE is defined.
12142
d0503676
CD
121432014-02-25 Ulrich Drepper <drepper@gmail.com>
12144 Carlos O'Donell <carlos@redhat.com>
12145
12146 [BZ #16613]
12147 * elf/dl-tls.c (_dl_count_modids): New function.
12148 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12149 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12150 audit library and increment generation counter.
12151 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12152 * elf/tst-audit9.c: New file.
12153 * elf/tst-auditmod9a.c: New file.
12154 * elf/tst-auditmod9b.c: New file.
12155 * elf/Makefile: Add rules to build and run tst-audit9.
12156
4cbf380c
FW
121572014-02-25 Florian Weimer <fweimer@redhat.com>
12158
12159 [BZ #15347]
12160 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12161
80a56cc3
WN
121622014-02-25 Will Newton <will.newton@linaro.org>
12163
12164 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12165 (__longjmp): Restore sp and lr before restoring callee
12166 saved registers. Add longjmp and longjmp_target
12167 SystemTap probe point.
12168 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12169 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12170 Define to zero to match jmpbuf layout.
12171 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12172 (__sigsetjmp): Save sp and lr before saving callee
12173 saved registers. Add setjmp SystemTap probe point.
12174
3ea0f74e
SL
121752014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12176
12177 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12178
b04acb26
AS
121792014-02-24 Andreas Schwab <schwab@suse.de>
12180
12181 [BZ #15804]
12182 * elf/pldd.c (wait_for_ptrace_stop): New function.
12183 (main): Call it after attaching.
12184
098ad55c
RM
121852014-02-22 Roland McGrath <roland@hack.frob.com>
12186
d4ec6ae1
RM
12187 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12188 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12189 Versions files is now verboten.
12190 * hurd/Versions (libc: GLIBC_2.0):
12191 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12192 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12193 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12194 * mach/Versions: Likewise.
12195
098ad55c
RM
12196 * csu/Versions: Remove unused %include.
12197 * resolv/Versions: Likewise.
12198
acd7f096
JM
121992014-02-21 Joseph Myers <joseph@codesourcery.com>
12200
f0881698
JM
12201 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12202 ($(objpfx)check-local-headers.out): Likewise.
12203 ($(objpfx)begin-end-check.out): Likewise.
12204 * Makerules (check-abi-%.out): Likewise.
12205 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12206 ($(objpfx)test2.cat): Likewise.
12207 ($(objpfx)de/libc.cat): Likewise.
12208 ($(objpfx)test-gencat.out): Likewise.
12209 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12210 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12211 ($(objpfx)noload-mem): Likewise.
12212 ($(objpfx)tst-pathopt.out): Likewise.
12213 ($(objpfx)tst-rtld-load-self.out): Likewise.
12214 ($(objpfx)tst-array1-cmp.out): Likewise.
12215 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12216 ($(objpfx)tst-array2-cmp.out): Likewise.
12217 ($(objpfx)tst-array3-cmp.out): Likewise.
12218 ($(objpfx)tst-array4-cmp.out): Likewise.
12219 ($(objpfx)tst-array5-cmp.out): Likewise.
12220 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12221 ($(objpfx)check-textrel.out): Likewise.
12222 ($(objpfx)check-execstack.out): Likewise.
12223 ($(objpfx)check-localplt.out): Likewise.
12224 ($(objpfx)order2-cmp.out): Likewise.
12225 ($(objpfx)tst-leaks1-mem): Likewise.
12226 ($(objpfx)tst-leaks1-static-mem): Likewise.
12227 ($(objpfx)tst-initorder-cmp.out): Likewise.
12228 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12229 ($(objpfx)tst-unused-dep.out): Likewise.
12230 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12231 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12232 * iconv/Makefile (test-iconvconfig): Likewise.
12233 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12234 ($(objpfx)iconv-test.out): Likewise.
12235 ($(objpfx)tst-tables.out): Likewise.
12236 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12237 ($(objpfx)tst-gettext.out): Likewise.
12238 ($(objpfx)tst-translit.out): Likewise.
12239 ($(objpfx)tst-gettext2.out): Likewise.
12240 ($(objpfx)tst-gettext4.out): Likewise.
12241 ($(objpfx)tst-gettext6.out): Likewise.
12242 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12243 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12244 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12245 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12246 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12247 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12248 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12249 ($(objpfx)wordexp-tst.out): Likewise.
12250 ($(objpfx)annexc.out): Likewise.
12251 ($(objpfx)tst-fnmatch-mem): Likewise.
12252 ($(objpfx)bug-regex2-mem): Likewise.
12253 ($(objpfx)bug-regex14-mem): Likewise.
12254 ($(objpfx)bug-regex21-mem): Likewise.
12255 ($(objpfx)bug-regex31-mem): Likewise.
12256 ($(objpfx)tst-vfork3-mem): Likewise.
12257 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12258 ($(objpfx)tst-pcre-mem): Likewise.
12259 ($(objpfx)tst-boost-mem): Likewise.
12260 ($(objpfx)tst-getconf.out): Likewise.
12261 ($(objpfx)bug-ga2-mem): Likewise.
12262 ($(objpfx)bug-glob2-mem): Likewise.
12263 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12264 ($(objpfx)mtrace-tst-leaks2): Likewise.
12265 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12266 ($(objpfx)tst-printf.out): Likewise.
12267 ($(objpfx)tst-setvbuf1.out): Likewise.
12268 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12269 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12270 ($(objpfx)tst-fmtmsg.out): Likewise.
12271 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12272 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12273
acd7f096
JM
12274 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12275 * bits/sigaction.h [__USE_MISC]: Likewise.
12276 * bits/waitstatus.h: Update #endif comments.
12277 * ctype/ctype.h: Likewise.
12278 * dirent/dirent.h: Likewise.
12279 [__USE_MISC]: Remove redundant conditionals.
12280 * grp/grp.h: Update #endif comments.
12281 [__USE_GNU]: Remove redundant conditionals.
12282 [__USE_MISC]: Likewise.
12283 * inet/netinet/in.h [__USE_GNU]: Likewise.
12284 * io/sys/stat.h [__USE_MISC]: Likewise.
12285 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12286 * libio/bits/stdio.h: Update #endif comments.
12287 [__USE_MISC]: Remove redundant conditionals.
12288 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12289 * libio/stdio.h: Update #endif comments.
12290 [__USE_MISC]: Remove redundant conditionals.
12291 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12292 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12293 * math/math.h: Update #else and #endif comments.
12294 [__USE_MISC]: Remove redundant conditionals.
12295 * misc/sys/uio.h: Update #endif comments.
12296 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12297 * posix/glob.h [__USE_MISC]: Likewise.
12298 * posix/sys/types.h: Update #endif comments.
12299 [__USE_MISC]: Remove redundant conditionals.
12300 * posix/sys/wait.h: Update #endif comments.
12301 [__USE_MISC]: Remove redundant conditionals.
12302 * posix/unistd.h: Update #endif comments.
12303 [__USE_MISC]: Remove redundant conditionals.
12304 * pwd/pwd.h [__USE_GNU]: Likewise.
12305 [__USE_MISC]: Likewise.
12306 * resolv/netdb.h [__USE_GNU]: Likewise.
12307 * signal/signal.h: Update #endif comments.
12308 [__USE_MISC]: Remove redundant conditionals.
12309 * stdlib/stdlib.h: Update #else and #endif comments.
12310 [__USE_MISC]: Remove redundant conditionals.
12311 [__USE_GNU]: Likewise.
12312 * string/bits/string2.h [__USE_MISC]: Likewise.
12313 * string/string.h: Update #endif comments.
12314 [__USE_MISC]: Remove redundant conditionals.
12315 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12316 Likewise.
12317 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12318 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12319 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12320 Likewise.
12321 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12322 Likewise.
12323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12324 comments.
12325 [__USE_MISC]: Remove redundant conditionals.
12326 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12327 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12328 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12329 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12330 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12331 Likewise.
12332 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12333 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12334 Likewise.
12335 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12336 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12337 Likewise.
12338 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12339 Likewise.
12340 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12342 Likewise.
12343 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12344 Likewise.
12345 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12346 * sysdeps/x86/bits/string.h: Update #endif comments.
12347 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12348 conditionals.
12349 * time/sys/time.h: Update #endif comments.
12350 * time/time.h: Likewise.
12351 [__USE_MISC]: Remove redundant conditionals.
12352
a5d82e4e
YG
123532014-02-21 Yury Gribov <y.gribov@samsung.com>
12354
12355 [BZ #16600]
12356 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12357
9a80491d
AS
123582014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12359
12360 * Versions.def (librt): Add GLIBC_2.17.
12361
105fa381
AC
123622014-02-21 Adam Conrad <adconrad@0c3.net>
12363
12364 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12365 synonym for _SYS_AUXV_H to allow direct inclusion.
12366 * sysdeps/sparc/bits/hwcap.h: Likewise.
12367 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12368 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12369 * sysdeps/sparc/sysdep.h: Likewise.
12370
b8cd1c4e
SP
123712014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12372
12373 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12374
bd939d23
RS
123752014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12376
12377 * benchtests/bench-strrchr.c: Print length instead of position.
12378
5d7b57ca
JM
123792014-02-20 Joseph Myers <joseph@codesourcery.com>
12380
bc688c10
JM
12381 [BZ #16611]
12382 * sysdeps/unix/sysv/linux/kernel-features.h
12383 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12384 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12385 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12386 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12387 Likewise.
12388 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12389 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12390 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12391 (__ASSUME_SENDMMSG): Define instead of using previous
12392 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12393 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12394 (__ASSUME_SENDMMSG_SYSCALL): Define.
12395 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12396 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12397 Likewise.
12398 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12399 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12400 Likewise.
12401 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12402 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12403 Likewise.
12404 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12405 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12406 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12407 [__ASSUME_SENDMMSG]: Change conditionals to
12408 [__ASSUME_SENDMMSG_SOCKETCALL].
12409 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12410 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12411 Define.
12412 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12413 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12414 Likewise.
12415 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12416 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12417 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12418 [!__ASSUME_SENDMMSG]: Change conditional to
12419 [!__ASSUME_SENDMMSG_SOCKETCALL].
12420 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12421 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12422 Define.
12423
0e31b18c
JM
12424 [BZ #16610]
12425 * sysdeps/unix/sysv/linux/kernel-features.h
12426 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12427 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12428 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12429 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12430 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12431 [__i386__ || __sparc__]
12432 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12433 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12434 (__ASSUME_RECVMMSG): Define instead of using previous
12435 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12436 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12437 (__ASSUME_RECVMMSG_SYSCALL): Define.
12438 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12439 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12440 Likewise.
12441 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12442 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12443 Likewise.
12444 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12445 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12446 Likewise.
12447 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12448 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12449 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12450 [__ASSUME_RECVMMSG]: Change condition to
12451 [__ASSUME_RECVMMSG_SOCKETCALL].
12452 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12454 Define.
12455 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12456 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12457 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12460 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12461 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12462 [!__ASSUME_RECVMMSG]: Change condition to
12463 [!__ASSUME_RECVMMSG_SOCKETCALL].
12464 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12465 (__ASSUME_RECVMMSG_SYSCALL): Define.
12466
dd481ccf
JM
12467 [BZ #16609]
12468 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12469 __powerpc__ || __s390__ || __sh__ || __sparc__]
12470 (__ASSUME_SOCKETCALL): Define.
12471 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12472 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12473 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12474 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12475 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12476 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12477 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12478 (__ASSUME_ACCEPT4): Define instead of using previous
12479 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12480 __powerpc__ || __sparc__ || __s390__)] condition.
12481 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12482 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12483 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12484 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12485 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12486 [!__ASSUME_ACCEPT4]: Change condition to
12487 [!__ASSUME_ACCEPT4_SOCKETCALL].
12488 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12489 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12490 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12491 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12492 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12493 __ASSUME_ACCEPT4_SYSCALL.
12494 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12495 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12496 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12497 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12498 __ASSUME_ACCEPT4_SYSCALL.
12499 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12500 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12501 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12502 [__ASSUME_ACCEPT4]: Change condition to
12503 [__ASSUME_ACCEPT4_SOCKETCALL].
12504 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12505 (__ASSUME_SOCKETCALL): Define.
12506 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12507 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12508 (__ASSUME_SOCKETCALL): Define.
12509 (__ASSUME_ACCEPT4): Remove.
12510 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12511 Define.
12512 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12513 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12514 Likewise.
12515 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12516 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12517
5d7b57ca
JM
12518 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12519 macro.
12520 (HWCAP_ARM_LPAE): Likewise.
12521 (HWCAP_ARM_EVTSTRM): Likewise.
12522 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12523 Add vpfd32, lpae and evtstrm.
12524 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12525 Increase to 22.
12526
63689d61
JM
125272014-02-19 Joseph Myers <joseph@codesourcery.com>
12528
12529 * math/auto-libm-test-in: Add tests of clog10.
12530 * math/auto-libm-test-out: Regenerated.
12531 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12532 * sysdeps/i386/fpu/libm-test-ulps: Update.
12533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12534
ab09bf61
AS
125352014-02-18 Andreas Schwab <schwab@suse.de>
12536
12537 [BZ #16574]
12538 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12539 Store non-zero if the second buffer was newly allocated.
12540 (send_dg): Likewise.
12541 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12542 to send_vc and send_dg.
12543 (res_nsend): Pass NULL for ansp2_malloced.
12544 * resolv/res_query.c (__libc_res_nquery): Add parameter
12545 answerp2_malloced and pass it down to __libc_res_nsend.
12546 (res_nquery): Pass additional NULL to __libc_res_nquery.
12547 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12548 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12549 second answer buffer if answerp2_malloced was set.
12550 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12551 (__libc_res_nquerydomain): Add parameter
12552 answerp2_malloced and pass it down to __libc_res_nquery.
12553 (res_nquerydomain): Pass additional NULL to
12554 __libc_res_nquerydomain.
12555 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12556 additional NULL to __libc_res_nsend and __libc_res_nquery.
12557 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12558 additional NULL to __libc_res_nsearch.
12559 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12560 parameter of __libc_res_nsearch to check for separately allocated
12561 second buffer.
12562 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12563 __libc_res_nquery.
12564 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12565 additional NULL to __libc_res_nquery.
12566 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12567 __libc_res_nsearch.
12568 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12569 * include/resolv.h: Update prototypes of __libc_res_nquery,
12570 __libc_res_nsearch, __libc_res_nsend.
12571
a4fb7861
JM
125722014-02-18 Joseph Myers <joseph@codesourcery.com>
12573
c6af2d89
JM
12574 * math/auto-libm-test-in: Add tests of fma.
12575 * math/auto-libm-test-out: Regenerated.
12576 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12577 (fma_towardzero_test_data): Likewise.
12578 (fma_downward_test_data): Likewise.
12579 (fma_upward_test_data): Likewise.
12580 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12581 mpc_mode.
12582 (rounding_modes): Add values for new field.
12583 (func_calc_method): Add value mpfr_fff_f.
12584 (func_calc_desc): Add mpfr_fff_f union field.
12585 (test_function): Add field exact_args.
12586 (FUNC): Add macro argument EXACT_ARGS.
12587 (FUNC_mpfr_f_f): Update call to FUNC.
12588 (FUNC_mpfr_f_f): Likewise.
12589 (FUNC_mpfr_ff_f): Likewise.
12590 (FUNC_mpfr_if_f): Likewise.
12591 (FUNC_mpc_c_f): Likewise.
12592 (FUNC_mpc_c_c): Likewise.
12593 (test_functions): Add fma. Update calls to FUNC.
12594 (handle_input_arg): Add argument exact_args.
12595 (add_test): Update call to handle_input_arg.
12596 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12597 (output_for_one_input_case): Update call to calc_generic_results.
12598 Recalculate exact zero results in each rounding mode.
12599
a4fb7861
JM
12600 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12601 non-negative before setting low bit.
12602 * math/auto-libm-test-in: Mark one asin test possibly having
12603 spurious underflow.
12604 * math/auto-libm-test-out: Regenerated.
12605 * sysdeps/i386/fpu/libm-test-ulps: Update.
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607
ef114eaf
DH
126082014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12609
2b7f4f2c
SP
12610 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12611 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12612 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12613 * README: Add missing listing for microblaze*-*-linux-gnu.
12614
8125aedc
AM
126152014-02-16 Ondřej Bílka <neleai@seznam.cz>
12616
12617 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12618 duplicate code
12619
c70a4b1d
MF
126202014-02-16 Mike Frysinger <vapier@gentoo.org>
12621
12622 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12623 * sysdeps/unix/sysv/linux/ia64: Move directory from
12624 ports/sysdeps/unix/sysv/linux/ia64.
12625 * README: Update listing for ia64-*-linux-gnu.
12626
591aeaf7
TD
126272014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12628 Joseph Myers <joseph@codesourcery.com>
12629
12630 * Makeconfig (test-name): New variable.
12631 (evaluate-test): Likewise.
12632 * Makerules (do-test-clean): Remove .test-result files.
12633 (common-mostlyclean): Likewise.
12634 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12635 * scripts/evaluate-test.sh: New file.
12636
6e89caf1
JM
126372014-02-14 Joseph Myers <joseph@codesourcery.com>
12638
7f98f180
JM
12639 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12640 separate $(objpfx)tst-fopenloc-cmp.out and
12641 $(objpfx)tst-fopenloc-mem.out targets.
12642 (tests): Update dependencies.
12643 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12644 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12645 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12646 (tst-rxspencer-no-utf8-ARGS): New variable.
12647 (tst-rxspencer-no-utf8-ENV): Likewise.
12648 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12649 instead of $(objpfx)tst-rxspencer-mem.
12650 ($(objpfx)tst-rxspencer-mem): Change target to
12651 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12652 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12653 * posix/tst-rxspencer-no-utf8.c: New file.
12654
6e89caf1
JM
12655 * elf/Makefile ($(objpfx)order.out): Remove rule.
12656 [$(run-built-tests) = yes] (tests): Depend on
12657 $(objpfx)order-cmp.out.
12658 ($(objpfx)order-cmp.out): New rule.
12659 [$(run-built-tests) = yes] (tests): Depend on
12660 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12661 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12662 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12663 $(objpfx)tst-array5-static-cmp.out.
12664 ($(objpfx)tst-array1.out): Remove rule.
12665 ($(objpfx)tst-array1-cmp.out): New rule.
12666 ($(objpfx)tst-array1-static.out): Remove rule.
12667 ($(objpfx)tst-array1-static-cmp.out): New rule.
12668 ($(objpfx)tst-array2.out): Remove rule.
12669 ($(objpfx)tst-array2-cmp.out): New rule.
12670 ($(objpfx)tst-array3.out): Remove rule.
12671 ($(objpfx)tst-array3-cmp.out): New rule.
12672 ($(objpfx)tst-array4.out): Remove rule.
12673 ($(objpfx)tst-array4-cmp.out): New rule.
12674 ($(objpfx)tst-array5.out): Remove rule.
12675 ($(objpfx)tst-array5-cmp.out): New rule.
12676 ($(objpfx)tst-array5-static.out): Remove rule.
12677 ($(objpfx)tst-array5-static-cmp.out): New rule.
12678 [$(run-built-tests) = yes] (tests): Depend on
12679 $(objpfx)order2-cmp.out.
12680 ($(objpfx)order2.out): Remove rule.
12681 ($(objpfx)order2-cmp.out): New rule.
12682 ($(objpfx)tst-initorder.out): Remove rule.
12683 [$(run-built-tests) = yes] (tests): Depend on
12684 $(objpfx)tst-initorder-cmp.out.
12685 ($(objpfx)tst-initorder-cmp.out): New rule.
12686 ($(objpfx)tst-initorder2.out): Remove rule.
12687 [$(run-built-tests) = yes] (tests): Depend on
12688 $(objpfx)tst-initorder2-cmp.out.
12689 ($(objpfx)tst-initorder2-cmp.out): New rule.
12690 [$(run-built-tests) = yes] (tests): Depend on
12691 $(objpfx)tst-unused-dep-cmp.out.
12692 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12693 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12694 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12695 on $(objpfx)tst-setvbuf1-cmp.out.
12696 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12697 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12698 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12699 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12700 ($(objpfx)tst-svc.out): Remove rule.
12701 ($(objpfx)tst-svc-cmp.out): New rule.
12702
ed9a38e2
JM
127032014-02-13 Joseph Myers <joseph@codesourcery.com>
12704
12705 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12706 * ctype/ctype.h [__USE_MISC]: Likewise.
12707 * dirent/dirent.h [__USE_MISC]: Likewise.
12708 * grp/grp.h [__USE_MISC]: Likewise.
12709 * io/fcntl.h [__USE_MISC]: Likewise.
12710 * io/sys/stat.h [__USE_MISC]: Likewise.
12711 * libio/stdio.h [__USE_MISC]: Likewise.
12712 * posix/unistd.h [__USE_MISC]: Likewise.
12713 * pwd/pwd.h [__USE_MISC]: Likewise.
12714 * stdlib.h [__USE_MISC]: Likewise.
12715 * string/bits/string2.h [__USE_MISC]: Likewise.
12716 * string/string.h [__USE_MISC]: Likewise.
12717 * time/time.h [__USE_MISC]: Likewise.
12718
d6680619
AS
127192014-02-13 Andreas Schwab <schwab@suse.de>
12720
12721 [BZ #16574]
12722 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12723 second answer buffer if it was separately allocated.
12724
ace614b8
JM
127252014-02-12 Joseph Myers <joseph@codesourcery.com>
12726
743151ae
JM
12727 * sysdeps/mips/math-tests.h: Include <features.h>.
12728 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12729 (ROUNDING_TESTS_long_double): Do not define.
12730 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12731 (EXCEPTION_TESTS_long_double): Likewise.
12732 * sysdeps/mips/mips64/libm-test-ulps: Update.
12733
498afc54
JM
12734 * include/features.h (__USE_BSD): Remove macro definitions.
12735 (__USE_SVID): Likewise.
12736 (_BSD_SOURCE): Likewise.
12737 (_SVID_SOURCE): Likewise.
12738 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12739 from definition of _DEFAULT_SOURCE.
12740 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12741 [_DEFAULT_SOURCE].
12742 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12743 * bits/mman.h [__USE_BSD]: Likewise.
12744 * bits/termios.h [__USE_BSD]: Likewise.
12745 * bits/waitstatus.h [__USE_BSD]: Likewise.
12746 * ctype/ctype.h [__USE_SVID]: Likewise.
12747 * dirent/dirent.h [__USE_BSD]: Likewise.
12748 * grp/grp.h [__USE_SVID]: Likewise.
12749 [__USE_BSD]: Likewise.
12750 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12751 * io/fcntl.h [__USE_BSD]: Likewise.
12752 * io/ftw.h [__USE_BSD]: Likewise.
12753 * io/sys/stat.h [__USE_BSD]: Likewise.
12754 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12755 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12756 * libio/stdio.h [__USE_SVID]: Likewise.
12757 [__USE_BSD]: Likewise.
12758 * math/math.h [__USE_SVID]: Likewise.
12759 [__USE_BSD]: Likewise.
12760 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12761 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12762 * misc/search.h [__USE_SVID]: Likewise.
12763 * misc/sys/mman.h [__USE_BSD]: Likewise.
12764 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12765 * misc/sys/uio.h [__USE_BSD]: Likewise.
12766 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12767 * posix/glob.h [__USE_BSD]: Likewise.
12768 * posix/regex.h [__USE_BSD]: Likewise.
12769 * posix/sys/types.h [__USE_BSD]: Likewise.
12770 [__USE_SVID]: Likewise.
12771 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12772 * posix/sys/wait.h [__USE_BSD]: Likewise.
12773 [__USE_SVID]: Likewise.
12774 * posix/unistd.h [__USE_BSD]: Likewise.
12775 [__USE_SVID]: Likewise.
12776 * pwd/pwd.h [__USE_SVID]: Likewise.
12777 * resolv/netdb.h [__USE_BSD]: Likewise.
12778 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12779 * signal/signal.h [__USE_BSD]: Likewise.
12780 [__USE_SVID]: Likewise.
12781 * socket/sys/socket.h [__USE_BSD]: Likewise.
12782 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12783 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12784 [__USE_SVID]: Likewise.
12785 * string/bits/string2.h [__USE_BSD]: Likewise.
12786 [__USE_SVID]: Likewise.
12787 * string/bits/string3.h [__USE_BSD]: Likewise.
12788 * string/endian.h [__USE_BSD]: Likewise.
12789 * string/string.h [__USE_SVID]: Likewise.
12790 [__USE_BSD]: Likewise.
12791 * string/strings.h [__USE_BSD]: Likewise.
12792 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12793 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12794 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12795 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12796 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12797 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12798 Likewise.
12799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12800 Likewise.
12801 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12802 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12803 Likewise.
12804 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12805 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12806 Likewise.
12807 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12808 Likewise.
12809 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12810 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12811 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12812 Likewise.
12813 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12814 Likewise.
12815 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12816 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12817 * termios/termios.h [__USE_BSD]: Likewise.
12818 * time/sys/time.h [__USE_BSD]: Likewise.
12819 * time/time.h [__USE_BSD]: Likewise.
12820 [__USE_SVID]: Likewise.
12821
dd7b064c
JM
12822 * Makefile (subdir_targets): Remove subdir_lint.out.
12823
a2c4c199
JM
12824 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12825 (do-tst-printf): Likewise.
12826 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12827 $(objpfx)tst-printf.out.
12828
8756f740
JM
12829 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12830
1b6dd3f1
JM
12831 * Makerules (check-abi-%): Change target to
12832 $(objpfx)check-abi-%.out.
12833 (check-abi target): Update dependencies.
12834 (check-abi-pattern variable): Redirect output of diff to $@.
12835 (check-abi variable): Likewise.
12836 * elf/Makefile (check-abi): Update dependencies.
12837
ace614b8
JM
12838 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12839 unused.
12840 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12841 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12842 subnormal range.
12843 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12844 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12845 value has largest subnormal exponent.
12846 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12847 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12848 * sysdeps/aarch64/soft-fp/sfp-machine.h
12849 (_FP_TININESS_AFTER_ROUNDING): New macro.
12850 * sysdeps/alpha/soft-fp/sfp-machine.h
12851 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12852 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12853 Likewise.
12854 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12855 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12856 * sysdeps/mips/soft-fp/sfp-machine.h
12857 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12858 * sysdeps/powerpc/soft-fp/sfp-machine.h
12859 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12860 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12861 Likewise.
12862 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12863 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12864 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12865 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12866 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12867 Likewise.
12868
fbfdf9cb
DAS
128692014-02-12 Dylan Alex Simon <dylan@dylex.net>
12870
12871 [BZ #16545]
12872 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12873 model 1.
12874
68b7efaa
RH
128752014-02-12 Richard Henderson <rth@redhat.com>
12876
c70a4b1d 12877 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12878 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12879 * sysdeps/unix/sysv/linux/alpha: Move directory from
12880 ports/sysdeps/unix/sysv/linux/alpha.
12881 * README: Update listing for alpha-*-linux-gnu.
12882
cb4a2928
JM
128832014-02-11 Joseph Myers <joseph@codesourcery.com>
12884
c941736c
JM
12885 * include/features.h: Update comment documenting feature test
12886 macros.
12887 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12888 _DEFAULT_SOURCE.
12889 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12890 (_SVID_SOURCE): Likewise.
12891 (_DEFAULT_SOURCE): Update description of default features.
12892 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12893 with _GNU_SOURCE.
12894 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12895 (S_ISVTX): Likewise.
12896 * manual/math.texi (Mathematical Constants): Likewise.
12897 * manual/signal.texi (Interrupted Primitives): Likewise.
12898 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12899 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12900 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12901 Don't refer to _SVID_SOURCE in warning text.
12902
e8d8d7ec
JM
12903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12904
cb4a2928
JM
12905 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12906 already defined.
12907 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12908 * sysdeps/mips/dl-lookup.c: Remove.
12909 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12910
7e6424e3
AK
129112014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12912
12913 [BZ #16447]
12914 * math/auto-libm-test-in: Add testcase for expl.
12915 * math/auto-libm-test-out: Regenerate.
12916 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12917 calculation of unsafe.
12918 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12919
75eff3fe
MS
129202014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12921
12922 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12923 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12924 ports/sysdeps/unix/sysv/linux/aarch64.
12925 * README: Update listing for aarch64*-*-linux-gnu.
12926
d35f1e80
WN
129272014-02-11 Will Newton <will.newton@linaro.org>
12928
12929 * manual/probes.texi (Mathematical Function Probes): Use
12930 "triggered" instead of "hit".
12931
7b3436d4
WN
12932 * manual/probes.texi (Internal Probes): Add documentation
12933 of setjmp, longjmp and longjmp_target probes.
12934
b4f12ca3
WN
12935 * include/stap-probe.h: Add comment about probe argument
12936 format.
12937
c13a72b7
WN
12938 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12939 definition. (tr_where, tr_freehook, tr_mallochook,
12940 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12941
195b8165
DM
129422014-02-11 David S. Miller <davem@davemloft.net>
12943
12944 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12945 processing int_tests.
12946
2ad7600b
JM
129472014-02-10 Joseph Myers <joseph@codesourcery.com>
12948
12949 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12950 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12951 * sysdeps/unix/sysv/linux/mips: Move directory from
12952 ports/sysdeps/unix/sysv/linux/mips.
12953 * README: Update listing for mips-*-linux-gnu and
12954 mips64-*-linux-gnu.
12955
73588a72
AS
129562014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12957
12958 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12959 * sysdeps/unix/sysv/linux/m68k: Move directory from
12960 ports/sysdeps/unix/sysv/linux/m68k.
12961 * README: Update listing for m68k-*-linux-gnu.
12962
4372980f
CM
129632014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12964
12965 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12966 * sysdeps/unix/sysv/linux/generic: Move directory from
12967 ports/sysdeps/unix/sysv/linux/generic.
12968 * sysdeps/unix/sysv/linux/tile: Move directory from
12969 ports/sysdeps/unix/sysv/linux/tile.
12970 * README: Update listing for tile*-*-linux-gnu.
12971
a1ffb40e
OB
129722014-02-10 Ondřej Bílka <neleai@seznam.cz>
12973
57f41c40
AS
12974 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12975 __builtin_expect.
a1ffb40e
OB
12976 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12977 * catgets/open_catalog.c (__open_catalog): Likewise.
12978 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12979 * debug/confstr_chk.c: Likewise.
12980 * debug/fread_chk.c (__fread_chk): Likewise.
12981 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12982 * debug/getgroups_chk.c: Likewise.
12983 * debug/mbsnrtowcs_chk.c: Likewise.
12984 * debug/mbsrtowcs_chk.c: Likewise.
12985 * debug/mbstowcs_chk.c: Likewise.
12986 * debug/memcpy_chk.c: Likewise.
12987 * debug/memmove_chk.c: Likewise.
12988 * debug/mempcpy_chk.c: Likewise.
12989 * debug/memset_chk.c: Likewise.
12990 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12991 * debug/strcat_chk.c (__strcat_chk): Likewise.
12992 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12993 * debug/strncat_chk.c (__strncat_chk): Likewise.
12994 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12995 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12996 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12997 * debug/wcpncpy_chk.c: Likewise.
12998 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12999 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13000 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13001 * debug/wcsncpy_chk.c: Likewise.
13002 * debug/wcsnrtombs_chk.c: Likewise.
13003 * debug/wcsrtombs_chk.c: Likewise.
13004 * debug/wcstombs_chk.c: Likewise.
13005 * debug/wmemcpy_chk.c: Likewise.
13006 * debug/wmemmove_chk.c: Likewise.
13007 * debug/wmempcpy_chk.c: Likewise.
13008 * debug/wmemset_chk.c: Likewise.
13009 * dirent/scandirat.c (SCANDIRAT): Likewise.
13010 * dlfcn/dladdr1.c (dladdr1): Likewise.
13011 * dlfcn/dladdr.c (dladdr): Likewise.
13012 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13013 * dlfcn/dlerror.c (__dlerror): Likewise.
13014 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13015 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13016 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13017 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13018 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13019 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13020 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13021 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13022 Likewise.
13023 * elf/dl-conflict.c: Likewise.
13024 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13025 * elf/dl-dst.h: Likewise.
13026 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13027 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13028 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13029 * elf/dl-init.c (call_init, _dl_init): Likewise.
13030 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13031 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13032 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13033 Likewise.
a1ffb40e
OB
13034 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13035 Likewise.
13036 * elf/dl-minimal.c (__libc_memalign): Likewise.
13037 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13038 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13039 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13040 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13041 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13042 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13043 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13044 * elf/dl-writev.h (_dl_writev): Likewise.
13045 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13046 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13047 (dl_main): Likewise.
a1ffb40e
OB
13048 * elf/setup-vdso.h (setup_vdso): Likewise.
13049 * grp/compat-initgroups.c (compat_call): Likewise.
13050 * grp/fgetgrent.c (fgetgrent): Likewise.
13051 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13052 * grp/putgrent.c (putgrent): Likewise.
13053 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13054 Likewise.
13055 * hurd/hurdinit.c: Likewise.
13056 * iconvdata/8bit-gap.c (struct): Likewise.
13057 * iconvdata/ansi_x3.110.c : Likewise.
13058 * iconvdata/big5.c : Likewise.
13059 * iconvdata/big5hkscs.c : Likewise.
13060 * iconvdata/cp1255.c: Likewise.
13061 * iconvdata/cp1258.c : Likewise.
13062 * iconvdata/cp932.c : Likewise.
13063 * iconvdata/euc-cn.c: Likewise.
13064 * iconvdata/euc-jisx0213.c : Likewise.
13065 * iconvdata/euc-jp.c: Likewise.
13066 * iconvdata/euc-jp-ms.c : Likewise.
13067 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13068 * iconvdata/gb18030.c : Likewise.
13069 * iconvdata/gbbig5.c (const): Likewise.
13070 * iconvdata/gbgbk.c: Likewise.
13071 * iconvdata/gbk.c : Likewise.
13072 * iconvdata/ibm1364.c : Likewise.
13073 * iconvdata/ibm930.c : Likewise.
13074 * iconvdata/ibm932.c: Likewise.
13075 * iconvdata/ibm933.c : Likewise.
13076 * iconvdata/ibm935.c : Likewise.
13077 * iconvdata/ibm937.c : Likewise.
13078 * iconvdata/ibm939.c : Likewise.
13079 * iconvdata/ibm943.c: Likewise.
13080 * iconvdata/iso_11548-1.c: Likewise.
13081 * iconvdata/iso-2022-cn.c : Likewise.
13082 * iconvdata/iso-2022-cn-ext.c : Likewise.
13083 * iconvdata/iso-2022-jp-3.c: Likewise.
13084 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13085 * iconvdata/iso-2022-kr.c : Likewise.
13086 * iconvdata/iso646.c (gconv_end): Likewise.
13087 * iconvdata/iso_6937-2.c : Likewise.
13088 * iconvdata/iso_6937.c : Likewise.
13089 * iconvdata/iso8859-1.c: Likewise.
13090 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13091 * iconvdata/shift_jisx0213.c : Likewise.
13092 * iconvdata/sjis.c : Likewise.
13093 * iconvdata/t.61.c : Likewise.
13094 * iconvdata/tcvn5712-1.c : Likewise.
13095 * iconvdata/tscii.c: Likewise.
13096 * iconvdata/uhc.c : Likewise.
13097 * iconvdata/unicode.c (gconv_end): Likewise.
13098 * iconvdata/utf-16.c (gconv_end): Likewise.
13099 * iconvdata/utf-32.c (gconv_end): Likewise.
13100 * iconvdata/utf-7.c (base64): Likewise.
13101 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13102 * iconv/gconv_close.c (__gconv_close): Likewise.
13103 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13104 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13105 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13106 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13107 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13108 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13109 * iconv/iconv.c (iconv): Likewise.
13110 * iconv/iconv_close.c: Likewise.
13111 * iconv/loop.c (SINGLE): Likewise.
13112 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13113 * include/atomic.h: Likewise.
13114 * inet/inet6_option.c (option_alloc): Likewise.
13115 * intl/bindtextdom.c (set_binding_values): Likewise.
13116 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13117 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13118 * intl/localealias.c (read_alias_file): Likewise.
13119 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13120 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13121 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13122 * libio/fmemopen.c (fmemopen): Likewise.
13123 * libio/iofgets.c (_IO_fgets): Likewise.
13124 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13125 * libio/iofgetws.c (fgetws): Likewise.
13126 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13127 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13128 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13129 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13130 * locale/findlocale.c (_nl_find_locale): Likewise.
13131 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13132 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13133 Likewise.
13134 * locale/setlocale.c (setlocale): Likewise.
13135 * login/programs/pt_chown.c (main): Likewise.
13136 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13137 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13138 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13139 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13140 * math/e_exp2l.c: Likewise.
13141 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13142 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13143 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13144 * math/s_catan.c (__catan): Likewise.
13145 * math/s_catanf.c (__catanf): Likewise.
13146 * math/s_catanh.c (__catanh): Likewise.
13147 * math/s_catanhf.c (__catanhf): Likewise.
13148 * math/s_catanhl.c (__catanhl): Likewise.
13149 * math/s_catanl.c (__catanl): Likewise.
13150 * math/s_ccosh.c (__ccosh): Likewise.
13151 * math/s_ccoshf.c (__ccoshf): Likewise.
13152 * math/s_ccoshl.c (__ccoshl): Likewise.
13153 * math/s_cexp.c (__cexp): Likewise.
13154 * math/s_cexpf.c (__cexpf): Likewise.
13155 * math/s_cexpl.c (__cexpl): Likewise.
13156 * math/s_clog10.c (__clog10): Likewise.
13157 * math/s_clog10f.c (__clog10f): Likewise.
13158 * math/s_clog10l.c (__clog10l): Likewise.
13159 * math/s_clog.c (__clog): Likewise.
13160 * math/s_clogf.c (__clogf): Likewise.
13161 * math/s_clogl.c (__clogl): Likewise.
13162 * math/s_csin.c (__csin): Likewise.
13163 * math/s_csinf.c (__csinf): Likewise.
13164 * math/s_csinh.c (__csinh): Likewise.
13165 * math/s_csinhf.c (__csinhf): Likewise.
13166 * math/s_csinhl.c (__csinhl): Likewise.
13167 * math/s_csinl.c (__csinl): Likewise.
13168 * math/s_csqrt.c (__csqrt): Likewise.
13169 * math/s_csqrtf.c (__csqrtf): Likewise.
13170 * math/s_csqrtl.c (__csqrtl): Likewise.
13171 * math/s_ctan.c (__ctan): Likewise.
13172 * math/s_ctanf.c (__ctanf): Likewise.
13173 * math/s_ctanh.c (__ctanh): Likewise.
13174 * math/s_ctanhf.c (__ctanhf): Likewise.
13175 * math/s_ctanhl.c (__ctanhl): Likewise.
13176 * math/s_ctanl.c (__ctanl): Likewise.
13177 * math/w_pow.c: Likewise.
13178 * math/w_powf.c: Likewise.
13179 * math/w_powl.c: Likewise.
13180 * math/w_scalb.c (sysv_scalb): Likewise.
13181 * math/w_scalbf.c (sysv_scalbf): Likewise.
13182 * math/w_scalbl.c (sysv_scalbl): Likewise.
13183 * misc/error.c (error_tail): Likewise.
13184 * misc/pselect.c (__pselect): Likewise.
13185 * nis/nis_callback.c (__nis_create_callback): Likewise.
13186 * nis/nis_call.c (__nisfind_server): Likewise.
13187 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13188 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13189 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13190 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13191 * nis/nis_lookup.c (nis_lookup): Likewise.
13192 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13193 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13194 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13195 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13196 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13197 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13198 * nis/nss_compat/compat-initgroups.c (add_group)
13199 (internal_getgrent_r): Likewise.
13200 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13201 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13202 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13203 (internal_getspnam_r): Likewise.
13204 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13205 (_nss_nis_getaliasbyname_r): Likewise.
13206 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13207 (_nss_nis_getntohost_r): Likewise.
13208 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13209 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13210 (_nss_nis_getgrgid_r): Likewise.
13211 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13212 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13213 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13214 (_nss_nis_gethostbyname4_r): Likewise.
13215 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13216 (initgroups_netid): Likewise.
a1ffb40e 13217 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13218 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13219 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13220 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13221 (_nss_nis_getprotobynumber_r): Likewise.
13222 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13223 (_nss_nis_getsecretkey): Likewise.
13224 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13225 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13226 (_nss_nis_getpwuid_r): Likewise.
13227 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13228 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13229 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13230 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13231 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13232 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13233 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13234 Likewise.
57f41c40
AS
13235 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13236 (_nss_nisplus_getntohost_r): Likewise.
13237 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13238 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13239 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13240 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13241 Likewise.
57f41c40
AS
13242 * nis/nss_nisplus/nisplus-initgroups.c
13243 (_nss_nisplus_initgroups_dyn): Likewise.
13244 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13245 (_nss_nisplus_getnetbyaddr_r): Likewise.
13246 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13247 (_nss_nisplus_getprotobynumber_r): Likewise.
13248 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13249 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13250 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13251 Likewise.
57f41c40
AS
13252 * nis/nss_nisplus/nisplus-service.c
13253 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13254 (_nss_nisplus_getservbyport_r): Likewise.
13255 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13256 (_nss_nisplus_getspnam_r): Likewise.
13257 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13258 Likewise.
a1ffb40e
OB
13259 * nscd/aicache.c (addhstaiX): Likewise.
13260 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13261 * nscd/connections.c (register_traced_file, send_ro_fd)
13262 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13263 (main_loop_epoll): Likewise.
a1ffb40e
OB
13264 * nscd/grpcache.c (addgrbyX): Likewise.
13265 * nscd/hstcache.c (addhstbyX): Likewise.
13266 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13267 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13268 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13269 (addinnetgrX): Likewise.
13270 * nscd/nscd-client.h (__nscd_acquire_maplock)
13271 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13272 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13273 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13274 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13275 Likewise.
13276 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13277 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13278 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13279 (__nscd_get_map_ref): Likewise.
a1ffb40e 13280 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13281 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13282 Likewise.
a1ffb40e
OB
13283 * nscd/pwdcache.c (addpwbyX): Likewise.
13284 * nscd/selinux.c (preserve_capabilities): Likewise.
13285 * nscd/servicescache.c (addservbyX): Likewise.
13286 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13287 * posix/fnmatch.c (fnmatch): Likewise.
13288 * posix/getopt.c (_getopt_internal_r): Likewise.
13289 * posix/glob.c (glob, glob_in_dir): Likewise.
13290 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13291 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13292 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13293 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13294 * resolv/res_init.c: Likewise.
13295 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13296 * resolv/res_query.c (__libc_res_nquery): Likewise.
13297 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13298 Likewise.
13299 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13300 * stdio-common/perror.c (perror): Likewise.
13301 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13302 * stdio-common/tmpnam.c (tmpnam): Likewise.
13303 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13304 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13305 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13306 Likewise.
a1ffb40e
OB
13307 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13308 * stdlib/putenv.c (putenv): Likewise.
13309 * stdlib/setenv.c (__add_to_environ): Likewise.
13310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13311 * stdlib/strtol_l.c (INTERNAL): Likewise.
13312 * string/memmem.c (memmem): Likewise.
13313 * string/strerror.c (strerror): Likewise.
13314 * string/strnlen.c (__strnlen): Likewise.
13315 * string/test-memmem.c (simple_memmem): Likewise.
13316 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13317 * sunrpc/pm_getport.c (__get_socket): Likewise.
13318 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13319 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13320 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13321 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13322 Likewise.
13323 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13324 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13325 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13326 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13327 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13328 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13329 Likewise.
13330 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13331 Likewise.
a1ffb40e
OB
13332 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13333 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13334 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13335 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13336 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13338 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13339 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13340 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13341 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13342 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13343 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13344 Likewise.
13345 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13346 Likewise.
13347 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13348 Likewise.
13349 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13350 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13351 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13352 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13353 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13354 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13355 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13356 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13358 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13359 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13361 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13362 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13364 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13365 Likewise.
a1ffb40e
OB
13366 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13367 Likewise.
13368 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13369 Likewise.
13370 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13371 Likewise.
13372 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13374 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13375 Likewise.
13376 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13377 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13378 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13379 * sysdeps/posix/sleep.c: Likewise.
13380 * sysdeps/posix/tempname.c: Likewise.
13381 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13382 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13383 Likewise.
57f41c40
AS
13384 * sysdeps/powerpc/powerpc32/dl-machine.h
13385 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13386 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13388 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13389 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13390 Likewise.
13391 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13392 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13393 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13394 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13395 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13396 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13397 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13398 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13399 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13400 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13401 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13402 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13403 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13404 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13405 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13406 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13407 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13408 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13409 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13410 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13411 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13412 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13414 Likewise.
13415 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13416 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13417 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13418 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13419 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13421 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13422 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13423 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13424 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13425 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13426 Likewise.
13427 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13428 (__posix_fallocate64_l64): Likewise.
13429 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13430 (posix_fallocate): Likewise.
57f41c40
AS
13431 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13432 Likewise.
a1ffb40e 13433 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13434 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13435 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13436 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13437 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13438 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13439 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13440 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13441 (__posix_fallocate64_l64): Likewise.
13442 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13443 Likewise.
13444 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13445 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13446 (__get_clockfreq): Likewise.
a1ffb40e
OB
13447 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13448 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13449 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13450 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13451 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13452 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13453 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13454 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13455 Likewise.
13456 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13457 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13458 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13459 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13460 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13461 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13462 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13463 Likewise.
13464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13465 (posix_fallocate): Likewise.
13466 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13467 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13468 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13469 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13470 (elf_machine_rela, elf_machine_rela_relative)
13471 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13472 * time/asctime.c (asctime_internal): Likewise.
13473 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13474 * time/tzset.c (__tzset_parse_tz): Likewise.
13475 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13476 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13477 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13478 * wcsmbs/wcsmbsload.h: Likewise.
13479
f3d338c9
OB
13480 [BZ #15894]
13481 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13482
57f41c40
AS
13483 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13484 (arena_get2): Remove THREAD_STATS conditionals.
13485 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13486 (__malloc_stats, int): Likewise.
bdfe308a 13487
d674667c
MF
134882014-02-08 Mike Frysinger <vapier@gentoo.org>
13489
13490 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13491 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13492
6349768c
MF
13493 * manual/setjmp.texi: Fix typos/grammar errors.
13494
0b7c7473
MF
13495 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13496 Only return early when n is <= 0. Delete unused return statement.
13497
ac8cc9e3
MF
13498 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13499 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13500 * debug/tst-longjmp_chk3.c: New file.
13501
c5bb8e23
MF
13502 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13503 (test_main): Replace code with set_fortify_handler call.
13504 * debug/test-strcpy_chk.c: Likewise.
13505 * debug/tst-chk1.c: Likewise.
13506 * debug/tst-longjmp_chk.c: Likewise.
13507 * test-skeleton.c: Include fcntl.h & paths.h
13508 (set_fortify_handler): Define.
13509
10444e42
MF
13510 * debug/tst-longjmp_chk.c: Add header comment and include
13511 ../test-skeleton.c.
13512 (do_test): Mark static.
13513 (TEST_FUNCTION): Define.
13514
1e805e8d
MF
13515 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13516 (IP_PMTUDISC_INTERFACE): Likewise.
13517 (IP_MULTICAST_IF): Likewise.
13518 (IP_MULTICAST_TTL): Likewise.
13519 (IP_MULTICAST_LOOP): Likewise.
13520 (IP_ADD_MEMBERSHIP): Likewise.
13521 (IP_DROP_MEMBERSHIP): Likewise.
13522 (IP_UNBLOCK_SOURCE): Likewise.
13523 (IP_BLOCK_SOURCE): Likewise.
13524 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13525 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13526 (IP_MSFILTER): Likewise.
13527 (MCAST_JOIN_GROUP): Likewise.
13528 (MCAST_BLOCK_SOURCE): Likewise.
13529 (MCAST_UNBLOCK_SOURCE): Likewise.
13530 (MCAST_LEAVE_GROUP): Likewise.
13531 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13532 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13533 (MCAST_MSFILTER): Likewise.
13534 (IP_MULTICAST_ALL): Likewise.
13535 (IP_UNICAST_IF): Likewise.
13536
73f79bb7
MF
13537 * timezone/Makefile: Delete $(have-ksh) check.
13538 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13539 * timezone/tzselect.ksh: Add +x mode bits.
13540
8da79b60
MF
13541 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13542 (ANON_INODE_FS_MAGIC): Likewise.
13543 (BDEVFS_MAGIC): Likewise.
13544 (BINFMTFS_MAGIC): Likewise.
13545 (BTRFS_TEST_MAGIC): Likewise.
13546 (CRAMFS_MAGIC_WEND): Likewise.
13547 (DEBUGFS_MAGIC): Likewise.
13548 (ECRYPTFS_SUPER_MAGIC): Likewise.
13549 (EXT3_SUPER_MAGIC): Likewise.
13550 (EXT4_SUPER_MAGIC): Likewise.
13551 (FUTEXFS_SUPER_MAGIC): Likewise.
13552 (HOSTFS_SUPER_MAGIC): Likewise.
13553 (HUGETLBFS_MAGIC): Likewise.
13554 (MINIX3_SUPER_MAGIC): Likewise.
13555 (MTD_INODE_FS_MAGIC): Likewise.
13556 (NILFS_SUPER_MAGIC): Likewise.
13557 (OPENPROM_SUPER_MAGIC): Likewise.
13558 (PIPEFS_MAGIC): Likewise.
13559 (PSTOREFS_MAGIC): Likewise.
13560 (QNX6_SUPER_MAGIC): Likewise.
13561 (RAMFS_MAGIC): Likewise.
13562 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13563 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13564 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13565 (SECURITYFS_MAGIC): Likewise.
13566 (SELINUX_MAGIC): Likewise.
13567 (SMACK_MAGIC): Likewise.
13568 (SOCKFS_MAGIC): Likewise.
13569 (SQUASHFS_MAGIC): Likewise.
13570 (STACK_END_MAGIC): Likewise.
13571 (TMPFS_MAGIC): Likewise.
13572 (USBDEVICE_SUPER_MAGIC): Likewise.
13573 (V9FS_MAGIC): Likewise.
13574 (XENFS_SUPER_MAGIC): Likewise.
13575 (CRAMFS_MAGIC): Fix typo in comment.
13576 (EXT2_SUPER_MAGIC): Update comment.
13577 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13578
464263cc
JM
135792014-02-08 Joseph Myers <joseph@codesourcery.com>
13580
c6bfe5c4
JM
13581 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13582 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13583 * sysdeps/unix/sysv/linux/arm: Move directory from
13584 ports/sysdeps/unix/sysv/linux/arm.
13585 * README: Update listing for arm-*-linux-gnueabi.
13586
464263cc
JM
13587 * README: Remove mention of am33.
13588
32749f6c
RM
135892014-02-07 Roland McGrath <roland@hack.frob.com>
13590
13591 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13592 than the comma operator, to avoid "rhs of comma has no effect"
13593 compiler warnings.
13594 (__sigfillset, __sigandset, __sigorset): Likewise.
13595 * include/signal.h (__sigemptyset): Likewise.
13596 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13597
d5b396c1
AM
135982014-02-07 Allan McRae <allan@archlinux.org>
13599
13600 * version.h (RELEASE): Set to "development".
13601 (VERSION): Set to "2.19.90"
13602 * NEWS: Add 2.20 section.
13603
3bfff2ed
CD
136042014-02-06 Carlos O'Donell <carlos@redhat.com>
13605
13606 [BZ #16529]
13607 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13608
ee7cc385
SP
136092014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13610
13611 * manual/contrib.texi: Update entry for Carlos O'Donell,
13612 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13613
f877c4f2
CD
136142014-02-05 Carlos O'Donell <carlos@rehdat.com>
13615
27e839f6
CD
13616 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13617
f877c4f2
CD
13618 * sysdeps/unix/sysv/linux/kernel-features.h
13619 [__LINUX_KERNEL_VERSION >= 0x020621]
13620 (__ASSUME_PROC_PID_TASK_COMM): Define.
13621
68159946
SP
136222014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13623
ba17cdbd
SP
13624 [BZ #16398]
13625 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13626 conversion when destination buffer does not have enough space.
13627 * libio/tst-ftell-partial-wide.c: New test case.
13628 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13629
68159946
SP
13630 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13631 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13632 Leonard and Allan McRae.
13633
2b528732
DM
136342014-02-04 David S. Miller <davem@davemloft.net>
13635
13636 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13637 32-bit.
13638
0ff82463
AZ
136392014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13640
57f41c40
AS
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13642 New file
c01603f7
AZ
13643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13644 New file
57f41c40
AS
13645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13646 New file.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13648 New file.
c01603f7
AZ
13649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13650 New file.
57f41c40
AS
13651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13652 New file.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13654 New file.
c01603f7
AZ
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13656 New file.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13658 New file.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13660 New file.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13662 New file.
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13664 New file.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13666 New file.
13667
136682014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13669
0ff82463
AZ
13670 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13671 * shlib-versions: Likewise.
13672
1695c773
AZ
136732014-02-04 Roland McGrath <roland@hack.frob.com>
13674 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13675
13676 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13677 (abilist-pattern): New variable, set to %-le.abilist.
13678
13679 * Makerules (abilist-pattern): New variable.
13680 (vpath): Use $(abilist-pattern) in place of %.abilist.
13681 (check-abi-% pattern rule): Likewise.
13682 (check-abi, update-abi): Likewise.
13683
6c0ce4b4
EW
136842014-02-04 Eric Wong <normalperson@yhbt.net>
13685
13686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13687
481e3524
CD
136882014-02-03 Carlos O'Donell <carlos@redhat.com>
13689
13690 * manual/startup.texi: Add next, previous, and top entries for
13691 the `Program Arguments' and `Environment Variables' nodes.
13692
375592d3
AO
136932014-02-03 Alexandre Oliva <aoliva@redhat.com>
13694
13695 * manual/macros.texi: Add comments before MTASC-safety macros.
13696
f54838ba
AO
13697 * manual/users.texi: Document MTASC-safety properties.
13698
57f41c40
AS
13699 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13700 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13701 @deftypefun, and add @safety note.
13702 * manual/signal.texi: Move comments that analyze the above
13703 functions to their home place.
13704
fd3daba4
AM
137052014-02-03 Allan McRae <allan@archlinux.org>
13706
13707 * po/sl.po: Update Slovenian translation from translation project.
13708
597636d7
AO
137092014-02-02 Alexandre Oliva <aoliva@redhat.com>
13710
13711 * manual/time.texi (timegm): Add missing blank after @c.
13712 Reported by Joseph Myers <joseph@codesourcery.com>.
13713
ee196e3c
AO
137142014-02-01 Alexandre Oliva <aoliva@redhat.com>
13715
13716 * manual/check-safety.sh: New.
13717 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13718
f8d529d5
AO
13719 * manual/terminal.texi: Document MTASC-safety properties.
13720
de55fdf4
AO
13721 * manual/filesys.texi: Document MTASC-safety properties.
13722
c3299c08
AO
13723 * manual/errno.texi: Document MTASC-safety properties.
13724
06e90b14
AO
13725 * manual/intro.texi: Document safety identifiers and
13726 conditionals.
13727
1acd4371
AO
13728 * manual/string.texi (wcstok): Fix prototype.
13729 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13730
23e5b8cb
AO
13731 * manual/time.texi: Document MTASC-safety properties.
13732
11087373
AO
13733 * manual/string.texi: Document MTASC-safety properties.
13734
5da2c93d
AO
13735 * manual/threads.texi: Document MTASC-safety properties.
13736
171e9210
AO
13737 * manual/stdio.texi: Document MTASC-safety properties.
13738
d9e02532
AO
13739 * manual/syslog.texi: Document MTASC-safety properties.
13740
6af8bab7
AO
13741 * manual/sysinfo.texi: Document MTASC-safety properties.
13742
663b02d7
AO
13743 * manual/startup.texi: Document MTASC-safety properties.
13744
973f180b
AO
13745 * manual/socket.texi: Document MTASC-safety properties.
13746
8f3c25c8
AO
13747 * manual/signal.texi: Document MTASC-safety properties.
13748
542210fb
AO
137492014-01-31 Alexandre Oliva <aoliva@redhat.com>
13750
13751 * manual/setjmp.texi: Document MTASC-safety properties.
13752
433c45a2
AO
13753 * manual/search.texi: Document MTASC-safety properties.
13754
c8ce789c
AO
13755 * manual/resource.texi: Document MTASC-safety properties.
13756
19f5d29c
AO
13757 * manual/process.texi: Document MTASC-safety properties.
13758
e2dfb7f4
AO
13759 * manual/platform.texi: Document MTASC-safety properties.
13760
8c1413f5
AO
13761 * manual/pipe.texi: Document MTASC-safety properties.
13762
03483ada
AO
13763 * manual/pattern.texi: Document MTASC-safety properties.
13764
29e7e2df
AO
13765 * manual/message.texi: Document MTASC-safety properties.
13766
9f529d7c
AO
13767 [BZ #12751]
13768 * manual/memory.texi: Document MTASC-safety properties.
13769
27aaa791
AO
13770 * manual/math.texi: Document MTASC-safety properties.
13771
f2d58726
AO
13772 * manual/locale.texi: Document MTASC-safety properties.
13773
2cc3615c
AO
13774 * manual/llio.texi: Document MTASC-safety properties.
13775
d9f0ec97
AO
13776 * manual/libdl.texi: New.
13777
e7c4409a
AO
13778 * manual/lang.texi: Document MTASC-safety properties.
13779
27bdc63c
AO
13780 * manual/job.texi: Document MTASC-safety properties.
13781
a7b90ea9
AO
13782 * manual/getopt.texi: Document MTASC-safety properties.
13783
c49130e3
AO
13784 * manual/ctype.texi: Document MTASC-safety properties.
13785
0d23a5c1
MR
137862014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13787
13788 [BZ #16046]
13789 * csu/libc-tls.c (static_map): Remove variable.
13790 (__libc_setup_tls): Use main executable's link map for TLS data.
13791 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13792 casing for LM_ID_BASE and GL(dl_nns).
13793 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13794 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13795 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13796 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13797 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13798 member.
13799 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13800 l_phnum members.
13801
0037bb60
AO
138022014-01-30 Alexandre Oliva <aoliva@redhat.com>
13803
13804 * manual/debug.texi: Document MTASC-safety properties.
13805
409e00bd
L
138062014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13807
13808 [BZ #16510]
13809 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13810 of __x86_64__ when disabling x87 inline functions.
13811
86e60666
AO
138122014-01-29 Alexandre Oliva <aoliva@redhat.com>
13813
13814 * manual/charset.texi: Document MTASC-safety properties.
13815
76167637
AO
13816 * manual/crypt.texi: Document MTASC-safety properties.
13817
e567f2a0
AO
13818 * manual/conf.texi: Document MTASC-safety properties.
13819
b719dafd
AO
13820 * manual/arith.texi: Document MTASC-safety properties.
13821
4a16c662
AO
13822 * manual/argp.texi: Document MTASC-safety properties.
13823
0a57b83e
AO
13824 * manual/macros.texi: Introduce macros to document multi
13825 thread, asynchronous signal and asynchronous cancellation
13826 safety properties.
13827 * manual/intro.texi: Introduce the properties themselves.
13828
feab2397
KK
138292014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13830
13831 * sysdeps/sh/sh4/Makefile: New file.
13832
1c0d11bc
AS
138332014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13834
13835 * math/gen-libm-test.pl ($srcdir): New variable.
13836 ($auto_input): Use it.
13837
af37a8a3
SP
138382014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13839
d7b00f98
SP
13840 [BZ #16506]
13841 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13842 access beyond array bounds when parsing netgroups file.
13843
af37a8a3
SP
13844 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13845 the old buffer before realloc.
13846
0c00f062
AM
138472014-01-27 Allan McRae <allan@archlinux.org>
13848
13849 * po/fr.po: Update French translation from translation project.
13850
7d69a1b0
KK
138512014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13852
13853 * sysdeps/sh/libm-test-ulps: Regenerate.
13854
6e697ff7
DM
138552014-01-24 David S. Miller <davem@davemloft.net>
13856
13857 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13858
9cadb35c
KK
138592014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13860
13861 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13862 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13863
5d41dadf
SP
138642013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13865
13866 [BZ #16474]
13867 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13868 string pointers after reallocation.
13869
0bad441c
KK
138702014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13871
13872 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13873 __SH4A__ instead of __SH_FPU_ANY__.
13874
7007c661
KK
138752014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13876
13877 * sysdeps/sh/fpu_control.h: New file.
13878 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13879 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13880 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13881 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13882 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13883 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13884 * sysdeps/sh/sys/ucontext.h: Remove.
13885 * sysdeps/sh/sys: Remove directory.
13886
0f0c35e4
AK
138872014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13888
13889 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13890 s390/sys/ucontext.h.
13891 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13892 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13893
4959e284
L
138942014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 [BZ #15605]
13897 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13898
d98720e0
AZ
138992014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13900
13901 [BZ#16431]
13902 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13903 Adjust the vDSO correctly for internal calls.
13904 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13905
91cbd0bc
AM
139062014-01-20 Allan McRae <allan@archlinux.org>
13907
13908 * po/ca.po: Update Catalan translation from translation project.
13909
7a02cfad
MF
139102014-01-16 Mike Frysinger <vapier@gentoo.org>
13911
13912 * sysdeps/s390/sotruss-lib.c: New file.
13913
736c304a
AZ
139142014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13915
13916 [BZ#16430]
6e077ee5 13917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13918 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13919 local calls issues by not having a PLT stub required for IFUNC calls.
13920 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13921
94d0cea0
JM
139222014-01-16 Joseph Myers <joseph@codesourcery.com>
13923
13924 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13925 * math/test-fpucw-static.c: Likewise.
13926
980cb518
SP
139272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13928
13929 [BZ #16453]
13930 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13931
2393fc01
AZ
139322014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13933
13934 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13935 implementation for powerpc.
13936
d359bcc2
OB
139372014-01-15 Ondřej Bílka <neleai@seznam.cz>
13938
13939 [BZ #14782]
13940 * sysdeps/posix/system.c (__libc_system): Do not enable
13941 asynchronous cancellation.
13942
7beb48cb
AK
139432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13944
13945 [BZ #16427]
13946 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13947 handling only for numbers special also in the IEEE case.
13948
c20d5bf5
AK
139492014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13950
13951 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13952
e83bd4ee
AM
139532014-01-11 Allan McRae <allan@archlinux.org>
13954
76d0ea69
AM
13955 * po/bg.po: Update Bulgarian translation from translation project.
13956
e83bd4ee
AM
13957 * po/de.po: Update German translation from translation project.
13958
bc2ba20a
RM
139592014-01-10 Roland McGrath <roland@hack.frob.com>
13960
13961 * sysdeps/generic/gcc-compat.h: New file.
13962
649ecea2
SP
139632014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13964
13965 * benchtests/asin-inputs: Correct slow inputs.
13966 * benchtests/acos-inputs: Likewise.
13967
1b19c006
AM
139682014-01-10 Allan McRae <allan@archlinux.org>
13969
a46dab08
AM
13970 * po:sv.po: Update Swedish translation from translation project.
13971
421df74a
AM
13972 * po/vi.po: Update Vietnamese translation from translation project.
13973
d61c51a7
AM
13974 * po/eo.po: Update Esperanto translation from translation project.
13975
0339a319
AM
13976 * po/cs.po: Update Czech translation from translation project.
13977
94ad3e99
AM
13978 * po/nl.po: Update Dutch translation from translation project.
13979
e349ca71
AM
13980 * po/pl.po: Update Polish translation from translation project.
13981
ddf930c1
AM
13982 * po/ru.po: Update Russian translation from translation project.
13983
1b19c006
AM
13984 * po/uk.po: Update Ukrainian translation from translation project.
13985
9f236c49
BM
139862014-01-08 Brooks Moses <bmoses@google.com>
13987
13988 * elf/dl-load.c: Fix comment typo.
13989
cd6701cf
CD
139902014-01-08 Carlos O'Donell <carlos@redhat.com>
13991
13992 * po/header.pot: Rename to...
13993 * po/pot.header: ... this.
13994 * po/Makefile: Use pot.header.
13995
66671c84
YK
139962014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13997 Maxim Kuvyrkov <maxim@kugelworks.com>
13998
13999 [BZ #16394]
cd6701cf
CD
14000 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14001 SRC and DEST against LEN.
66671c84 14002
38f34581
AZ
140032014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14004
14005 [BZ #16414]
14006 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14007 implementation.
14008 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14009
140102014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14011
14012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14013
4c327f2a
JM
140142014-01-08 Joseph Myers <joseph@codesourcery.com>
14015
14016 [BZ #16408]
14017 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14018 for large positive arguments.
14019
b821f414
JM
140202014-01-07 Joseph Myers <joseph@codesourcery.com>
14021
1f0f2067
JM
14022 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14023
a5a326f6
JM
14024 * math/auto-libm-test-in: Mark various tests with
14025 xfail-rounding:ldbl-128ibm.
14026 * math/auto-libm-test-out: Regenerated.
14027
b821f414
JM
14028 [BZ #16407]
14029 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14030 Increase overflow threshold.
14031
94c8a4bc
OB
140322014-01-07 Ondřej Bílka <neleai@seznam.cz>
14033
14034 [BZ #14286]
14035 * stdio-common/vfprintf.c: Check for integer overflow.
14036
87ded0c3
AK
140372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14038
14039 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14040 the first argument and return value of __tls_get_addr_internal.
14041
c5eebdd0
AK
140422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14043
14044 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14045 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14046
05d138ef
AK
140472014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14048
14049 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14050 * sysdeps/s390/rtld-global-offsets.sym: New file.
14051 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14052 GLIBC_2.19 symbol.
14053 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14054 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14055 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14056 ... this.
14057 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14058 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14059 ... this.
14060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14061 Regenerate.
14062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14063 Regenerate.
14064 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14065 halfs of GPRs for high_gprs contexts.
14066 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14067 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14068 field.
14069 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14070 uc_flags field.
14071 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14072 64 bit versions:
14073 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14074 for high GPRs (uc_high_gprs) and for future extensions
14075 (__reserved).
14076 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14077 for future extensions (__reserved).
14078 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14079 64 bit versions:
14080 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14081 SC_HIGHGPRS offset definition.
14082 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14083 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14084
93a45ff1
AK
14085 * Versions.def: Add GLIBC_2.19 for libpthread.
14086 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14087 siglongjmp for libpthread with GLIBC_2.19 symver.
14088 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14089 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14090 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14091 * sysdeps/s390/__longjmp.c: New file.
14092 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14093 * sysdeps/s390/longjmp.c: New file.
14094 * sysdeps/s390/setjmp.S: New file.
14095 * sysdeps/s390/sigjmp.S: New file.
14096 * sysdeps/s390/v1-longjmp.c: New file.
14097 * sysdeps/s390/v1-setjmp.h: New file.
14098 * sysdeps/s390/v1-sigjmp.c: New file.
14099 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14100 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14101 GLIBC_2.19 version.
14102 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14103 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14104 versioned symbols for ____longjmp_chk.
14105 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14106 Likewise.
14107 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14108 Regenerate.
14109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14110 Regenerate.
14111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14112 Regenerate.
14113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14114 Regenerate.
14115 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14116 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14117 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14118 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14119 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14120 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14121 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14122 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14123 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14124 * sysdeps/s390/rtld-__longjmp.c: New file.
14125 * sysdeps/s390/rtld-setjmp.S: New file.
14126
eb3fc44b
JM
141272014-01-06 Joseph Myers <joseph@codesourcery.com>
14128
14129 [BZ #16400]
14130 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14131 Return -__logl (x) for small positive arguments without evaluating
14132 a polynomial.
14133
9341dde4
MF
141342014-01-06 Mike Frysinger <vapier@gentoo.org>
14135
14136 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14137 Rename to ...
14138 (__ptrace_peeksiginfo_args): ... this.
14139 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14140 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14141 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14142
4cff0293
AM
141432014-01-06 Allan McRae <allan@archlinux.org>
14144
14145 * inet/netinet/in.h: Fix typo in comment.
14146
75595dcf
AJ
141472014-01-05 Andreas Jaeger <aj@suse.de>
14148
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150
79c1e109
AM
141512014-01-05 Allan McRae <allan@archlinux.org>
14152
dd804818
AM
14153 * po/libc.pot: Regenerated.
14154
79c1e109
AM
14155 * malloc/memusagestat.c: Fix gettext call formatting.
14156
0c813d1f
SK
141572014-01-04 Sami Kerola <kerolasa@iki.fi>
14158
14159 * nscd/nscd.c: Improve usage() output.
14160
20f4a8d9
MF
141612014-01-04 Mike Frysinger <vapier@gentoo.org>
14162
14163 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14164 * sysdeps/unix/sysv/linux/configure: Regenerated.
14165 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14166 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14167
22562bb2
JM
141682014-01-03 Joseph Myers <joseph@codesourcery.com>
14169
14170 [BZ #16390]
14171 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14172 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14173
d7ad2d9b
AZ
141742014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14175
14176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14177 extra tokens at end of #undef directive.
14178 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14179 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14181
7dd009d8
JM
141822014-01-03 Joseph Myers <joseph@codesourcery.com>
14183
24db925a
JM
14184 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14185
7dd009d8
JM
14186 * math/auto-libm-test-in: Mark various tests with
14187 xfail-rounding:ldbl-128ibm.
14188 * math/auto-libm-test-out: Regenerated.
14189
396e3ecf
JM
141902014-01-02 Joseph Myers <joseph@codesourcery.com>
14191
819e5d50
JM
14192 [BZ #16386]
14193 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14194 numbers with subnormal high part when calculating exponent.
14195
90b6a1e5
JM
14196 [BZ #16385]
14197 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14198 fabs.
14199
396e3ecf
JM
14200 [BZ #16384]
14201 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14202 M_LN2l.
14203 (__ieee754_acoshl): Use __log1pl not __log1p.
14204
6c8dbf00
OB
142052013-01-02 Ondřej Bílka <neleai@seznam.cz>
14206
57f41c40
AS
14207 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14208 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14209 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14210 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14211 (reused_arena, arena_get2): Convert to GNU style.
14212 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14213 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14214 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14215 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14216 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14217 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14218 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14219 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14220 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14221 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14222 * malloc/malloc.h: Likewise.
57f41c40
AS
14223 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14224 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14225 * malloc/mcheck.h: Likewise.
57f41c40
AS
14226 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14227 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14228 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14229 * malloc/morecore.c (__default_morecore): Likewise.
14230 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14231 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14232 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14233 (print_and_abort): Likewise.
6c8dbf00
OB
14234 * malloc/obstack.h: Likewise.
14235 * malloc/set-freeres.c (__libc_freeres): Likewise.
14236 * malloc/tst-mallocstate.c (main): Likewise.
14237 * malloc/tst-mtrace.c (main): Likewise.
14238 * malloc/tst-realloc.c (do_test): Likewise.
14239
d4124212
SP
142402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14241
9a3c6a6f
SP
14242 [BZ #16366]
14243 * nscd/netgroupcache.c (do_notfound): New function.
14244 (addgetnetgrentX): Use it.
14245
d4124212
SP
14246 [BZ # 16365]
14247 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14248 NSS_STATUS_NOTFOUND.
14249
97b9a009
JM
142502014-01-01 Joseph Myers <joseph@codesourcery.com>
14251
14252 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14254
d4697bc9
AM
142552014-01-01 Allan McRae <allan@archlinux.org>
14256
ddb3687f
AM
14257 * scripts/update-copyrights: Update configure input file suffix.
14258
88726d48
AM
14259 * NEWS: Update copyright year.
14260 * catgets/gencat.c: Likewise.
14261 * csu/version.c: Likewise.
14262 * debug/catchsegv.sh: Likewise.
14263 * debug/pcprofiledump.c: Likewise.
14264 * debug/xtrace.sh: Likewise.
14265 * elf/ldconfig.c: Likewise.
14266 * elf/ldd.bash.in: Likewise.
14267 * elf/pldd.c: Likewise.
14268 * elf/sotruss.ksh: Likewise.
14269 * elf/sprof.c: Likewise.
14270 * iconv/iconv_prog.c: Likewise.
14271 * iconv/iconvconfig.c: Likewise.
14272 * locale/programs/locale.c: Likewise.
14273 * locale/programs/localedef.c: Likewise.
14274 * login/programs/pt_chown.c: Likewise.
14275 * malloc/memusage.sh: Likewise.
14276 * malloc/memusagestat.c: Likewise.
14277 * malloc/mtrace.pl: Likewise.
14278 * manual/libc.texinfo: Likewise.
14279 * nscd/nscd.c: Likewise.
14280 * nss/getent.c: Likewise.
14281 * nss/makedb.c: Likewise.
14282 * posix/getconf.c: Likewise.
14283 * scripts/test-installation.pl: Likewise.
14284
d4697bc9
AM
14285 * All files with FSF copyright notices: Update copyright dates
14286 using scripts/update-copyrights.
14287 * intl/plural.c: Regenerated.
14288 * locale/programs/charmap-kw.h: Likewise.
14289 * locale/programs/locfile-kw.h: Likewise.
14290
c8590f9d
MF
142912013-12-31 Mike Frysinger <vapier@gentoo.org>
14292
14293 * sysdeps/unix/sysv/linux/configure: Regenerated.
14294 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14295 the linux/fanotify.h header.
14296 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14297 HAVE_LINUX_FANOTIFY_H is defined.
14298
b19221b9
SP
142992013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14300
dd1d85e5
SP
14301 * benchtests/cos-inputs: New inputs.
14302 * benchtests/sin-inputs: Likewise.
14303
1acbb90f
SP
14304 * benchtests/atan-inputs: New inputs. Fix name of multiple
14305 precision fallback inputs.
14306
4c012ed3
SP
14307 * benchtests/atanh-inputs: New inputs.
14308 * benchtests/tanh-inputs: Likewise.
14309
eff98324
SP
14310 * benchtests/acosh-inputs: New inputs.
14311 * benchtests/asinh-inputs: Likewise.
14312
ce641152
SP
14313 * benchtests/cosh-inputs: New inputs.
14314 * benchtests/sinh-inputs: Likewise.
14315
b19221b9
SP
14316 * benchtests/acos-inputs: Add more inputs.
14317 * benchtests/asin-inputs: Likewise.
14318
030a4976 143192013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14320
030a4976 14321 [BZ #16375]
9dcc8f11
VS
14322 * manual/arith.texi: Fix spelling.
14323 * manual/charset.texi: Likewise.
14324 * manual/errno.texi: Likewise.
14325 * manual/filesys.texi: Likewise.
14326 * manual/lang.texi: Likewise.
14327 * manual/llio.texi: Likewise.
14328 * manual/locale.texi: Likewise.
14329 * manual/message.texi: Likewise.
14330 * manual/resource.texi: Likewise.
14331 * manual/search.texi: Likewise.
14332 * manual/setjmp.texi: Likewise.
14333 * manual/stdio.texi: Likewise.
14334 * manual/string.texi: Likewise.
14335 * manual/sysinfo.texi: Likewise.
14336 * manual/time.texi: Likewise.
14337
11520a57
CD
143382013-12-27 Carlos O'Donell <carlos@redhat.com>
14339
14340 * po/sl.po: New file.
14341
471103ae
MF
143422013-12-27 Mike Frysinger <vapier@gentoo.org>
14343
14344 * .gitignore: Add core/.gdbinit/.gdb_history.
14345
6c9642ed
AM
143462013-12-27 Allan McRae <allan@archlinux.org>
14347
14348 [BZ #16369]
14349 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14350 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14351
3f637079
BM
143522013-12-24 Brooks Moses <bmoses@google.com>
14353
14354 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14355 all compilers that claim C++98 compliance, not just GCC.
14356 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14357 Likewise.
14358
abc26e99
MK
143592013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14360
14361 * NEWS: Restore accidentally deleted bug-fix entries.
14362
362b47fe
MK
143632013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14364 Ondřej Bílka <neleai@seznam.cz>
14365
14366 [BZ #15073]
14367 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14368 have_lock.
362b47fe 14369
b9bcbbcb
OB
143702013-12-23 Ondřej Bílka <neleai@seznam.cz>
14371
14372 [BZ #12986]
14373 * manual/stdio.texi (String Input Conversions): Clarify that character
14374 classes are not supported.
14375
fb55fcd2
AZ
143762013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14377
14378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14379
ef7344f0
JM
143802013-12-22 Joseph Myers <joseph@codesourcery.com>
14381
4f40e4b3
JM
14382 [BZ #16337]
14383 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14384 Calculate results for small negative arguments directly rather
14385 than using reflection formula with special underflow handling.
14386
ef7344f0
JM
14387 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14388 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14389 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14390 (fchflags): Likewise.
14391 (revoke): Likewise.
14392 (setlogin): Likewise.
14393 (sigaltstack): Likewise.
14394 (wait4): Likewise.
14395 (sigblock): Remove.
14396 (sigsetmask): Likewise.
14397 (wait3): Likewise.
14398 (waitpid): Likewise.
14399 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14400 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14401 file.
14402 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14403 * sysdeps/unix/bsd/Makefile: ... here.
14404 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14405 * sysdeps/unix/bsd/Versions: ... here.
14406 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14407 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14408 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14409 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14410 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14411 * sysdeps/unix/bsd/sigblock.c: ... here.
14412 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14413 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14414 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14415 * sysdeps/unix/bsd/sigvec.c: ... here.
14416 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14417 * sysdeps/unix/bsd/tcdrain.c: ... here.
14418 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14419 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14420 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14421 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14422 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14423 * sysdeps/unix/bsd/wait.c: ... here.
14424 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14425 * sysdeps/unix/bsd/wait3.c: ... here.
14426 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14427 * sysdeps/unix/bsd/waitpid.c: ... here.
14428
5b0626b9
JM
144292013-12-21 Joseph Myers <joseph@codesourcery.com>
14430
14431 [BZ #16356]
14432 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14433 round-to-nearest for [!USE_AS_EXPM1L].
14434 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14435 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14436 more tests of exp and exp10. Expect some exp10 tests to miss
14437 exceptions or fail in directed rounding modes.
14438 * math/auto-libm-test-out: Regenerated.
14439 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14440 (exp10_test_tonearest): New function.
14441 (exp10_towardzero_test_data): New array.
14442 (exp10_test_towardzero): New function.
14443 (exp10_downward_test_data): New array.
14444 (exp10_test_downward): New function.
14445 (exp10_upward_test_data): New array.
14446 (exp10_test_upward): New function.
14447 (main): Call the new functions.
14448 * sysdeps/i386/fpu/libm-test-ulps: Update.
14449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14450
7fda5682
JM
144512013-12-20 Joseph Myers <joseph@codesourcery.com>
14452
31e3a405
JM
14453 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14454 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14455 * math/auto-libm-test-out: Regenerated.
14456 * math/libm-test.inc (acosh_test_data): Add more tests.
14457 (atanh_test_data): Likewise.
14458 (ceil_test_data): Likewise.
14459 (copysign_test_data): Likewise.
14460 * sysdeps/i386/fpu/libm-test-ulps: Update.
14461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14462
85bff96a
JM
14463 * timezone/checktab.awk: Update from tzcode 2013i.
14464 * timezone/private.h: Likewise.
14465 * timezone/scheck.c: Likewise.
14466 * timezone/tzfile.h: Likewise.
14467 * timezone/tzselect.ksh: Likewise.
14468 * timezone/zdump.c: Likewise.
14469 * timezone/zic.c: Likewise.
14470
b7867a3b
JM
14471 * math/auto-libm-test-in: Add tests of cpow.
14472 * math/auto-libm-test-out: Regenerated.
14473 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14474 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14475 mpc_cc_c.
14476 (func_calc_desc): Add mpc_cc_c union field.
14477 (test_functions): Add cpow.
14478 (special_fill_2pi): New function.
14479 (special_real_inputs): Add 2pi.
14480 (calc_generic_results): Handle mpc_cc_c.
14481 * sysdeps/i386/fpu/libm-test-ulps: Update.
14482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483
7fda5682
JM
14484 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14485 csqrt, ctan and ctanh.
14486 * math/auto-libm-test-out: Regenerated.
14487 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14488 (TEST_COND_x86): Likewise.
14489 (ccos_test_data): Use AUTO_TESTS_c_c.
14490 (ccosh_test_data): Likewise.
14491 (cexp_test_data): Likewise.
14492 (clog_test_data): Likewise.
14493 (csqrt_test_data): Likewise.
14494 (ctan_test_data): Likewise.
14495 (ctan_tonearest_test_data): Likewise.
14496 (ctan_towardzero_test_data): Likewise.
14497 (ctan_downward_test_data): Likewise.
14498 (ctan_upward_test_data): Likewise.
14499 (ctanh_test_data): Likewise.
14500 (ctanh_tonearest_test_data): Likewise.
14501 (ctanh_towardzero_test_data): Likewise.
14502 (ctanh_downward_test_data): Likewise.
14503 (ctanh_upward_test_data): Likewise.
14504 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14505 mpc_c_c.
14506 (func_calc_desc): Add mpc_c_c union field.
14507 (FUNC_mpc_c_c): New macro.
14508 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14509 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14510 ctanh.
14511 (special_fill_min_subnorm_p120): New function.
14512 (special_real_inputs): Add min_subnorm_p120.
14513 (calc_generic_results): Handle mpc_c_c.
14514 * sysdeps/i386/fpu/libm-test-ulps: Update.
14515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14516
5ff8d60e
SP
145172013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14518
57f41c40
AS
14519 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14520 (do_sin_slow): New functions.
14521 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14522 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14523
84ba214c
SP
14524 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14525 Use M to change sign of result instead of X. Assume X is
14526 positive.
14527 (csloww1): Likewise.
14528 (__sin): Adjust.
14529 (__cos): Adjust.
14530
975195e4
SP
14531 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14532 arguments A and DA.
14533 (__sin): Adjust.
14534 (__cos): Likewise.
14535
5ff8d60e
SP
14536 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14537 (__cos): Likewise.
14538 (sloww1): Don't adjust sign of DX.
14539 (csloww1): Likewise.
14540 (sloww2): Use X directly and don't adjust sign of DX.
14541 (csloww2): Likewise.
14542
eb983568
JM
145432013-12-19 Joseph Myers <joseph@codesourcery.com>
14544
64a17f1a
JM
14545 * math/auto-libm-test-in: Add tests of cabs and carg.
14546 * math/auto-libm-test-out: Regenerated.
14547 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14548 (carg_test_data): Likewise.
14549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14550 mpc_c_f.
14551 (func_calc_desc): Add mpc_c_f union field.
14552 (test_functions): Add cabs and carg.
14553 (calc_generic_results): Handle mpc_c_f.
14554
eb983568
JM
14555 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14556 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14557 as a macro and a compat symbol.
14558 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14559 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14560 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14561 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14562 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14563 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14564 not use .hidden.
14565 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14566 Likewise.
14567 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14568 Likewise.
14569 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14570 Likewise.
14571 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14572 Likewise.
14573 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14574 Likewise.
14575 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14576 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14577 from GLIBC_2.3.2.
14578
6eeb678a
AZ
145792013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14580
14581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14582
6f6fc482
JM
145832013-12-19 Joseph Myers <joseph@codesourcery.com>
14584
21fea2e2
JM
14585 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14586 trailing whitespace removed.
14587 * scripts/config.guess: Update to version 2013-11-29.
14588 * scripts/config.sub: Update to version 2013-10-01.
14589
6f6fc482
JM
14590 * math/auto-libm-test-in: Add tests of sincos.
14591 * math/auto-libm-test-out: Regenerated.
14592 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14593 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14594 mpfr_f_11.
14595 (func_calc_desc): Add mpfr_f_11 union field.
14596 (test_functions): Add sincos.
14597 (calc_generic_results): Handle mpfr_f_11.
14598 * sysdeps/i386/fpu/libm-test-ulps: Update.
14599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14600
83f5c32d
AS
146012013-12-19 Andreas Schwab <schwab@suse.de>
14602
14603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14604 CALL_MCOUNT.
14605 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14607 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14608
c688b419
JM
146092013-12-19 Joseph Myers <joseph@codesourcery.com>
14610
335ee092
JM
14611 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14612 * sysdeps/i386/fpu/libm-test-ulps: Update.
14613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14614
f88acd39
JM
14615 [BZ #16293]
14616 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14617 round-to-nearest mode when using frndint.
14618 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14619 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14620 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14621 Likewise.
14622 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14623 sinh test to fail.
14624 * math/auto-libm-test-out: Regenerated.
14625 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14626 (TEST_COND_x86): Likewise.
14627 (expm1_tonearest_test_data): New array.
14628 (expm1_test_tonearest): New function.
14629 (expm1_towardzero_test_data): New array.
14630 (expm1_test_towardzero): New function.
14631 (expm1_downward_test_data): New array.
14632 (expm1_test_downward): New function.
14633 (expm1_upward_test_data): New array.
14634 (expm1_test_upward): New function.
14635 (main): Run the new test functions.
14636 * sysdeps/i386/fpu/libm-test-ulps: Update.
14637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14638
c688b419
JM
14639 * include/features.h: Update comment documenting feature test
14640 macros. Mention _DEFAULT_SOURCE in comment.
14641 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14642 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14643 _BSD_SOURCE and _SVID_SOURCE.
14644 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14645 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14646 !_SVID_SOURCE]: Likewise.
14647 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14648 (__USE_POSIX_IMPLICITLY): Define.
14649 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14650 (_POSIX_SOURCE): Undefine and redefine.
14651 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14652 (_POSIX_C_SOURCE): Likewise.
14653 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14654 (Feature Test Macros): Update documentation of default features.
14655
9f6e964c
RS
146562013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14657
14658 * benchtests/Makefile: Add bench-strtok.
14659 * benchtests/bench-strtok.c: New file: strtok benchtest.
14660
ee0a148a
AM
146612013-12-19 Allan McRae <allan@archlinux.org>
14662
14663 * manual/install.texi: Suppress menu for plain text output.
14664 * INSTALL: Regenerated.
14665
b9ab448f
BM
146662013-12-18 Brooks Moses <bmoses@google.com>
14667
14668 [BZ #15846]
14669 * misc/getauxval.c: Include errno.h.
14670 (__getauxval): Set errno to ENOENT if the requested type is not
14671 found.
14672 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14673 don't declare with __attribute_const__.
14674 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14675 * manual/startup.texi: Document that getauxval sets errno.
14676
23776487
JM
146772013-12-18 Joseph Myers <joseph@codesourcery.com>
14678
f889953b
JM
14679 * math/auto-libm-test-in: Add tests of jn and yn.
14680 * math/auto-libm-test-out: Regenerated.
14681 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14682 (yn_test_data): Likewise.
14683 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14684 mpfr_if_f.
14685 (func_calc_desc): Add mpfr_if_f union field.
14686 (FUNC_mpfr_if_f): New macro.
14687 (test_functions): Add jn and yn.
14688 (calc_generic_results): Assert type of second input for
14689 mpfr_ff_f. Handle mpfr_if_f.
14690 (output_for_one_input_case): Disable all checking for arguments
14691 fitting floating-point types in case of an integer argument.
14692 * sysdeps/i386/fpu/libm-test-ulps: Update.
14693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14694
23776487
JM
14695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14696 Don't expect fegetround reference in libm.so.
14697
cb756c6d
MS
146982013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14699
14700 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14701 $(config-cflags-nofma).
14702
2dec468f
JM
147032013-12-18 Joseph Myers <joseph@codesourcery.com>
14704
5953eb3a
JM
14705 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14706 * math/auto-libm-test-out: Regenerated.
14707
2dec468f
JM
14708 [BZ #16338]
14709 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14710 to determine exponent and adjust argument to have exponent of -1.
14711 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14712 log2.
14713 * math/auto-libm-test-out: Regenerated.
14714 * sysdeps/i386/fpu/libm-test-ulps: Update.
14715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14716
4d84e6ad
OB
147172013-12-18 Ondřej Bílka <neleai@seznam.cz>
14718
14719 * manual/probes.texi: Remove cases when per-thread arenas are
14720 disabled.
14721
1818483b
AS
147222013-12-18 Andreas Schwab <schwab@suse.de>
14723
14724 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14725 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14726 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14727 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14728 * sysdeps/i386/i686/multiarch/Makefile: Update.
14729 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14730
25de95bf
JM
147312013-12-17 Joseph Myers <joseph@codesourcery.com>
14732
14733 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14734 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14735
674762d9
PE
147362013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14737
ed27ed83 14738 [BZ #15968]
0748546f
PE
14739 Support TZ transition times < 00:00:00.
14740 This is needed for version-3 tz-format files; it supports time
14741 stamps past 2037 for America/Godthab (the only entry in the tz
14742 database for which this change is relevant).
14743 * manual/time.texi (TZ Variable): Document transition times
14744 from -167:59:59 through -00:00:01.
14745 * time/tzset.c (tz_rule): Time of day is now signed.
14746 (__tzset_parse_tz): Parse negative time of day.
14747
4480e934
PE
14748 Document TZ transition times >= 25:00:00.
14749 * manual/time.texi (TZ Variable): Document transition times from
14750 25:00:00 through 167:59:59. These are already supported, and this
14751 support will help with version-3 tz-format files.
14752
69947401
PE
14753 * manual/time.texi (TZ Variable): Modernize North America example
14754 to reflect current (i.e., 2007-and-later) daylight saving rules.
14755
674762d9
PE
14756 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14757
7011c262
JM
147582013-12-17 Joseph Myers <joseph@codesourcery.com>
14759
2fc6557e
JM
14760 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14761 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14764 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14765 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14766 * sysdeps/unix/bsd/clock.c: Likewise.
14767 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14768 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14769 * sysdeps/unix/bsd/init-posix.c: Likewise.
14770 * sysdeps/unix/bsd/poll.c: Likewise.
14771 * sysdeps/unix/bsd/ptsname.c: Likewise.
14772 * sysdeps/unix/bsd/seekdir.c: Likewise.
14773 * sysdeps/unix/bsd/setegid.c: Likewise.
14774 * sysdeps/unix/bsd/seteuid.c: Likewise.
14775 * sysdeps/unix/bsd/setgid.c: Likewise.
14776 * sysdeps/unix/bsd/setrgid.c: Likewise.
14777 * sysdeps/unix/bsd/setruid.c: Likewise.
14778 * sysdeps/unix/bsd/setsid.c: Likewise.
14779 * sysdeps/unix/bsd/setuid.c: Likewise.
14780 * sysdeps/unix/bsd/sigaction.c: Likewise.
14781 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14782 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14783 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14784 * sysdeps/unix/bsd/telldir.c: Likewise.
14785 * sysdeps/unix/bsd/times.c: Likewise.
14786 * sysdeps/unix/bsd/usleep.c: Likewise.
14787
029c7b25
JM
14788 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14789 ($(objpfx)libbsd-compat.a): Remove rule.
14790
7011c262
JM
14791 * include/features.h (__FAVOR_BSD): Do not define.
14792 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14793 features conflicting with POSIX.
14794 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14795 (_BSD_SOURCE): Remove description of not being a subset of other
14796 feature test macros.
14797 * manual/job.texi (getpgrp): Do not document BSD version.
14798 (getpgid): Do not document by reference to BSD getpgrp.
14799 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14800 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14801 * signal/signal.h [__FAVOR_BSD]: Likewise.
14802 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14803 instead of making contents conditional on [__FAVOR_BSD].
14804 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14805
affb6f78
AZ
148062013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14807
14808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14809
c88769dd
JM
148102013-12-17 Joseph Myers <joseph@codesourcery.com>
14811
6432a540
JM
14812 [BZ #16314]
14813 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14814 values below 2**-450, not 2**-500.
14815 * math/auto-libm-test-in: Don't allow spurious underflow from
14816 hypot.
14817 * math/auto-libm-test-out: Regenerated.
14818
c88769dd
JM
14819 [BZ #16316]
14820 [BZ #16330]
14821 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14822 values of ha and hb and sort them after adjusting subnormal
14823 arguments.
14824 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14825 Likewise.
14826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14827 values of ea and eb and sort them after adjusting subnormal
14828 arguments.
14829 * math/auto-libm-test-in: Do not expect some hypot tests of
14830 subnormals to fail. Add more hypot tests.
14831 * math/auto-libm-test-out: Regenerated.
14832
29618f6b
KK
148332013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14834
14835 [BZ #13304]
14836 * sysdeps/sh/s_fma.c: New file.
14837 * sysdeps/sh/s_fmaf.c: New file.
14838 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14839 version.
14840 * sysdeps/sh/Implies: Add sh/soft-fp.
14841
eacfdfbf
RM
148422013-12-16 Roland McGrath <roland@hack.frob.com>
14843
14844 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14845 level of indirection to members `objname', `errstring', `malloced'.
14846 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14847 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14848 it as the __longjmp argument (just pass 1 instead).
14849 (_dl_catch_error): Initialize C with argument pointers and address of
14850 volatile local ERRCODE rather than copying values out of C at return.
14851
ff362e5b
JM
148522013-12-16 Joseph Myers <joseph@codesourcery.com>
14853
14854 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14855 * math/auto-libm-test-out: Regenerated.
14856 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14857 (hypot_test_data): Likewise.
14858 (pow_test_data): Likewise.
14859 (pow_tonearest_test_data): Likewise.
14860 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14861 mpfr_ff_f.
14862 (func_calc_desc): Add mpfr_ff_f union field.
14863 (FUNC_mpfr_ff_f): New macro.
14864 (test_functions): Add atan2, hypot and pow.
14865 (special_fill_min): New function.
14866 (special_fill_minus_min): Likewise.
14867 (special_fill_min_subnorm): Likewise.
14868 (special_fill_minus_min_subnorm): Likewise.
14869 (special_real_inputs): Add min, -min, min_subnorm and
14870 -min_subnorm.
14871 (calc_generic_results): Handle mpfr_ff_f.
14872 * sysdeps/i386/fpu/libm-test-ulps: Update.
14873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874
5764c27f
WN
148752013-12-16 Will Newton <will.newton@linaro.org>
14876
14877 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14878 (Aligned Memory Blocks): Add documentation for aligned_alloc
14879 and suggest it as an alternative to posix_memalign.
14880 (Hooks for Malloc): Document __memalign_hook is also called
14881 for aligned_alloc. (Summary of Malloc): Add summary for
14882 aligned alloc. Document __memalign_hook is also called
14883 for aligned_alloc.
14884
0a096e44
WN
148852013-12-16 Will Newton <will.newton@linaro.org>
14886
14887 * manual/memory.texi (Malloc Examples): Clarify default
14888 alignment documentation. Suggest posix_memalign rather
14889 than memalign or valloc.
14890 (Aligned Memory Blocks): Remove suggestion to use memalign
14891 or valloc. Remove obsolete comment about BSD.
14892 Document memalign errno values and mark the function obsolete.
14893 Document posix_memalign returned error codes. Mark valloc
14894 as obsolete. (Hooks for Malloc): __memalign_hook is also
14895 called for posix_memalign and valloc.
14896 (Summary of Malloc): Add posix_memalign to function summary.
14897 __memalign_hook is also called for posix_memalign and valloc.
14898
8d561986
SP
148992013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14900
14901 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14902 TAYLOR_SIN.
14903 (__sin): Adjust.
14904 (__cos): Likewise.
14905 (sloww): Use mynumber union. Expand ternary operator into
14906 if-else statements.
14907 (cslow): use mynumber union.
14908
73616a74
AM
149092013-12-16 Allan McRae <allan@archlinux.org>
14910
9e8ac24b
AM
14911 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14912 * configure: Regenerated.
14913
6f8e37eb
AM
14914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14915
8894bad3
AM
14916 [BZ #14120]
14917 * configure.ac: Added --enable-maintainer-mode. Check for
14918 autoconf when enabled.
14919 * configure: Regenerated.
14920
73616a74
AM
14921 * nscd/nscd.service: New file.
14922 * nscd/nscd.tmpfiles: New file.
14923
584b18eb
OB
149242013-12-14 Ondřej Bílka <neleai@seznam.cz>
14925
14926 [BZ #12100]
14927 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14928 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14929 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14930 (strstr): Add __strstr_sse2_unaligned ifunc.
14931 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14932 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14933 (strcasestr): Remove __strcasestr_sse42 ifunc.
14934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14937
8a5c7897
KK
149382013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14939
14940 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14941 * sysdeps/sh/bits/fenv.h: ... here.
14942 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14943
fd712ef3
AZ
149442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14945
14946 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14947
42fcb46c
AZ
14948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14949 hypotf multiarch implementations.
14950 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14951 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14952 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14953 multiarch hypot for PPC64.
14954 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14955 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14956 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14957 multiarch hypotf for PPC64.
14958
83efded4
AZ
14959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14960 modff multiarch implementations.
14961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14964 multiarch modf for PPC64.
14965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14968 multiarch modff for PPC64.
14969
43e246d2
AZ
14970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14971 and logl multiarch implementations.
14972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14975 multiarch logb for PPC64.
14976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14979 multiarch logb for PPC64.
14980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14983 multiarch logb for PPC64.
14984
8fdad123
AZ
14985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14986 isinff multiarch implementation.
14987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14988 file.
14989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14991 multiarch isinf for PPC64.
14992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14993 file.
14994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14995 multiarch isinff for PPC64.
14996
1481d706
AZ
14997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14998 finitef multiarch implementation.
14999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15000 file.
15001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15003 multiarch finite for PPC64.
15004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15005 file.
15006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15007 multiarch finitef for PPC64.
15008
5ccd5fc8
AZ
15009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15010 lrint multiarch implementation.
15011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15012 file.
15013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15015 multiarch llrint for PPC64.
15016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15017 multiarch lrint for PPC64.
15018
2568f3fa
AZ
15019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15020 copysignf multiarch implementation.
15021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15022 file.
15023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15024 file.
15025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15026 multiarch copysign for PPC64.
15027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15028 multiarch copysignf for PPC64.
15029
1cb341fd
AZ
15030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15031 multiarch implementation.
15032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15033 file.
15034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15035 file.
15036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15037 file.
15038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15039 file.
15040 multiarch llround for PPC64.
15041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15042 multiarch trunc for PPC64.
15043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15044 multiarch truncf for PPC64.
15045
59a3e194
AZ
15046 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15047 multiarch implementation.
15048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15049 file.
15050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15051 file.
15052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15053 file.
15054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15055 file.
15056 multiarch llround for PPC64.
15057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15058 multiarch round for PPC64.
15059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15060 multiarch roundf for PPC64.
15061
357fd3b4
AZ
15062 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15063 multiarch implementation.
15064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15065 file.
15066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15067 file.
15068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15069 file.
15070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15071 file.
15072 multiarch llround for PPC64.
15073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15074 multiarch floor for PPC64.
15075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15076 multiarch floorf for PPC64.
15077
96770f12
AZ
15078 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15079 multiarch implementation.
15080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15081 file.
15082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15083 file.
15084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15085 file.
15086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15087 file.
15088 multiarch llround for PPC64.
15089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15090 multiarch ceil for PPC64.
15091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15092 multiarch ceilf for PPC64.
15093
c3627f6e
AZ
15094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15095 multiarch implementation.
15096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15097 file.
15098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15099 file.
15100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15101 file.
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15103 multiarch llround for PPC64.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15105 multiarch lround for PPC64.
15106
b2284ad7
AZ
15107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15108 multiarch implementation.
15109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15112 file.
15113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15116 multiarch isnan for PPC64.
15117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15118 multiarch isnanf for PPC64.
15119
69bbc63d
AZ
15120 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15121 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15122 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15123 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15124 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15126
c24517c9
AZ
15127 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15128 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15131
a52374e8
AZ
15132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15133 multiarch implementations.
15134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15135 (__libc_ifunc_impl_list): Likewise.
15136 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15137 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15138 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15139 multiarch stpcpy for PPC64.
15140
7f5ec113
AZ
15141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15142 multiarch implementations.
15143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15144 (__libc_ifunc_impl_list): Likewise.
15145 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15146 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15147 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15148 multiarch strcpy for PPC64.
15149
e28bcd42
AZ
15150 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15151 redefine function name.
15152 (_wordcopy_fwd_dest_aligned): Likewise.
15153 (_wordcopy_bwd_aligned): Likewise.
15154 (_wordcopy_bwd_dest_aligned): Likewise.
15155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15156 multiarch implementations.
15157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15158 (__libc_ifunc_impl_list): Likewise.
15159 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15160 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15161 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15162 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15163 multiarch wcscpy for PPC64.
15164
92cacfce
AZ
15165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15166 multiarch implementations.
15167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15168 (__libc_ifunc_impl_list): Likewise.
15169 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15170 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15171 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15172 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15173 multiarch wcscpy for PPC64.
15174
7b714620
AZ
15175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15176 multiarch implementations.
15177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15178 (__libc_ifunc_impl_list): Likewise.
15179 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15180 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15181 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15182 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15183 multiarch wcsrchr for PPC64.
15184
16fd2ae3
AZ
15185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15186 multiarch implementations.
15187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15188 (__libc_ifunc_impl_list): Likewise.
15189 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15190 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15191 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15192 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15193 multiarch wcschr for PPC64.
15194
9ee2969b
AZ
15195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15196 multiarch implementations.
15197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15198 (__libc_ifunc_impl_list): Likewise.
15199 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15200 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15201 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15202 multiarch strchrnul for PPC64.
15203
372dc060
AZ
15204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15205 implementations.
15206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15207 (__libc_ifunc_impl_list): Likewise.
15208 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15209 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15210 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15211 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15212 strchr for PPC64.
15213
24c2c3b9
AZ
15214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15215 implementations.
15216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15217 (__libc_ifunc_impl_list): Likewise.
15218 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15219 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15220 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15221 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15222 strncmp for PPC64.
15223
1c92d9a0
AZ
15224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15225 multiarch implementations.
15226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15227 (__libc_ifunc_impl_list): Likewise.
15228 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15229 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15230 strncasecmp for PPC64.
15231 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15232 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15233 multiarch strncasecmp_l for PPC64.
15234
17de3ee3
AZ
15235 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15236 multiarch implementations.
15237 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15238 (__libc_ifunc_impl_list): Likewise.
15239 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15240 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15241 multiarch strcasecmp for PPC64.
15242 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15243 file.
15244 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15245 multiarch strcasecmp_l for PPC64.
15246
62982bf9
AZ
15247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15248 implementations.
15249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15250 (__libc_ifunc_impl_list): Likewise.
15251 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15252 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15253 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15254 strnlen for PPC64.
15255
a65f4904
AZ
15256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15257 implementations.
15258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15259 (__libc_ifunc_impl_list): Likewise.
15260 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15261 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15262 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15263 strlen for PPC64.
15264
1fd005ad
AZ
15265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15266 implementations.
15267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15268 (__libc_ifunc_impl_list): Likewise.
15269 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15270 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15271 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15272 rawmemrchr for PPC64.
15273
cd05ba91
AZ
15274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15275 implementation.
15276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15277 (__libc_ifunc_impl_list): Likewise.
15278 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15279 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15280 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15281 memrchr for PPC64.
15282
870f8676
AZ
15283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15284 implementation.
15285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15286 (__libc_ifunc_impl_list): Likewise.
15287 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15288 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15289 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15290 memchr for PPC64.
15291
f00be62b
AZ
15292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15293 implementation.
15294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15295 (__libc_ifunc_impl_list): Likewise.
15296 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15297 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15298 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15299 mempcpy for PPC64.
15300
8a29a3d0
AZ
15301 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15302 avoid cretion of __bzero symbol.
15303 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15304 Likewise.
15305 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15306 Likewise.
15307 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15308 Likewise.
15309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15310 multiarch implementations.
15311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15312 (__libc_ifunc_impl_list): Likewise.
15313 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15314 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15315 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15316 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15317 bzero for PPC32.
15318 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15319 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15320 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15321 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15322 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15323 memset for PPC64.
15324 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15325
07253fcf
AZ
15326 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15328 implementations.
15329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15330 (__libc_ifunc_impl_list): Likewise.
15331 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15332 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15333 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15334 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15335 memcmp for PPC64.
15336
b5beafbc
AZ
15337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15338 multiarch for POWER/PPC64.
15339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15340 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15341 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15342 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15343 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15344 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15345 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15346 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15347 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15348 memcpy for PPC64.
15349
5e6a4d4b
AZ
15350 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15351 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15352 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15353 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15354 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15355 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15356 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15357 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15358 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15359 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15360 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15361 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15362 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15363 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15364 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15372
ddfab6dc
KK
153732013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15374
15375 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15376
19b5525e
SP
153772013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15378
15379 * benchtests/Makefile (bench): Add exp2 and log2.
15380 (LDLIBS-bench-exp2): Add -lm.
15381 (LDLIBS-bench-log2): Likewise.
15382 * benchtests/exp2-inputs: New inputs file.
15383 * benchtests/log2-inputs: New inputs file.
15384 * benchtests/log-inputs: Add new inputs.
15385 * benchtests/tan-inputs: Likewise.
15386
196f7f5d
SP
153872013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15388
7a74607f
SP
15389 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15390 definition...
57f41c40
AS
15391 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15392 (csloww2): ... from here.
7a74607f 15393
196f7f5d
SP
15394 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15395 instead of structures.
15396 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15397 (POLYNOMIAL): Likewise.
15398 (TAYLOR_SLOW): Likewise.
15399 (__sin): Likewise.
15400 (__cos): Likewise.
15401 (slow1): Likewise.
15402 (slow2): Likewise.
15403 (sloww): Likewise.
15404 (sloww1); Likewise.
15405 (sloww2): Likewise.
15406 (bsloww1): Likewise.
15407 (bsloww2): Likewise.
15408 (cslow2): Likewise.
15409 (csloww): Likewise.
15410 (csloww1): Likewise.
15411 (csloww2): Likewise.
15412
0dfa665c
OB
154132013-12-10 Ondřej Bílka <neleai@seznam.cz>
15414
15415 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15416 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15417 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15418 * malloc/hooks.c (realloc_check): Likewise.
15419
5782a80f
OB
15420 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15421 * malloc/arena.c: Remove PER_THREAD conditional.
15422 [!PER_THREAD]: Remove code.
15423 (ptmalloc_unlock_all2): Likewise.
15424 (ptmalloc_init): Likewise.
15425 (_int_new_arena): Likewise.
15426 (arena_get2): Likewise.
15427 * malloc/hooks.c (__malloc_get_state): Likewise.
15428 (__malloc_set_state): Likewise.
15429 * malloc/malloc.c: Likewise.
15430 (struct malloc_state): Likewise.
15431 (struct malloc_par): Likewise.
15432 (__libc_realloc): Likewise.
15433 (__libc_mallopt): Likewise.
15434
aeb95445
AZ
154352013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15436
15437 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15438
e8349efd
OB
154392013-12-09 Ondřej Bílka <neleai@seznam.cz>
15440
15441 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15442 macro to a function. Check for zero perturb_byte.
15443 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15444
f3eeb3fc 15445 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15446 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15447 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15448 force_reg by atomic_forced_read.
15449 * malloc/arena.c (ptmalloc_init): Likewise.
15450 * malloc/hooks.c (top_check): Likewise.
15451
be2f9009
AZ
154522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15453
15454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15455
e7b914bd
MT
154562013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15457
15458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15459
9f0be4f8
JM
154602013-12-08 Joseph Myers <joseph@codesourcery.com>
15461
15462 * math/auto-libm-test-in: Add tests of lgamma.
15463 * math/auto-libm-test-out: Regenerated.
15464 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15465 (M_LOG_2_SQRT_PIl): Likewise.
15466 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15467 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15468 mpfr_f_f1.
15469 (func_calc_desc): Add mpfr_f_f1 union field.
15470 (ARGS1): New macro.
15471 (ARGS2): Likewise.
15472 (ARGS3): Likewise.
15473 (ARGS4): Likewise.
15474 (RET1): Likewise.
15475 (RET2): Likewise.
15476 (CALC): Likewise.
15477 (FUNC): Likewise.
15478 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15479 (test_functions): Add lgamma.
15480 (calc_generic_results): Handle mpfr_f_f1.
15481 * sysdeps/i386/fpu/libm-test-ulps: Update.
15482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15483
24eeafdb
AZ
154842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15485
15486 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15487 __mpn_add_n for PowerPC64/POWER7.
15488 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15489 __mpn_sub_n for PowerPC64/POWER7.
15490
4a2c0fd4
AZ
15491 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15492 __mpn_addmul_1 for PowerPC64.
15493 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15494 __mpn_submul_1 for PowerPC64.
15495 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15496 for PowerPC64.
15497 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15498 for PowerPC64.
15499
4b5b548c
FS
155002013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15501
15502 [BZ #15089]
15503 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15504
0a3ac0aa
AZ
155052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15506
15507 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15508
ccdc8438
AZ
15509 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15510 add multiarch folders.
15511 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15512 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15513 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15514 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15515 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15516 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15517 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15518 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15519 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15520 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15521 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15528
2e973d99
AZ
15529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15530 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15532 New file.
15533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15534 New file.
15535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15536 multiarch __ieee754_hypot for PowerPC32.
15537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15538 New file.
15539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15540 New file.
15541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15542 multiarch __ieee754_hypotf for PowerPC32.
15543
2d9470b2
AZ
15544 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15545 long_double_symbol only if __logbl is defined.
15546 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15547 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15548 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15549 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15550 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15551 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15552 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15553 path for implementation.
15554 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15555 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15557 logb, and logbl multiarch implementations for PowerPC32.
15558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15559 file.
15560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15561 file.
15562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15563 multiarch logb for PowerPC32.
15564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15565 file.
15566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15567 file.
15568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15569 multiarch logbf for PowerPC32.
15570 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15572 file.
15573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15574 multiarch logbl implementation for PowerPC32.
15575
5212ffce
AZ
15576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15577 and modff multiarch implementations.
15578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15579 New file.
15580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15581 New file.
15582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15583 multiarch modf for PowerPC32.
15584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15585 New file.
15586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15587 New file.
15588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15589 multiarch modff for PowerPC32.
15590
79dccf31
AZ
15591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15592 and lrintf multiarch implementations.
15593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15594 New file.
15595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15596 New file.
15597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15598 multiarch lrint for PowerPC32.
15599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15600 file: multiarch lrintf for PowerPC32.
15601
deb66480
AZ
15602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15603 and lroundf multiarch implementations.
15604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15605 New file.
15606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15607 New file.
15608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15609 New file.
15610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15611 multiarch lround for PowerPC32.
15612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15613 file: multiarch lroundf for PowerPC32.
15614
264b036b
AZ
15615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15616 copysign and copysignf multiarch implementations.
15617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15618 New file.
15619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15620 New file.
15621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15622 file: multiarch copysign for PowerPC32.
15623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15624 file: multiarch copysignf for PowerPC32.
15625
d47db6c9
AZ
15626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15627 and truncf multiarch implementations.
15628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15629 New file.
15630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15631 file.
15632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15633 multiarch trunc for PowerPC32.
15634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15635 New file.
15636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15637 New file.
15638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15639 multiarch truncf for PowerPC32.
15640
ddb60b5a
AZ
15641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15642 and roundf multiarch implementations.
15643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15644 New file.
15645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15646 file.
15647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15648 multiarch round for PowerPC32.
15649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15650 New file.
15651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15652 New file.
15653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15654 multiarch roundf for PowerPC32.
15655
bedcf49b
AZ
15656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15657 and floorf multiarch implementations.
15658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15659 New file.
15660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15661 file.
15662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15663 multiarch floor for PowerPC32.
15664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15665 New file.
15666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15667 New file.
15668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15669 multiarch floorf for PowerPC32.
15670
35ae5b40
AZ
15671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15672 and ceilf multiarch implementations.
15673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15674 New file.
15675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15676 file.
15677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15678 multiarch ceil for PowerPC32.
15679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15680 New file.
15681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15682 file.
15683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15684 multiarch ceilf for PowerPC32.
15685
ae1a4cd9
AZ
15686 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15687 is defined.
15688 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15689 FINITEF is defined.
15690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15691 and finitef multiarch implementations.
15692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15693 New file.
15694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15695 file.
15696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15697 multiarch finite for PowerPC32.
15698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15699 New file.
15700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15701 file: multiarch finitef for PowerPC32.
15702
64fffd65
AZ
15703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15704 and isinff multiarch implementations.
15705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15706 file.
15707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15708 file.
15709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15710 multiarch isinf for PowerPC32.
15711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15712 New file.
15713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15714 multiarch isinff for PowerPC32.
15715
8e4e7ba2
AZ
15716 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15717 alias when __isnan is defined.
15718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15719 and isnanf multiarch implementations.
15720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15721 file.
15722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15723 file.
15724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15725 file.
15726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15727 file.
15728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15729 multiarch isnan for PowerPC32.
15730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15731 New file.
15732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15733 New file.
15734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15735 multiarch isnanf for PowerPC32.
15736
ddba588e
AZ
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15738 and sqrtf multiarch implementations.
15739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15740 file.
15741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15742 file.
15743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15744 multiarch sqrt for PowerPC32.
15745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15746 file.
15747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15748 file.
15749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15750 multiarch sqrtf for PowerPC32.
15751
0f96a2f0
AZ
15752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15753 and llroundf multiarch implementations.
15754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15755 New file.
15756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15757 New file.
15758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15759 New file.
15760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15761 file: multiarch llround for PowerPC32.
15762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15763 file: multiarch llroundf for PowerPC32.
15764
c9b5d79e
AZ
15765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15766 multiarch PowerPC32 fpu implementations.
15767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15768 New file.
15769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15770 New file.
15771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15772 multiarch llrint for PowerPC32.
15773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15774 New file.
15775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15776 New file.
15777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15778 file.
15779
9cbb3aab
AZ
15780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15781
ea5a72f8
AZ
15782 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15783 file.
15784 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15785 file.
15786 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15787 file.
15788 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15789 multiarch wordcopy for PPC32.
15790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15791 wordcopy objects.
15792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15793 (__libc_ifunc_impl_list): Likewise.
15794 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15795 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15796 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15797 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15798 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15799 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15800
93be09e7
AZ
15801 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15803 file.
15804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15805 file.
15806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15807 file.
15808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15809 multiarch wcscpy for PPC32.
15810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15811 multiarch objects.
15812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15813 (__libc_ifunc_impl_list): Likewise.
15814 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15815 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15816 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15817 sysdeps/powerpc/power6/wcscpy.c.
15818
bb04e529
AZ
15819 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15821 file.
15822 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15823 file.
15824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15825 file.
15826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15827 multiarch wcsrchr for PPC32.
15828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15829 multiarch objects.
15830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15831 (__libc_ifunc_impl_list): Likewise.
15832 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15833 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15834 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15835 sysdeps/powerpc/power6/wcsrchr.c.
15836
05b5cd1c
AZ
15837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15838 file.
15839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15840 file.
15841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15842 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15843 multiarch wcschr for PPc32.
15844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15845 multiarch objects.
15846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15847 (__libc_ifunc_impl_list): Likewise.
15848 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15849 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15850 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15851 sysdeps/powerpc/power6/wcschr.c.
15852
ba964147
AZ
15853 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15854 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15855 file.
15856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15857 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15858 file: multiarch strchr for PPC32.
15859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15860 multiarch objects.
15861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15862 (__libc_ifunc_impl_list): Likewise.
15863
31c81aaa
AZ
15864 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15865 name.
15866 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15867 file.
15868 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15869 file.
15870 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15871 multiarch strchrnul for PPC32.
15872 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15873 multiarch objects.
15874 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15875 (__libc_ifunc_impl_list): Likewise.
15876
0d0607d9
AZ
15877 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15878 file.
15879 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15880 multiarch strncasecmp for PPC32.
15881 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15882 file.
15883 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15884 multiarch strncasecmp_l for PPC32.
15885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15886 strncasecmp multiarch objects.
15887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15888 (__libc_ifunc_impl_list): Likewise.
15889
4dfd5c86
AZ
15890 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15891 file.
15892 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15893 multiarch strncasecmp for PPC32.
15894 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15895 New file.
15896 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15897 multiarch strcasecmp_l for PPC32.
15898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15899 multiarch objects.
15900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15901 (__libc_ifunc_impl_list): Likewise.
15902
a19e01a3
AZ
15903 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15904 file.
15905 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15906 file.
15907 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15908 multiarch strncmp for PPC32.
15909 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15910 multiarch objects.
15911 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15912 (__libc_ifunc_impl_list): Likewise.
15913
ae9cf7a2
AZ
15914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15915 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15916 file.
15917 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15918 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15920 multiarch objects.
15921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15922 (__libc_ifunc_impl_list): Likewise.
15923
3148bb7d
AZ
15924 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15925 file.
15926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15927 file.
15928 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15930 multiarch objects.
15931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15932 (__libc_ifunc_impl_list): Likewise.
15933
7af8b946
AZ
15934 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15935 file.
15936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15937 file.
15938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15939 multiarch rawmemchr for PPC32.
15940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15941 multiarch objects.
15942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15943 (__libc_ifunc_impl_list): Likewise.
15944
03a6aa6a
AZ
15945 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15946 file.
15947 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15948 file.
15949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15950 file: memrchr multiarch for PPC32.
15951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15952 multiarch objects.
15953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15954 (__libc_ifunc_impl_list): Likewise.
15955
1c62e6d9
AZ
15956 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15957 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15958 file.
15959 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15961 multiarch memchr for PPC32.
15962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15963 multiarch objects.
15964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15965 (__libc_ifunc_impl_list): Likewise.
15966
87da8bdb
AZ
15967 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15968 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15969 file.
15970 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15971 file.
15972 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15973 file: multiarch mempcpy for PPC32.
15974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15975 multiarch objects.
15976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15977 (__libc_ifunc_impl_list): Likewise.
15978
20ed4714
AZ
15979 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15980 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15981 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15983 multiarch bzero for PPC32.
15984 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15985 file.
15986 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15987 file.
15988 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15989 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15990 file: multiarch memset for PPC32.
15991 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15993 memset multiarch objects.
15994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15995 (__libc_ifunc_impl_list): Likewise.
15996
ab3e3a46
AZ
15997 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15998 file.
15999 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16001 memcmp for PPC32.
16002 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16003 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16004 multiarch objects.
16005 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16006 (__libc_ifunc_impl_list): Likewise.
16007
930de6f0
AZ
16008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16011 file.
16012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16013 file.
16014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16015 file.
16016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16017 multiarch memcpy for PPC32.
16018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16019 multiarch objects.
16020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16021 (__libc_ifunc_impl_list): Likewise.
16022
4c628e00
AZ
16023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16024 support multiarch for POWER/PPC32.
16025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16026 Likewise.
16027 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16029 Implies file to make multiarch folder appers before the fpu and
16030 default folder for power4 configuration.
16031
f4479220
SP
160322013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16033
16034 * scripts/bench.pl: Append volatile keyword to type.
16035
8517800f
KK
160362013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16037
16038 * sysdeps/sh/sotruss-lib.c: New file.
16039 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16040
180138f1
AZ
160412013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16042
16043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16044
bbf37bdc
JM
160452013-12-05 Joseph Myers <joseph@codesourcery.com>
16046
e47cc4e0
JM
16047 [BZ #6810]
16048 * math/w_tgamma.c: Include <errno.h>.
16049 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16050 * math/w_tgammaf.c: Include <errno.h>.
16051 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16052 * math/w_tgammal.c: Include <errno.h>.
16053 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16054 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16055 underflow. Add more tgamma tests.
16056 * math/auto-libm-test-out: Regenerated.
16057 * sysdeps/i386/fpu/libm-test-ulps: Update.
16058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16059
bbf37bdc
JM
16060 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16061 sin, sinh, tan, tanh, tgamma, y0 and y1.
16062 * math/auto-libm-test-out: Regenerated.
16063 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16064 (TEST_COND_x86): Likewise.
16065 (M_E2l): Remove macro.
16066 (M_E3l): Likewise.
16067 (M_2_SQRT_PIl): Likewise.
16068 (M_SQRT_PIl): Likewise.
16069 (M_1_DIV_El): Likewise.
16070 (log_test_data): Use AUTO_TESTS_f_f.
16071 (log10_test_data): Likewise.
16072 (log1p_test_data): Likewise.
16073 (log2_test_data): Likewise.
16074 (sin_test_data): Likewise.
16075 (sin_tonearest_test_data): Likewise.
16076 (sin_towardzero_test_data): Likewise.
16077 (sin_downward_test_data): Likewise.
16078 (sin_upward_test_data): Likewise.
16079 (sinh_test_data): Likewise.
16080 (sinh_tonearest_test_data): Likewise.
16081 (sinh_towardzero_test_data): Likewise.
16082 (sinh_downward_test_data): Likewise.
16083 (sinh_upward_test_data): Likewise.
16084 (tan_test_data): Likewise.
16085 (tan_tonearest_test_data): Likewise.
16086 (tan_towardzero_test_data): Likewise.
16087 (tan_downward_test_data): Likewise.
16088 (tan_upward_test_data): Likewise.
16089 (tanh_test_data): Likewise.
16090 (tgamma_test_data): Likewise.
16091 (y0_test_data): Likewise.
16092 (y1_test_data): Likewise.
16093 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16094 (special_real_inputs): Add pi/4.
16095 * sysdeps/i386/fpu/libm-test-ulps: Update.
16096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16097
eb5ad6b9
AZ
160982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16099
16100 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16101 "longjmp_target" static probes.
16102 (__longjmp): Rename to __longjmp_symbol.
16103 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16104 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16105 on which longjmp to generate.
16106 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16107 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16108 probe.
16109 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16110 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16111 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16112 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16113 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16114 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16116 __longjmp_symbol based on which __longjmp to generate.
16117 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16118 probe.
16119 (setjmp): Rename to setjmp_symbol.
16120 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16121 (_setjmp): Rename to _setjmp_symbol.
16122 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16123 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16124 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16125 which setjmp to generate.
16126 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16127 "longjmp_target" static probes.
16128
d136c6dc
SP
161292013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16130
9298ecba
SP
16131 * benchtests/README: Add note about output arguments.
16132 * benchtests/bench-sincos.c: Remove file.
16133 * benchtests/sincos-inputs: New file.
16134 * scripts/bench.pl: Identify output arguments and define
16135 static variables for them.
16136
232983e9
SP
16137 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16138
d136c6dc
SP
16139 [BZ #15941]
16140 * Makefile (INSTALL): Add install-plain.texi as the primary
16141 dependency.
16142 * manual/install-plain.texi: New file.
16143 * manual/install.texi: Include node directive only for
16144 non-plaintext output.
16145
699ff837
JM
161462013-12-04 Joseph Myers <joseph@codesourcery.com>
16147
ab07cea8
JM
16148 * stdlib/longlong.h: Update from GCC.
16149
699ff837
JM
16150 [BZ #6807]
16151 [BZ #15901]
16152 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16153 * math/w_j0f.c (y0f): Likewise.
16154 * math/w_j0l.c (__y0l): Likewise.
16155 * math/w_j1.c (y1): Likewise.
16156 * math/w_j1f.c (y1f): Likewise.
16157 * math/w_j1l.c (__y1l): Likewise
16158 * math/w_jn.c (yn): Likewise.
16159 * math/w_jnf.c (ynf): Likewise.
16160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16161 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16162 value for Bessel function domain errors outside _SVID_ mode.
16163 Adjust sign of return value for yn (negative integer, 0).
16164 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16165 by zero in return for negative x and set sign appropriately for
16166 negative n.
16167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16168 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16169 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16170 expectations in error cases.
16171 (y1_test_data): Likewise.
16172 (yn_test_data): Likewise.
16173 * sysdeps/i386/fpu/libm-test-ulps: Update.
16174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16175
5b118558
UW
161762013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16177
16178 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16179 "64" to "64-v1". Add "64-v2".
16180 (abi-64-options): Rename to ...
16181 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16182 (abi-64-condition): Rename to ...
16183 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16184 (abi-64-ld-soname): Rename to ...
16185 (abi-64-v1-ld-soname): ... this.
16186 (abi-64-v2-options): Define.
16187 (abi-64-v2-condition): Likewise.
16188 (abi-64-v2-ld-soname): Likewise.
16189 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16190 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16194
61cd8fe4
UW
161952013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16196 Alan Modra <amodra@gmail.com>
16197
16198 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16199 New versions for use with the ELFv2 ABI.
16200 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16201 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16202 declaration.
16203 (struct La_ppc64v2_retval): Likewise.
16204 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16205 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16206 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16207 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16208 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16209 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16210 Do not save or restore CR.
16211 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16212 (_dl_profile_resolve): Do no save or restore CR. Support extended
16213 return values for ELFv2 ABI. Fix location of FPR return registers.
16214 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16215 updated values for _CALL_ELF == 2.
16216 (La_regs, La_retval, int_retval): Likewise.
16217
8b8a692c
UW
162182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16219
16220 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16221 (FRAME_MIN_SIZE_PARM): Likewise.
16222 (FRAME_BACKCHAIN): Likewise.
16223 (FRAME_CR_SAVE): Likewise.
16224 (FRAME_LR_SAVE): Likewise.
16225 (FRAME_TOC_SAVE): Likewise.
16226 (FRAME_PARM_SAVE): Likewise.
16227 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16228 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16229 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16230 (call_mcount_parm_offset): New macro.
16231 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16232 (PROF): Use symbolic stack frame offsets.
16233 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16234 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16235 Redefine in terms of FRAME_MIN_SIZE.
16236 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16237 (_dl_profile_resolve): Likewise. Update comment.
16238 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16239 symbols stack frame offsets.
16240 (__sigsetjmp): Likewise.
16241 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16242 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16243 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16244 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16245
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16247 (FRAME_BACKCHAIN): Remove.
16248 (FRAME_CR_SAVE): Likewise.
16249 (FRAME_LR_SAVE): Likewise.
16250 (FRAME_COMPILER_DW): Likewise.
16251 (FRAME_LINKER_DW): Likewise.
16252 (FRAME_TOC_SAVE): Likewise.
16253 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16254 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16255 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16256 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16258 (CHECK_SP): Use symbolic stack frame offsets.
16259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16260 zone" instead of caller's parameter save area for temp storage.
16261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16262 Likewise. Also, use symbolic stack frame offsets.
16263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16264 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16265 our own stack frame instead of the caller's.
16266 (__socket): Use symbolic stack frame offsets.
16267
122b66de
UW
162682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16269 Alan Modra <amodra@gmail.com>
16270
16271 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16272 Define.
57f41c40
AS
16273 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16274 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16275 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16276 New function.
16277 (elf_machine_fixup_plt): Call it.
16278 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16279 reloc arguments.
16280 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16281 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16282 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16283 r2 before calling target.
16284
696caf1d
UW
162852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16286 Alan Modra <amodra@gmail.com>
16287
16288 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16289 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16290 versions of macros to support ELFv2 ABI.
16291 (LOCALENTRY): New macro.
16292 (ENTRY, EALIGN): Use it.
16293 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16294 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16295 fall through into ENTRY entry point.
16296 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16297 Only define if _CALL_ELF != 2.
16298
16299 (elf_machine_matches_host): Verify ABI version matches.
16300 (RTLD_START): Use LOCALENTRY.
16301 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16302 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16303 (PLT_ENTRY_WORDS): New macro.
16304 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16305 (elf_machine_runtime_setup): Support ELFv2 ABI.
16306 (elf_machine_fixup_plt): Likewise.
16307 (elf_machine_plt_conflict): Likewise.
16308 (resolve_ifunc): Likewise.
16309 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16310 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16311 Likewise.
16312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16313 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16315 (makecontext): Support ELFv2 ABI.
16316 * elf/elf.h (EF_PPC64_ABI): Define.
16317
d31beafa
UW
163182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16319
57f41c40
AS
16320 * sysdeps/powerpc/powerpc64/sysdep.h
16321 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16322 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16323 (ENTRY) [ASSEMBLER]: ... but instead here ...
16324 (EALIGN) [ASSEMBLER]: ... and here.
16325 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16326 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16327 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16328 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16329 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16330 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16331 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16332 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16334 Use PPC64_LOAD_FUNCPTR.
16335
b525166b
UW
16336 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16337
7ec07d9a
AM
163382013-12-04 Alan Modra <amodra@gmail.com>
16339
16340 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16341 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16342 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16343 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16344
16345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16346 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16347 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16348 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16349 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16350 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16351
5162e7dd
UW
163522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16353
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16355 (__makecontext): Fix incorrect CFI when backtracing out of
16356 context created via makecontext.
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16358 (__setcontext): Fix incorrect CFI during switch to new context.
16359 (__novec_setcontext): Likewise.
16360
19e3372b
OB
163612013-12-04 Ondřej Bílka <neleai@seznam.cz>
16362
16363 [BZ #4772]
16364 * time/strptime_l.c (__strptime_internal): Allow modifiers
16365 in strptime.
16366 * time/tst-strptime.c (day_tests): Add testcase.
16367
ecaf142d
SP
163682013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16369
16370 * scripts/bench.pl: Skip over blank lines.
16371
fbf964ae
PE
163722013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16373
16374 [BZ #926]
16375 * manual/time.texi (Calendar Time): Clarify what timezone functions
16376 use.
16377
fa60a674
AZ
163782013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16379
16380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16381
d674f0ef
OB
163822013-12-04 Ondřej Bílka <neleai@seznam.cz>
16383
16384 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16385 implementation.
16386 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16387 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16388 * debug/memset_chk.c (__memset_chk): Likewise.
16389 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16390 * debug/strncpy_chk.c: Likewise.
16391
17dea188
JM
163922013-12-03 Joseph Myers <joseph@codesourcery.com>
16393
749008ff
JM
16394 [BZ #15268]
16395 [BZ #15425]
16396 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16397 (__ieee754_exp): For possibly underflowing results, check size of
16398 result and force underflow exception if required.
16399 * math/auto-libm-test-in: Add more tests of exp.
16400 * math/auto-libm-test-out: Regenerated.
16401 * sysdeps/i386/fpu/libm-test-ulps: Update.
16402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16403
17dea188
JM
16404 [BZ #16283]
16405 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16406 * math/w_exp2f.c (__exp2f): Likewise.
16407 * math/w_exp2l.c (__exp2l): Likewise.
16408 * math/auto-libm-test-in: Do not allow missing errno on exp2
16409 underflow.
16410 * math/auto-libm-test-out: Regenerated.
16411
b20de2c3
OB
164122013-12-03 Ondřej Bílka <neleai@seznam.cz>
16413
16414 [BZ #16274]
16415 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16416 handle filename validation.
16417 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16418 (do_open): Delete.
16419
d8e2dbe3
JM
164202013-12-03 Joseph Myers <joseph@codesourcery.com>
16421
34e16df5
JM
16422 [BZ #6786]
16423 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16424 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16425 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16426 <float.h>.
16427 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16429 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16431 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16433 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16434 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16435 Add more erfc tests.
16436 * math/auto-libm-test-out: Regenerated.
16437 * sysdeps/i386/fpu/libm-test-ulps: Update.
16438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16439
d8e2dbe3
JM
16440 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16441 exp2, expm1, j0 and j1.
16442 * math/auto-libm-test-out: Regenerated.
16443 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16444 (erfc_test_data): Likewise.
16445 (exp_test_data): Likewise.
16446 (exp_tonearest_test_data): Likewise.
16447 (exp_towardzero_test_data): Likewise.
16448 (exp_downward_test_data): Likewise.
16449 (exp_upward_test_data): Likewise.
16450 (exp10_test_data): Likewise.
16451 (exp2_test_data): Likewise.
16452 (expm1_test_data): Likewise.
16453 (j0_test_data): Likewise.
16454 (j1_test_data): Likewise.
16455 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16456 (input_flag_type): Add flag_xfail_rounding.
16457 (input_flags): Add xfail-rounding.
16458 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16459 (output_for_one_input_case): Handle flag_xfail_rounding.
16460 * sysdeps/i386/fpu/libm-test-ulps: Update.
16461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16462
18d14251
AJ
164632013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16464
3d2e6075 16465 [BZ #16289]
18d14251
AJ
16466 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16467 division by 0.
16468
520d437b
SP
164692013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16470
16471 [BZ #16195]
16472 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16473 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16474 (STAP_PROBE0): New macro.
16475 (STAP_PROBE1): Likewise.
16476 (STAP_PROBE2): Likewise.
16477 (STAP_PROBE3): Likewise.
16478 (STAP_PROBE4): Likewise.
16479
416e0145
OB
164802013-12-02 Ondřej Bílka <neleai@seznam.cz>
16481
16482 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16483
9d17796a
SE
164842013-12-02 Steve Ellcey <sellcey@mips.com>
16485
16486 * benchtests/Makefile (bench): Add sqrt.
16487 (LDLIBS-bench-sqrt): New.
16488 * benchtests/sqrt-input: New.
16489
f524d6a8
PS
164902013-12-02 Pavel Simerda <psimerda@redhat.com>
16491
639a0ef8
PS
16492 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16493 (GAIH_EAI): Likewise.
16494 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16495 (gaih_inet): Likewise.
16496 (getaddrinfo): Don't use GAIH_EAI.
16497
f524d6a8
PS
16498 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16499 (struct gaih): Remove definition.
16500
df3aedaf
SP
165012013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16502
16503 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16504 Use HERRNOP directly.
16505
1ab19dec
AZ
165062013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16507
b42ad38d 16508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16509
176b0c79
JM
165102013-11-30 Joseph Myers <joseph@codesourcery.com>
16511
16512 * math/gen-auto-libm-tests.c (test_functions): Add more
16513 single-argument functions.
16514 (special_fill_pi_2): New function.
16515 (special_fill_minus_pi_2): Likewise.
16516 (special_fill_pi_6): Likewise.
16517 (special_fill_minus_pi_6): Likewise.
16518 (special_fill_pi_3): Likewise.
16519 (special_fill_2pi_3): Likewise.
16520 (special_fill_e): Likewise.
16521 (special_fill_1_e): Likewise.
16522 (special_fill_e_minus_1): Likewise.
16523 (special_real_inputs): Add more special inputs.
16524 (output_for_one_input_case): Do not require ERANGE on underflow to
16525 zero if round-to-nearest result does not underflow to zero, unless
16526 exact results required.
16527 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16528 atan, atanh, cbrt, cos and cosh.
16529 * math/auto-libm-test-out: Regenerated.
16530 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16531 (acos_tonearest_test_data): Likewise.
16532 (acos_towardzero_test_data): Likewise.
16533 (acos_downward_test_data): Likewise.
16534 (acos_upward_test_data): Likewise.
16535 (acosh_test_data): Likewise.
16536 (asin_test_data): Likewise.
16537 (asin_tonearest_test_data): Likewise.
16538 (asin_towardzero_test_data): Likewise.
16539 (asin_upward_test_data): Likewise.
16540 (asinh_test_data): Likewise.
16541 (atan_test_data): Likewise.
16542 (atanh_test_data): Likewise.
16543 (cbrt_test_data): Likewise.
16544 (cos_test_data): Likewise.
16545 (cos_tonearest_test_data): Likewise.
16546 (cos_towardzero_test_data): Likewise.
16547 (cos_downward_test_data): Likewise.
16548 (cos_upward_test_data): Likewise.
16549 (cosh_test_data): Likewise.
16550 (cosh_tonearest_test_data): Likewise.
16551 (cosh_towardzero_test_data): Likewise.
16552 (cosh_downward_test_data): Likewise.
16553 (cosh_upward_test_data): Likewise.
16554 * sysdeps/i386/fpu/libm-test-ulps: Update.
16555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16556
ffb536d0
JM
165572013-11-29 Joseph Myers <joseph@codesourcery.com>
16558
2a77a467
JM
16559 [BZ #6787]
16560 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16561 * math/w_exp10f.c (__exp10f): Likewise.
16562 * math/w_exp10l.c (__exp10l): Likewise.
16563 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16564 errno settings in existing tests.
16565
ea3bc4e8
JM
16566 [BZ #14032]
16567 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16568 precision control set to double precision.
16569 * sysdeps/i386/fpu/w_sqrt.c: New file.
16570 * math/auto-libm-test-in: Add more tests.
16571 * math/auto-libm-test-out: Update.
16572
0712c9d8
JM
16573 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16574 (sqrt_test_tonearest): New function.
16575 (sqrt_towardzero_test_data): New variable.
16576 (sqrt_test_towardzero): New function.
16577 (sqrt_downward_test_data): New variable.
16578 (sqrt_test_downward): New function.
16579 (sqrt_upward_test_data): New variable.
16580 (sqrt_test_upward): New function.
16581 (main): Call the new functions.
16582
ffb536d0
JM
16583 * math/gen-auto-libm-tests.c: New file.
16584 * math/auto-libm-test-in: Likewise.
16585 * math/auto-libm-test-out: New generated file.
16586 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16587 variables.
16588 (%beautify): Add generated representations of zero.
16589 (top level): Set $auto_input and call parse_auto_input.
16590 (beautify): Remove trailing "f" from hex float constants.
16591 (parse_args): Handle XFAIL_TEST.
16592 (convert_condition): New function.
16593 (or_value): Likewise.
16594 (or_cond_value): Likewise.
16595 (generate_testfile): Handle AUTO_TESTS_* lines.
16596 (parse_auto_input): New function.
16597 * math/libm-test.inc (XFAIL_TEST): New macro.
16598 (ERRNO_UNCHANGED): Update value.
16599 (ERRNO_EDOM): Likewise.
16600 (ERRNO_ERANGE): Likewise.
16601 (IGNORE_RESULT): Likewise.
16602 (TEST_COND_flt_32): New macro.
16603 (TEST_COND_dbl_64): Likewise.
16604 (TEST_COND_ldbl_96_intel): Likewise.
16605 (TEST_COND_ldbl_96_m68k): Likewise.
16606 (TEST_COND_ldbl_128): Likewise.
16607 (TEST_COND_ldbl_128ibm): Likewise.
16608 (TEST_COND_long32): Likewise.
16609 (TEST_COND_long64): Likewise.
16610 (TEST_COND_before_rounding): Likewise.
16611 (TEST_COND_after_rounding): Likewise.
16612 (enable_test): Handle XFAIL_TEST flag.
16613 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16614 with finite results.
16615 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16616 auto-libm-test-out.
16617
acd98a8e
AK
166182013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16620
16621 [BZ #16214]
16622 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16623 __tls_get_addr_internal instead of __tls_get_offset in order to
16624 avoid GOT pointer dependency. Make rtld export
16625 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16626 __tls_get_addr since we are a __tls_get_offset platform.
16627 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16628 GOT pointer being set up before.
16629 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16630
3c1c46a6
JM
166312013-11-28 Joseph Myers <joseph@codesourcery.com>
16632
7475aef5
JM
16633 * manual/math.texi (Errors in Math Functions): Document accuracy
16634 goals.
16635
8bca7cd8
JM
16636 [BZ #15004]
16637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16638 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16639 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16640 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16641 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16642 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16643 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16644 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16645 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16646 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16647 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16648 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16649 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16653
91a1f3fe
JM
16654 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16655 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16656 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16657 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16658 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16659 Likewise.
16660 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16661 Likewise.
16662 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16663 Likewise.
16664 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16665 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16666 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16667 atomic-feupdateenv and flt-rounds.
16668 * sysdeps/powerpc/nofpu/Versions (libc): Add
16669 __atomic_feholdexcept, __atomic_feclearexcept,
16670 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16671 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16672 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16673 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16674 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16675 here.
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16677 Update.
16678
c5df7609
JM
16679 * manual/arith.texi (FP Exceptions): Document that exceptions may
16680 not be raised when matherr is used.
16681 (Math Error Reporting): Document overflow in directed rounding
16682 modes. Document that errno may not be set when finite values are
16683 returned on overflow. Document intent to set errno on underflow
16684 only for underflow to zero.
16685
3c1c46a6
JM
16686 [BZ #16271]
16687 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16688 round-to-nearest then adjust result for other rounding modes.
16689 * include/fenv.h (fegetround): Use libm_hidden_proto.
16690 * math/fegetround.c (fegetround): Use libm_hidden_def.
16691 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16692 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16693 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16694 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16695 Likewise.
16696 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16697 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16698 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16699 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16700
5a4c6d53
SP
167012013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16702
16703 [BZ #16077]
16704 * nss/Versions (libnss_files): Add
16705 _nss_files_gethostbyname3_r.
16706 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16707 New function.
16708 (HOST_DB_LOOKUP): Remove macro.
16709 (_nss_files_gethostbyname_r): Implement function without the
16710 HOST_DB_LOOKUP macro.
16711 (_nss_files_gethostbyname2_r): Likewise.
16712
897b98ba
OB
167132013-11-28 Ondřej Bílka <neleai@seznam.cz>
16714
16715 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16716
6f476861
UB
167172013-11-26 Uros Bizjak <ubizjak@gmail.com>
16718
16719 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16720 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16721 warning.
16722
bd12ab55
AZ
167232013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16724
16725 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16726 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16727 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16728 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16729 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16730 __fe_nomask_env_priv and attribute_hidden.
16731 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16732 (libc_feupdateenv_test_ppc): Likewise.
16733 (libc_feresetround_ppc): Likewise.
16734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16735 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16736 compat_symbol macro.
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16738 (__fe_nomask_env): Likewise.
16739 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16740
52bb6543
OB
167412013-11-26 Ondřej Bílka <neleai@seznam.cz>
16742
16743 * string/Makefile: Remove ifunc tests.
16744 * string/test-string.h: Define TEST_IFUNC.
16745 * string/test-bcopy-ifunc.c: Remove.
16746 * string/test-bzero-ifunc.c: Likewise.
16747 * string/test-memccpy-ifunc.c: Likewise.
16748 * string/test-memchr-ifunc.c: Likewise.
16749 * string/test-memcmp-ifunc.c: Likewise.
16750 * string/test-memcpy-ifunc.c: Likewise.
16751 * string/test-memmem-ifunc.c: Likewise.
16752 * string/test-memmove-ifunc.c: Likewise.
16753 * string/test-mempcpy-ifunc.c: Likewise.
16754 * string/test-memrchr-ifunc.c: Likewise.
16755 * string/test-memset-ifunc.c: Likewise.
16756 * string/test-rawmemchr-ifunc.c: Likewise.
16757 * string/test-stpcpy-ifunc.c: Likewise.
16758 * string/test-stpncpy-ifunc.c: Likewise.
16759 * string/test-strcasecmp-ifunc.c: Likewise.
16760 * string/test-strcasestr-ifunc.c: Likewise.
16761 * string/test-strcat-ifunc.c: Likewise.
16762 * string/test-strchr-ifunc.c: Likewise.
16763 * string/test-strchrnul-ifunc.c: Likewise.
16764 * string/test-strcmp-ifunc.c: Likewise.
16765 * string/test-strcpy-ifunc.c: Likewise.
16766 * string/test-strcspn-ifunc.c: Likewise.
16767 * string/test-strlen-ifunc.c: Likewise.
16768 * string/test-strncasecmp-ifunc.c: Likewise.
16769 * string/test-strncat-ifunc.c: Likewise.
16770 * string/test-strncmp-ifunc.c: Likewise.
16771 * string/test-strncpy-ifunc.c: Likewise.
16772 * string/test-strnlen-ifunc.c: Likewise.
16773 * string/test-strpbrk-ifunc.c: Likewise.
16774 * string/test-strrchr-ifunc.c: Likewise.
16775 * string/test-strspn-ifunc.c: Likewise.
16776 * string/test-strstr-ifunc.c: Likewise.
16777
ab260039 167782013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16779
16780 * benchtests/Makefile: Remove ifunc tests.
16781 * benchtests/bench-string.h: Define TEST_IFUNC.
16782 * benchtests/bench-bcopy-ifunc.c: Remove.
16783 * benchtests/bench-bzero-ifunc.c: Likewise.
16784 * benchtests/bench-memccpy-ifunc.c: Likewise.
16785 * benchtests/bench-memchr-ifunc.c: Likewise.
16786 * benchtests/bench-memcmp-ifunc.c: Likewise.
16787 * benchtests/bench-memcpy-ifunc.c: Likewise.
16788 * benchtests/bench-memmem-ifunc.c: Likewise.
16789 * benchtests/bench-memmove-ifunc.c: Likewise.
16790 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16791 * benchtests/bench-memrchr-ifunc.c: Likewise.
16792 * benchtests/bench-memset-ifunc.c: Likewise.
16793 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16794 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16795 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16796 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16797 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16798 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16799 * benchtests/bench-strcat-ifunc.c: Likewise.
16800 * benchtests/bench-strchr-ifunc.c: Likewise.
16801 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16802 * benchtests/bench-strcmp-ifunc.c: Likewise.
16803 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16804 * benchtests/bench-strcpy-ifunc.c: Likewise.
16805 * benchtests/bench-strcspn-ifunc.c: Likewise.
16806 * benchtests/bench-strlen-ifunc.c: Likewise.
16807 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16808 * benchtests/bench-strncat-ifunc.c: Likewise.
16809 * benchtests/bench-strncmp-ifunc.c: Likewise.
16810 * benchtests/bench-strncpy-ifunc.c: Likewise.
16811 * benchtests/bench-strnlen-ifunc.c: Likewise.
16812 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16813 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16814 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16815 * benchtests/bench-strspn-ifunc.c: Likewise.
16816 * benchtests/bench-strstr-ifunc.c: Likewise.
16817
168182013-11-26 Ondřej Bílka <neleai@seznam.cz>
16819
ab260039
OB
16820 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16821
d1d9eaf4 168222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16823
d1d9eaf4
OB
16824 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16825 * rt/aio.h: Likewise.
16826 * sysdeps/gnu/bits/utmp.h: Likewise.
16827 * sysdeps/gnu/bits/utmpx.h: Likewise.
16828 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16829 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16830 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16831 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16832 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16833 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16834 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16835 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16836 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16837 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16838 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16839 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16840 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16842 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16843 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16844 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16845 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16846 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16847 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16848 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16849 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16850 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16851 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16852 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16854 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16855 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16856 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16857 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16858 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16859 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16860 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16861 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16862 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16863 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16864 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16865 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16866 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16867 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16868 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16869 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16870
a7624ed9
CD
168712013-11-25 Carlos O'Donell <carlos@redhat.com>
16872
16873 [BZ #16245]
16874 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16875 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16876
63cfe52b
JM
168772013-11-25 Joseph Myers <joseph@codesourcery.com>
16878
16879 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16880 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16881 Likewise.
16882
41e8926a
AZ
168832013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16884
16885 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16886 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16887 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16888 (__fesetround): Remove define.
16889 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16890 rounding and exceptions handling.
16891 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16892 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16893 (__fe_nomask_env): Likewise.
16894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16895 __fegetround instead of fegetround.
16896 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16897 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16898
6851bd4d
RM
168992013-11-21 Roland McGrath <roland@hack.frob.com>
16900
070906ff
RM
16901 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16902 it's there.
16903
6851bd4d
RM
16904 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16905
84ae135d
MI
169062013-11-21 Meador Inge <meadori@codesourcery.com>
16907
16908 [BZ #11157]
16909 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16910 (encrypt_r): Likewise.
16911 * malloc/obstack.h (obstack_free): Likewise.
16912 * posix/unistd.h (encrypt): Likewise.
16913
daf75146
GM
169142013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16915
16916 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16917 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16918 DL_CALL_DT_FINI() that call the functions directly.
16919 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16920 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16921 * elf/dl-fini.c: Likewise.
16922
10ad46bc
OB
169232013-11-20 Ondřej Bílka <neleai@seznam.cz>
16924
16925 * malloc/hooks.c (memalign_check): Add alignment rounding.
16926 * malloc/malloc.c (_mid_memalign): New function.
16927 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16928 Implement by calling _mid_memalign.
16929 * manual/probes.texi (Memory Allocation Probes): Remove
16930 memory_valloc_retry and memory_pvalloc_retry.
16931
f3fd2628
SP
169322013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16933
4712799f
SP
16934 * locale/programs/locarchive.c (open_archive): Add const
16935 qualifier to ARCHIVEFNAME and copy default fname to
16936 DEFAULT_FNAME.
16937
0417b20f
SP
16938 [BZ #15601]
16939 * libio/tst-widetext.input: Rename Oriya to Odia.
16940 * locale/iso-639.def: Likewise.
16941
f3fd2628
SP
16942 * manual/probes.texi (Mathematical Function Probes): Add
16943 documentation for sin, cos, asin and acos probes.
16944 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16945 (__sin32): Add slowasin probe.
16946 (__cos32): Add slowacos probe.
16947 (__mpsin): Add slowsin probe.
16948 (__mpcos): Add slowcos probe.
16949
73c1ce4f
JM
169502013-11-19 Joseph Myers <joseph@codesourcery.com>
16951
16952 [BZ #15483]
16953 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16954 thread-local __sim_exceptions_thread and global
16955 __sim_exceptions_global.
16956 (__sim_disabled_exceptions): Change to thread-local
16957 __sim_disabled_exceptions_thread and global
16958 __sim_disabled_exceptions_global.
16959 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16960 and global __sim_round_mode_global.
16961 (__simulate_exceptions): Use thread-local floating-point state and
16962 set global state from it as needed.
16963 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16964 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16965 __sim_round_mode_thread.
16966 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16967 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16968 and global __sim_exceptions_global.
16969 (__sim_disabled_exceptions): Change to thread-local
16970 __sim_disabled_exceptions_thread and global
16971 __sim_disabled_exceptions_global.
16972 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16973 and global __sim_round_mode_global.
16974 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16975 (SIM_SET_GLOBAL): Likewise.
16976 * sysdeps/powerpc/soft-fp/sfp-machine.h
16977 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16978 __sim_round_mode_thread.
16979 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16980 __sim_disabled_exceptions_thread.
16981 (__sim_exceptions): Change to __sim_exceptions_thread.
16982 (__sim_disabled_exceptions): Change to
16983 __sim_disabled_exceptions_thread.
16984 (__sim_round_mode): Change to __sim_round_mode_thread.
16985 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16986 thread-local floating-point state and set global state from it as
16987 needed.
16988 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16989 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16990 (__sim_disabled_exceptions): Remove extern declaration.
16991 (feenableexcept): Use thread-local floating-point state and set
16992 global state from it as needed.
16993 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16994 extern declaration.
16995 (__sim_disabled_exceptions): Likewise.
16996 (__sim_round_mode): Likewise.
16997 (__fegetenv): Use thread-local floating-point state.
16998 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16999 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17000 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17001 floating-point state and set global state from it as needed.
17002 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17003 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17004 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17005 Likewise.
17006 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17007 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17008 Likewise.
17009 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17010 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17011 Use __sim_round_mode_thread.
17012 * math/test-fenv-tls.c: New file.
17013 * math/Makefile (tests): Add test-fenv-tls.
17014 ($(objpfx)test-fenv-tls): Depend on
17015 $(common-objpfx)nptl/libpthread.so.
17016
b5449b12
AS
170172013-11-19 Andreas Schwab <schwab@suse.de>
17018
17019 * locale/programs/locale.c (show_info): Decode wordarray elements.
17020 * locale/categories.def (LC_MONETARY): Add element for
17021 _NL_MONETARY_CRNCYSTR.
17022 * locale/C-monetary.c (conversion_rate): New variable.
17023 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17024 element.
17025
e186536b
CM
170262013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17027
17028 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17029 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17030
5c349950
PP
170312013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17032
17033 * elf/Makefile (tst-auxv): New test.
17034 * elf/tst-auxv.c: New
17035 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17036
699df45b
JM
170372013-11-18 Joseph Myers <joseph@codesourcery.com>
17038
17039 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17040 (hidden_proto): Caller changed.
17041 (hidden_tls_proto): New macro.
17042 (libc_hidden_tls_proto): Likewise.
17043 (rtld_hidden_tls_proto): Likewise.
17044 (libm_hidden_tls_proto): Likewise.
17045 (libresolv_hidden_tls_proto): Likewise.
17046 (librt_hidden_tls_proto): Likewise.
17047 (libdl_hidden_tls_proto): Likewise.
17048 (libnss_files_hidden_tls_proto): Likewise.
17049 (libnsl_hidden_tls_proto): Likewise.
17050 (libnss_nisplus_hidden_tls_proto): Likewise.
17051 (libutil_hidden_tls_proto): Likewise.
17052
b7589107
OB
170532013-11-18 Ondřej Bílka <neleai@seznam.cz>
17054
17055 [BZ #10253]
17056 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17057 (decompose_rpath): Defer expansion to fillin_rpath.
17058 (_dl_init_paths): Pass linkmap to fillin_rpath.
17059
250c23bd
RS
170602013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17061
17062 * benchtests/Makefile: Add strsep.
17063 * benchtests/bench-strsep.c: New file: strsep benchtest.
17064 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17065
a7931fcf
AS
170662013-11-18 Andreas Schwab <schwab@suse.de>
17067
17068 * locale/programs/locale.c (show_info) [case byte]: Check for
17069 '\377' instead of '\177'.
17070 * locale/C-monetary.c (not_available): Always use "\377".
17071 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17072 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17073 detect unavailable sign_posn locale elements.
17074 * locale/localeconv.c (__localeconv): For grouping and
17075 mon_grouping handle "\177" and "\377" like no grouping.
17076 (INT_ELEM): New macro. Use it to set all numeric members.
17077 * locale/programs/ld-monetary.c (monetary_read)
17078 <tok_mon_grouping>: Normalize single -1 to the empty string.
17079 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17080 Likewise.
17081
728dab0e
OB
170822013-11-07 Ondřej Bílka <neleai@seznam.cz>
17083
17084 [BZ #16055]
17085 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17086 when we match (nil).
17087 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17088
66294491
JM
170892013-11-16 Joseph Myers <joseph@codesourcery.com>
17090
ce665817
JM
17091 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17092 (NO_TEST_INLINE): Update value.
17093 (ERRNO_UNCHANGED): Likewise.
17094 (ERRNO_EDOM): Likewise.
17095 (ERRNO_ERANGE): Likewise.
17096 (IGNORE_RESULT): Likewise.
17097 (check_float_internal): Check signs of NaN results if
17098 TEST_NAN_SIGN used.
17099 (check_complex): Pass TEST_NAN_SIGN flag through to second
17100 check_float_internal call.
17101 (copysign_test_data): Add tests with quiet NaNs as second
17102 argument. Use TEST_NAN_SIGN.
17103 (fabs_test_data): Add test of negative quiet NaN argument. Use
17104 TEST_NAN_SIGN.
17105 (signbit_test_data): Add tests of quiet NaN argument.
17106 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17107
ee1466a9
JM
17108 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17109 $ignore_result.
17110 (parse_args): Handle function results specified as IGNORE.
17111 * math/libm-test.inc (IGNORE_RESULT): New macro.
17112 (check_float_internal): Do not check numerical result if flag
17113 IGNORE_RESULT set.
17114 (check_complex): Pass through IGNORE_RESULT to second
17115 check_float_internal call.
17116 (check_int): Do not check numerical result if flag IGNORE_RESULT
17117 set.
17118 (check_long): Likewise.
17119 (check_bool): Likewise.
17120 (check_longlong): Likewise.
17121 (lrint_test_data): Add tests of infinite and NaN arguments.
17122 (lrint_tonearest_test_data): Likewise.
17123 (lrint_towardzero_test_data): Likewise.
17124 (lrint_downward_test_data): Likewise.
17125 (lrint_upward_test_data): Likewise.
17126 (llrint_test_data): Likewise.
17127 (llrint_tonearest_test_data): Likewise.
17128 (llrint_towardzero_test_data): Likewise.
17129 (llrint_downward_test_data): Likewise.
17130 (llrint_upward_test_data): Likewise.
17131 (lround_test_data): Likewise.
17132 (llround_test_data): Likewise.
17133
14407b7e
JM
17134 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17135 (ERRNO_UNCHANGED): Update value.
17136 (ERRNO_EDOM): Likewise.
17137 (ERRNO_ERANGE): Likewise.
17138 (NO_TEST_INLINE_FLOAT): New macro.
17139 (NO_TEST_INLINE_DOUBLE): Likewise.
17140 (enable_test): New function.
17141 (RUN_TEST_f_f): Check enable_test before running test.
17142 (RUN_TEST_2_f): Likewise.
17143 (RUN_TEST_fff_f): Likewise.
17144 (RUN_TEST_c_f): Likewise.
17145 (RUN_TEST_f_f1): Likewise.
17146 (RUN_TEST_fF_f1): Likewise.
17147 (RUN_TEST_fI_f1): Likewise.
17148 (RUN_TEST_ffI_f1): Likewise.
17149 (RUN_TEST_c_c): Likewise.
17150 (RUN_TEST_cc_c): Likewise.
17151 (RUN_TEST_f_i): Likewise.
17152 (RUN_TEST_f_i_tg): Likewise.
17153 (RUN_TEST_ff_i_tg): Likewise.
17154 (RUN_TEST_f_b): Likewise.
17155 (RUN_TEST_f_b_tg): Likewise.
17156 (RUN_TEST_f_l): Likewise.
17157 (RUN_TEST_f_L): Likewise.
17158 (RUN_TEST_fFF_11): Likewise.
17159 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17160 conditionals.
17161 (cosh_test_data): Likewise.
17162 (exp_test_data): Likewise.
17163 (expm1_test_data): Likewise.
17164 (hypot_test_data): Likewise.
17165 (pow_test_data): Likewise.
17166 (sinh_test_data): Likewise.
17167 (tanh_test_data): Likewise.
17168 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17169 flags argument.
17170
ca07f197
JM
17171 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17172 tests with quiet NaN input and output.
17173 (acosh_test_data): Likewise.
17174 (asin_test_data): Likewise.
17175 (asinh_test_data): Likewise.
17176 (atan_test_data): Likewise.
17177 (atanh_test_data): Likewise.
17178 (atan2_test_data): Likewise.
17179 (cbrt_test_data): Likewise.
17180 (cos_test_data): Likewise.
17181 (cosh_test_data): Likewise.
17182 (erf_test_data): Likewise.
17183 (erfc_test_data): Likewise.
17184 (exp_test_data): Likewise.
17185 (exp10_test_data): Likewise.
17186 (exp2_test_data): Likewise.
17187 (expm1_test_data): Likewise.
17188 (hypot_test_data): Likewise.
17189 (j0_test_data): Likewise.
17190 (j1_test_data): Likewise.
17191 (jn_test_data): Likewise.
17192 (lgamma_test_data): Likewise.
17193 (log_test_data): Likewise.
17194 (log10_test_data): Likewise.
17195 (log1p_test_data): Likewise.
17196 (log2_test_data): Likewise.
17197 (pow_test_data): Likewise.
17198 (scalb_test_data): Likewise.
17199 (sin_test_data): Likewise.
17200 (sincos_test_data): Likewise.
17201 (sinh_test_data): Likewise.
17202 (tan_test_data): Likewise.
17203 (tanh_test_data): Likewise.
17204 (tgamma_test_data): Likewise.
17205 (y0_test_data): Likewise.
17206 (y1_test_data): Likewise.
17207 (yn_test_data): Likewise.
17208
66294491
JM
17209 [BZ #16167]
17210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17211 argument being NaN and avoid computations with second argument in
17212 that case.
17213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17214 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17215 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17216
1820b143
CL
172172013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17218
17219 * locale/iso-639.def: Add Chitwani Tharu (the).
17220
714bd261
AS
172212013-11-14 Andreas Schwab <schwab@suse.de>
17222
17223 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17224 word instead of empty string.
17225
7ab44563
AZ
172262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17227
17228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17229 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17231 (__fe_nomask_env): Likewise.
17232
e8470ea2
SE
172332013-11-13 Steve Ellcey <sellcey@mips.com>
17234
17235 * benchtests/bench-timing.h: Include time.h.
17236
17c1d9f0
L
172372013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17238
17239 [BZ #15997]
17240 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17241 to 3.4.0 for x32.
17242 * sysdeps/unix/sysv/linux/configure: Regenerated.
17243
9310c284
JM
172442013-11-13 Joseph Myers <joseph@codesourcery.com>
17245
17246 [BZ #16151]
17247 * stdlib/strtod_l.c (round_and_return): Do not consider
17248 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17249 exponent one less than half the least subnormal exponent.
17250 * stdlib/test-strtod-round-data: Add more tests.
17251 * stdlib/tst-strtod-round.c (tests): Regenerated.
17252
7a2ad8cf
AZ
172532013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17254
17255 [BZ #14143]
17256 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17257 (__fe_mask_env): Likewise.
17258 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17259 libm_hidden_proto and add function prototype.
17260 (__fe_mask_env): Add function prototype.
17261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17262 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17264 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17266 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17267
50727aa7
MS
172682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17269
b2f386c1 17270 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17271 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17272
a615be46
MS
172732013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17274
17275 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17276 of htab_find_slot().
17277
7ddace62
DM
172782013-11-11 David S. Miller <davem@davemloft.net>
17279
17280 [BZ #16150]
17281 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17282 symbol in the non-vis3 case in static builds.
17283 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17284 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17285 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17286 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17287
9182aa67
JK
172882013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17289
17290 [BZ #387]
17291 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17292 it is empty.
17293
450a2e2d
AZ
172942013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17295
b2f386c1
SP
17296 * benchtests/Makefile: Add bench-strtod.
17297 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17298
8ec3f656
AS
172992013-11-11 Andreas Schwab <schwab@suse.de>
17300
17301 [BZ #16153]
17302 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17303 terminating NUL in key length.
17304
76a9b998
AZ
173052013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17306
17307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17308 Add artificial ODP entry for vDSO symbol for PPC64.
17309 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17310 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17311
e4368156
OB
173122013-11-07 Ondřej Bílka <neleai@seznam.cz>
17313
17314 [BZ #15374]
17315 * nss/getent.c (services_keys): Recognize services starting with digit.
17316
8d6bb57c
DM
173172013-11-06 David S. Miller <davem@davemloft.net>
17318
17319 [BZ #15985]
17320 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17321 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17322
e256c421
WN
173232013-11-06 Will Newton <will.newton@linaro.org>
17324
17325 * manual/memory.texi (Malloc Examples): Remove register
17326 keyword from examples.
17327
f6e12daa 173282013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17329
f6e12daa 17330 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17331
9d880655
AS
173322013-11-04 Joseph Myers <joseph@codesourcery.com>
17333
fd2f9486 17334 [BZ #6981]
9d880655
AS
17335 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17336 depending on [__GCC_IEC_559 > 0].
17337 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17338 depending on [__GCC_IEC_559_COMPLEX > 0].
17339
ae129d3c
CL
173402013-11-03 Chris Leonard <cjl@sugarlabs.org>
17341
17342 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17343 to iso-639.def.
17344
4a15c2a4 173452013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17346
17347 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17348
8b35e35d
OB
173492013-11-01 Ondřej Bílka <neleai@seznam.cz>
17350
17351 [BZ #16112]
17352 * malloc/malloc (malloc_info): Do not handle first bin as
17353 special case.
17354
1d70fd6c
CL
173552013-11-01 Chris Leonard <cjl@sugarlabs.org>
17356
17357 * locale/iso-639.def: Add Central Nahuatl (nhn).
17358
8c5c2600
BH
173592013-11-01 Bruno Haible <bruno@clisp.org>
17360
17361 [BZ #7003]
17362 * manual/math.texi (BSD Random): Specify range upper bound as
17363 in POSIX.
17364
da5579c2
CL
173652013-10-31 Chris Leonard <cjl@sugarlabs.org>
17366
17367 * locale/iso-639.def: Add Meadow Mari (mhr).
17368
5d30d853
OB
173692013-10-31 Ondřej Bílka <neleai@seznam.cz>
17370
17371 [BZ #14752], [BZ #15763]
17372 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17373 Validate name.
17374 * rt/tst_shm.c: Add test for escaping directory.
17375
a4966c61
AS
173762013-10-31 Andreas Schwab <schwab@suse.de>
17377
8a43e768 17378 [BZ #15917]
a4966c61
AS
17379 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17380 followed by 'x' as part of digit sequence.
17381 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17382
28d708c4
MAP
173832013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17384
17385 [BZ #16037]
17386 * configure.ac: allow GNU Make 4.0 and greater.
17387 * configure: Regenerated.
17388
a56ee40b
WN
173892013-10-30 Will Newton <will.newton@linaro.org>
17390
17391 [BZ #16038]
17392 * malloc/hooks.c (memalign_check): Limit alignment to the
17393 maximum representable power of two.
17394 * malloc/malloc.c (__libc_memalign): Likewise.
17395 * malloc/tst-memalign.c (do_test): Add test for very
17396 large alignment values.
17397 * malloc/tst-posix_memalign.c (do_test): Likewise.
17398
c6e4925d
OB
173992013-10-30 Ondřej Bílka <neleai@seznam.cz>
17400
17401 [BZ #11087]
17402 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17403 (munmap_chunk): Likewise.
17404 (mremap_chunk): Likewise.
17405
174062013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17407
8a43e768 17408 [BZ #15799]
bbea82f7
OB
17409 * stdlib/div.c (div): Remove obsolete code.
17410 * stdlib/ldiv.c (ldiv): Likewise.
17411 * stdlib/lldiv.c (lldiv): Likewise.
17412
977f4b31
SP
174132013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17414
17415 [BZ #16071]
17416 * nss/nss_files/files-XXX.c (get_contents_ret): New
17417 enumerator.
17418 (get_contents): New function.
17419 (internal_getent): Use it. Expand size of LINEBUFLEN.
17420
cb8a6dbd
MF
174212013-10-30 Mike Frysinger <vapier@gentoo.org>
17422
17423 * configure.in: Moved to ...
17424 * configure.ac: ... here. Change reference to configure.in
17425 to configure.ac.
17426 * sysdeps/arm/preconfigure.ac: ... here.
17427 configure.in to configure.ac.
17428 * sysdeps/gnu/configure.in: Moved to ...
17429 * sysdeps/gnu/configure.ac: ... here.
17430 * sysdeps/i386/configure.in: Moved to ...
17431 * sysdeps/i386/configure.ac: ... here.
17432 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17433 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17434 * sysdeps/mach/configure.in: Moved to ...
17435 * sysdeps/mach/configure.ac: ... here.
17436 * sysdeps/mach/hurd/configure.in: Moved to ...
17437 * sysdeps/mach/hurd/configure.ac: ... here.
17438 * sysdeps/powerpc/configure.in: Moved to ...
17439 * sysdeps/powerpc/configure.ac: ... here.
17440 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17441 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17442 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17443 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17444 * sysdeps/s390/s390-32/configure.in: Moved to ...
17445 * sysdeps/s390/s390-32/configure.ac: ... here.
17446 * sysdeps/s390/s390-64/configure.in: Moved to ...
17447 * sysdeps/s390/s390-64/configure.ac: ... here.
17448 * sysdeps/sh/configure.in: Moved to ...
17449 * sysdeps/sh/configure.ac: ... here.
17450 * sysdeps/sparc/configure.in: Moved to ...
17451 * sysdeps/sparc/configure.ac: ... here.
17452 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17453 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17454 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17455 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17456 * sysdeps/x86_64/configure.in: Moved to ...
17457 * sysdeps/x86_64/configure.ac: ... here.
17458 * sysdeps/x86_64/preconfigure.in: Moved to ...
17459 * sysdeps/x86_64/preconfigure.ac: ... here.
17460 * aclocal.m4: Change reference to configure.in to configure.ac.
17461 * config.h.in: Likewise.
17462 * manual/install.texi: Likewise.
17463 * manual/maint.texi: Likewise.
17464 * Makefile: Likewise.
17465 * malloc/Makefile: Likewise.
17466 * nscd/Makefile: Likewise.
17467 * Makeconfig: Change reference to configure.in and
17468 preconfigure.in to configure.ac and preconfigure.ac
17469 respectively.
17470 * INSTALL: Regenerated.
17471 * configure: Likewise.
17472 * sysdeps/gnu/configure: Likewise.
17473 * sysdeps/i386/configure: Likewise.
17474 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17475 * sysdeps/mach/configure: Likewise.
17476 * sysdeps/mach/hurd/configure: Likewise.
17477 * sysdeps/powerpc/configure: Likewise.
17478 * sysdeps/powerpc/powerpc32/configure: Likewise.
17479 * sysdeps/powerpc/powerpc64/configure: Likewise.
17480 * sysdeps/s390/s390-32/configure: Likewise.
17481 * sysdeps/s390/s390-64/configure: Likewise.
17482 * sysdeps/sh/configure: Likewise.
17483 * sysdeps/sparc/configure: Likewise.
17484 * sysdeps/unix/sysv/linux/configure: Likewise.
17485 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17486 * sysdeps/x86_64/configure: Likewise.
17487 * sysdeps/x86_64/preconfigure: Likewise.
17488
36a4953a
AS
174892013-10-29 Andreas Schwab <schwab@suse.de>
17490
17491 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17492
c79a1204
SP
174932013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17494
dfa1b402
SP
17495 * benchtests/pow-inputs: Add new inputs.
17496
54f73d9c
SP
17497 * benchtests/exp-inputs: Add new inputs.
17498
c79a1204
SP
17499 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17500 conditional check for return value.
17501 (__cos32): Likewise.
17502
67beb545 175032013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17504
17505 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17506 to provide a boost for large inputs with word alignment.
17507 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17508 implementation based on optimized PPC64 strcpy.
17509 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17510 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17511 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17512 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17513
151659f6
OB
175142013-10-25 Ondřej Bílka <neleai@seznam.cz>
17515
482a077e 17516 [BZ #2801]
151659f6
OB
17517 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17518
10b0f26b
OB
175192013-10-25 Ondřej Bílka <neleai@seznam.cz>
17520
17521 [BZ #14876]
17522 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17523 * time/tst-strptime.c (day_tests): Add testcase.
17524
ca42d35e
OB
175252013-10-25 Ondřej Bílka <neleai@seznam.cz>
17526
482a077e 17527 [BZ #14029]
ca42d35e
OB
17528 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17529
52e6d801
FB
175302013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17531
17532 [BZ #16074]
17533 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17534 MAP_FAILED on error.
17535
7cbcdb36
SP
175362013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17537
17538 [BZ #16072]
17539 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17540 heap for large requests.
17541
894f3f10
AM
175422013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17543
17544 [BZ #9954]
17545 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17546 result if the result has no associated interface.
17547 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17548 interface for all 127.X.Y.Z addresses.
17549
b85545a6
CL
175502013-10-24 Chris Leonard <cjl@sugarlabs.org>
17551
17552 * locale/iso-639.def: Add Ligurian (lij)
17553
d1f23d46
OB
175542013-10-21 Ondřej Bílka <neleai@seznam.cz>
17555
17556 [BZ #15825]
17557 * sunrpc/rpc_main.c: Document rpcgen -5.
17558
4db5b08f
MS
175592013-10-19 Michael Stahl <mstahl@redhat.com>
17560
17561 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17562
a471e96a
OB
175632013-10-19 Ondřej Bílka <neleai@seznam.cz>
17564
d1f23d46 17565 [BZ #10278]
a471e96a
OB
17566 * posix/glob.c: Match only directories when trailing slash is present.
17567 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17568 (main): Add testcase.
17569
45c30c61
OB
175702013-10-19 Ondřej Bílka <neleai@seznam.cz>
17571
17572 [BZ #15670]
17573 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17574
484c12fb
CD
175752013-10-18 Carlos O'Donell <carlos@redhat.com>
17576
3d7dc513
CD
17577 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17578 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17579 AUTH_DES and cindex for FIPS 140-2.
17580 (DES Encryption): Add cindex FIPS 46-3.
17581
484c12fb
CD
17582 * locale/locarchive.h (struct locarhandle): Add fname.
17583 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17584 if an optional argument was specified to --list-archive,
17585 otherwise NULL.
17586 * locale/programs/locarchive.c (show_archive_content): Take new
17587 argument fname and pass it via ah.fname to open_archive.
17588 * locale/programs/localedef.h: Update decl.
17589 (open_archive): If AH->fname is non-null, open that file
17590 rather than the default file name, and don't ignore ENOENT.
17591 (create_archive): Set AH.fname to NULL.
17592 (delete_locales_from_archive): Likewise.
17593 (add_locales_to_archive): Likewise.
17594 * locale/programs/locfile.c (write_all_categories): Likewise.
17595
3c8325fb
JM
175962013-10-18 Joseph Myers <joseph@codesourcery.com>
17597 Aldy Hernandez <aldyh@redhat.com>
17598
17599 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17600 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17601 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17602 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17603 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17604 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17605 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17606 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17607 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17608 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17609 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17610 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17611 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17612 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17613 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17614 Likewise.
17615 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17616 Likewise.
17617 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17618 Likewise.
17619 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17620 Likewise.
17621 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17622 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17623 Likewise.
17624 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17625 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17626 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17627 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17628 Likewise.
17629 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17630 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17631 * sysdeps/powerpc/preconfigure: Likewise.
17632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17633 Likewise.
17634 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17635 Replace contents of file by #include of <fenv_libc.h>.
17636 * sysdeps/powerpc/soft-fp/sfp-machine.h
17637 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17638 and <sys/prctl.h>.
17639 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17641 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17644 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17645 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17647 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17652 Allow copysignl PLT reference to be missing.
17653
5abe0682
RS
176542013-10-18 Richard Sandiford <richard@codesourcery.com>
17655 Joseph Myers <joseph@codesourcery.com
17656
17657 [BZ #15948]
17658 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17659 single character.
17660 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17661
c7738d08
SP
176622013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17663
17664 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17665 * elf/tst-tls1.c: Likewise.
17666 * elf/tst-tls10.h: Likewise.
17667 * elf/tst-tls14.c: Likewise.
17668 * elf/tst-tls2.c: Likewise.
17669 * elf/tst-tls3.c: Likewise.
17670 * elf/tst-tls4.c: Likewise.
17671 * elf/tst-tls5.c: Likewise.
17672 * elf/tst-tls6.c: Likewise.
17673 * elf/tst-tls7.c: Likewise.
17674 * elf/tst-tls8.c: Likewise.
17675 * elf/tst-tls9.c: Likewise.
17676 * elf/tst-tlsmod1.c: Likewise.
17677 * elf/tst-tlsmod13.c: Likewise.
17678 * elf/tst-tlsmod13a.c: Likewise.
17679 * elf/tst-tlsmod14a.c: Likewise.
17680 * elf/tst-tlsmod16a.c: Likewise.
17681 * elf/tst-tlsmod16b.c: Likewise.
17682 * elf/tst-tlsmod2.c: Likewise.
17683 * elf/tst-tlsmod3.c: Likewise.
17684 * elf/tst-tlsmod4.c: Likewise.
17685 * elf/tst-tlsmod5.c: Likewise.
17686 * elf/tst-tlsmod6.c: Likewise.
17687
0bfcf2c7
OB
176882013-10-18 Ondřej Bílka <neleai@seznam.cz>
17689
17690 [BZ #12486]
17691 * malloc/malloc.c: remove checks for statistics.
17692
264aad1e
OB
176932013-10-17 Ondřej Bílka <neleai@seznam.cz>
17694
17695 [BZ #15277]
17696 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17697 * inet/tst-network.c: Add testcase.
17698
b957ced8
AS
176992013-10-17 Andreas Schwab <schwab@suse.de>
17700
17701 [BZ #15218]
17702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17703 to determine canonical name.
17704
c5d5d574
OB
177052013-10-17 Ondřej Bílka <neleai@seznam.cz>
17706
17707 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17708 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17710 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17712 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17713 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17714 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17715 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17716 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17717 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17718 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17719 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17720 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17721 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17722 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17724 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17725 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17726 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17727 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17728 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17729 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17730 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17731 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17732 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17733 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17734 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17735 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17736 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17737 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17739 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17740 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17741 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17742 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17743 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17744 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17745 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17746 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17747 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17748 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17749 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17750 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17751 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17752 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17753 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17754 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17755 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17757 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17759 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17760 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17761 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17765
e5c2c2d0
JM
177662013-10-17 Joseph Myers <joseph@codesourcery.com>
17767
17768 [BZ #16041]
17769 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17770 make result into a quiet NaN.
17771
51ca9e29
JM
177722013-10-16 Joseph Myers <joseph@codesourcery.com>
17773
17774 * soft-fp/adddf3.c: Fix horizontal whitespace.
17775 * soft-fp/addsf3.c: Likewise.
17776 * soft-fp/addtf3.c: Likewise.
17777 * soft-fp/divdf3.c: Likewise.
17778 * soft-fp/divsf3.c: Likewise.
17779 * soft-fp/divtf3.c: Likewise.
17780 * soft-fp/double.h: Likewise.
17781 * soft-fp/eqdf2.c: Likewise.
17782 * soft-fp/eqsf2.c: Likewise.
17783 * soft-fp/eqtf2.c: Likewise.
17784 * soft-fp/extenddftf2.c: Likewise.
17785 * soft-fp/extended.h: Likewise.
17786 * soft-fp/extendsfdf2.c: Likewise.
17787 * soft-fp/extendsftf2.c: Likewise.
17788 * soft-fp/extendxftf2.c: Likewise.
17789 * soft-fp/fixdfdi.c: Likewise.
17790 * soft-fp/fixdfsi.c: Likewise.
17791 * soft-fp/fixdfti.c: Likewise.
17792 * soft-fp/fixsfdi.c: Likewise.
17793 * soft-fp/fixsfsi.c: Likewise.
17794 * soft-fp/fixsfti.c: Likewise.
17795 * soft-fp/fixtfdi.c: Likewise.
17796 * soft-fp/fixtfsi.c: Likewise.
17797 * soft-fp/fixtfti.c: Likewise.
17798 * soft-fp/fixunsdfdi.c: Likewise.
17799 * soft-fp/fixunsdfsi.c: Likewise.
17800 * soft-fp/fixunsdfti.c: Likewise.
17801 * soft-fp/fixunssfdi.c: Likewise.
17802 * soft-fp/fixunssfsi.c: Likewise.
17803 * soft-fp/fixunssfti.c: Likewise.
17804 * soft-fp/fixunstfdi.c: Likewise.
17805 * soft-fp/fixunstfsi.c: Likewise.
17806 * soft-fp/fixunstfti.c: Likewise.
17807 * soft-fp/floatdidf.c: Likewise.
17808 * soft-fp/floatdisf.c: Likewise.
17809 * soft-fp/floatditf.c: Likewise.
17810 * soft-fp/floatsidf.c: Likewise.
17811 * soft-fp/floatsisf.c: Likewise.
17812 * soft-fp/floatsitf.c: Likewise.
17813 * soft-fp/floattidf.c: Likewise.
17814 * soft-fp/floattisf.c: Likewise.
17815 * soft-fp/floattitf.c: Likewise.
17816 * soft-fp/floatundidf.c: Likewise.
17817 * soft-fp/floatundisf.c: Likewise.
17818 * soft-fp/floatunditf.c: Likewise.
17819 * soft-fp/floatunsidf.c: Likewise.
17820 * soft-fp/floatunsisf.c: Likewise.
17821 * soft-fp/floatunsitf.c: Likewise.
17822 * soft-fp/floatuntidf.c: Likewise.
17823 * soft-fp/floatuntisf.c: Likewise.
17824 * soft-fp/floatuntitf.c: Likewise.
17825 * soft-fp/fmadf4.c: Likewise.
17826 * soft-fp/fmasf4.c: Likewise.
17827 * soft-fp/fmatf4.c: Likewise.
17828 * soft-fp/gedf2.c: Likewise.
17829 * soft-fp/gesf2.c: Likewise.
17830 * soft-fp/getf2.c: Likewise.
17831 * soft-fp/ledf2.c: Likewise.
17832 * soft-fp/lesf2.c: Likewise.
17833 * soft-fp/letf2.c: Likewise.
17834 * soft-fp/muldf3.c: Likewise.
17835 * soft-fp/mulsf3.c: Likewise.
17836 * soft-fp/multf3.c: Likewise.
17837 * soft-fp/negdf2.c: Likewise.
17838 * soft-fp/negsf2.c: Likewise.
17839 * soft-fp/negtf2.c: Likewise.
17840 * soft-fp/op-1.h: Likewise.
17841 * soft-fp/op-2.h: Likewise.
17842 * soft-fp/op-4.h: Likewise.
17843 * soft-fp/op-8.h: Likewise.
17844 * soft-fp/op-common.h: Likewise.
17845 * soft-fp/quad.h: Likewise.
17846 * soft-fp/single.h: Likewise.
17847 * soft-fp/soft-fp.h: Likewise.
17848 * soft-fp/sqrtdf2.c: Likewise.
17849 * soft-fp/sqrtsf2.c: Likewise.
17850 * soft-fp/sqrttf2.c: Likewise.
17851 * soft-fp/subdf3.c: Likewise.
17852 * soft-fp/subsf3.c: Likewise.
17853 * soft-fp/subtf3.c: Likewise.
17854 * soft-fp/truncdfsf2.c: Likewise.
17855 * soft-fp/trunctfdf2.c: Likewise.
17856 * soft-fp/trunctfsf2.c: Likewise.
17857 * soft-fp/trunctfxf2.c: Likewise.
17858 * soft-fp/unorddf2.c: Likewise.
17859 * soft-fp/unordsf2.c: Likewise.
17860 * soft-fp/unordtf2.c: Likewise.
17861
9ebb0332
JM
178622013-10-15 Joseph Myers <joseph@codesourcery.com>
17863
17864 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17865 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17866
4b1a6d8b
OB
178672013-10-15 Ondřej Bílka <neleai@seznam.cz>
17868
17869 * elf/dl-libc.c: Clear initfini list after freeing.
17870
1e145589
JM
178712013-10-14 Joseph Myers <joseph@codesourcery.com>
17872
17873 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17874 * soft-fp/addsf3.c: Likewise.
17875 * soft-fp/addtf3.c: Likewise.
17876 * soft-fp/divdf3.c: Likewise.
17877 * soft-fp/divsf3.c: Likewise.
17878 * soft-fp/divtf3.c: Likewise.
17879 * soft-fp/double.h: Likewise.
17880 * soft-fp/eqdf2.c: Likewise.
17881 * soft-fp/eqsf2.c: Likewise.
17882 * soft-fp/eqtf2.c: Likewise.
17883 * soft-fp/extenddftf2.c: Likewise.
17884 * soft-fp/extended.h: Likewise.
17885 * soft-fp/extendsfdf2.c: Likewise.
17886 * soft-fp/extendsftf2.c: Likewise.
17887 * soft-fp/extendxftf2.c: Likewise.
17888 * soft-fp/fixdfdi.c: Likewise.
17889 * soft-fp/fixdfsi.c: Likewise.
17890 * soft-fp/fixdfti.c: Likewise.
17891 * soft-fp/fixsfdi.c: Likewise.
17892 * soft-fp/fixsfsi.c: Likewise.
17893 * soft-fp/fixsfti.c: Likewise.
17894 * soft-fp/fixtfdi.c: Likewise.
17895 * soft-fp/fixtfsi.c: Likewise.
17896 * soft-fp/fixtfti.c: Likewise.
17897 * soft-fp/fixunsdfdi.c: Likewise.
17898 * soft-fp/fixunsdfsi.c: Likewise.
17899 * soft-fp/fixunsdfti.c: Likewise.
17900 * soft-fp/fixunssfdi.c: Likewise.
17901 * soft-fp/fixunssfsi.c: Likewise.
17902 * soft-fp/fixunssfti.c: Likewise.
17903 * soft-fp/fixunstfdi.c: Likewise.
17904 * soft-fp/fixunstfsi.c: Likewise.
17905 * soft-fp/fixunstfti.c: Likewise.
17906 * soft-fp/floatdidf.c: Likewise.
17907 * soft-fp/floatdisf.c: Likewise.
17908 * soft-fp/floatditf.c: Likewise.
17909 * soft-fp/floatsidf.c: Likewise.
17910 * soft-fp/floatsisf.c: Likewise.
17911 * soft-fp/floatsitf.c: Likewise.
17912 * soft-fp/floattidf.c: Likewise.
17913 * soft-fp/floattisf.c: Likewise.
17914 * soft-fp/floattitf.c: Likewise.
17915 * soft-fp/floatundidf.c: Likewise.
17916 * soft-fp/floatundisf.c: Likewise.
17917 * soft-fp/floatunsidf.c: Likewise.
17918 * soft-fp/floatunsisf.c: Likewise.
17919 * soft-fp/floatuntidf.c: Likewise.
17920 * soft-fp/floatuntisf.c: Likewise.
17921 * soft-fp/floatuntitf.c: Likewise.
17922 * soft-fp/fmadf4.c: Likewise.
17923 * soft-fp/fmasf4.c: Likewise.
17924 * soft-fp/fmatf4.c: Likewise.
17925 * soft-fp/gedf2.c: Likewise.
17926 * soft-fp/gesf2.c: Likewise.
17927 * soft-fp/getf2.c: Likewise.
17928 * soft-fp/ledf2.c: Likewise.
17929 * soft-fp/lesf2.c: Likewise.
17930 * soft-fp/letf2.c: Likewise.
17931 * soft-fp/muldf3.c: Likewise.
17932 * soft-fp/mulsf3.c: Likewise.
17933 * soft-fp/multf3.c: Likewise.
17934 * soft-fp/negdf2.c: Likewise.
17935 * soft-fp/negsf2.c: Likewise.
17936 * soft-fp/negtf2.c: Likewise.
17937 * soft-fp/op-1.h: Likewise.
17938 * soft-fp/op-2.h: Likewise.
17939 * soft-fp/op-4.h: Likewise.
17940 * soft-fp/op-8.h: Likewise.
17941 * soft-fp/op-common.h: Likewise.
17942 * soft-fp/quad.h: Likewise.
17943 * soft-fp/single.h: Likewise.
17944 * soft-fp/soft-fp.h: Likewise.
17945 * soft-fp/sqrtdf2.c: Likewise.
17946 * soft-fp/sqrtsf2.c: Likewise.
17947 * soft-fp/sqrttf2.c: Likewise.
17948 * soft-fp/subdf3.c: Likewise.
17949 * soft-fp/subsf3.c: Likewise.
17950 * soft-fp/subtf3.c: Likewise.
17951 * soft-fp/truncdfsf2.c: Likewise.
17952 * soft-fp/trunctfdf2.c: Likewise.
17953 * soft-fp/trunctfsf2.c: Likewise.
17954 * soft-fp/trunctfxf2.c: Likewise.
17955 * soft-fp/unorddf2.c: Likewise.
17956 * soft-fp/unordsf2.c: Likewise.
17957 * soft-fp/unordtf2.c: Likewise.
17958
17c48a60
OB
179592013-10-14 Ondřej Bílka <neleai@seznam.cz>
17960
17961 [BZ #15672]
17962 * misc/error.c (error_tail): Fix possible buffer overflow.
17963
cabba934
OB
179642013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17965
17966 [BZ #13028]
17967 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17968 address.
17969
94bf958a
PM
179702013-10-14 P. J. McDermott <pj@pehjota.net>
17971
17972 [BZ #832]
17973 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17974 testing pipefail option.
17975
71b4dea7
JM
179762013-10-12 Joseph Myers <joseph@codesourcery.com>
17977
17978 * soft-fp/double.h: Indent preprocessor directives inside #if.
17979 * soft-fp/extended.h: Likewise.
17980 * soft-fp/op-2.h: Likewise.
17981 * soft-fp/op-4.h: Likewise.
17982 * soft-fp/op-common.h: Likewise.
17983 * soft-fp/quad.h: Likewise.
17984 * soft-fp/single.h: Likewise.
17985 * soft-fp/soft-fp.h: Likewise.
17986
55602758
YC
179872013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17988
17989 * iconv/iconv_prog.c: Fix typos.
17990 * stdio-common/psiginfo-data.h: Likewise.
17991
9cd83302
RT
179922013-10-12 Reuben Thomas <rrt@sc3d.org>
17993
17994 [BZ #15764]
17995 * locale/setlocale.c: Fix typo.
17996
99fd9f47
JM
179972013-10-12 Joseph Myers <joseph@codesourcery.com>
17998
b7ea74f0
JM
17999 [BZ #16036]
18000 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18001 signaling NaN arguments.
18002 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18003 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18004
8a509447
JM
18005 [BZ #14910]
18006 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18007 unordered operands.
18008 * soft-fp/gesf2.c (__gesf2): Likewise.
18009 * soft-fp/getf2.c (__getf2): Likewise.
18010 * soft-fp/ledf2.c (__ledf2): Likewise.
18011 * soft-fp/lesf2.c (__lesf2): Likewise.
18012 * soft-fp/letf2.c (__letf2): Likewise.
18013
98998e9f
JM
18014 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18015 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18016 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18017 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18018 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18019 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18020 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18021 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18022 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18023 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18024 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18025 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18026 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18027 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18028 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18029 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18030 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18031 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18032 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18033 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18034 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18035 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18036 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18037 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18038 * soft-fp/floattidf.c (__floattidf): Likewise.
18039 * soft-fp/floattisf.c (__floattisf): Likewise.
18040 * soft-fp/floattitf.c (__floattitf): Likewise.
18041 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18042 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18043 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18044 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18045 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18046 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18047 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18048 * soft-fp/gesf2.c (__gesf2): Likewise.
18049 * soft-fp/getf2.c (__getf2): Likewise.
18050 * soft-fp/ledf2.c (__ledf2): Likewise.
18051 * soft-fp/lesf2.c (__lesf2): Likewise.
18052 * soft-fp/letf2.c (__letf2): Likewise.
18053
8edc4a11
JM
18054 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18055 Undefine and redefine.
18056 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18057 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18058 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18059 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18060 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18061 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18062 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18063 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18064 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18065 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18066 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18067 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18068 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18069 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18070 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18071
8399acaf
JM
18072 [BZ #16032]
18073 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18074 without decrementing exponent if mantissa >= that for the
18075 denominator, not >.
18076 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18077 denominator, not >. Decrement exponent in < case instead of
18078 incrementing in >= case.
18079 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18080 without decrementing exponent if mantissa >= that for the
18081 denominator, not >.
18082
99fd9f47
JM
18083 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18084 computing saturated result for unsigned overflow.
18085
10e1cf6b
SP
180862013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18087 Jeff Law <law@redhat.com>
18088
18089 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18090 (atan2Mp): Add systemtap probe marker.
18091 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18092 (__ieee754_log): Add systemtap probe marker.
18093 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18094 (atanMp): Add systemtap probe marker.
18095 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18096 (tanMp): Add systemtap probe marker.
18097 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18098 (__slowexp): Add systemtap probe marker.
18099 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18100 (__slowpow): Add systemtap probe marker.
18101 * manual/probes.texi: Document probes.
18102
3d110c7c
EB
181032013-10-11 Eric Biggers <ebiggers3@gmail.com>
18104
18105 [BZ #15362]
18106 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18107 written.
18108 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18109 written.
18110 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18111 written to buffer but not flushed.
18112 * libio/iofwrite_u.c: Likewise.
18113 * libio/iopadn.c: Return bytes returned even if EOF was
18114 encountered.
18115 * libio/iowpadn.c: Likewise.
18116 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18117 if _IO_padn does not write the whole buffer.
18118 [!COMPILE_WPRINTF] (PAD): Likewise.
18119
75b4202a
DM
181202013-10-10 David S. Miller <davem@davemloft.net>
18121
18122 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18123 directory block.
18124
6c6352e6
JM
181252013-10-10 Joseph Myers <joseph@codesourcery.com>
18126
33b853c3
JM
18127 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18128 instead of FSF address.
18129 * soft-fp/fixdfti.c: Likewise.
18130 * soft-fp/fixsfti.c: Likewise.
18131 * soft-fp/fixtfti.c: Likewise.
18132 * soft-fp/fixunsdfti.c: Likewise.
18133 * soft-fp/fixunssfti.c: Likewise.
18134 * soft-fp/fixunstfti.c: Likewise.
18135 * soft-fp/floattidf.c: Likewise.
18136 * soft-fp/floattisf.c: Likewise.
18137 * soft-fp/floattitf.c: Likewise.
18138 * soft-fp/floatuntidf.c: Likewise.
18139 * soft-fp/floatuntisf.c: Likewise.
18140 * soft-fp/floatuntitf.c: Likewise.
18141 * soft-fp/trunctfxf2.c: Likewise.
18142
6c6352e6
JM
18143 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18144 * soft-fp/fixdfti.c: Likewise.
18145 * soft-fp/fixsfti.c: Likewise.
18146 * soft-fp/fixtfti.c: Likewise.
18147 * soft-fp/fixunsdfti.c: Likewise.
18148 * soft-fp/fixunssfti.c: Likewise.
18149 * soft-fp/fixunstfti.c: Likewise.
18150 * soft-fp/floattidf.c: Likewise.
18151 * soft-fp/floattisf.c: Likewise.
18152 * soft-fp/floattitf.c: Likewise.
18153 * soft-fp/floatuntidf.c: Likewise.
18154 * soft-fp/floatuntisf.c: Likewise.
18155 * soft-fp/floatuntitf.c: Likewise.
18156 * soft-fp/trunctfxf2.c: Likewise.
18157
3bf78b71
DM
181582013-10-10 David S. Miller <davem@davemloft.net>
18159
18160 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18161
6f10289e
JM
181622013-10-10 Joseph Myers <joseph@codsourcery.com>
18163
bd878fc0
JM
18164 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18165 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18166 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18167 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18168 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18169 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18170 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18171
6f10289e
JM
18172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18173 for NaNs before doing comparisons on argument.
18174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18175 Likewise.
18176
321e2684
WN
181772013-10-10 Will Newton <will.newton@linaro.org>
18178
18179 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18180 passed to _int_memalign does not overflow.
18181
40fefba1
TR
181822013-10-10 Torvald Riegel <triegel@redhat.com>
18183
18184 * scripts/bench.pl: Add include-sources directive.
18185 * benchtests/README: Update documentation.
18186
2ae21ed2
JM
181872013-10-10 Joseph Myers <joseph@codesourcery.com>
18188
dcc2dd3f
JM
18189 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18190 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18191 instead of FP_INIT_ROUNDMODE.
18192 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18193 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18194
2ae21ed2
JM
18195 [BZ #16034]
18196 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18197 copy class of input value.
18198 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18199 not handle exceptions.
18200 * soft-fp/negsf2.c (__negsf2): Likewise.
18201 * soft-fp/negtf2.c (__negtf2): Likewise.
18202 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18203
cb8f9562
JM
182042013-10-09 Joseph Myers <joseph@codesourcery.com>
18205
18206 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18207 semicolon. From Linux kernel.
18208
5b60c59d
AB
182092013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18210
18211 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18212
b86835ca
YC
182132013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18214
18215 [BZ #156]
18216 * manual/socket.texi: Added statement about buffer
18217 for gethostbyname2_r.
18218
e7044ea7
OB
182192013-10-08 Ondřej Bílka <neleai@seznam.cz>
18220
18221 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18222 Use .p2align directive instead, throughout.
18223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18224 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18225 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18226 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18227 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18228 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18229 * sysdeps/x86_64/strchr.S: Likewise.
18230 * sysdeps/x86_64/strrchr.S: Likewise.
18231
09544cbc
SP
182322013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18233
88576635
SP
18234 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18235
e7b2d1dd
SP
18236 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18237
09544cbc
SP
18238 * sysdeps/generic/math_private.h (__mpsin1): Remove
18239 declaration.
18240 (__mpcos1): Likewise.
18241 (__mpsin): New argument __range_reduce.
18242 (__mpcos): Likewise.
18243 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18244 (slow): Use __mpsin and __mpcos.
18245 (slow1): Likewise.
18246 (slow2): Likewise.
18247 (sloww): Likewise.
18248 (sloww1): Likewise.
18249 (sloww2): Likewise.
18250 (bsloww): Likewise.
18251 (bsloww1): Likewise.
18252 (bsloww2): Likewise.
18253 (cslow2): Likewise.
18254 (csloww): Likewise.
18255 (csloww1): Likewise.
18256 (csloww2): Likewise.
18257 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18258 range_reduce. Merge in __mpsin1.
18259 (__mpcos): Likewise.
18260 (__mpsin1): Remove.
18261 (__mpcos1): Likewise.
18262
7602d070
JM
182632013-10-07 Joseph Myers <joseph@codesourcery.com>
18264
18265 * locale/loadlocale.c (_nl_intern_locale_data): Use
18266 LOCFILE_ALIGNED_P.
18267 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18268 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18269 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18270 obstack data is appropriately aligned.
18271 (obstack_int32_grow_fast): Likewise.
18272 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18273 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18274 (add_locale_uint32_array): Likewise.
18275
a357259b
SP
182762013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18277
18278 * benchtests/Makefile: Remove ARGLIST and RET variables.
18279 ($(objpfx)bench-%.c): Pass only function name to the script.
18280 * benchtests/README: Update documentation.
18281 * benchtests/acos-inputs: Add new directives.
18282 * benchtests/acosh-inputs: Likewise.
18283 * benchtests/asin-inputs: Likewise.
18284 * benchtests/asinh-inputs: Likewise.
18285 * benchtests/atan-inputs: Likewise.
18286 * benchtests/atanh-inputs: Likewise.
18287 * benchtests/cos-inputs: Likewise.
18288 * benchtests/cosh-inputs: Likewise.
18289 * benchtests/exp-inputs: Likewise.
18290 * benchtests/log-inputs: Likewise.
18291 * benchtests/pow-inputs: Likewise.
18292 * benchtests/rint-inputs: Likewise.
18293 * benchtests/sin-inputs: Likewise.
18294 * benchtests/sinh-inputs: Likewise.
18295 * benchtests/tan-inputs: Likewise.
18296 * benchtests/tanh-inputs: Likewise.
18297 * scripts/bench.pl: Add support for new directives.
18298
9ec1b13d
AM
182992013-10-07 Alan Modra <amodra@gmail.com>
18300
18301 * README: Fix careless merge.
18302
8b7d57cd
AM
183032013-10-05 Alan Modra <amodra@gmail.com>
18304
18305 * NEWS: Mention powerpc64le support and bugs fixed.
18306 * README: Both big-endian and little-endian powerpc64 supported.
18307
7b7bab13
ST
183082013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18309
57f41c40
AS
18310 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18311 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18312 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18313 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18314
d39baad1
RA
183152013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18316
18317 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18318 match prototype.
18319
cd78f7e7
JM
183202013-10-04 Joseph Myers <joseph@codesourcery.com>
18321
29d73d86
JM
18322 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18323 Move -mhard-float appending from
18324 ports/sysdeps/powerpc/powerpc32/Makefile.
18325 [$(with-fp) = yes] (ASFLAGS): Likewise.
18326 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18327 * sysdeps/powerpc/nofpu: Move directory from
18328 ports/sysdeps/powerpc/nofpu.
18329 * sysdeps/powerpc/soft-fp: Move directory from
18330 ports/sysdeps/powerpc/soft-fp.
18331 * sysdeps/powerpc/powerpc32/405: Move directory from
18332 ports/sysdeps/powerpc/powerpc32/405.
18333 * sysdeps/powerpc/powerpc32/440: Move directory from
18334 ports/sysdeps/powerpc/powerpc32/440.
18335 * sysdeps/powerpc/powerpc32/464: Move directory from
18336 ports/sysdeps/powerpc/powerpc32/464.
18337 * sysdeps/powerpc/powerpc32/476: Move directory from
18338 ports/sysdeps/powerpc/powerpc32/476.
18339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18340 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18342 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18344 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18346 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18348 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18349 * README: Update for powerpc-*-linux-gnu software floating point
18350 support in libc.
18351
e246b347
JM
18352 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18353 case to powerpc/powerpc32*.
18354 * sysdeps/unix/sysv/linux/configure: Regenerated.
18355
89c2003e
JM
18356 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18357 (_FPU_MASK_OM): Define as 0x04.
18358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18360 0x00c10080.
18361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18362 0x0000003c.
18363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18364
cd78f7e7
JM
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18366 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18367 getcontext_e500.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18369 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18370 setcontext_e500.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18372 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18373 and setcontext_e500.
18374
c755294d
CL
183752013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18376
18377 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18378
e16d221c
SP
183792013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18380
18381 * manual/threads.texi (Default Thread Attributes): Fix typo.
18382
215c7d43
WN
183832013-10-04 Will Newton <will.newton@linaro.org>
18384
18385 * malloc/Makefile: Add tst-memalign.
18386 * malloc/tst-memalign.c: New file.
18387
27d0461b
WN
18388 * malloc/tst-posix_memalign.c: Add comments.
18389 (do_test): Add comments and call free on all potentially
18390 allocated pointers. Add space after cast.
18391
1bc92709
WN
18392 * malloc/tst-pvalloc.c: Add comments.
18393 (do_test): Add comments and call free on all potentially
18394 allocated pointers. Remove duplicate check for NULL pointer.
18395 Add space after cast.
18396
66a9be9d
WN
18397 * malloc/tst-valloc.c: Add comments.
18398 (do_test): Add comments and call free on all potentially
18399 allocated pointers. Remove duplicate check for NULL pointer.
18400 Add space after cast.
18401
4cb81307
AM
184022013-10-04 Alan Modra <amodra@gmail.com>
18403
18404 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18405 Use stdint types in rather than __attribute__((mode())).
18406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18407
f8e3e9f3
AM
184082013-10-04 Alan Modra <amodra@gmail.com>
18409
18410 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18411 Correct handling of unaligned relocs for little-endian.
18412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18413
8f9ebb08
AM
184142013-10-04 Alan Modra <amodra@gmail.com>
18415
18416 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18417 * configure: Regenerate.
18418 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18419 * shlib-versions: Likewise.
18420
0edf96c2
AM
184212013-10-04 Alan Modra <amodra@gmail.com>
18422
18423 * string/tester.c (test_memrchr): Increment reported test cycle.
18424
e0f7a380
AM
184252013-10-04 Alan Modra <amodra@gmail.com>
18426
18427 * string/test-memcpy.c (do_one_test): When reporting errors, print
18428 string address and don't overrun end of string.
18429
466b0393
AM
184302013-10-04 Alan Modra <amodra@gmail.com>
18431
18432 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18433 insrdi. Make better use of reg selection to speed exit slightly.
18434 Schedule entry path a little better. Remove useless "are we done"
18435 checks on entry to main loop. Handle wrapping around zero address.
18436 Correct main loop count. Handle single left-over word from main
18437 loop inline rather than by using loop_small. Remove extra word
18438 case in loop_small caused by wrong loop count. Add little-endian
18439 support.
18440 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18441 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18442 cache hint.
18443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18444 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18445 support. Avoid rlwimi.
18446 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18447
3be87c77
AM
184482013-10-04 Alan Modra <amodra@gmail.com>
18449
18450 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18451 insrdi. Formatting.
3be87c77
AM
18452 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18453 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18454 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18455 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18456 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18457 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18458
759cfef3
AM
184592013-10-04 Alan Modra <amodra@gmail.com>
18460
18461 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18462 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18463 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18464 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18465 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18466 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18467 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18468 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18469 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18470 use of regs. Use power7 mtocrf. Tidy function tails.
18471
fe6e95d7
AM
184722013-10-04 Alan Modra <amodra@gmail.com>
18473
18474 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18475 Formatting. Consistently use rXXX register defines or rN defines.
18476 Use early exit labels that avoid restoring unused non-volatile regs.
18477 Make cr field use more consistent with rWORDn compares. Rename
18478 regs used as shift registers for unaligned loop, using rN defines
18479 for short lifetime/multiple use regs.
18480 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18481 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18482 addi 1,1,64 to pop stack frame. Simplify return value code.
18483 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18484
664318c3
AM
184852013-10-04 Alan Modra <amodra@gmail.com>
18486
18487 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18488 support. Correct typos, formatting. Optimize tail. Use insrdi
18489 rather than rlwimi.
18490 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18491 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18492 little-endian support. Correct typos.
18493 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18494 rather than rlwimi.
18495 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18496 in loop and entry code to keep "and." results.
18497 (strchr): Add little-endian support. Comment. Move cntlzd
18498 earlier in tail.
18499 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18500
43b84013
AM
185012013-10-04 Alan Modra <amodra@gmail.com>
18502
18503 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18504 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18505 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18506 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18507
8a7413f9
AM
185082013-10-04 Alan Modra <amodra@gmail.com>
18509
18510 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18511 (rTMP): Define as r11.
18512 (strcmp): Add little-endian support. Optimise tail.
18513 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18514 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18515 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18516 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18517 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18519 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18520
33ee81de
AM
185212013-10-04 Alan Modra <amodra@gmail.com>
18522
18523 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18524 little-endian support. Remove unnecessary "are we done" tests.
18525 Handle "s" wrapping around zero and extremely large "size".
18526 Correct main loop count. Handle single left-over word from main
18527 loop inline rather than by using small_loop. Correct comments.
18528 Delete "zero" tail, use "end_max" instead.
18529 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18530
db9b4570
AM
185312013-10-04 Alan Modra <amodra@gmail.com>
18532
18533 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18534 support. Don't branch over align.
18535 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18536 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18537 support. Rearrange tmp reg use to suit. Comment.
18538 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18539
f7c399cf
AM
185402013-10-04 Alan Modra <amodra@gmail.com>
18541
18542 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18543
0b2c2ace
AM
185442013-10-04 Alan Modra <amodra@gmail.com>
18545
18546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18547 conditional form of branch and link when obtaining pc.
18548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18549
02f04a6c
AM
185502013-10-04 Alan Modra <amodra@gmail.com>
18551
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18553 HIWORD/LOWORD.
18554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18556
9b874b2f
AM
185572013-10-04 Alan Modra <amodra@gmail.com>
18558
18559 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18560 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18561 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18562 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18563 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18564 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18565 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18566 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18567 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18568 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18569
be1e5d31
AB
185702013-10-04 Anton Blanchard <anton@au1.ibm.com>
18571 Alistair Popple <alistair@ozlabs.au.ibm.com>
18572 Alan Modra <amodra@gmail.com>
18573
18574 [BZ #15723]
18575 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18576 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18577 _dl_hwcap access for little-endian.
18578 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18579 destroy vmx regs when saving unaligned.
18580 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18581 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18582 destroy vmx regs when saving unaligned.
18583
fef13a78
AM
185842013-10-04 Alan Modra <amodra@gmail.com>
18585
18586 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18587 Don't use a union to pack hi/low value.
18588
76a66d51
AB
185892013-10-04 Anton Blanchard <anton@au1.ibm.com>
18590
18591 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18592 for little-endian.
18593 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18594 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18595 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18596 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18597 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18598
6a31fe7f
AM
185992013-10-04 Alan Modra <amodra@gmail.com>
18600
18601 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18602 constants to usual value for .cst8 section, and remove redundant
18603 high address load.
18604 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18605 constant for 0x1p52. Load little-endian words of double from
18606 correct stack offsets.
18607
7b88401f
AM
186082013-10-04 Alan Modra <amodra@gmail.com>
18609
18610 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18611 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18612 words of double from correct stack offsets.
18613 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18614 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18615 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18617 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18620 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18621 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18624 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18625 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18626 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18627 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18628 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18629 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18630
9c008155
AM
186312013-10-04 Alan Modra <amodra@gmail.com>
18632
18633 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18634 64-bit int/double union.
18635 (_FPU_SETCW): Likewise.
18636 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18637 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18638
da13146d
AM
186392013-10-04 Alan Modra <amodra@gmail.com>
18640
18641 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18642 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18643
603e8410
AM
186442013-10-04 Alan Modra <amodra@gmail.com>
18645
18646 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18647 use vector int constants.
18648 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18649
4a28b3ca
AB
186502013-10-04 Anton Blanchard <anton@au1.ibm.com>
18651
18652 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18653 array with long long.
18654 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18655 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18656 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18657 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18658 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18659 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18660 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18661 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18662 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18663 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18664 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18665 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18666 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18667
2ca85d2b
AB
186682013-10-04 Anton Blanchard <anton@au1.ibm.com>
18669
18670 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18671 (__signbit): Likewise. Correct for little-endian.
18672 (__signbitl): Call __signbit.
18673 (lrint): Correct for little-endian.
18674 (lrintf): Call lrint.
18675
62a728ae
AM
186762013-10-04 Alan Modra <amodra@gmail.com>
18677
18678 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18679 union 32-bit int array member with 64-bit int array.
18680 (t515, tm256): Double rather than long double.
18681 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18682
32c301df
AM
186832013-10-04 Alan Modra <amodra@gmail.com>
18684
18685 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18686 Delete.
18687 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18688 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18689 version of math_ldbl.h.
18690
650ef4bd
AM
186912013-10-04 Alan Modra <amodra@gmail.com>
18692
18693 [BZ #15734], [BZ #15735]
18694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18695 all uses of ieee875 long double macros and unions. Simplify test
18696 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18697 ldbl_extract_mantissa value for ix,iy exponents. Properly
18698 normalize after ldbl_extract_mantissa, and don't add hidden bit
18699 already handled. Don't treat low word of ieee854 mantissa like
18700 low word of IBM long double and mask off bit when testing for
18701 zero.
18702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18703 all uses of ieee875 long double macros and unions. Simplify tests
18704 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18705 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18706 two1022, instead use their values. Recognise that tests for large
18707 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18708 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18709 Rewrite all uses of ieee875 long double macros and unions. Simplify
18710 test for 0.0L and nan. Correct negation.
18711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18712 ieee875 long double macros and unions. Correct output for large
18713 magnitude x. Correct absolute value calculation.
18714 (__erfcl): Likewise.
18715 * math/libm-test.inc: Add tests for errors discovered in IBM long
18716 double versions of fmodl, remainderl, erfl and erfcl.
18717
765714ca
AM
187182013-10-04 Alan Modra <amodra@gmail.com>
18719
18720 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18721 all uses of ieee854 long double macros and unions. Simplify tests
18722 for long doubles that are fully specified by the high double.
18723 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18724 Likewise.
18725 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18726 Remove dead code too.
18727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18728 (__ieee754_ynl): Likewise.
18729 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18730 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18732 Remove dead code too.
18733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18737 Simplify.
18738 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18739 Simplify.
18740 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18743 Comment on variable precision.
18744 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18746 Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18751 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18752
4ebd120c
AM
187532013-10-04 Alan Modra <amodra@gmail.com>
18754
18755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18757 all uses of ieee854 long double macros and unions.
18758 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18759 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18762 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18764 Likewise.
18765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18766 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18767 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18768 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18771 Simplify sign and nan test too.
18772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18773 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18774 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18776 Likewise.
18777 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18778 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18779 Likewise.
18780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18781 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18782 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18785 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18786
1b6adf88
AM
187872013-10-04 Alan Modra <amodra@gmail.com>
18788
18789 * stdio-common/printf_size.c (__printf_size): Don't use
18790 union ieee854_long_double in fpnum union.
18791 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18792 signbit macro to retrieve sign from long double.
18793 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18794 retrieve sign from long double.
18795 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18796 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18797 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18798 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18799 * math/test-misc.c (main): Don't use union ieee854_long_double.
18800
4cf69995
AM
188012013-10-04 Alan Modra <amodra@gmail.com>
18802
18803 [BZ #15680]
18804 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18805 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18806 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18807 calculation. Remove unnecessary test for denormal exponent.
18808 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18809 Correct handling of denormals. Avoid undefined shift behaviour.
18810 Correct normalisation of low mantissa when low double is denormal.
18811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18812 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18813 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18814 Correct normalisation of low mantissa. Test for overflow of high
18815 mantissa and normalise.
18816 (ldbl_nearbyint): Use more readable constant for two52.
18817 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18818 (__mpn_construct_long_double): Fix test for overflow of high
18819 mantissa and correct normalisation. Avoid undefined shift.
18820
9605ca6c
AM
188212013-10-04 Alan Modra <amodra@gmail.com>
18822
18823 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18824 (union ibm_extended_long_double): Define as an array of ieee754_double.
18825 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18826 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18827 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18828 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18830 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18833 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18836
975569d0
JM
188372013-10-03 Joseph Myers <joseph@codesourcery.com>
18838
d3d23756
JM
18839 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18840 page size instead of calling getpagesize.
18841
975569d0
JM
18842 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18843 (LOCFILE_ALIGN_MASK): Likewise.
18844 (LOCFILE_ALIGN_UP): Likewise.
18845 (LOCFILE_ALIGNED_P): Likewise.
18846 * locale/programs/ld-collate.c (collate_output): Use the new
18847 macros instead of __alignof__ (int32_t).
18848 * locale/weight.h (findidx): Likewise.
18849
b1fe1f2b
OB
188502013-10-03 Ondřej Bílka <neleai@seznam.cz>
18851
18852 [BZ #431]
18853 * manual/string.texi: Fix strncat and wcsncat.
18854
5f855e35
BM
188552013-10-03 Brooks Moses <bmoses@google.com>
18856
18857 [BZ #15915]
18858 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18859 * Makerules: ...here, and adjust associated comments.
18860
3cef6009
WN
188612013-10-02 Will Newton <will.newton@linaro.org>
18862
18863 * malloc/Makefile: Add tst-pvalloc.
18864 * malloc/tst-pvalloc.c: New file.
18865
7815420b
WN
188662013-10-02 Will Newton <will.newton@linaro.org>
18867
18868 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18869 improve test coverage.
18870
4868b204
WN
188712013-10-02 Will Newton <will.newton@linaro.org>
18872
18873 * malloc/Makefile: Add tst-posix_memalign.
18874 * malloc/tst-posix_memalign.c: New file.
18875
29c793b3
EB
188762013-10-01 Eric Blake <eblake@redhat.com>
18877
18878 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18879 Use __THROWNL rather than __THROW on static functions.
18880
fd967522
PM
188812013-09-30 Petr Machata <pmachata@redhat.com>
18882
18883 * elf/elf.h (R_AARCH64_ABS16): New macro.
18884 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18885 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18886 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18887 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18888 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18889 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18890 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18891 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18892 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18893 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18894 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18895 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18896 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18897 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18898 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18899 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18900 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18901 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18902 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18903 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18904 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18905 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18906 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18907 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18908 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18909 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18910 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18911 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18912 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18913 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18914 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18915 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18916 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18917 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18918 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18919 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18920 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18921 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18922 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18923 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18924 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18925 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18926 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18927 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18928 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18929 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18930 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18931 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18932 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18933 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18934 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18935 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18936 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18937 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18938 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18939 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18940 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18941 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18942 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18943 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18944 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18945 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18946 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18947 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18948 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18949 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18950 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18951 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18952 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18953 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18954 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18955 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18956 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18957 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18958 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18959 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18960 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18961 (R_AARCH64_TLSDESC_LDR): Likewise.
18962 (R_AARCH64_TLSDESC_ADD): Likewise.
18963 (R_AARCH64_TLSDESC_CALL): Likewise.
18964
b2179107
AS
189652013-09-30 Andreas Schwab <schwab@suse.de>
18966
18967 [BZ #15048]
18968 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18969 the nss database lookup.
18970 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18972
47f28d0a
MF
189732013-09-28 Mike Frysinger <vapier@gentoo.org>
18974
18975 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18976
189772013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
18978
18979 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18980 ${Bash-specific parameter/pattern/string} parameter expansion.
18981 * sysdeps/unix/make-syscalls.sh: Likewise.
18982
f4518a17
KK
189832013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18984
18985 * sysdeps/sh/stackguard-macros.h: New file.
18986
dc1a95c7
OB
189872013-09-26 Ondřej Bílka <neleai@seznam.cz>
18988
18989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18991 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18992 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18993 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18994 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18995
5ebbff8f
AZ
189962013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18997
18998 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18999 Fix thread ID register.
19000
4fd2cf9f
JM
190012013-09-25 Joseph Myers <joseph@codesourcery.com>
19002
19003 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19004 [POSIX || UNIX98]: Require rather than permitting all symbols from
19005 <time.h>.
19006 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19007 element of struct sched_param.
19008 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19009 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19010 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19011 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19012 constant.
19013
12c22bc4
OL
190142013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19015
19016 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19017 argument calculation.
19018
a03d8ea7
JM
190192013-09-24 Joseph Myers <joseph@codesourcery.com>
19020
19021 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19022 Expect macro.
19023 [POSIX] (pthread_attr_t): Do not require type.
19024 [POSIX] (pthread_cond_t): Likewise.
19025 [POSIX] (pthread_condattr_t): Likewise.
19026 [POSIX] (pthread_key_t): Likewise.
19027 [POSIX] (pthread_mutex_t): Likewise.
19028 [POSIX] (pthread_mutexattr_t): Likewise.
19029 [POSIX] (pthread_once_t): Likewise.
19030 [POSIX] (pthread_t): Likewise.
19031 [POSIX-based standards] (pthread_atfork): Expect function.
19032
6055173a
JM
190332013-09-24 Joseph Myers <joseph@codesourcery.com>
19034 Richard Sandiford <richard@codesourcery.com>
19035
19036 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19037 (swap_endianness_p): New extern variable.
19038 (set_big_endian): New inline function.
19039 (maybe_swap_uint32): Likewise.
19040 (maybe_swap_uint32_array): Likewise.
19041 (maybe_swap_uint32_obstack): Likewise.
19042 * locale/programs/locfile.c: Include <stdbool.h>.
19043 (swap_endianness_p): New variable.
19044 (add_locale_uint32): Call maybe_swap_uint32.
19045 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19046 (write_locale_data): Call maybe_swap_uint32_array.
19047 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19048 maybe_swap_uint32.
19049 (obstack_int32_grow_fast): Likewise.
19050 (output_weightwc): Call maybe_swap_uint32_obstack.
19051 (collate_output): Likewise.
19052 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19053 (OPT_LITTLE_ENDIAN): Likewise.
19054 (options): Add --little-endian and --big-endian options.
19055 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19056 * locale/programs/locarchive.c: Include "locfile.h".
19057 (GET): New macro.
19058 (SET): Likewise.
19059 (INC): Likewise.
19060 (create_archive): Use the new macros to access fields of
19061 structures directly mapped from or written to locale archives.
19062 (oldlocrecentcmp): Likewise.
19063 (enlarge_archive): Likewise.
19064 (insert_name): Likewise.
19065 (add_alias): Likewise.
19066 (add_locale): Likewise.
19067 (delete_locales_from_archive): Likewise.
19068 (show_archive_content): Likewise.
19069 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19070 locale data.
19071
39bf0bb4
RM
190722013-09-24 Roland McGrath <roland@hack.frob.com>
19073
19074 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19075 http://www.gnu.org/doc/freemanuals.texi.
19076 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19077
f02eed10
WN
190782013-09-24 Will Newton <will.newton@linaro.org>
19079
19080 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19081 macro.
19082
a3a6c312
JM
190832013-09-23 Joseph Myers <joseph@codesourcery.com>
19084
19085 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19086 unsigned char.
19087
107375ac
MR
190882013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19089
19090 * manual/threads.texi (POSIX Threads): Fix a typo.
19091
141f3a77
SP
190922013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19093
303e567a
SP
19094 [BZ #14547]
19095 * string/tst-strcoll-overflow.c: New test case.
19096 * string/Makefile (xtests): Add tst-strcoll-overflow.
19097 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19098 cache if string sizes may cause integer overflow.
19099
141f3a77
SP
19100 [BZ #14547]
19101 * string/strcoll_l.c (coll_seq): New members rule, idx,
19102 save_idx and back_us.
19103 (get_next_seq_nocache): New function.
19104 (do_compare_nocache): New function.
19105 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19106 when malloc fails.
19107
c61b4d41
CD
191082013-09-23 Carlos O'Donell <carlos@redhat.com>
19109
0b1f8e35
CD
19110 [BZ #15754]
19111 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19112 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19113 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19114
c61b4d41
CD
19115 [BZ #15754]
19116 * elf/Makefile (tests): Add tst-ptrguard1.
19117 (tests-static): Add tst-ptrguard1-static.
19118 (tst-ptrguard1-ARGS): Define.
19119 (tst-ptrguard1-static-ARGS): Define.
19120 * elf/tst-ptrguard1.c: New file.
19121 * elf/tst-ptrguard1-static.c: New file.
19122 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19123 * sysdeps/i386/stackguard-macros.h: Likewise.
19124 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19125 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19126 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19127 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19128 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19129 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19130
191312013-09-23 Hector Marco <hecmargi@upv.es>
19132 Ismael Ripoll <iripoll@disca.upv.es>
19133 Carlos O'Donell <carlos@redhat.com>
19134
19135 [BZ #15754]
19136 * sysdeps/generic/stackguard-macros.h: Define
19137 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19138 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19139 Define __pointer_chk_guard_local.
19140 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19141 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19142
f5f4e7b4
VV
191432013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19144
19145 [BZ #15859]
19146 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19147
5bb43a43
AS
191482013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19149
19150 * include/string.h (__ffs): Declare as hidden.
19151 * string/ffs.c (__ffs): Define as hidden.
19152 * sysdeps/i386/ffs.c (__ffs): Likewise.
19153 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19154 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19155 * sysdeps/s390/ffs.c (__ffs): Likewise.
19156 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19157
3ea5be54
AO
191582013-09-20 Alexandre Oliva <aoliva@redhat.com>
19159
ffb89e53
AO
19160 * NEWS: Mention malloc probes.
19161
322dea08
AO
19162 * malloc/arena.c (new_heap): New memory_heap_new probe.
19163 (grow_heap): New memory_heap_more probe.
19164 (shrink_heap): New memory_heap_less probe.
19165 (heap_trim): New memory_heap_free probe.
19166 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19167 (systrim): New memory_sbrk_less probe.
19168 * manual/probes.texi: Document them.
19169
655673f3
AO
19170 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19171 * manual/probes.texi: Document it.
19172
35fed6f1
AO
19173 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19174 (__libc_realloc): Add memory_realloc_retry probe.
19175 (__libc_memalign): Add memory_memalign_retry probe.
19176 (__libc_valloc): Add memory_valloc_retry probe.
19177 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19178 (__libc_calloc): Add memory_calloc_retry probe.
19179 * manual/probes.texi: Document them.
19180
6999d38c
AO
19181 * malloc/arena.c (get_free_list): Add probe
19182 memory_arena_reuse_free_list.
19183 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19184 and memory_arena_reuse.
19185 (arena_get2) [!PER_THREAD]: Likewise.
19186 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19187 memory_arena_reuse_realloc.
19188 * manual/probes.texi: Document them.
19189
0653427f
AO
19190 * malloc/malloc.c (__libc_free): Add
19191 memory_mallopt_free_dyn_thresholds probe.
19192 (__libc_mallopt): Add multiple memory_mallopt probes.
19193 * manual/probes.texi: Document them.
19194
3ea5be54
AO
19195 * malloc/malloc.c: Include stap-probe.h.
19196 (__libc_mallopt): Add memory_mallopt probe.
19197 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19198 * manual/probes.texi: New.
19199 * manual/Makefile (chapters): Add probes.
19200 * manual/threads.texi: Set next node.
19201
e35696c3 192022013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19203
e35696c3
CL
19204 [BZ #15963, #13985]
19205 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19206 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19207 Add `Chinese' to `nan' entry name.
19208
4aafb73c
SP
192092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19210
19211 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19212 (POLYNOMIAL): Likewise.
19213 (TAYLOR_SINCOS): Likewise.
19214 (TAYLOR_SLOW): Likewise.
19215 (__sin): Use TAYLOR_SINCOS.
19216 (__cos): Likewise.
19217 (slow): Use TAYLOR_SLOW.
19218 (sloww): Likewise.
19219 (bsloww): Likewise.
19220 (csloww): Likewise.
19221
d84f25c7
LD
192222013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19223
19224 * stdlib/strtod_l.c: Fix buffer overrun.
19225
5eea0404
SP
192262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19227
7849ff93
SP
19228 * benchtests/Makefile (bench): Add sincos.
19229 * benchtests/bench-sincos.c: New file.
19230
cfa3c886
SP
19231 * math/libm-test.inc (cos_test_data): New test inputs.
19232 (sin_test_data): Likewise.
19233
b348e1e3
SP
19234 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19235 macro.
19236 (__sin): Use it.
19237 (__cos): Likewise.
19238 (slow1): Likewise.
19239 (slow2): Likewise.
19240 (sloww1): Likewise.
19241 (sloww2): Likewise.
19242 (bsloww1): Likewise.
19243 (bsloww2): Likewise.
19244 (cslow2): Likewise.
19245 (csloww1): Likewise.
19246 (csloww2): Likewise.
19247
6cce25f8
SP
19248 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19249 function.
19250 (__sin): Use it.
19251 (__cos): Likewise.
19252
5eea0404
SP
19253 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19254 gotos.
19255 (__cos): Likewise.
19256
9c21573c
MR
192572013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19258
19259 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19260 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19261 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19262 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19263 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19264 * elf/cache.c (print_entry): Handle the new cache flags.
19265
24d22e65
JM
192662013-09-18 Joseph Myers <joseph@codesourcery.com>
19267 Aldy Hernandez <aldyh@redhat.com>
19268
19269 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19270 Change condition to [_SOFT_FLOAT].
19271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19283 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19286 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19287 declaration.
19288
d13ef066
JM
192892013-09-18 Joseph Myers <joseph@codesourcery.com>
19290
2e071de0
JM
19291 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19292 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19293 (__longjmp): Use LOAD_GP to load saved GPRs.
19294 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19295 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19296 (__sigsetjmp): Use SAVE_GP to save GPRs.
19297
d13ef066
JM
19298 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19299 Do not append -msoft-float.
19300 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19301
97a0650b
SP
193022013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19303
19304 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19305
11ca09e9
JM
193062013-09-17 Joseph Myers <joseph@codesourcery.com>
19307
19308 [BZ #15966]
19309 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19310 (_FPU_GETCW): Use initial "__" on variable and field names but not
19311 on macro parameter name.
19312 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19313 parentheses around reference to macro parameter.
19314
08ffcf34
RS
193152013-09-13 Richard Sandiford <richard@codesourcery.com>
19316
19317 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19318 prototype.
19319 (ctype_startup): Use uint32_t in cast and sizeof for
19320 ctype->charnames.
19321
ae7080d3
JL
193222013-09-11 Jia Liu <proljc@gmail.com>
19323
19324 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19325 __daddr_t_defined.
19326 [__FreeBSD__]: Likewise.
19327
5905e7b3
OB
193282013-09-11 Ondřej Bílka <neleai@seznam.cz>
19329
19330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19331 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19332 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19333 (strchr): Remove __strchr_sse42 ifunc selection.
19334 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19335 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19336
b987c776
WN
193372013-09-11 Will Newton <will.newton@linaro.org>
19338
19339 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19340 parameter to RES. Remove hardcoded 1000 value.
19341 * benchtests/bench-skeleton.c (main): Pass RES parameter
19342 to TIMING_INIT and multiply result by 1000.
19343
ddf985af
AZ
193442013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19345
19346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19347
ffdd3181
AS
193482013-09-11 Andreas Schwab <schwab@suse.de>
19349
19350 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19351 if not defined.
19352 (O_TMPFILE) [__USE_GNU]: Define.
19353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19354 Define.
19355
b73ed247
WN
193562013-09-11 Will Newton <will.newton@linaro.org>
19357
19358 [BZ #15857]
19359 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19360 does not overflow.
19361
55e17aad
WN
193622013-09-11 Will Newton <will.newton@linaro.org>
19363
19364 [BZ #15856]
19365 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19366 does not overflow.
19367
1159a193
WN
193682013-09-11 Will Newton <will.newton@linaro.org>
19369
19370 [BZ #15855]
19371 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19372 does not overflow.
19373
5905e7b3 193742013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19375
19376 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19377 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19381
cdfc721b
AM
193822013-09-10 Allan McRae <allan@archlinux.org>
19383
aa04af00
AM
19384 [BZ #15748]
19385 * manual/arith.texi (Parsing of Floats): Clarify
19386 cross-reference.
19387
cdfc721b
AM
19388 [BZ #15849]
19389 * manual/install.texi (Running make install): Mention
19390 --enable-pt-chown.
19391 * INSTALL: Regenerated.
19392
95e7cf29
MR
193932013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19394
19395 * csu/init-first.c (_init): Remove the !SHARED condition around
19396 FPU control word initialization.
19397 * elf/dl-support.c (_dl_fpu_control): New variable.
19398 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19399 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19400 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19401 * math/test-fpucw-static.c: New file.
19402 * math/test-fpucw-ieee.c: New file.
19403 * math/test-fpucw-ieee-static.c: New file.
19404 * math/Makefile (tests): Add `test-fpucw-ieee' and
19405 `$(tests-static)'.
19406 (tests-static): New variable.
19407 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19408 dependency to...
19409 [($(build-shared),yes)]
19410 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19411 ... this.
19412 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19413 New dependency.
19414
83e43bf0
AM
194152013-09-09 Allan McRae <allan@archlinux.org>
19416
a9f5ce09
AM
19417 [BZ #15939]
19418 * manual/string.texi (Collation Functions): Fix typo in
19419 strcoll example.
19420 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19421
34829bc2
AM
19422 [BZ #15893]
19423 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19424
3932737d
AM
19425 [BZ #15892]
19426 * libio/memstream.c (open_memstream): Fix memory leak.
19427 * libio/wmemstream.c (open_wmemstream): Likewise.
19428
83e43bf0
AM
19429 [BZ #15895]
19430 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19431
0c66b8e9
WN
194322013-09-09 Will Newton <will.newton@linaro.org>
19433
19434 * malloc/Makefile: Add tst-realloc to tests.
19435 * malloc/tst-realloc.c: New file.
19436
f6b00fd1
AM
194372013-09-09 Allan McRae <allan@archlinux.org>
19438
19439 [BZ #15844]
19440 * COPYING: Update from GNU website to fix FSF address.
19441 * COPYING.LIB: Likewise.
19442
eec55e16
DM
194432013-09-06 David S. Miller <davem@davemloft.net>
19444
19445 * po/zh_TW.po: Update Chinese (traditional) translation from
19446 translation project.
19447
1ecbb381
RS
194482013-09-06 Richard Sandiford <richard@codesourcery.com>
19449 Joseph Myers <joseph@codesourcery.com>
19450
19451 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19452 "localeinfo.h".
19453 (obstack_chunk_alloc): New macro.
19454 (obstack_chunk_free): Likewise.
19455 (record_offset): New function.
19456 (init_locale_data): Likewise.
19457 (align_locale_data): Likewise.
19458 (add_locale_empty): Likewise.
19459 (add_locale_raw_data): Likewise.
19460 (add_locale_raw_obstack): Likewise.
19461 (add_locale_string): Likewise.
19462 (add_locale_wstring): Likewise.
19463 (add_locale_uint32): Likewise.
19464 (add_locale_uint32_array): Likewise.
19465 (add_locale_char): Likewise.
19466 (start_locale_structure): Likewise.
19467 (end_locale_structure): Likewise.
19468 (start_locale_prelude): Likewise.
19469 (end_locale_prelude): Likewise.
19470 (write_locale_data): Take locale_file structure rather than an
19471 iovec.
19472 * locale/programs/locfile.h: Include "obstack.h".
19473 (struct locale_file): Change to store locale file contents instead
19474 of header.
19475 (init_locale_data): New prototype.
19476 (align_locale_data): Likewise.
19477 (add_locale_empty): Likewise.
19478 (add_locale_raw_data): Likewise.
19479 (add_locale_raw_obstack): Likewise.
19480 (add_locale_string): Likewise.
19481 (add_locale_wstring): Likewise.
19482 (add_locale_uint32): Likewise.
19483 (add_locale_uint32_array): Likewise.
19484 (add_locale_char): Likewise.
19485 (start_locale_structure): Likewise.
19486 (end_locale_structure): Likewise.
19487 (start_locale_prelude): Likewise.
19488 (end_locale_prelude): Likewise.
19489 (write_locale_data): Update prototype.
19490 * locale/programs/3level.h (struct TABLE): Remove result field.
19491 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19492 Use new locale_file interface.
19493 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19494 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19495 * locale/programs/ld-address.c (address_output): Use new
19496 locale_file interface.
19497 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19498 NO_ADD_LOCALE.
19499 (collate_finish): Don't call collseq_table_finalize.
19500 (collate_output): Use new locale_file interface.
19501 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19502 in file.
19503 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19504 (TABLE): Move defines earlier in file.
19505 (ELEMENT): Likewise.
19506 (DEFAULT): Likewise.
19507 (wctrans_table_add): Move macro and inline function earlier in
19508 file.
19509 (struct wctype_table): Move type earlier in file.
19510 (add_locale_wctype_table): New static prototype.
19511 (struct locale_ctype_t): Use logical types instead of struct iovec
19512 pointers for members.
19513 (ctype_output): Use new locale_file interface.
19514 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19515 new locale_file interface.
19516 (allocate_arrays): Update for use of new locale_file interface.
19517 * locale/programs/ld-identification.c (identification_output): Use
19518 new locale_file interface.
19519 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19520 * locale/programs/ld-messages.c (messages_output): Likewise.
19521 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19522 * locale/programs/ld-name.c (name_output): Likewise.
19523 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19524 * locale/programs/ld-paper.c (paper_output): Likewise.
19525 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19526 * locale/programs/ld-time.c (time_output): Likewise.
19527
e029e2e5
AZ
195282013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19529
19530 * benchtests/Makefile: Add memrchr benchmark.
19531 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19532 benchmark as memrchr.
19533 * benchtests/bench-memrchr-ifunc.c: New file.
19534 * benchtests/bench-memrchr.c: New file.
19535
bbf6e8e4
WN
195362013-09-06 Will Newton <will.newton@linaro.org>
19537
19538 * benchtests/Makefile (string-bench): Add memcpy.
19539
6c82a2f8
CD
195402013-09-05 Carlos O'Donell <carlos@redhat.com>
19541 Cong Wang <amwang@redhat.com>
19542
e732c5f0 19543 [BZ #15850]
6c82a2f8
CD
19544 * sysdeps/unix/sysv/linux/bits/in.h
19545 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19546 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19547 before __USE_KERNEL_IPV6_DEFS uses.
19548 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19549 IPPROTO_BEETPH.
19550 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19551 sockaddr_in6, or ipv6_mreq.
19552
5430fc65
AZ
195532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19554
19555 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19556 memory access for final bytes in some large inputs.
19557 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19558
4660856c
AZ
195592013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19560
19561 * string/test-memrchr.c: New file.
19562 * string/test-memrchr-ifunc.c: New file.
19563 * string/Makefile: Add new memrchr testcase.
19564
bb8ea713
MF
195652013-09-05 Mike Frysinger <vapier@gentoo.org>
19566
19567 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19568 fanotify_init returns EPERM.
19569
b92a20b5
JM
195702013-09-04 Joseph Myers <joseph@codesourcery.com>
19571
19572 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19573 errors.
19574 (top level): Treat second token from macro or constant entries for
19575 allowed headers as allowed.
19576 * include/complex.h: Condition internal declarations on
19577 [!_ISOMAC].
19578 * include/fenv.h: Condition include of <stdbool.h> and internal
19579 declarations on [!_ISOMAC].
7447ccd9
CL
19580
195812013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19582
3e181dda 19583 [BZ #15923]
7447ccd9
CL
19584 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19585
3f2e46a4
JM
195862013-09-04 Joseph Myers <joseph@codesourcery.com>
19587
19588 * configure.in (--enable-versioning): Remove configure option.
19589 (libc_cv_asm_symver_directive): Remove configure test.
19590 (libc_cv_ld_version_script_option): Likewise.
19591 (VERSIONING): Remove variable and AC_SUBST.
19592 (DO_VERSIONING): Remove AC_DEFINE.
19593 * configure: Regenerated.
19594 * config.h.in (DO_VERSIONING): Remove macro.
19595 * Makerules [$(versioning) = yes]: Change conditionals to
19596 [$(build-shared) = yes].
19597 * config.make.in (versioning): Remove variable.
19598 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19599 [$(build-shared) = yes].
19600 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19601 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19602 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19603 [$(build-shared) = yes].
19604 * extra-lib.mk [$(versioning) = yes]: Likewise.
19605 * hurd/Makefile [$(versioning) = yes]: Likewise.
19606 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19607 [SHARED].
19608 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19609 [SHARED].
19610 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19611 [SHARED && !NO_HIDDEN].
19612 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19613 [SHARED].
19614 [SHARED && DO_VERSIONING]: Likewise..
19615 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19616 [$(build-shared) = yes].
19617 * manual/install.texi (--disable-versioning): Remove
19618 documentation.
19619 * INSTALL: Regenerated.
19620 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19621 to [SHARED].
19622 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19623 [$(build-shared) = yes].
19624 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19625 * sysdeps/i386/i686/multiarch/strstr-c.c
19626 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19627 [SHARED && !NO_HIDDEN].
19628 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19629 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19630 * sysdeps/powerpc/powerpc32/dl-machine.c
19631 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19632 * sysdeps/powerpc/powerpc32/sysdep.h
19633 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19634 to [SHARED && PIC && !NO_HIDDEN].
19635 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19636 conditional to [SHARED].
19637
44558701
WN
196382013-09-04 Will Newton <will.newton@linaro.org>
19639
19640 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19641 * benchtests/bench-string.h: Include bench-timing.h instead
19642 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19643 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19644 call to HP_TIMING_DIFF_INIT.
19645 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19646 instead of hp-timing.h macros.
19647 * benchtests/bench-memchr.c: Likewise.
19648 * benchtests/bench-memcmp.c: Likewise.
19649 * benchtests/bench-memcpy.c: Likewise.
19650 * benchtests/bench-memmem.c: Likewise.
19651 * benchtests/bench-memmove.c: Likewise.
19652 * benchtests/bench-memset.c: Likewise.
19653 * benchtests/bench-rawmemchr.c: Likewise.
19654 * benchtests/bench-strcasecmp.c: Likewise.
19655 * benchtests/bench-strcasestr.c: Likewise.
19656 * benchtests/bench-strcat.c: Likewise.
19657 * benchtests/bench-strchr.c: Likewise.
19658 * benchtests/bench-strcmp.c: Likewise.
19659 * benchtests/bench-strcpy.c: Likewise.
19660 * benchtests/bench-strcpy_chk.c: Likewise.
19661 * benchtests/bench-strlen.c: Likewise.
19662 * benchtests/bench-strncasecmp.c: Likewise.
19663 * benchtests/bench-strncat.c: Likewise.
19664 * benchtests/bench-strncmp.c: Likewise.
19665 * benchtests/bench-strncpy.c: Likewise.
19666 * benchtests/bench-strnlen.c: Likewise.
19667 * benchtests/bench-strpbrk.c: Likewise.
19668 * benchtests/bench-strrchr.c: Likewise.
19669 * benchtests/bench-strspn.c: Likewise.
19670 * benchtests/bench-strstr.c: Likewise.
19671
cae16d66
WN
196722013-09-04 Will Newton <will.newton@linaro.org>
19673
19674 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19675
ffa3cd7f
JM
196762013-09-03 Joseph Myers <joseph@codesourcery.com>
19677
19678 [BZ #15427]
19679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19680 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19681 * math/libm-test.inc (lgamma_test_data): Add more tests.
19682 * sysdeps/i386/fpu/libm-test-ulps: Update.
19683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19684
8f02859f
OB
196852013-09-03 Ondřej Bílka <neleai@seznam.cz>
19686
19687 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19688 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19689 Add ifunc.
19690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19691 Add strcmp-sse2-unaligned
19692 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19693
18d43716
MF
196942013-09-02 Mike Frysinger <vapier@gentoo.org>
19695
19696 * Versions.def (libc): Add GLIBC_2.19.
19697
ac444012
MF
196982013-09-02 Mike Frysinger <vapier@gentoo.org>
19699
19700 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19701 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19702
b7835e32
JM
197032013-09-02 Joseph Myers <joseph@codesourcery.com>
19704
19705 [BZ #14155]
19706 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19707 intermediate calculations in recurrence.
19708 (__ieee754_ynf): Likewise.
19709 * math/libm-test.inc (jn_test_data): Do not allow spurious
19710 underflow exception. Add more tests.
19711 (yn_test_data): Add more tests.
19712 * sysdeps/i386/fpu/libm-test-ulps: Update.
19713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19714
8220f4f0
OB
197152013-09-02 Ondřej Bílka <neleai@seznam.cz>
19716
19717 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19718
f24a6d08
OB
197192013-08-30 Ondřej Bílka <neleai@seznam.cz>
19720
19721 * csu/init-first.c: Fix then/than typos.
19722 * locale/programs/ld-collate.c: Likewise.
19723 * locale/programs/linereader.h: Likewise.
19724 * manual/charset.texi: Likewise.
19725 * manual/filesys.texi: Likewise.
19726 * manual/stdio.texi: Likewise.
19727 * manual/string.texi: Likewise.
19728 * stdlib/fmtmsg.c: Likewise.
19729 * sysdeps/i386/stpncpy.S: Likewise.
19730 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19731 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19733 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19734
382466e0
OB
197352013-08-30 Ondřej Bílka <neleai@seznam.cz>
19736
19737 * elf/dl-open.c: Fix typos.
19738 * iconvdata/gbbig5.c: Likewise.
19739 * iconvdata/iso-2022-jp.c: Likewise.
19740 * iconv/gconv_int.h: Likewise.
19741 * iconv/loop.c: Likewise.
19742 * nis/rpcsvc/nis.h: Likewise.
19743 * resolv/ns_name.c: Likewise.
19744 * stdio-common/vfscanf.c: Likewise.
19745 * streams/stropts.h: Likewise.
19746 * sunrpc/rpc_thread.c: Likewise.
19747 * sysdeps/i386/strpbrk.S: Likewise.
19748 * sysdeps/ieee754/k_standard.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19751 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19752 * sysdeps/mach/hurd/profil.c: Likewise.
19753 * sysdeps/s390/dl-procinfo.h: Likewise.
19754 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19755 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19756 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19757 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19759
0186c6e9
OB
197602013-08-30 Ondřej Bílka <neleai@seznam.cz>
19761
19762 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19763 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19764
d4e16af1
OB
197652013-08-29 Ondřej Bílka <neleai@seznam.cz>
19766
19767 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19768 aix specific files.
19769 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19770 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19771 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19772 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19773 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19774 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19775 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19776 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19777
88335980
TS
197782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19779 Roland McGrath <roland@hack.frob.com>
19780
19781 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19782 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19783
ed479b02
ST
197842013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19785
19786 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19787 __executable_start symbol instead of _start.
19788
f1cc4c86
TS
197892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19790
d821f07c
TS
19791 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19792 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19793 Move macros to...
19794 * sysdeps/gnu/ldsodefs.h: ... this new file.
19795
c54290cf
TS
19796 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19797 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19798 instead of ELFOSABI_LINUX.
19799
0007fc9b 19800 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19801 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19802 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19803 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19804 Likewise.
19805 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19806 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19808 Likewise.
19809 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19810 (ibm_extended_long_double): Add ieee_nan member.
19811 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19812 (do_test): New function.
19813
f1cc4c86
TS
19814 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19815 TEST_TRUNC.
19816 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19817 functions, renamed from truncdfsf_test, trunctfsf_test,
19818 trunctfdf_test.
19819 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19820 functions.
19821 (do_test): Run all these.
19822
6f65e668
OB
198232013-08-29 Ondřej Bílka <neleai@seznam.cz>
19824
19825 * argp/argp-help.c: Fix typos.
19826 * argp/argp-parse.c: Likewise.
19827 * debug/backtracesyms.c: Likewise.
19828 * elf/elf.h: Likewise.
19829 * malloc/malloc.c: Likewise.
19830 * nis/nis_print.c: Likewise.
19831 * resolv/res_comp.c: Likewise.
19832 * stdlib/stdlib.h: Likewise.
19833 * sunrpc/clnt_tcp.c: Likewise.
19834 * sunrpc/clnt_udp.c: Likewise.
19835 * sunrpc/clnt_unix.c: Likewise.
19836 * sysdeps/unix/bsd/ptsname.c: Likewise.
19837 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19838 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19840 Likewise.
19841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19842 Likewise.
19843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19844 Likewise.
6f65e668
OB
19845 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19846
3a309239
SP
198472013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19848
19849 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19851
3b813b29
MF
198522013-08-27 Mike Frysinger <vapier@gentoo.org>
19853
19854 [BZ #15897]
19855 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19856 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19857 ($(objpfx)bug-dl-leaf): New rule.
19858 ($(objpfx)bug-dl-leaf.so): Likewise.
19859 ($(objpfx)bug-dl-leaf.out): Likewise.
19860 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19861 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19862 * dlfcn/bug-dl-leaf.c: New test.
19863 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19864 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19865 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19866 (dlclose): Likewise.
19867 (dlmopen): Likewise.
19868
8cc3269f
RM
198692013-08-27 Roland McGrath <roland@hack.frob.com>
19870
7f9d0034
RM
19871 * include/netdb.h [!_ISOMAC]:
19872 Don't include <tls.h>.
19873 (h_errno, __libc_h_errno): Move declaration and macros out of
19874 [_LIBC_REENTRANT].
19875
fb431262
RM
19876 * include/resolv.h [_RESOLV_H_]:
19877 Don't include <tls.h>.
19878 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19879 * resolv/res_libc.c: Don't include <tls.h>.
19880 (_res): Use __attribute__ ((nocommon)) in place of
19881 __attribute__ ((section (".bss"))).
19882
bd81123a
RM
19883 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19884 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19885
c4e42566
RM
19886 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19887
f890a59b
RM
19888 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19889 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19890
19891 * resolv/res_mkquery.c: Include <sys/time.h>.
19892
5d1f0a09
RM
19893 * inet/ifreq.c: Moved to ...
19894 * sysdeps/unix/ifreq.c: ... here.
19895 * inet/ifreq.c: New file, true stub version.
19896
6fcf28b3
RM
19897 * socket/sa_len.c: New file.
19898 * socket/Makefile (aux): Add it.
19899 * sysdeps/unix/sysv/linux/Makefile
19900 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19901 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19902 and #include <socket/sa_len.c>.
19903 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19904 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19905
e041fb8b
RM
19906 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19907 * bits/socket.h: ... here.
19908
8cc3269f
RM
19909 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19910 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19911 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19912
5d228a43
AS
199132013-08-27 Andreas Schwab <schwab@suse.de>
19914
45b8accc
AS
19915 [BZ #15736]
19916 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19917 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19918 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19919 * string/test-strcasecmp.c (test_main): Run tests in several
19920 locales.
19921 * string/test-strncasecmp.c (test_main): Likewise.
19922
5d228a43
AS
19923 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19924 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19925 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19927 (__strncasecmp_ssse3) [PIC]: Likewise.
19928
59d112a4
RM
199292013-08-26 Roland McGrath <roland@hack.frob.com>
19930
53234cc3
RM
19931 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19932
59d112a4
RM
19933 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19934 instead of explicitly declaring xdecrypt.
19935 * nis/nss_nis/nis-publickey.c: Likewise.
19936
595aba70
SP
199372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19938
19939 [BZ #15890]
19940 * nscd/aicache.c: Include res_hconf.h.
19941 (addhstaiX): Initialize res_hconf.
19942
ffabd393
AS
199432013-08-26 Andreas Schwab <schwab@suse.de>
19944
19945 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19946 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19947
e0a69f5c
SP
199482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19949
19950 * nscd/aicache.c (addhstaiX): Fix indentation.
19951
8c12f01d
MF
199522013-08-25 Mike Frysinger <vapier@gentoo.org>
19953
19954 * configure.ac: Quote $build_pt_chown test.
19955 * configure: Regenerated.
19956
8fe89494
JM
199572013-08-23 Joseph Myers <joseph@codesourcery.com>
19958
19959 [BZ #15532]
19960 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19961 * math/s_cexpf.c (__cexpf): Likewise.
19962 * math/s_cexpl.c (__cexpl): Likewise.
19963 * math/libm-test.inc (cexp_test_data): Correct expected return
19964 value for NaN + i0. Add another test.
19965
75b181d6
DM
199662013-08-22 David S. Miller <davem@davemloft.net>
19967
19968 * po/ca.po: Update Catalan translation from translation project.
936241e4 19969 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 19970
acd06bb1
JM
199712013-08-21 Joseph Myers <joseph@codesourcery.com>
19972
19973 [BZ #15797]
19974 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19975 is infinite, not alongside NaN test.
19976 * math/s_fdimf.c (__fdimf): Likewise.
19977 * math/s_fdiml.c (__fdiml): Likewise.
19978 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19979 errno is unchanged.
19980
c0c3f78a
OB
199812013-08-21 Ondřej Bílka <neleai@seznam.cz>
19982
19983 * argp/argp-help.c: Fix typos.
19984 * crypt/speeds.c: Likewise.
19985 * csu/check_fds.c: Likewise.
19986 * elf/dl-load.c: Likewise.
19987 * elf/dl-open.c: Likewise.
19988 * elf/reldep3.c: Likewise.
19989 * elf/reldep.c: Likewise.
19990 * elf/sprof.c: Likewise.
19991 * iconv/iconv_charmap.c: Likewise.
19992 * iconv/skeleton.c: Likewise.
19993 * iconv/strtab.c: Likewise.
19994 * io/lockf64.c: Likewise.
19995 * libio/libioP.h: Likewise.
19996 * resolv/gai_notify.c: Likewise.
19997 * resolv/ns_name.c: Likewise.
19998 * resolv/ns_samedomain.c: Likewise.
19999 * resolv/res_send.c: Likewise.
20000 * stdlib/random.c: Likewise.
20001 * sunrpc/rpc/xdr.h: Likewise.
20002 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20003 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20004 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20010 * sysdeps/mach/hurd/check_fds.c: Likewise.
20011 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20012 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20013 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20014 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20015 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20017 * sysdeps/pthread/aio_notify.c: Likewise.
20018 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20019 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20020 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20021 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20022 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20023
46ed1038
LD
200242013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20025
20026 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20027 version if bit_Slow_SSE4_2 is set.
20028 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20030
d400dcac
AZ
200312013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20032
20033 [BZ #15867]
20034 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20035 trampoline stack frame information.
20036 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20037 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20038 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20039 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20040 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20041 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20042 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20043 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20044 sa_flags value.
20045 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20046 interrupting a syscall and set with option SA_SIGINFO.
20047
42c8fdd8
JM
200482013-08-20 Joseph Myers <joseph@codesourcery.com>
20049
c980f2f4
JM
20050 [BZ #15531]
20051 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20052 argument is infinite.
20053 * math/s_cprojf.c (__cprojf): Likewise.
20054 * math/s_cprojl.c (__cprojl): Likewise.
20055 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20056 * math/libm-test.inc (cproj_test_data): Add more tests.
20057
0716c4fc
JM
20058 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20059
42c8fdd8
JM
20060 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20061 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20062 size. Use __ffs to determine corresponding shift.
20063
b31469d0
JM
200642013-08-20 Joseph Myers <joseph@codesourcery.com>
20065 Roland McGrath <roland@hack.frob.com>
20066
20067 * Makefile (INSTALL): Remove trailing blank lines from output of
20068 makeinfo.
20069
4e39af6e
AK
200702013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20071
20072 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20073 Align 32 bit compat elf_greg to 8 bytes.
20074
f315524e
AA
200752013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20076
20077 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20078
1326ba1a
SP
200792013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20080
20081 * string/strcoll_l.c (coll_seq): New structure.
20082 (get_next_seq_cached): New function.
20083 (get_next_seq): New function.
20084 (do_compare): New function.
20085 (STRCOLL): Use GNU style definition. Simplify implementation
20086 by using get_next_seq, get_next_seq_cached and do_compare.
20087
91ce4085
FW
200882013-08-16 Florian Weimer <fweimer@redhat.com>
20089
20090 [BZ #14699]
20091 CVE-2013-4237
20092 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20093 member.
20094 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20095 member.
20096 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20097 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20098 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20099 conditional.
20100 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20101 GETDENTS_64BIT_ALIGNED.
20102 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20103 * manual/filesys.texi (Reading/Closing Directory): Document
20104 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20105 strongly.
20106 * manual/conf.texi (Limits for Files): Add portability note to
20107 NAME_MAX, PATH_MAX.
20108 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20109
ca0a6bc4
AS
201102013-08-13 Andreas Schwab <schwab@suse.de>
20111
20112 [BZ #15749]
20113 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20114 of fabs.
20115 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20116 LDBL_MAX_EXP >= 16384]: Add tests for it.
20117
6c1fd795
DM
201182013-08-12 David S. Miller <davem@davemloft.net>
20119
20120 * version.h (RELEASE): Set to "development".
20121 (VERSION): Set to "2.18.90".
20122 * NEWS: Add 2.19 section.
20123
31ad488d
DM
201242013-08-03 David S. Miller <davem@davemloft.net>
20125
20126 * po/ko.po: Update Korean translation from translation project.
20127
db24e684
DM
201282013-08-01 David S. Miller <davem@davemloft.net>
20129
20130 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20131 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20132 Bilka.
20133
f723285b
DM
201342013-07-30 David S. Miller <davem@davemloft.net>
20135
20136 * po/fr.po: Update French translation from translation project.
20137
3cbc52db
DM
201382013-07-28 David S. Miller <davem@davemloft.net>
20139
30bbc0cc
DM
20140 * po/cs.po: Update Czech translation from translation project.
20141
3cbc52db
DM
20142 * po/sv.po: Update Swedish translation from translation project.
20143
d492e6d0
DM
201442013-07-27 David S. Miller <davem@davemloft.net>
20145
f1a7f492
DM
20146 * po/eo.po: Update Esperanto translation from translation project.
20147
90e62a4a
DM
20148 * po/vi.po: Update Vietnamese translation from translation project.
20149
d492e6d0
DM
20150 * po/de.po: Update German translation from translation project.
20151
d4baa62d
DM
201522013-07-26 David S. Miller <davem@davemloft.net>
20153
641aa7b4
DM
20154 * po/bg.po: Update Bulgarian translation from translation project.
20155
d4baa62d
DM
20156 * po/nl.po: Update Dutch translation from translation project.
20157 * po/pl.po: Update Polish translation from translation project.
20158 * po/ru.po: Update Russian translation from translation project.
20159
61a9dcb9
DM
201602013-07-24 David S. Miller <davem@davemloft.net>
20161
20162 * po/libc.pot: Update.
20163
7b1f8b58
AZ
201642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20165
20166 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20167 variable page size.
20168 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20169 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20170 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20171
a8fc7a03
AK
201722013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20173
20174 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20175
e4608715
CD
201762013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20177 Andreas Schwab <schwab@suse.de>
20178 Roland McGrath <roland@hack.frob.com>
20179 Joseph Myers <joseph@codesourcery.com>
20180 Carlos O'Donell <carlos@redhat.com>
20181
20182 [BZ #15755]
20183 * config.h.in: Define HAVE_PT_CHOWN.
20184 * config.make.in (build-pt-chown): New variable.
20185 * configure.in (--enable-pt_chown): New configure option.
20186 * configure: Regenerate.
20187 * login/Makefile: Include Makeconfig. Build pt_chown only if
20188 build-pt-chown is enabled.
20189 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20190 pt_chown to fix pty ownership.
20191 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20192 CLOSE_ALL_FDS.
20193 * manual/install.texi (Configuring and compiling): Mention
20194 --enable-pt_chown. Add @findex for grantpt.
20195 * INSTALL: Regenerate.
20196
da2d62df
DM
201972013-07-20 David S. Miller <davem@davemloft.net>
20198
20199 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20200 difference between 32-bit and 64-bit.
20201
d7e06450
CD
202022013-07-15 Carlos O'Donell <carlos@redhat.com>
20203
20204 [BZ #15711]
20205 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20206 Avoid system header dependency with -ffreestanding.
20207 ($(objpfx)bits/syscall%d): Likewise.
20208
f959cfd7
DM
202092013-07-13 David S. Miller <davem@davemloft.net>
20210
20211 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20212 underflows from atanl/atan2l due to bug 15319.
20213 (casinh_test_data): Likewise.
20214
c61f8513
DM
202152013-07-07 David S. Miller <davem@davemloft.net>
20216
20217 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20218
72c90ed0
JA
202192013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20220
20221 * sysdeps/i386/fpu/libm-test-ulps: Update.
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20223
52dfbe13
SP
202242013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20225
20226 * configure.in (--enable-lock-elision): Fix message text.
20227 * INSTALL: Regenerate.
20228 * configure: Regenerate.
20229
3f169543
AZ
202302013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20231
20232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20233
521c6785
AJ
202342013-07-03 Andreas Jaeger <aj@suse.de>
20235
20236 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20237 define.
20238 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20239 (ptrace_peeksiginfo_args): Add.
20240 (__ptrace_peeksiginfo_flags): Add.
20241 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20242 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20243 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20244
d2cc15cb
AM
202452013-07-03 Allan McRae <allan@archlinux.org>
20246
20247 * sysdeps/i386/fpu/libm-test-ulps: Update.
20248
3aaeeca7
DM
202492013-07-02 David S. Miller <davem@davemloft.net>
20250
20251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20252
5314ed1a
MT
202532013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20254
20255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20256
67338156
JM
202572013-07-02 Joseph Myers <joseph@codesourcery.com>
20258
20259 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20261
1717da59
AK
202622013-07-02 Andi Kleen <ak@linux.intel.com>
20263
20264 * config.h.in (ENABLE_LOCK_ELISION): Add.
20265 * configure.in (--enable-lock-elision): Add option.
20266 * manual/install.texi: Document --enable lock elision.
20267 * configure: Regenerate
20268 * INSTALL: Regenerate.
20269
1c81621c
L
202702013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20271
20272 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20273 SSE4.2 strcasecmp for libc.a.
20274 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20275
77f01ab5
JM
202762013-07-02 Joseph Myers <joseph@codesourcery.com>
20277
20278 [BZ #13304]
20279 * soft-fp/op-common.h (_FP_FMA): New macro.
20280 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20281 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20282 (_FP_MUL_MEAT_1_imm): ... here.
20283 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20284 (_FP_MUL_MEAT_1_wide): ... here.
20285 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20286 (_FP_MUL_MEAT_1_hard): ... here.
20287 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20288 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20289 (_FP_MUL_MEAT_2_wide): ... here.
20290 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20291 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20292 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20293 (_FP_MUL_MEAT_2_gmp): ... here.
20294 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20295 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20296 (_FP_MUL_MEAT_4_wide): ... here.
20297 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20298 (_FP_MUL_MEAT_4_gmp): ... here.
20299 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20300 (_FP_WFRACBITS_DW_S): Likewise.
20301 (_FP_WFRACXBITS_DW_S): Likewise.
20302 (_FP_HIGHBIT_DW_S): Likewise.
20303 (FP_FMA_S): Likewise.
20304 (_FP_FRAC_HIGH_DW_S): Likewise.
20305 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20306 (_FP_WFRACBITS_DW_D): Likewise.
20307 (_FP_WFRACXBITS_DW_D): Likewise.
20308 (_FP_HIGHBIT_DW_D): Likewise.
20309 (FP_FMA_D): Likewise.
20310 (_FP_FRAC_HIGH_DW_D): Likewise.
20311 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20312 (_FP_WFRACBITS_DW_E): Likewise.
20313 (_FP_WFRACXBITS_DW_E): Likewise.
20314 (_FP_HIGHBIT_DW_E): Likewise.
20315 (FP_FMA_E): Likewise.
20316 (_FP_FRAC_HIGH_DW_E): Likewise.
20317 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20318 (_FP_WFRACBITS_DW_Q): Likewise.
20319 (_FP_WFRACXBITS_DW_Q): Likewise.
20320 (_FP_HIGHBIT_DW_Q): Likewise.
20321 (FP_FMA_Q): Likewise.
20322 (_FP_FRAC_HIGH_DW_Q): Likewise.
20323 * soft-fp/fmasf4.c: New file.
20324 * soft-fp/fmadf4.c: Likewise.
20325 * soft-fp/fmatf4.c: Likewise.
20326
6308fd9a
LD
203272013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20328
20329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20330 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20331 Silvermont.
20332 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20333 macro.
20334 (index_Slow_SSE4_2): Likewise.
20335 (index_Prefer_PMINUB_for_stringop): Likewise.
20336 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20337 bit_Slow_SSE4_2 is set.
20338 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20339 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20340
89cd9569
RA
203412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20342
20343 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20344 rtld_global._dl_hwcap2.
20345 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20346 POWER8.
20347 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20348 POWER8 feature descriptions defined in _dl_hwcap2.
20349 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20350 string handling for POWER8 feature bits.
20351 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20352 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20353 _dl_powerpc_cap_flags.
20354 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20355 * sysdeps/powerpc/rtld-global-offsets.sym
20356 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20357 _dl_hwcap2 in the rtld_global_ro structure.
20358
1ae8bfe0
RA
203592013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20360
20361 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20362 hardware capabilities in support of AT_HWCAP2.
20363 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20364 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20365 GLRO(dl_hwcap2).
20366 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20367 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20368 explicitly the unknown a_type display mechanism is used.
20369 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20370 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20371 struct member.
20372 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20373 to macro prototype for AT_HWCAP2 support.
20374 * sysdeps/i386/dl-procinfo.h: Likewise.
20375 * sysdeps/s390/dl-procinfo.h: Likewise.
20376 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20377 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20378 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20379 return -1 for unknown a_type display fallback.
20380 * sysdeps/sparc/dl-procinfo.h: Likewise.
20381 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20382 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20383
8fbec010
JM
203842013-06-28 Joseph Myers <joseph@codesourcery.com>
20385
20386 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20387 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20388
0432680e
PY
203892013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20390
20391 [BZ #12492]
20392 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20393 mprotect making __stack_prot writable.
20394
ce61a2ad
NF
203952013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20396 Joseph Myers <joseph@codesourcery.com>
20397
20398 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20399 as being properly aligned.
20400
f91f1c0f
MR
204012013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20402
3d0f5d0c
MR
20403 * dlfcn/modstatic5.c: New file.
20404 * dlfcn/tststatic5.c: New file.
20405 * dlfcn/Makefile (tests): Add tststatic5.
20406 (tests-static): Likewise.
20407 (modules-names): Add modstatic5.
20408 (tststatic5-ENV): New variable.
20409 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20410
f91f1c0f
MR
20411 [BZ #15022]
20412 * elf/dl-support.c (_dl_main_map): New variable.
20413 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20414 (_dl_nns, _dl_load_adds): Set to 1.
20415 (_dl_initial_searchlist): Refer to _dl_main_map.
20416 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20417 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20418 call to _dl_get_origin.
20419 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20420 around call_map.
20421 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20422 * dlfcn/modstatic3.c: New file.
20423 * dlfcn/tststatic3.c: New file.
20424 * dlfcn/tststatic4.c: New file.
20425 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20426 (tests-static): Likewise.
20427 (modules-names): Add modstatic3.
20428 (tststatic3-ENV, tststatic4-ENV): New variables.
20429 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20430 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20431
cbe7d24b
JM
204322013-06-26 Joseph Myers <joseph@codesourcery.com>
20433
20434 * configure.in (CC): Require GCC version 4.4 or later.
20435 * configure: Regenerated.
20436 * manual/install.texi (Tools for Compilation): Update GCC version
20437 requirement.
20438 * INSTALL: Regenerated.
20439
11b8a0e1
LD
204402013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20441
20442 [BZ #15674]
bb5bb87c
L
20443 * string/test-memcmp.c (check2): New.
20444 (main): Call check2.
20445
11b8a0e1
LD
20446 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20447
b0037103
MR
204482013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20449
20450 [BZ #15022]
20451 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20452 over to...
20453 (dl_open_worker) [!SHARED]: ... here.
20454
c18c701d
RA
204552013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20456
20457 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20458
1d17fa5f
RH
204592013-06-25 Richard Henderson <rth@redhat.com>
20460
20461 * locale/programs/locarchive.c: Include <libc-internal.h>
20462
8fcb833a
JM
204632013-06-25 Joseph Myers <joseph@codesourcery.com>
20464
20465 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20466 trailing whitespace removed.
20467
17db6e8d
MF
204682013-06-24 Mike Frysinger <vapier@gentoo.org>
20469
20470 [BZ #10283]
17db6e8d
MF
20471 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20472 * locale/programs/locarchive.c: Include libc-mmap.h.
20473 (prepare_address_space): Take two new outputs (the mmap base and len).
20474 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20475 values.
20476 (create_archive): Declare new mmap base and len values for
20477 prepare_address_space, and store the result in ah.
20478 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20479 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20480 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20481 Declare new mmap base and len values for
20482 prepare_address_space, and store the result in new_ah.
20483 (open_archive): Declare new mmap base and len values for
20484 prepare_address_space, and store the result in ah.
20485 (close_archive): If ah->mmap_base is not NULL, use that and
20486 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20487 * sysdeps/generic/libc-mmap.h: New file.
20488
d605071e
MF
204892013-06-24 Mike Frysinger <vapier@gentoo.org>
20490
20491 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20492 (ALIGN_UP): Likewise.
20493 (PTR_ALIGN_DOWN): Likewise.
20494 (PTR_ALIGN_UP): Likewise.
20495
2f063a6e
RA
204962013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20497
20498 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20499 entry mapped to PPC_PLATFORM_POWER8.
20500 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20501 POWER8.
20502 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20503 (_dl_string_platform): Add case for exporting platform position for
20504 POWER8.
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20506 search path to sysdeps/powerpc/powerpc32/power8 directory.
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20508 search path to sysdeps/powerpc/powerpc64/power8 directory.
20509 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20510 power7 directories.
20511 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20512 power7 directories.
20513
a31ee4b3
SP
205142013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20515
a74ca98f
SP
20516 * INSTALL: Regenerate.
20517
a31ee4b3
SP
20518 * nscd/connections.c (nscd_init): Fix comment.
20519
695c378f
JM
205202013-06-22 Joseph Myers <joseph@codesourcery.com>
20521
d8412221
JM
20522 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20523
695c378f
JM
20524 [BZ #15667]
20525 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20526 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20527
d1d54715
MR
205282013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20529
20530 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20531 DL_DST_REQ_STATIC.
20532 (DL_DST_REQ_STATIC): Remove macro.
20533
8fdda7af
JM
205342013-06-21 Joseph Myers <joseph@codesourcery.com>
20535
20536 [BZ #7006]
20537 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20538 with a shift of 0 bits.
20539
f3bc5e5a
MR
205402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20541
20542 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20543 $(tststatic-ENV).
20544
be09e8c9
KK
205452013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20546
20547 [BZ #15655]
20548 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20549
85c2e611
AZ
205502013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20551
20552 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20553 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20554 accepts -fno-tree-loop-distribute-patterns.
20555 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20556 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20557 recursive call.
20558 * string/memset.c (memset): Likewise.
20559 * string/test-memmove.c (simple_memmove): Disable loop transformation
20560 to library calls.
20561 * string/test-memset.c (simple_memset): Likewise.
20562 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20563 * benchtests/bench-memset.c (simple_memset): Likewise.
20564 * configure: Regenerated.
20565
c91e0825
JM
205662013-06-20 Joseph Myers <joseph@codesourcery.com>
20567
b8c792af
JM
20568 * math/test-misc.c (main): Ignore fesetround failure when failures
20569 of subsequent rounding tests would be ignored.
20570
c91e0825
JM
20571 [BZ #15654]
20572 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20573 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20574 * math/fegetenv.c (__fegetenv): Return 0.
20575 * math/fegetexcept.c (fegetexcept): Return 0.
20576 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20577 FE_TONEAREST.
20578 * math/feholdexcpt.c (feholdexcept): Return 0.
20579 * math/fesetenv.c (__fesetenv): Return 0.
20580 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20581 argument FE_TONEAREST.
20582 * math/feupdateenv.c (__feupdateenv): Return 0.
20583 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20584
bfcacbde
RM
205852013-06-18 Roland McGrath <roland@hack.frob.com>
20586
20587 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20588 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20589 ($(objpfx)rtld-%.os rules): Use them.
20590
e55a9b25
AZ
205912013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20592
20593 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20594 fields.
20595
346d65b3
RM
205962013-06-17 Roland McGrath <roland@hack.frob.com>
20597
12086fb4
RM
20598 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20599 length of target pattern, then descending length of dependency pattern.
20600 * configure.in (AWK): Require gawk 3.1.2 or newer.
20601 * manual/install.texi (Tools for Compilation): Say that we do.
20602 * configure: Regenerated.
20603
346d65b3
RM
20604 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20605 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20606 * scripts/sysd-rules.awk: ... this new script.
20607 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20608 than a glob-style pattern.
20609
1a846317
JM
206102013-06-17 Joseph Myers <joseph@codesourcery.com>
20611
20612 * math/test-misc.c (main): Do not treat incorrectly rounded
20613 conversions as failure unless ROUNDING_TESTS passes.
20614
8fc75e6f
JM
206152013-06-15 Joseph Myers <joseph@codesourcery.com>
20616
3711a167
JM
20617 [BZ #15631]
20618 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20619 restore exception state around main square root computation, then
20620 check for inexactness explicitly.
20621
8fc75e6f
JM
20622 * math/libm-test.inc (fma_test_data): Add another test.
20623
61dd6208
SP
206242013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20625
adf23d2c
SP
20626 * manual/threads.texi (Non-POSIX Extensions): New document
20627 node. Document pthread_getattr_default_np and
20628 pthread_setattr_default_np.
20629
61dd6208
SP
20630 * Versions.def (libpthread): Add GLIBC_2.18.
20631 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20633 Likewise.
20634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20635 Likewise.
20636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20637 Likewise.
20638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20639 Likewise.
20640 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20641 Likewise.
20642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20643 Likewise.
20644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20645 Likewise.
20646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20647 Likewise.
20648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20649 Likewise.
20650
d086fc7b
LD
206512013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20652
20653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20654 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20655
747ef469
SP
206562013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20657 H.J. Lu <hjl.tools@gmail.com>
20658
20659 [BZ #15627]
20660 * sysdeps/x86_64/rtld-memset.c: Remove file.
20661 * sysdeps/x86_64/rtld-memset.S: New file.
20662
1b2feed2
JM
206632013-06-14 Joseph Myers <joseph@codesourcery.com>
20664
20665 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20666 (test_in_one_mode): Take arguments for whether the rounding mode
20667 is supported for each floating-point type.
20668 (do_test): Pass new arguments to test_in_one_mode using
20669 ROUNDING_TESTS.
20670
a58ad3f8
RM
206712013-06-13 Roland McGrath <roland@hack.frob.com>
20672
20673 * posix/tst-waitid.c (do_test): Distinguish different instances of
20674 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20675 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20676 before entering the kernel for waitpid.
20677
c204ab28
SP
206782013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20679
20680 * NEWS: Fix note on clock function precision. Text by Roland
20681 McGrath.
20682
f4a29fba
RM
206832013-06-13 Roland McGrath <roland@hack.frob.com>
20684
20685 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20686 it into place only when and if the sanity check passes.
20687
1f24b9ad
JM
206882013-06-13 Joseph Myers <joseph@codesourcery.com>
20689
20690 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20691 output for whether conversion result is exact. Take argument
20692 indicating whether type is IBM long double.
20693 (round_for_all): Change need_exact field to ibm_ld.
20694 * stdlib/tst-strtod-round.c (struct exactness): New type.
20695 (struct test): Change bool ld_ok field to struct exactness exact.
20696 (TEST): Update all definitions for change to field.
20697 (tests): Regenerate array contents.
20698 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20699 field value. Check for IBM long double here.
20700 (do_test): Update calls to test_in_one_mode.
20701
58206c68
SP
207022013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20703
20704 [BZ #12515]
20705 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20706 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20707
2d6f4c5b 207082013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20709
20710 [BZ #15605]
20711 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20712 generated by the compiler on loop optimizations.
20713 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20714 general definitions.
20715
94f2c076
JM
207162013-06-12 Joseph Myers <joseph@codesourcery.com>
20717
20718 * math/bug-nextafter.c: Include <math-tests.h>.
20719 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20720 the relevant type.
20721 * math/bug-nexttoward.c: Include <math-tests.h>.
20722 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20723 the relevant type.
20724 * math/test-misc.c: Include <math-tests.h>.
20725 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20726 the relevant type.
20727
e0e50a0a
AJ
207282013-06-12 Andreas Jaeger <aj@suse.de>
20729
20730 * po/ia.po: Update Interlingua translation from translation
20731 project.
20732
25061094
SP
207332013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20734
20735 * include/fenv.h: Include stdbool.h.
20736 (struct rm_ctx): New structure.
20737 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20738 Define macro.
20739 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20740 (SET_RESTORE_ROUNDF): Likewise.
20741 (SET_RESTORE_ROUNDL): Likewise.
20742 (SET_RESTORE_ROUND_NOEX): Likewise.
20743 (SET_RESTORE_ROUND_NOEXF): Likewise.
20744 (SET_RESTORE_ROUND_NOEXL): Likewise.
20745 (SET_RESTORE_ROUND_53BIT): Likewise.
20746 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20747 (libc_feresetround_noexf_ctx): Likewise.
20748 (libc_feresetround_noexl_ctx): Likewise.
20749 (libc_feholdsetround_53bit_ctx): Likewise.
20750 (libc_feresetround_53bit_ctx): Likewise.
20751 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20752 (libc_feholdexcept_setround_sse_ctx): New function.
20753 (libc_fesetenv_sse_ctx): Likewise.
20754 (libc_feupdateenv_sse_ctx): Likewise.
20755 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20756 (libc_feholdexcept_setround_387_ctx): Likewise.
20757 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20758 (libc_feholdsetround_387_prec_ctx): Likewise.
20759 (libc_feholdsetround_387_ctx): Likewise.
20760 (libc_feholdsetround_387_53bit_ctx): Likewise.
20761 (libc_feholdsetround_sse_ctx): Likewise.
20762 (libc_feresetround_sse_ctx): Likewise.
20763 (libc_feresetround_387_ctx): Likewise.
20764 (libc_feupdateenv_387_ctx): Likewise.
20765 (libc_feholdexcept_setroundf_ctx): Define macro.
20766 (libc_fesetenvf_ctx): Likewise.
20767 (libc_feupdateenvf_ctx): Likewise.
20768 (libc_feholdsetroundf_ctx): Likewise.
20769 (libc_feresetroundf_ctx): Likewise.
20770 (libc_feholdexcept_setround_ctx): Likewise.
20771 (libc_fesetenv_ctx): Likewise.
20772 (libc_feupdateenv_ctx): Likewise.
20773 (libc_feholdsetround_ctx): Likewise.
20774 (libc_feresetround_ctx): Likewise.
20775 (libc_feholdexcept_setroundl_ctx): Likewise.
20776 (libc_feupdateenvl_ctx): Likewise.
20777 (libc_feholdsetroundl_ctx): Likewise.
20778 (libc_feresetroundl_ctx): Likewise.
20779 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20780 (libc_feresetround_53bit_ctx): Likewise.
20781
59b30555
SP
207822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20783
20784 * locale/iso-639.def: Convert to UTF-8.
20785
f1d73d30
JM
207862013-06-11 Joseph Myers <joseph@codesourcery.com>
20787
20788 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20789 (EXCEPTION_TESTS_double): Likewise.
20790 (EXCEPTION_TESTS_long_double): Likewise.
20791 (EXCEPTION_TESTS): Likewise.
20792 * math/libm-test.inc (test_exceptions): Only test exceptions if
20793 EXCEPTION_TESTS (FLOAT).
20794
94aca5e7
SP
207952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20796
20797 * benchtests/Makefile (string-bench): Add strcpy_chk and
20798 stpcpy_chk.
20799 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20800 * benchtests/bench-stpcpy_chk.c: New file.
20801 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20802 * benchtests/bench-strcpy_chk.c: New file.
20803 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20804 code.
20805 (do_test): Likewise.
20806
fac0c5f2
RA
208072013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20808
20809 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20810 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20811 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20812 with tabs where appropriate.
20813 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20814 dl-procinfo.h.
20815 [PPC_PLATFORM_PPC440]: Likewise.
20816 [PPC_PLATFORM_PPC464]: Likewise.
20817 [PPC_PLATFORM_PPC476]: Likewise.
20818 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20819 ppc464, and ppc476 platform strings merging from ports/
20820 dl-procinfo.h.
20821
f22bc486
AS
208222013-06-11 Andreas Schwab <schwab@suse.de>
20823
20824 [BZ #14991]
20825 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20826 (from_ucs4_idx): Regenerate.
20827 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20828 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20829 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20830 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20831 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20832 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20833 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20834 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20835 from FROM_LOOP and TO_LOOP specific macros.
20836 (BODY): Handle combining characters.
20837 * iconvdata/BIG5HKSCS.irreversible: Update.
20838 * iconvdata/BIG5HKSCS.precomposed: New file.
20839 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20840 characters.
20841 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20842
c1f75dc3
SP
208432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20844
4eacded2
SP
20845 * include/sys/time.h: Fix indentation and add copyright header.
20846
fec799f8
SP
20847 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20848 (do_test): Likewise.
20849 * string/test-memchr.c (do_one_test): Likewise.
20850 (do_test): Likewise.
20851 * string/test-memcmp.c (do_one_test): Likewise.
20852 (do_test): Likewise.
20853 * string/test-memcpy.c (do_one_test): Likewise.
20854 (do_test): Likewise.
20855 * string/test-memmem.c (do_one_test): Likewise.
20856 (do_test): Likewise.
20857 (do_random_tests): Likewise.
20858 * string/test-memmove.c (do_one_test): Likewise.
20859 (do_test): Likewise.
20860 * string/test-memset.c (do_one_test): Likewise.
20861 (do_test): Likewise.
20862 * string/test-rawmemchr.c (do_one_test): Likewise.
20863 (do_test): Likewise.
20864 * string/test-strcasecmp.c (do_one_test): Likewise.
20865 (do_test): Likewise.
20866 * string/test-strcasestr.c (do_one_test): Likewise.
20867 (do_test): Likewise.
20868 * string/test-strcat.c (do_one_test): Likewise.
20869 (do_test): Likewise.
20870 * string/test-strchr.c (do_one_test): Likewise.
20871 (do_test): Likewise.
20872 * string/test-strcmp.c (do_one_test): Likewise.
20873 (do_test): Likewise.
20874 * string/test-strcpy.c (do_one_test): Likewise.
20875 (do_test): Likewise.
20876 * string/test-string.h: Likewise.
20877 (test_init): Likewise.
20878 * string/test-strlen.c (do_one_test): Likewise.
20879 (do_test): Likewise.
20880 * string/test-strncasecmp.c (do_one_test): Likewise.
20881 (do_test): Likewise.
20882 * string/test-strncat.c (do_one_test): Likewise.
20883 (do_test): Likewise.
20884 * string/test-strncmp.c (do_one_test): Likewise.
20885 (do_test_limit): Likewise.
20886 (do_test): Likewise.
20887 * string/test-strncpy.c (do_one_test): Likewise.
20888 (do_test): Likewise.
20889 * string/test-strnlen.c (do_one_test): Likewise.
20890 (do_test): Likewise.
20891 * string/test-strpbrk.c (do_one_test): Likewise.
20892 (do_test): Likewise.
20893 * string/test-strrchr.c (do_one_test): Likewise.
20894 (do_test): Likewise.
20895 * string/test-strspn.c (do_one_test): Likewise.
20896 (do_test): Likewise.
20897 * string/test-strstr.c (do_one_test): Likewise.
20898 (do_test): Likewise.
20899
97020474
SP
20900 * benchtests/Makefile (string-bench): Add string benchmarks.
20901 * benchtests/bench-bcopy-ifunc.c: New file.
20902 * benchtests/bench-bcopy.c: New file.
20903 * benchtests/bench-bzero-ifunc.c: New file.
20904 * benchtests/bench-bzero.c: New file.
20905 * benchtests/bench-memccpy-ifunc.c: New file.
20906 * benchtests/bench-memccpy.c: New file.
20907 * benchtests/bench-memchr-ifunc.c: New file.
20908 * benchtests/bench-memchr.c: New file.
20909 * benchtests/bench-memcmp-ifunc.c: New file.
20910 * benchtests/bench-memcmp.c: New file.
20911 * benchtests/bench-memmem-ifunc.c: New file.
20912 * benchtests/bench-memmem.c: New file.
20913 * benchtests/bench-memmove-ifunc.c: New file.
20914 * benchtests/bench-memmove.c: New file.
20915 * benchtests/bench-mempcpy-ifunc.c: New file.
20916 * benchtests/bench-mempcpy.c: New file.
20917 * benchtests/bench-memset-ifunc.c: New file.
20918 * benchtests/bench-memset.c: New file.
20919 * benchtests/bench-rawmemchr-ifunc.c: New file.
20920 * benchtests/bench-rawmemchr.c: New file.
20921 * benchtests/bench-stpcpy-ifunc.c: New file.
20922 * benchtests/bench-stpcpy.c: New file.
20923 * benchtests/bench-stpncpy-ifunc.c: New file.
20924 * benchtests/bench-stpncpy.c: New file.
20925 * benchtests/bench-strcasecmp-ifunc.c: New file.
20926 * benchtests/bench-strcasecmp.c: New file.
20927 * benchtests/bench-strcasestr-ifunc.c: New file.
20928 * benchtests/bench-strcasestr.c: New file.
20929 * benchtests/bench-strcat-ifunc.c: New file.
20930 * benchtests/bench-strcat.c: New file.
20931 * benchtests/bench-strchr-ifunc.c: New file.
20932 * benchtests/bench-strchr.c: New file.
20933 * benchtests/bench-strchrnul-ifunc.c: New file.
20934 * benchtests/bench-strchrnul.c: New file.
20935 * benchtests/bench-strcmp-ifunc.c: New file.
20936 * benchtests/bench-strcmp.c: New file.
20937 * benchtests/bench-strcpy-ifunc.c: New file.
20938 * benchtests/bench-strcpy.c: New file.
20939 * benchtests/bench-strcspn-ifunc.c: New file.
20940 * benchtests/bench-strcspn.c: New file.
20941 * benchtests/bench-strlen-ifunc.c: New file.
20942 * benchtests/bench-strlen.c: New file.
20943 * benchtests/bench-strncasecmp-ifunc.c: New file.
20944 * benchtests/bench-strncasecmp.c: New file.
20945 * benchtests/bench-strncat-ifunc.c: New file.
20946 * benchtests/bench-strncat.c: New file.
20947 * benchtests/bench-strncmp-ifunc.c: New file.
20948 * benchtests/bench-strncmp.c: New file.
20949 * benchtests/bench-strncpy-ifunc.c: New file.
20950 * benchtests/bench-strncpy.c: New file.
20951 * benchtests/bench-strnlen-ifunc.c: New file.
20952 * benchtests/bench-strnlen.c: New file.
20953 * benchtests/bench-strpbrk-ifunc.c: New file.
20954 * benchtests/bench-strpbrk.c: New file.
20955 * benchtests/bench-strrchr-ifunc.c: New file.
20956 * benchtests/bench-strrchr.c: New file.
20957 * benchtests/bench-strspn-ifunc.c: New file.
20958 * benchtests/bench-strspn.c: New file.
20959 * benchtests/bench-strstr-ifunc.c: New file.
20960 * benchtests/bench-strstr.c: New file.
20961
c1f75dc3
SP
20962 * benchtests/Makefile: Disable parallel execution of targets.
20963 (string-bench): Add memcpy.
20964 (benchset): New variable to store a list of benchmark sets.
20965 (bench-func): Renamed from bench.
20966 (bench-set): New target.
20967 (bench): Depend on bench-func and bench-set.
20968 * benchtests/README: Add section on benchmark sets.
20969 * benchtests/bench-memcpy-ifunc.c: New file.
20970 * benchtests/bench-memcpy.c: New file.
20971 * benchtests/bench-string.h: New file.
20972
50fd745b
AS
209732013-06-11 Andreas Schwab <schwab@suse.de>
20974
20975 [BZ #15577]
20976 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20977 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20978 values in the triple.
20979 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20980 terminator in the group key.
20981
3ee7e9fe
AJ
209822013-06-11 Andreas Jaeger <aj@suse.de>
20983
20984 * po/zh_TW.po: Update Chinese (traditional) translation from
20985 translation project.
20986
89fb6835
SP
209872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20988
20989 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20990 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20991 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20992 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20993 (clock_getcpuclockid): Likewise.
20994 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20995 Add weak_alias and libc_hidden_def.
20996 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20997 * rt/clock_gettime.c (clock_gettime): Rename to
20998 __clock_gettime. Add weak_alias and libc_hidden_def.
20999 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21000 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21001 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21002 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21003 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21004 Likewise.
21005 * rt/clock_settime.c (clock_settime): Rename to
21006 __clock_settime. Add weak_alias and libc_hidden_def.
21007 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21008
0efa6f8b
JM
210092013-06-10 Joseph Myers <joseph@codesourcery.com>
21010
b8c61b4b
JM
21011 * mach/err_boot.sub: Remove trailing whitespace.
21012 * mach/err_ipc.sub: Likewise.
21013 * mach/err_mach.sub: Likewise.
21014
0efa6f8b
JM
21015 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21016 (ROUNDING_TESTS_double): Likewise.
21017 (ROUNDING_TESTS_long_double): Likewise.
21018 (ROUNDING_TESTS): Likewise.
21019 * math/libm-test.inc: Include <math-tests.h>.
21020 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21021 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21022 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21023 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21024
50b818bf
SP
210252013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21026
21027 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21028 of assigning.
21029
60d2f8f3
JM
210302013-06-08 Joseph Myers <joseph@codesourcery.com>
21031
4902d2c3
JM
21032 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21033 otherwise empty TRANS lines.
21034 * sysdeps/gnu/errlist.c: Regenerated.
21035
60d2f8f3
JM
21036 * catgets/gencat.c (error_print): Use (void) in function
21037 definition.
21038 * crypt/crypt_util.c (__init_des): Likewise.
21039 * crypt/speeds.c (Stop): Likewise.
21040 (main): Likewise.
21041 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21042 * inet/ruserpass.c (token): Likewise.
21043 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21044 * intl/localealias.c (extend_alias_table): Likewise.
21045 * intl/plural-exp.c (init_germanic_plural): Likewise.
21046 * libio/fcloseall.c (__fcloseall): Likewise.
21047 * libio/genops.c (_IO_flush_all): Likewise.
21048 (_IO_flush_all_linebuffered): Likewise.
21049 (_IO_cleanup): Likewise.
21050 (_IO_iter_begin): Likewise.
21051 (_IO_iter_end): Likewise.
21052 (_IO_list_lock): Likewise.
21053 (_IO_list_unlock): Likewise.
21054 (_IO_list_resetlock): Likewise.
21055 * libio/getchar.c (getchar): Likewise.
21056 * libio/getchar_u.c (getchar_unlocked): Likewise.
21057 * libio/getwchar.c (getwchar): Likewise.
21058 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21059 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21060 * login/getpt.c (__getpt): Likewise.
21061 * login/tst-utmp.c (main): Likewise.
21062 * malloc/hooks.c (__malloc_check_init): Likewise.
21063 * malloc/malloc.c (__malloc_stats): Likewise.
21064 * malloc/mtrace.c (tr_break): Likewise.
21065 (mtrace): Likewise.
21066 (muntrace): Likewise.
21067 * misc/fstab.c (endfsent): Likewise.
21068 * misc/getclktck.c (__getclktck): Likewise.
21069 * misc/getdtsz.c (__getdtablesize): Likewise.
21070 * misc/gethostid.c (gethostid): Likewise.
21071 * misc/getpagesize.c (__getpagesize): Likewise.
21072 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21073 (__get_nprocs): Likewise.
21074 (__get_phys_pages): Likewise.
21075 (__get_avphys_pages): Likewise.
21076 * misc/getttyent.c (getttyent): Likewise.
21077 (setttyent): Likewise.
21078 (endttyent): Likewise.
21079 * misc/getusershell.c (getusershell): Likewise.
21080 (endusershell): Likewise.
21081 (setusershell): Likewise.
21082 (initshells): Likewise.
21083 * misc/hsearch.c (__hdestroy): Likewise.
21084 * misc/sync.c (sync): Likewise.
21085 * misc/syslog.c (closelog_internal): Likewise.
21086 (closelog): Likewise.
21087 * misc/ttyslot.c (ttyslot): Likewise.
21088 * misc/vhangup.c (vhangup): Likewise.
21089 * posix/fork.c (__fork): Likewise.
21090 * posix/getegid.c (__getegid): Likewise.
21091 * posix/geteuid.c (__geteuid): Likewise.
21092 * posix/getgid.c (__getgid): Likewise.
21093 * posix/getpid.c (__getpid): Likewise.
21094 * posix/getppid.c (__getppid): Likewise.
21095 * posix/getuid.c (__getuid): Likewise.
21096 * posix/pause.c (pause): Likewise.
21097 * posix/setpgrp.c (setpgrp): Likewise.
21098 * posix/setsid.c (__setsid): Likewise.
21099 * posix/test-vfork.c (noop): Likewise.
21100 * resolv/gethnamaddr.c (_endhtent): Likewise.
21101 (_gethtent): Likewise.
21102 (ht_endhostent): Likewise.
21103 (gethostent): Likewise.
21104 (dns_service): Likewise.
21105 * stdlib/drand48.c (drand48): Likewise.
21106 * stdlib/lrand48.c (lrand48): Likewise.
21107 * stdlib/mrand48.c (mrand48): Likewise.
21108 * stdlib/rand.c (rand): Likewise.
21109 * stdlib/random.c (__random): Likewise.
21110 * stdlib/setenv.c (clearenv): Likewise.
21111 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21112 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21113 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21114 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21115 (__get_nprocs): Likewise.
21116 (__get_phys_pages): Likewise.
21117 (__get_avphys_pages): Likewise.
21118 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21119 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21120 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21121 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21122 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21123 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21124 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21125 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21126 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21127 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21128 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21129 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21130 * sysdeps/posix/clock.c (clock): Likewise.
21131 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21132 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21133 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21134 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21135 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21137 (__get_nprocs_conf): Likewise.
21138 (__get_phys_pages): Likewise.
21139 (__get_avphys_pages): Likewise.
21140 * time/clock.c (clock): Likewise.
21141 * time/tzset.c (__tzname_max): Likewise.
21142
2e09a79a
JM
211432013-06-07 Joseph Myers <joseph@codesourcery.com>
21144
21145 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21146 (__bswap_32): Do not use "register".
21147 * crypt/crypt.c (_ufc_doit_r): Likewise.
21148 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21149 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21150 * gmon/gmon.c (__monstartup): Likewise.
21151 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21152 * hurd/hurdmalloc.c (more_memory): Likewise.
21153 (malloc): Likewise.
21154 (free): Likewise.
21155 (realloc): Likewise.
21156 (malloc_fork_prepare): Likewise.
21157 (malloc_fork_parent): Likewise.
21158 (malloc_fork_child): Likewise.
21159 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21160 (_svcauth_des): Likewise.
21161 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21162 * inet/inet_net.c (inet_network): Likewise.
21163 * inet/inet_netof.c (inet_netof): Likewise.
21164 * inet/rcmd.c (__validuser2_sa): Likewise.
21165 * io/fts.c (fts_open): Likewise.
21166 (fts_load): Likewise.
21167 (fts_close): Likewise.
21168 (fts_read): Likewise.
21169 (fts_children): Likewise.
21170 (fts_build): Likewise.
21171 (fts_stat): Likewise.
21172 (fts_sort): Likewise.
21173 (fts_alloc): Likewise.
21174 (fts_lfree): Likewise.
21175 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21176 (_IO_file_xsgetn): Likewise.
21177 (_IO_file_xsgetn_mmap): Likewise.
21178 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21179 (_IO_cookie_write): Likewise.
21180 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21181 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21182 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21183 * malloc/obstack.c (_obstack_begin): Likewise.
21184 (_obstack_begin_1): Likewise.
21185 (_obstack_newchunk): Likewise.
21186 (_obstack_allocated_p): Likewise.
21187 (obstack_free): Likewise.
21188 (_obstack_memory_used): Likewise.
21189 * misc/getttyent.c (getttynam): Likewise.
21190 (getttyent): Likewise.
21191 (skip): Likewise.
21192 (value): Likewise.
21193 * misc/getusershell.c (initshells): Likewise.
21194 * misc/syslog.c (__vsyslog_chk): Likewise.
21195 * misc/ttyslot.c (ttyslot): Likewise.
21196 * nis/nis_hash.c (__nis_hash): Likewise.
21197 * posix/fnmatch_loop.c (FCT): Likewise.
21198 * posix/getconf.c (print_all): Likewise.
21199 (main): Likewise.
21200 * posix/getopt.c (exchange): Likewise.
21201 * posix/glob.c (globfree): Likewise.
21202 (prefix_array): Likewise.
21203 (__glob_pattern_type): Likewise.
21204 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21205 (NS_GET32): Likewise.
21206 (NS_PUT16): Likewise.
21207 (NS_PUT32): Likewise.
21208 * resolv/gethnamaddr.c (getanswer): Likewise.
21209 (gethostbyname2): Likewise.
21210 (gethostbyaddr): Likewise.
21211 (_gethtent): Likewise.
21212 (_gethtbyname2): Likewise.
21213 (_gethtbyaddr): Likewise.
21214 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21215 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21216 * resolv/res_init.c (__res_vinit): Likewise.
21217 (net_mask): Likewise.
21218 * resolv/res_mkquery.c (outchar): Likewise.
21219 (PRINT): Likewise.
21220 * stdio-common/printf_fp.c (outchar): Likewise.
21221 (PRINT): Likewise.
21222 * stdio-common/printf_fphex.c (outchar): Likewise.
21223 (PRINT): Likewise.
21224 * stdio-common/printf_size.c (outchar): Likewise.
21225 (PRINT): Likewise.
21226 * stdio-common/test_rdwr.c (main): Likewise.
21227 * stdio-common/tfformat.c (matches): Likewise.
21228 * stdio-common/vfprintf.c (outchar): Likewise.
21229 (printf_unknown): Likewise.
21230 (buffered_vfprintf): Likewise.
21231 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21232 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21233 (ReadFile): Likewise.
21234 * stdlib/qsort.c (SWAP): Likewise.
21235 (_quicksort): Likewise.
21236 * stdlib/setenv.c (__add_to_environ): Likewise.
21237 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21238 * stdlib/strtol_l.c (__strtol_l): Likewise.
21239 * stdlib/tst-strtod.c (main): Likewise.
21240 * stdlib/tst-strtol.c (main): Likewise.
21241 * stdlib/tst-strtoll.c (main): Likewise.
21242 * string/bits/string2.h (__strcmp_cc): Likewise.
21243 (__strcmp_cg): Likewise.
21244 (__strcspn_c1): Likewise.
21245 (__strcspn_c2): Likewise.
21246 (__strcspn_c3): Likewise.
21247 (__strspn_c1): Likewise.
21248 (__strspn_c2): Likewise.
21249 (__strspn_c3): Likewise.
21250 (__strsep_1c): Likewise.
21251 (__strsep_2c): Likewise.
21252 (__strsep_3c): Likewise.
21253 * string/memccpy.c (__memccpy): Likewise.
21254 * string/stpcpy.c (__stpcpy): Likewise.
21255 * string/strcmp.c (strcmp): Likewise.
21256 * string/strrchr.c (strrchr): Likewise.
21257 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21258 Likewise.
21259 * sysdeps/mach/hurd/getcwd.c
21260 (_hurd_canonicalize_directory_name_internal): Likewise.
21261 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21262 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21263 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21264 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21265 Likewise, in both definitions.
21266 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21267 definitions.
21268 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21269 64] (__bswap_64): Likewise.
21270 * time/test_time.c (main): Likewise.
21271 * time/tzfile.c (__tzfile_read): Likewise.
21272 (__tzfile_compute): Likewise.
21273 * time/tzset.c (__tzset_parse_tz): Likewise.
21274 (tzset_internal): Likewise.
21275 (compute_change): Likewise.
21276 * wcsmbs/wcscat.c (__wcscat): Likewise.
21277 * wcsmbs/wcschr.c (wcschr): Likewise.
21278 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21279 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21280 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21281 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21282 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21283 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21284 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21285 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21286 * wcsmbs/wmemset.c (wmemset): Likewise.
21287
9e54314b
JM
212882013-06-06 Joseph Myers <joseph@codesourcery.com>
21289
21290 * scripts/config.guess: Update to version 2013-05-16.
21291 * scripts/config.sub: Update to version 2013-04-24.
21292 * scripts/install-sh: Update to version 2011-11-20.07.
21293 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21294 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21295
350635a5
OB
212962013-06-06 Ondřej Bílka <neleai@seznam.cz>
21297
21298 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21299 * elf/sln.c: Likewise.
21300 * hurd/hurd/ioctl.h: Likewise.
21301 * hurd/hurdmalloc.c: Likewise.
21302 * hurd/xattr.c: Likewise.
21303 * include/shlib-compat.h: Likewise.
21304 * inet/ruserpass.c: Likewise.
21305 * libio/iofgets_u.c: Likewise.
21306 * libio/iofgetws_u.c: Likewise.
21307 * locale/programs/ld-identification.c: Likewise.
21308 * locale/programs/ld-time.c: Likewise.
21309 * mach/msg-destroy.c: Likewise.
21310 * nss/nss_files/files-netgrp.c: Likewise.
21311 * resolv/res_data.c: Likewise.
21312 * soft-fp/op-1.h: Likewise.
21313 * soft-fp/op-2.h: Likewise.
21314 * soft-fp/op-4.h: Likewise.
21315 * soft-fp/op-common.h: Likewise.
21316 * stdio-common/printf_fphex.c: Likewise.
21317 * stdlib/strtod_l.c: Likewise.
21318 * sunrpc/rpc/clnt.h: Likewise.
21319 * sysdeps/generic/framestate.c: Likewise.
21320 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21321 * sysdeps/i386/bsd-setjmp.S: Likewise.
21322 * sysdeps/i386/__longjmp.S: Likewise.
21323 * sysdeps/i386/setjmp.S: Likewise.
21324 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21325 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21326 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21327 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21329 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21331 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21332 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21333 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21334 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21335 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21336 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21337 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21338 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21340 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21341 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21342 * sysdeps/ieee754/support.c: Likewise.
21343 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21344 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21345 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21346 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21347 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21348 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21349 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21350 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21351 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21352 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21353 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21354 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21355 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21356 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21357 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21358 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21359 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21361
44a988af
OB
213622013-06-05 Ondřej Bílka <neleai@seznam.cz>
21363
25506f09 21364 * posix/transbug.c: Remove executable mode.
44a988af 21365
9c84384c
JM
213662013-06-05 Joseph Myers <joseph@codesourcery.com>
21367
21368 * crypt/speeds.c: Remove trailing whitespace.
21369 * dlfcn/default.c: Likewise.
21370 * elf/ifuncdep2.c: Likewise.
21371 * elf/ifuncmain1.c: Likewise.
21372 * elf/ifuncmain1vis.c: Likewise.
21373 * elf/testobj.h: Likewise.
21374 * elf/tst-stackguard1.c: Likewise.
21375 * gmon/sys/gmon.h: Likewise.
21376 * hurd/hurdmsg.c: Likewise.
21377 * hurd/new-fd.c: Likewise.
21378 * hurd/ports-get.c: Likewise.
21379 * iconvdata/ibm1008_420.c: Likewise.
21380 * inet/tst-getni1.c: Likewise.
21381 * inet/tst-getni2.c: Likewise.
21382 * libio/ioungetc.c: Likewise.
21383 * libio/wfiledoalloc.c: Likewise.
21384 * manual/libm-err-tab.pl: Likewise.
21385 * math/w_dremf.c: Likewise.
21386 * misc/ftruncate.c: Likewise.
21387 * posix/bug-glob2.c: Likewise.
21388 * posix/tst-pcre.c: Likewise.
21389 * posix/wait4.c: Likewise.
21390 * resolv/README: Likewise.
21391 * resolv/res_debug.h: Likewise.
21392 * resolv/tst-inet_ntop.c: Likewise.
21393 * setjmp/bug269-setjmp.c: Likewise.
21394 * soft-fp/extended.h: Likewise.
21395 * soft-fp/op-1.h: Likewise.
21396 * soft-fp/op-2.h: Likewise.
21397 * soft-fp/op-4.h: Likewise.
21398 * soft-fp/op-8.h: Likewise.
21399 * soft-fp/testit.c: Likewise.
21400 * stdio-common/bug16.c: Likewise.
21401 * stdlib/random.c: Likewise.
21402 * sunrpc/rpcsvc/rquota.x: Likewise.
21403 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21404 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21405 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21406 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21407 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21408 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21409 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21412 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21413 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21428 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21430 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21431 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21432 * sysdeps/ieee754/s_lib_version.c: Likewise.
21433 * sysdeps/mach/hurd/check_fds.c: Likewise.
21434 * sysdeps/mach/hurd/getsockname.c: Likewise.
21435 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21436 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21437 * sysdeps/powerpc/bits/link.h: Likewise.
21438 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21439 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21440 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21441 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21442 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21443 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21444 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21445 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21446 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21447 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21448 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21449 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21450 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21451 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21452 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21453 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21454 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21455 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21456 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21457 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21458 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21459 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21460 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21461 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21462 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21465 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21466 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21467 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21468 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21471 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21472 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21473 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21474 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21475 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21476 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21477 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21478 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21479 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21480 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21481 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21482 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21483 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21484 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21485 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21486 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21487 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21491 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21492 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21493 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21494 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21495 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21496 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21497 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21498 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21499 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21500 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21501 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21502 * sysdeps/powerpc/sysdep.h: Likewise.
21503 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21504 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21505 * sysdeps/sh/dl-trampoline.S: Likewise.
21506 * sysdeps/sh/memset.S: Likewise.
21507 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21508 * sysdeps/sh/strlen.S: Likewise.
21509 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21510 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21511 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21512 * sysdeps/sparc/sparc32/rem.S: Likewise.
21513 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21514 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21515 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21516 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21517 * sysdeps/sparc/sparc32/urem.S: Likewise.
21518 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21519 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21520 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21521 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21523 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21524 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21525 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21526 * sysdeps/unix/bsd/times.c: Likewise.
21527 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21528 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21532 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21533 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21534 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21535 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21536 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21537 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21538 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21539 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21540 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21541 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21542 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21543 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21544 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21545 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21546 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21547 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21548 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21549 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21550 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21551 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21552 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21553 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21554 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21555 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21556 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21557 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21558 * sysdeps/x86_64/strcspn.S: Likewise.
21559
869378a5
RA
215602013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21561
21562 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21563 generated file. Regenerate properly from gen-translit.pl.
21564 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21565 locale/C-translit.h.
21566
840e2943
AS
215672013-06-05 Andreas Schwab <schwab@suse.de>
21568
21569 [BZ #15100]
21570 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21571 week as 6 instead of -1.
21572 * time/tst-strptime.c (day_tests): Add test case.
21573
4c60cb0c
SP
215742013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21575
21576 * sysdeps/generic/math_private.h
21577 (libc_feholdexcept_setround_53bit): Replace with
21578 libc_feholdsetround_53bit.
21579 (libc_feupdateenv_53bit): Replace with
21580 libc_feresetround_53bit.
21581 (SET_RESTORE_ROUND_53BIT): Adjust.
21582
d180203e
SP
215832013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21584
96df079a
SP
21585 * string/test-strchrnul.c: Add copyright header.
21586
d180203e
SP
21587 * posix/tst-getaddrinfo4.c: Increase test timeout.
21588
8b0ccb2d
CD
215892013-06-03 Carlos O'Donell <carlos@redhat.com>
21590
21591 [BZ #15536]
21592 * math/libm-test.inc (MAX_EXP): Remove
21593 (MIN_EXP): Define.
21594 (ulp): Use MIN_EXP - MANT_DIG.
21595 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21596
3b3c4d40
CD
215972013-05-31 Carlos O'Donell <carlos@redhat.com>
21598
21599 * po/be.po: Revert last change.
21600 * po/zh_CN.po: Likewise.
21601 * po/header.pot: Likewise.
21602
fab7ce3f
JM
216032013-05-31 Joseph Myers <joseph@codesourcery.com>
21604
21605 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21606 link-libc-deps to empty as target-specific variable.
21607 * Makerules (link-libc-args): New variable.
21608 (libc-for-link): Likewise.
21609 (link-libc-deps): Likewise.
21610 (lib%.so): Depend on $(link-libc-deps). Link with
21611 $(link-libc-args).
21612 (build-module): Link with $(link-libc-args).
21613 (build-module-asneeded): Likewise.
21614 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21615 list of objects.
21616 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21617 target-specific variable.
21618 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21619 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21620 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21621 libc.
21622 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21623 libc and ld.so.
21624 ($(objpfx)libpcprofile.so): Likewise.
21625 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21626 libc_nonshared.a.
21627 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21628 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21629 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21630 $(link-libc-deps).
21631 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21632 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21633 * login/Makefile ($(objpfx)libutil.so): Likewise.
21634 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21635 * math/Makefile ($(objpfx)libm.so): Likewise.
21636 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21637 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21638 variable instead of depending directly on libc.
21639 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21640 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21641 $(link-libc-deps).
21642 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21643 libc.
21644 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21645 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21646 ($(objpfx)libanl.so): Likewise.
21647 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21648 ld.so.
21649 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21650 $(link-libc-deps).
21651 * sysdeps/i386/fpu/Makefile: Remove file.
21652 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21653 ($(objpfx)libm.so): Remove dependency on ld.so.
21654
eca5920c
PF
216552013-05-30 Patsy Franklin <pfrankli@redhat.com>
21656
21657 [BZ # 15553]
21658 * nis/yp_xdr.c (XDRMAXNAME): Define.
21659 (XDRMAXRECORD): Define.
21660 (xdr_domainname): Use XDRMAXNAME.
21661 (xdr_mapname): Likewise.
21662 (xdr_peername): Likewise.
21663 (xdr_keydat): Use XDRMAXRECORD.
21664 (xdr_valdat): Likewise.
21665
216662013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21667
21668 [BZ #14256]
21669 * manual/errno.texi (ESTALE): Update to account for more than
21670 just NFS file systems.
21671 * sysdeps/gnu/errlist.c: Regenerated.
21672
b9375348
SP
216732013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21674
21675 [BZ #15465]
21676 * elf/Makefile (tests): Add tst-null-argv.
21677 (modules-names): Add tst-null-argv-lib.
21678 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21679 (tst-null-argv-ENV): Set environment for tst-null-argv.
21680 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21681 (RTLD_PROGNAME): New macro.
21682 * elf/tst-null-argv.c: New test case.
21683 * elf/tst-null-argv-lib.c: Library for test case.
21684 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21685 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21686 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21687 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21688 * elf/dl-init.c (call_init): Likewise.
21689 (_dl_init): Likewise.
21690 * elf/dl-load.c (print_search_path): Likewise.
21691 (_dl_map_object): Likewise.
21692 * elf/dl-lookup.c (do_lookup_x): Likewise.
21693 (add_dependency): Likewise.
21694 (_dl_lookup_symbol_x): Likewise.
21695 (_dl_debug_bindings): Likewise.
21696 * elf/dl-open.c (_dl_show_scope): Likewise.
21697 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21698 * elf/dl-version.c (match_symbol): Likewise.
21699 (_dl_check_map_versions): Likewise.
21700 * elf/rtld.c (dl_main): Likewise.
21701 (print_unresolved): Use RTLD_PROGNAME.
21702 (print_missing_version): Likewise.
21703 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21704 (elf_machine_rela): Likewise.
21705 * sysdeps/powerpc/powerpc32/dl-machine.c
21706 (__process_machine_rela): Likewise.
21707 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21708 Likewise.
21709 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21710 Likewise.
21711 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21712 Likewise.
21713 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21714 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21715 Likewise.
21716 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21717 Likewise.
21718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21719
8a9f20c8
CD
217202013-05-28 Carlos O'Donell <carlos@redhat.com>
21721
21722 * po/be.po: Add descriptive title.
21723 * po/zh_CN.po: Likewise.
21724 * po/header.pot: Likewise.
21725
0e60d68e
MF
217262013-05-28 Mike Frysinger <vapier@gentoo.org>
21727
21728 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21729 error message.
21730 (enlarge_archive): Likewise.
21731
56b672e9
BN
217322013-05-28 Ben North <ben@redfrontdoor.org>
21733
21734 * manual/arith.texi (frexp): It is the magnitude of the return
21735 value which lies in [0.5, 1), not the return value itself.
21736
5e056687
AZ
217372013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21738
21739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21740
2b66ef5d
TS
217412013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21742
528c2405
TS
21743 * stdio-common/bug26.c (main): Correct fscanf template.
21744
07b4c13d
TS
21745 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21746 declare _dl_skip_args.
21747
ec9dd97c
TS
21748 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21749 Don't declare.
21750
2b66ef5d
TS
21751 * manual/platform.texi: Add missing @end deftypefun.
21752
4f8dfe27
JM
217532013-05-24 Joseph Myers <joseph@codesourcery.com>
21754
0323d086
JM
21755 [BZ #15529]
21756 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21757 bit of mantissa of 2^16382.
21758 * math/libm-test.inc (hypot_test_data): Add more tests.
21759
dd4259b9
JM
21760 * math/libm-test.inc: Add drem and pow10 to list of tested
21761 functions.
21762 (pow10_test): New function.
21763 (drem_test): Likewise.
21764 (drem_test_tonearest): Likewise.
21765 (drem_test_towardzero): Likewise.
21766 (drem_test_downward): Likewise.
21767 (drem_test_upward): Likewise.
21768 (main): Call the new functions.
21769
4f8dfe27
JM
21770 * math/libm-test.inc (finite_test_data): Remove.
21771 (finite_test): Run tests from isfinite_test_data.
21772 (gamma_test_data): Remove.
21773 (gamma_test): Run tests from lgamma_test_data.
21774 * sysdeps/i386/fpu/libm-test-ulps: Update.
21775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21776
d116b7c4
AZ
217772013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21778
21779 * manual/platform.texi: Add PowerPC PPR function set documentation.
21780 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21781 implementation.
21782
e96e3767
CD
217832013-05-24 Carlos O'Donell <carlos@redhat.com>
21784
21785 * math/libm-test.inc (MAX_EXP): Define.
21786 (ULPDIFF): Define.
21787 (ulp): New function.
21788 (check_float_internal): Use ULPDIFF.
21789 (cpow_test): Disable failing test.
21790 (check_ulp): Test ulp() implemetnation.
21791 (main): Call check_ulp before starting tests.
21792
b679a606
JM
217932013-05-24 Joseph Myers <joseph@codesourcery.com>
21794
e8bdba36
JM
21795 * math/gen-libm-test.pl (generate_testfile): Do not handle
21796 START_DATA and END_DATA.
21797 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21798 END_DATA.
21799 (acos_tonearest_test_data): Likewise.
21800 (acos_towardzero_test_data): Likewise.
21801 (acos_downward_test_data): Likewise.
21802 (acos_upward_test_data): Likewise.
21803 (acosh_test_data): Likewise.
21804 (asin_test_data): Likewise.
21805 (asin_tonearest_test_data): Likewise.
21806 (asin_towardzero_test_data): Likewise.
21807 (asin_downward_test_data): Likewise.
21808 (asin_upward_test_data): Likewise.
21809 (asinh_test_data): Likewise.
21810 (atan_test_data): Likewise.
21811 (atanh_test_data): Likewise.
21812 (atan2_test_data): Likewise.
21813 (cabs_test_data): Likewise.
21814 (cacos_test_data): Likewise.
21815 (cacosh_test_data): Likewise.
21816 (carg_test_data): Likewise.
21817 (casin_test_data): Likewise.
21818 (casinh_test_data): Likewise.
21819 (catan_test_data): Likewise.
21820 (catanh_test_data): Likewise.
21821 (cbrt_test_data): Likewise.
21822 (ccos_test_data): Likewise.
21823 (ccosh_test_data): Likewise.
21824 (ceil_test_data): Likewise.
21825 (cexp_test_data): Likewise.
21826 (cimag_test_data): Likewise.
21827 (clog_test_data): Likewise.
21828 (clog10_test_data): Likewise.
21829 (conj_test_data): Likewise.
21830 (copysign_test_data): Likewise.
21831 (cos_test_data): Likewise.
21832 (cos_tonearest_test_data): Likewise.
21833 (cos_towardzero_test_data): Likewise.
21834 (cos_downward_test_data): Likewise.
21835 (cos_upward_test_data): Likewise.
21836 (cosh_test_data): Likewise.
21837 (cosh_tonearest_test_data): Likewise.
21838 (cosh_towardzero_test_data): Likewise.
21839 (cosh_downward_test_data): Likewise.
21840 (cosh_upward_test_data): Likewise.
21841 (cpow_test_data): Likewise.
21842 (cproj_test_data): Likewise.
21843 (creal_test_data): Likewise.
21844 (csin_test_data): Likewise.
21845 (csinh_test_data): Likewise.
21846 (csqrt_test_data): Likewise.
21847 (ctan_test_data): Likewise.
21848 (ctan_tonearest_test_data): Likewise.
21849 (ctan_towardzero_test_data): Likewise.
21850 (ctan_downward_test_data): Likewise.
21851 (ctan_upward_test_data): Likewise.
21852 (ctanh_test_data): Likewise.
21853 (ctanh_tonearest_test_data): Likewise.
21854 (ctanh_towardzero_test_data): Likewise.
21855 (ctanh_downward_test_data): Likewise.
21856 (ctanh_upward_test_data): Likewise.
21857 (erf_test_data): Likewise.
21858 (erfc_test_data): Likewise.
21859 (exp_test_data): Likewise.
21860 (exp_tonearest_test_data): Likewise.
21861 (exp_towardzero_test_data): Likewise.
21862 (exp_downward_test_data): Likewise.
21863 (exp_upward_test_data): Likewise.
21864 (exp10_test_data): Likewise.
21865 (exp2_test_data): Likewise.
21866 (expm1_test_data): Likewise.
21867 (fabs_test_data): Likewise.
21868 (fdim_test_data): Likewise.
21869 (finite_test_data): Likewise.
21870 (floor_test_data): Likewise.
21871 (fma_test_data): Likewise.
21872 (fma_towardzero_test_data): Likewise.
21873 (fma_downward_test_data): Likewise.
21874 (fma_upward_test_data): Likewise.
21875 (fmax_test_data): Likewise.
21876 (fmin_test_data): Likewise.
21877 (fmod_test_data): Likewise.
21878 (fpclassify_test_data): Likewise.
21879 (frexp_test_data): Likewise.
21880 (gamma_test_data): Likewise.
21881 (hypot_test_data): Likewise.
21882 (ilogb_test_data): Likewise.
21883 (isfinite_test_data): Likewise.
21884 (isgreater_test_data): Likewise.
21885 (isgreaterequal_test_data): Likewise.
21886 (isinf_test_data): Likewise.
21887 (isless_test_data): Likewise.
21888 (islessequal_test_data): Likewise.
21889 (islessgreater_test_data): Likewise.
21890 (isnan_test_data): Likewise.
21891 (isnormal_test_data): Likewise.
21892 (issignaling_test_data): Likewise.
21893 (isunordered_test_data): Likewise.
21894 (j0_test_data): Likewise.
21895 (j1_test_data): Likewise.
21896 (jn_test_data): Likewise.
21897 (ldexp_test_data): Likewise.
21898 (lgamma_test_data): Likewise.
21899 (lrint_test_data): Likewise.
21900 (lrint_tonearest_test_data): Likewise.
21901 (lrint_towardzero_test_data): Likewise.
21902 (lrint_downward_test_data): Likewise.
21903 (lrint_upward_test_data): Likewise.
21904 (llrint_test_data): Likewise.
21905 (llrint_tonearest_test_data): Likewise.
21906 (llrint_towardzero_test_data): Likewise.
21907 (llrint_downward_test_data): Likewise.
21908 (llrint_upward_test_data): Likewise.
21909 (log_test_data): Likewise.
21910 (log10_test_data): Likewise.
21911 (log1p_test_data): Likewise.
21912 (log2_test_data): Likewise.
21913 (logb_test_data): Likewise.
21914 (logb_downward_test_data): Likewise.
21915 (lround_test_data): Likewise.
21916 (llround_test_data): Likewise.
21917 (modf_test_data): Likewise.
21918 (nearbyint_test_data): Likewise.
21919 (nextafter_test_data): Likewise.
21920 (nexttoward_test_data): Likewise.
21921 (pow_test_data): Likewise.
21922 (pow_tonearest_test_data): Likewise.
21923 (pow_towardzero_test_data): Likewise.
21924 (pow_downward_test_data): Likewise.
21925 (pow_upward_test_data): Likewise.
21926 (remainder_test_data): Likewise.
21927 (remainder_tonearest_test_data): Likewise.
21928 (remainder_towardzero_test_data): Likewise.
21929 (remainder_downward_test_data): Likewise.
21930 (remainder_upward_test_data): Likewise.
21931 (remquo_test_data): Likewise.
21932 (rint_test_data): Likewise.
21933 (rint_tonearest_test_data): Likewise.
21934 (rint_towardzero_test_data): Likewise.
21935 (rint_downward_test_data): Likewise.
21936 (rint_upward_test_data): Likewise.
21937 (round_test_data): Likewise.
21938 (scalb_test_data): Likewise.
21939 (scalbn_test_data): Likewise.
21940 (scalbln_test_data): Likewise.
21941 (signbit_test_data): Likewise.
21942 (sin_test_data): Likewise.
21943 (sin_tonearest_test_data): Likewise.
21944 (sin_towardzero_test_data): Likewise.
21945 (sin_downward_test_data): Likewise.
21946 (sin_upward_test_data): Likewise.
21947 (sincos_test_data): Likewise.
21948 (sinh_test_data): Likewise.
21949 (sinh_tonearest_test_data): Likewise.
21950 (sinh_towardzero_test_data): Likewise.
21951 (sinh_downward_test_data): Likewise.
21952 (sinh_upward_test_data): Likewise.
21953 (sqrt_test_data): Likewise.
21954 (tan_test_data): Likewise.
21955 (tan_tonearest_test_data): Likewise.
21956 (tan_towardzero_test_data): Likewise.
21957 (tan_downward_test_data): Likewise.
21958 (tan_upward_test_data): Likewise.
21959 (tanh_test_data): Likewise.
21960 (tgamma_test_data): Likewise.
21961 (trunc_test_data): Likewise.
21962 (y0_test_data): Likewise.
21963 (y1_test_data): Likewise.
21964 (yn_test_data): Likewise.
21965 (significand_test_data): Likewise.
21966
b679a606
JM
21967 * math/gen-libm-test.pl (@functions): Remove variable.
21968 (generate_testfile): Don't handle START and END lines.
21969 * math/libm-test.inc (START): New macro.
21970 (END): Likewise.
21971 (END_COMPLEX): Likewise.
21972 (acos_test): Use END macro without arguments.
21973 (acos_test_tonearest): Likewise.
21974 (acos_test_towardzero): Likewise.
21975 (acos_test_downward): Likewise.
21976 (acos_test_upward): Likewise.
21977 (acosh_test): Likewise.
21978 (asin_test): Likewise.
21979 (asin_test_tonearest): Likewise.
21980 (asin_test_towardzero): Likewise.
21981 (asin_test_downward): Likewise.
21982 (asin_test_upward): Likewise.
21983 (asinh_test): Likewise.
21984 (atan_test): Likewise.
21985 (atanh_test): Likewise.
21986 (atan2_test): Likewise.
21987 (cabs_test): Likewise.
21988 (cacos_test): Use END_COMPLEX macro without arguments.
21989 (cacosh_test): Likewise.
21990 (carg_test): Use END macro without arguments.
21991 (casin_test): Use END_COMPLEX macro without arguments.
21992 (casinh_test): Likewise.
21993 (catan_test): Likewise.
21994 (catanh_test): Likewise.
21995 (cbrt_test): Use END macro without arguments.
21996 (ccos_test): Use END_COMPLEX macro without arguments.
21997 (ccosh_test): Likewise.
21998 (ceil_test): Use END macro without arguments.
21999 (cexp_test): Use END_COMPLEX macro without arguments.
22000 (cimag_test): Use END macro without arguments.
22001 (clog_test): Use END_COMPLEX macro without arguments.
22002 (clog10_test): Likewise.
22003 (conj_test): Likewise.
22004 (copysign_test): Use END macro without arguments.
22005 (cos_test): Likewise.
22006 (cos_test_tonearest): Likewise.
22007 (cos_test_towardzero): Likewise.
22008 (cos_test_downward): Likewise.
22009 (cos_test_upward): Likewise.
22010 (cosh_test): Likewise.
22011 (cosh_test_tonearest): Likewise.
22012 (cosh_test_towardzero): Likewise.
22013 (cosh_test_downward): Likewise.
22014 (cosh_test_upward): Likewise.
22015 (cpow_test): Use END_COMPLEX macro without arguments.
22016 (cproj_test): Likewise.
22017 (creal_test): Use END macro without arguments.
22018 (csin_test): Use END_COMPLEX macro without arguments.
22019 (csinh_test): Likewise.
22020 (csqrt_test): Likewise.
22021 (ctan_test): Likewise.
22022 (ctan_test_tonearest): Likewise.
22023 (ctan_test_towardzero): Likewise.
22024 (ctan_test_downward): Likewise.
22025 (ctan_test_upward): Likewise.
22026 (ctanh_test): Likewise.
22027 (ctanh_test_tonearest): Likewise.
22028 (ctanh_test_towardzero): Likewise.
22029 (ctanh_test_downward): Likewise.
22030 (ctanh_test_upward): Likewise.
22031 (erf_test): Use END macro without arguments.
22032 (erfc_test): Likewise.
22033 (exp_test): Likewise.
22034 (exp_test_tonearest): Likewise.
22035 (exp_test_towardzero): Likewise.
22036 (exp_test_downward): Likewise.
22037 (exp_test_upward): Likewise.
22038 (exp10_test): Likewise.
22039 (exp2_test): Likewise.
22040 (expm1_test): Likewise.
22041 (fabs_test): Likewise.
22042 (fdim_test): Likewise.
22043 (finite_test): Likewise.
22044 (floor_test): Likewise.
22045 (fma_test): Likewise.
22046 (fma_test_towardzero): Likewise.
22047 (fma_test_downward): Likewise.
22048 (fma_test_upward): Likewise.
22049 (fmax_test): Likewise.
22050 (fmin_test): Likewise.
22051 (fmod_test): Likewise.
22052 (fpclassify_test): Likewise.
22053 (frexp_test): Likewise.
22054 (gamma_test): Likewise.
22055 (hypot_test): Likewise.
22056 (ilogb_test): Likewise.
22057 (isfinite_test): Likewise.
22058 (isgreater_test): Likewise.
22059 (isgreaterequal_test): Likewise.
22060 (isinf_test): Likewise.
22061 (isless_test): Likewise.
22062 (islessequal_test): Likewise.
22063 (islessgreater_test): Likewise.
22064 (isnan_test): Likewise.
22065 (isnormal_test): Likewise.
22066 (issignaling_test): Likewise.
22067 (isunordered_test): Likewise.
22068 (j0_test): Likewise.
22069 (j1_test): Likewise.
22070 (jn_test): Likewise.
22071 (ldexp_test): Likewise.
22072 (lgamma_test): Likewise.
22073 (lrint_test): Likewise.
22074 (lrint_test_tonearest): Likewise.
22075 (lrint_test_towardzero): Likewise.
22076 (lrint_test_downward): Likewise.
22077 (lrint_test_upward): Likewise.
22078 (llrint_test): Likewise.
22079 (llrint_test_tonearest): Likewise.
22080 (llrint_test_towardzero): Likewise.
22081 (llrint_test_downward): Likewise.
22082 (llrint_test_upward): Likewise.
22083 (log_test): Likewise.
22084 (log10_test): Likewise.
22085 (log1p_test): Likewise.
22086 (log2_test): Likewise.
22087 (logb_test): Likewise.
22088 (logb_test_downward): Likewise.
22089 (lround_test): Likewise.
22090 (llround_test): Likewise.
22091 (modf_test): Likewise.
22092 (nearbyint_test): Likewise.
22093 (nextafter_test): Likewise.
22094 (nexttoward_test): Likewise.
22095 (pow_test): Likewise.
22096 (pow_test_tonearest): Likewise.
22097 (pow_test_towardzero): Likewise.
22098 (pow_test_downward): Likewise.
22099 (pow_test_upward): Likewise.
22100 (remainder_test): Likewise.
22101 (remainder_test_tonearest): Likewise.
22102 (remainder_test_towardzero): Likewise.
22103 (remainder_test_downward): Likewise.
22104 (remainder_test_upward): Likewise.
22105 (remquo_test): Likewise.
22106 (rint_test): Likewise.
22107 (rint_test_tonearest): Likewise.
22108 (rint_test_towardzero): Likewise.
22109 (rint_test_downward): Likewise.
22110 (rint_test_upward): Likewise.
22111 (round_test): Likewise.
22112 (scalb_test): Likewise.
22113 (scalbn_test): Likewise.
22114 (scalbln_test): Likewise.
22115 (signbit_test): Likewise.
22116 (sin_test): Likewise.
22117 (sin_test_tonearest): Likewise.
22118 (sin_test_towardzero): Likewise.
22119 (sin_test_downward): Likewise.
22120 (sin_test_upward): Likewise.
22121 (sincos_test): Likewise.
22122 (sinh_test): Likewise.
22123 (sinh_test_tonearest): Likewise.
22124 (sinh_test_towardzero): Likewise.
22125 (sinh_test_downward): Likewise.
22126 (sinh_test_upward): Likewise.
22127 (sqrt_test): Likewise.
22128 (tan_test): Likewise.
22129 (tan_test_tonearest): Likewise.
22130 (tan_test_towardzero): Likewise.
22131 (tan_test_downward): Likewise.
22132 (tan_test_upward): Likewise.
22133 (tanh_test): Likewise.
22134 (tgamma_test): Likewise.
22135 (trunc_test): Likewise.
22136 (y0_test): Likewise.
22137 (y1_test): Likewise.
22138 (yn_test): Likewise.
22139 (significand_test): Likewise.
22140
bae143d2
OB
221412013-05-24 Ondřej Bílka <neleai@seznam.cz>
22142
22143 [BZ #15381]
22144 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22145
9323d39b
EM
221462013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22147
d4ea44a0 22148 [BZ #14894]
9323d39b
EM
22149 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22150 __ppc_mdoio and __ppc_mdoom.
22151 * manual/platform.texi: Document new functions __ppc_yield,
22152 __ppc_mdoio and __ppc_mdoom.
22153
13e23af7
CD
221542013-05-22 Carlos O'Donell <carlos@redhat.com>
22155
22156 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22157 (main): Mention "tls" pseudo-hwcap is legacy.
22158 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22159
351fe550
JM
221602013-05-22 Joseph Myers <joseph@codesourcery.com>
22161
22162 * math/gen-libm-test.pl (parse_args): Output only string of
22163 arguments as text for test name, not full call or descriptions of
22164 tests for extra outputs.
22165 (generate_testfile): Do not pass function name to parse_args.
22166 Generate this_func variable from START.
22167 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22168 field to arg_str.
22169 (struct test_ff_f_data): Likewise.
22170 (test_ff_f_data_nexttoward): Likewise.
22171 (struct test_fi_f_data): Likewise.
22172 (struct test_fl_f_data): Likewise.
22173 (struct test_if_f_data): Likewise.
22174 (struct test_fff_f_data): Likewise.
22175 (struct test_c_f_data): Likewise.
22176 (struct test_f_f1_data): Likewise. Remove field extra_name.
22177 (struct test_fF_f1_data): Likewise.
22178 (struct test_ffI_f1_data): Likewise.
22179 (struct test_c_c_data): Rename test_name field to arg_str.
22180 (struct test_cc_c_data): Likewise.
22181 (struct test_f_i_data): Likewise.
22182 (struct test_ff_i_data): Likewise.
22183 (struct test_f_l_data): Likewise.
22184 (struct test_f_L_data): Likewise.
22185 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22186 and extra2_name.
22187 (COMMON_TEST_SETUP): New macro.
22188 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22189 (COMMON_TEST_CLEANUP): Likewise.
22190 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22191 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22192 macros.
22193 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22194 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22195 macros.
22196 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22197 (RUN_TEST_fff_f): Take argument string. Call new setup and
22198 cleanup macros.
22199 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22200 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22201 macros.
22202 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22203 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22204 macros.
22205 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22206 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22207 cleanup macros.
22208 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22209 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22210 cleanup macros.
22211 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22212 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22213 cleanup macros.
22214 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22215 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22216 macros.
22217 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22218 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22219 macros.
22220 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22221 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22222 macros.
22223 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22224 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22225 cleanup macros.
22226 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22227 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22228 cleanup macros.
22229 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22230 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22231 macros.
22232 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22233 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22234 cleanup macros.
22235 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22236 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22237 macros.
22238 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22239 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22240 macros.
22241 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22242 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22243 cleanup macros.
22244 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22245
85118d4d
EBM
222462013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22247
22248 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22249 to _sifields.sigfault.
22250 (si_addr_lsb): Define new macro.
22251 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22252 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22253 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22254
7a44c18f
CD
222552013-05-03 Carlos O'Donell <carlos at redhat.com>
22256
22257 [BZ #15441]
22258 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22259 returns -1.
22260 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22261 null return -1.
22262 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22263 loading the domain.
22264
b50a7181
JM
222652013-05-22 Joseph Myers <joseph@codesourcery.com>
22266
22267 * math/gen-libm-test.pl (parse_args): Do not include expected
22268 result in test name.
22269 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22270 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22271 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22272 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22273 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22275
051063c8
SP
222762013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22277
3ce9e010
SP
22278 * benchtests/Makefile: Sort function entries.
22279
051063c8
SP
22280 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22281 tanh, asinh, acosh, atanh.
22282 * benchtests/acos-inputs: New file.
22283 * benchtests/acosh-inputs: New file.
22284 * benchtests/asin-inputs: New file.
22285 * benchtests/asinh-inputs: New file.
22286 * benchtests/atanh-inputs: New file.
22287 * benchtests/cosh-inputs: New file.
22288 * benchtests/log-inputs: New file.
22289 * benchtests/sinh-inputs: New file.
22290 * benchtests/tanh-inputs: New file.
22291
47c22455
DL
222922013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22293
22294 [BZ #15339]
22295 * posix/tst-getaddrinfo4.c: New test.
22296 * posix/Makefile (tests): Add it.
22297
3d04f5db
SP
222982013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22299
22300 [BZ #15339]
22301 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22302 when no services were used.
22303 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22304 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22305
d5dd6189
AS
223062013-05-21 Andreas Schwab <schwab@suse.de>
22307
22308 [BZ #15014]
22309 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22310 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22311 successful.
22312 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22313 redundant variable declarations and reallocation of buffer when
22314 parsing as IPv6 address. Always set NSS status when called from
22315 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22316 buffer too small. Correct computation of needed size.
22317 * nss/Makefile (tests): Add test-digits-dots.
22318 * nss/test-digits-dots.c: New test.
22319
fef94eab
SP
223202013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22321
22322 * benchtests/Makefile: Remove instructions for adding
22323 benchmark tests.
22324 * benchtests/README: New file to explain how to execute and
22325 enhance the benchmark tests.
22326
e39adf43
AS
223272013-05-21 Andreas Schwab <schwab@suse.de>
22328
22329 [BZ #15493]
22330 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22331 * setjmp/tst-sigsetjmp.c: New test.
22332
b2b671b6
OB
223332013-05-20 Ondřej Bílka <neleai@seznam.cz>
22334
22335 * sysdeps/x86_64/memset.S (memset): New implementation.
22336 (__bzero): Likewise.
22337 (__memset_tail): New function.
22338
2d48b41c
OB
223392013-05-20 Ondřej Bílka <neleai@seznam.cz>
22340
22341 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22342 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22343 __memcpy_sse2_unaligned ifunc selection.
22344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22345 Add memcpy-sse2-unaligned.S.
22346 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22347 Add: __memcpy_sse2_unaligned.
22348
f16cc3eb
JM
223492013-05-19 Joseph Myers <joseph@codesourcery.com>
22350
3e694268
JM
22351 [BZ #15490]
22352 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22353 math_force_eval before restoring floating-point envrionment.
22354 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22355 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22356 Likewise.
22357 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22358 <math_private.h>.
22359 (__nearbyintl): Use math_force_eval before restoring
22360 floating-point environment.
22361 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22362
db62a907
JM
22363 * math/gen-libm-test.pl (special_functions): Remove.
22364 (parse_args): Don't handle TEST_extra. Handle functions with no
22365 return value.
22366 * math/libm-test.inc (struct test_sincos_data): Replace with
22367 struct test_fFF_11_data.
22368 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22369 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22370 (sincos_test_data): Change element type to struct
22371 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22372 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22373 RUN_TEST_LOOP_sincos.
22374 * math/README.libm-test: Don't mention special handling of
22375 individual functions.
22376 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22378 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22379 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22380 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22382
f16cc3eb
JM
22383 * math/gen-libm-test.pl (get_variable): Remove function.
22384 (parse_args): Don't show pointer parameters to call in test
22385 names. Use "extra output N" in test names for extra outputs
22386 rather than naming variables.
22387
3779b5b6
JM
223882013-05-18 Joseph Myers <joseph@codesourcery.com>
22389
2ee094ff
JM
22390 [BZ #15488]
22391 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22392 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22393 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22394 double tests.
22395 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22396 disable.
22397 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22398 check_long_double.
22399
3779b5b6
JM
22400 * math/gen-libm-test.pl (@tests): Remove variable.
22401 ($count): Likewise.
22402 (new_test): Remove function.
22403 (show_exceptions): New function.
22404 (special_functions): Use show_exceptions instead of new_test.
22405 (parse_args): Likewise.
22406 (generate_testfile): Pass only function name in generated call to
22407 print_max_error or print_complex_max_error.
22408 (get_ulps): Do not handle complex tests specially.
22409 (output_test): Rename to ...
22410 (get_all_ulps_for_test): ... this. Return a string rather than
22411 printing to a file. Require ulps to be present.
22412 (output_ulps): Generate arrays rather than #defines.
22413 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22414 (struct ulp_data): New type.
22415 (BUILD_COMPLEX_ULP): Remove macro.
22416 (compare_ulp_data): New function.
22417 (find_ulps): Likewise.
22418 (find_test_ulps): Likewise.
22419 (find_function_ulps): Likewise.
22420 (find_complex_function_ulps): Likewise.
22421 (print_max_error): Determine allowed ulps using
22422 find_function_ulps.
22423 (print_complex_max_error): Determine allowed ulps using
22424 find_complex_function_ulps.
22425 (check_float_internal): Determine max ulps using find_test_ulps.
22426 (check_float): Do not take max_ulp parameter. Update call to
22427 check_float_internal.
22428 (check_complex): Likewise.
22429 (check_int): Do not take max_ulp parameter.
22430 (check_long): Likewise.
22431 (check_bool): Likewise.
22432 (check_longlong): Likewise.
22433 (struct test_f_f_data): Remove max_ulp field.
22434 (struct test_ff_f_data): Likewise.
22435 (struct test_ff_f_data_nexttoward): Likewise.
22436 (struct test_fi_f_data): Likewise.
22437 (struct test_fl_f_data): Likewise.
22438 (struct test_if_f_data): Likewise.
22439 (struct test_fff_f_data): Likewise.
22440 (struct test_c_f_data): Likewise.
22441 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22442 (struct test_fF_f1_data): Likewise.
22443 (struct test_ffI_f1_data): Likewise.
22444 (struct test_c_c_data): Remove max_ulp field.
22445 (struct test_cc_c_data): Likewise.
22446 (struct test_f_i_data): Likewise.
22447 (struct test_ff_i_data): Likewise.
22448 (struct test_f_l_data): Likewise.
22449 (struct test_f_L_data): Likewise.
22450 (struct test_sincos_data): Likewise.
22451 (RUN_TEST_f_f): Do not handle ulps.
22452 (RUN_TEST_LOOP_f_f): Likewise.
22453 (RUN_TEST_2_f): Likewise.
22454 (RUN_TEST_LOOP_2_f): Likewise.
22455 (RUN_TEST_fff_f): Likewise.
22456 (RUN_TEST_LOOP_fff_f): Likewise.
22457 (RUN_TEST_c_f): Likewise.
22458 (RUN_TEST_LOOP_c_f): Likewise.
22459 (RUN_TEST_f_f1): Likewise.
22460 (RUN_TEST_LOOP_f_f1): Likewise.
22461 (RUN_TEST_fF_f1): Likewise.
22462 (RUN_TEST_LOOP_fF_f1): Likewise.
22463 (RUN_TEST_fI_f1): Likewise.
22464 (RUN_TEST_LOOP_fI_f1): Likewise.
22465 (RUN_TEST_ffI_f1): Likewise.
22466 (RUN_TEST_LOOP_ffI_f1): Likewise.
22467 (RUN_TEST_c_c): Likewise.
22468 (RUN_TEST_LOOP_c_c): Likewise.
22469 (RUN_TEST_cc_c): Likewise.
22470 (RUN_TEST_LOOP_cc_c): Likewise.
22471 (RUN_TEST_f_i): Likewise.
22472 (RUN_TEST_LOOP_f_i): Likewise.
22473 (RUN_TEST_f_i_tg): Likewise.
22474 (RUN_TEST_LOOP_f_i_tg): Likewise.
22475 (RUN_TEST_ff_i_tg): Likewise.
22476 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22477 (RUN_TEST_f_b): Likewise.
22478 (RUN_TEST_LOOP_f_b): Likewise.
22479 (RUN_TEST_f_b_tg): Likewise.
22480 (RUN_TEST_LOOP_f_b_tg): Likewise.
22481 (RUN_TEST_f_l): Likewise.
22482 (RUN_TEST_LOOP_f_l): Likewise.
22483 (RUN_TEST_f_L): Likewise.
22484 (RUN_TEST_LOOP_f_L): Likewise.
22485 (RUN_TEST_sincos): Likewise.
22486 (RUN_TEST_LOOP_sincos): Likewise.
22487
8269107f
JM
224882013-05-17 Joseph Myers <joseph@codesourcery.com>
22489
bb38759d
JM
22490 [BZ #15480]
22491 [BZ #15485]
22492 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22493 main case of finite arguments, set rounding mode to FE_TONEAREST
22494 and discard exceptions.
22495 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22496 exceptions.
22497 (remainder_tonearest_test_data): New variable.
22498 (remainder_test_tonearest): New function.
22499 (remainder_towardzero_test_data): New variable.
22500 (remainder_test_towardzero): New function.
22501 (remainder_downward_test_data): New variable.
22502 (remainder_test_downward): New function.
22503 (remainder_upward_test_data): New variable.
22504 (remainder_test_upward): New function.
22505 (main): Call the new test functions.
22506
a00bdcf0
JM
22507 * math/libm-test.inc (struct test_f_f1_data): Remove field
22508 extra_init.
22509 (struct test_fF_f1_data): Likewise.
22510 (struct test_ffI_f1_data): Likewise.
22511 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22512 based on value of EXTRA_EXPECTED.
22513 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22514 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22515 EXTRA_VAR based on value of EXTRA_EXPECTED.
22516 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22517 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22518 EXTRA_VAR based on value of EXTRA_EXPECTED.
22519 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22520 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22521 EXTRA_VAR based on value of EXTRA_EXPECTED.
22522 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22523 * math/gen-libm-test.pl (parse_args): Don't output initializers
22524 for extra output values.
22525
de407f79
JM
22526 * math/libm-test.inc (check_int): Expect result to be exactly
22527 equal to expected value and do not handle ulps.
22528 (check_long): Likewise.
22529 (check_longlong): Likewise.
22530
8269107f
JM
22531 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22532 exceptions.
22533 (cimag_test_data): Likewise.
22534 (conj_test_data): Likewise.
22535 (copysign_test_data): Likewise.
22536 (cproj_test_data): Likewise.
22537 (creal_test_data): Likewise.
22538 (fabs_test_data): Likewise.
22539 (fdim_test_data): Likewise.
22540 (finite_test_data): Likewise.
22541 (floor_test_data): Likewise.
22542 (fmax_test_data): Likewise.
22543 (fmin_test_data): Likewise.
22544 (fmod_test_data): Likewise.
22545 (fpclassify_test_data): Likewise.
22546 (frexp_test_data): Likewise.
22547 (ilogb_test_data): Likewise.
22548 (isfinite_test_data): Likewise.
22549 (isgreater_test_data): Likewise.
22550 (isgreaterequal_test_data): Likewise.
22551 (isinf_test_data): Likewise.
22552 (isless_test_data): Likewise.
22553 (islessequal_test_data): Likewise.
22554 (islessgreater_test_data): Likewise.
22555 (isnan_test_data): Likewise.
22556 (isnormal_test_data): Likewise.
22557 (issignaling_test_data): Likewise.
22558 (isunordered_test_data): Likewise.
22559 (ldexp_test_data): Likewise.
22560 (lrint_test_data): Likewise.
22561 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22562 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22563 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22564 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22565 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22566 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22567 test input.
22568 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22569 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22570 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22571 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22572 that test input.
22573 (lrint_downward_test_data): Test for "inexact" exceptions.
22574 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22575 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22576 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22577 test input.
22578 (lrint_upward_test_data): Test for "inexact" exceptions.
22579 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22580 test input.
22581 (llrint_test_data): Test for "inexact" exceptions.
22582 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22583 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22584 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22585 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22586 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22587 (llrint_downward_test_data): Test for "inexact" exceptions.
22588 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22589 (llrint_upward_test_data): Test for "inexact" exceptions.
22590 (logb_test_data): Likewise.
22591 (logb_downward_test_data): Likewise.
22592 (nextafter_test_data): Likewise.
22593 (nexttoward_test_data): Likewise.
22594 (remainder_test_data): Likewise.
22595 (remquo_test_data): Likewise.
22596 (scalbn_test_data): Likewise.
22597 (scalbln_test_data): Likewise.
22598 (signbit_test_data): Likewise.
22599 (sqrt_test_data): Likewise.
22600 (significand_test_data): Likewise.
22601
48a18de1
SP
226022013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22603
22604 [BZ #15424]
22605 * benchtests/bench-modf.c (struct args): Mark arg0 as
22606 volatile.
22607 * scripts/bench.pl: Mark members of struct args as volatile.
22608
13d3b41a
AZ
226092013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22610
68191c1d 22611 [BZ # 15497]
13d3b41a
AZ
22612 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22613 negative infinity on POWER6 or lower.
22614 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22615
2848b105
MR
226162013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22617
22618 [BZ #15442]
22619 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22620 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22621 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22622 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22623 (_FP_SETQNAN): New macro.
22624 (_FP_SETQNAN_SEMIRAW): Likewise.
22625 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22626 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22627 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22628 (FP_EXTEND): Use _FP_FRAC_SNANP.
22629 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22630 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22631 into account.
22632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22633 New macro.
22634 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22635 Likewise.
22636
323e5cb7
JM
226372013-05-16 Joseph Myers <joseph@codesourcery.com>
22638
c58b274f
JM
22639 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22640 with DIVIDE_BY_ZERO_EXCEPTION.
22641 (gamma_test_data): Likewise.
22642 (lgamma_test_data): Likewise.
22643 (log_test_data): Likewise.
22644 (log10_test_data): Likewise.
22645 (log2_test_data): Likewise.
22646 (tgamma_test_data): Likewise.
22647
0ab34904
JM
22648 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22649 (acos_test_tonearest): Likewise.
22650 (acos_test_towardzero): Likewise.
22651 (acos_test_downward): Likewise.
22652 (acos_test_upward): Likewise.
22653 (acosh_test): Likewise.
22654 (asin_test): Likewise.
22655 (asin_test_tonearest): Likewise.
22656 (asin_test_towardzero): Likewise.
22657 (asin_test_downward): Likewise.
22658 (asin_test_upward): Likewise.
22659 (asinh_test): Likewise.
22660 (atan_test): Likewise.
22661 (atanh_test): Likewise.
22662 (atan2_test): Likewise.
22663 (cabs_test): Likewise.
22664 (cacos_test): Likewise.
22665 (cacosh_test): Likewise.
22666 (casin_test): Likewise.
22667 (casinh_test): Likewise.
22668 (catan_test): Likewise.
22669 (catanh_test): Likewise.
22670 (cbrt_test): Likewise.
22671 (ccos_test): Likewise.
22672 (ccosh_test): Likewise.
22673 (cexp_test): Likewise.
22674 (clog_test): Likewise.
22675 (clog10_test): Likewise.
22676 (cos_test): Likewise.
22677 (cos_test_tonearest): Likewise.
22678 (cos_test_towardzero): Likewise.
22679 (cos_test_downward): Likewise.
22680 (cos_test_upward): Likewise.
22681 (cosh_test): Likewise.
22682 (cosh_test_tonearest): Likewise.
22683 (cosh_test_towardzero): Likewise.
22684 (cosh_test_downward): Likewise.
22685 (cosh_test_upward): Likewise.
22686 (cpow_test): Likewise.
22687 (csin_test): Likewise.
22688 (csinh_test): Likewise.
22689 (csqrt_test): Likewise.
22690 (ctan_test): Likewise.
22691 (ctan_test_tonearest): Likewise.
22692 (ctan_test_towardzero): Likewise.
22693 (ctan_test_downward): Likewise.
22694 (ctan_test_upward): Likewise.
22695 (ctanh_test): Likewise.
22696 (ctanh_test_tonearest): Likewise.
22697 (ctanh_test_towardzero): Likewise.
22698 (ctanh_test_downward): Likewise.
22699 (ctanh_test_upward): Likewise.
22700 (erf_test): Likewise.
22701 (erfc_test): Likewise.
22702 (exp_test): Likewise.
22703 (exp_test_tonearest): Likewise.
22704 (exp_test_towardzero): Likewise.
22705 (exp_test_downward): Likewise.
22706 (exp_test_upward): Likewise.
22707 (exp10_test): Likewise.
22708 (exp2_test): Likewise.
22709 (expm1_test): Likewise.
22710 (fmod_test): Likewise.
22711 (gamma_test): Likewise.
22712 (hypot_test): Likewise.
22713 (j0_test): Likewise.
22714 (j1_test): Likewise.
22715 (jn_test): Likewise.
22716 (lgamma_test): Likewise.
22717 (log_test): Likewise.
22718 (log10_test): Likewise.
22719 (log1p_test): Likewise.
22720 (log2_test): Likewise.
22721 (logb_test_downward): Likewise.
22722 (pow_test): Likewise.
22723 (pow_test_tonearest): Likewise.
22724 (pow_test_towardzero): Likewise.
22725 (pow_test_downward): Likewise.
22726 (pow_test_upward): Likewise.
22727 (remainder_test): Likewise.
22728 (remquo_test): Likewise.
22729 (sin_test): Likewise.
22730 (sin_test_tonearest): Likewise.
22731 (sin_test_towardzero): Likewise.
22732 (sin_test_downward): Likewise.
22733 (sin_test_upward): Likewise.
22734 (sincos_test): Likewise.
22735 (sinh_test): Likewise.
22736 (sinh_test_tonearest): Likewise.
22737 (sinh_test_towardzero): Likewise.
22738 (sinh_test_downward): Likewise.
22739 (sinh_test_upward): Likewise.
22740 (sqrt_test): Likewise.
22741 (tan_test): Likewise.
22742 (tan_test_tonearest): Likewise.
22743 (tan_test_towardzero): Likewise.
22744 (tan_test_downward): Likewise.
22745 (tan_test_upward): Likewise.
22746 (tanh_test): Likewise.
22747 (tgamma_test): Likewise.
22748 (y0_test): Likewise.
22749 (y1_test): Likewise.
22750 (yn_test): Likewise.
22751
323e5cb7
JM
22752 * math/gen-libm-test.pl (adjust_arg): Remove function.
22753 (special_function): Remove argument $in_func. Only handle
22754 generating output for tables of tests, not inside functions.
22755 (parse_args): Likewise.
22756 (generate_testfile): Remove variable $in_func. Update call to
22757 parse_args.
22758 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22759 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22760 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22761 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22762 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22763 (MAX_VALUE_INIT): Rename macro to max_value.
22764 (MIN_VALUE_INIT): Rename macro to min_value.
22765 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22766 (plus_zero): Remove variable.
22767 (minus_zero): Likewise.
22768 (plus_infty): Likewise.
22769 (minus_infty): Likewise.
22770 (qnan_value): Likewise.
22771 (max_value): Likewise.
22772 (min_value): Likewise.
22773 (min_subnorm_value): Likewise.
22774
e054f494
RA
227752013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22776
22777 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22778 uint64_t or uint32_t usage.
22779 * crypt/sha256-block.c: Likewise.
22780 * crypt/sha256-crypt.c: Likewise.
22781 * crypt/sha256.c: Likewise.
22782 * crypt/sha512-block.c: Likewise.
22783 * crypt/sha512-crypt.c: Likewise.
22784 * crypt/sha512.c: Likewise.
22785 * debug/backtrace-tst.c: Likewise.
22786 * debug/pcprofiledump.c: Likewise.
22787 * elf/cache.c: Likewise.
22788 * elf/dl-cache.c: Likewise.
22789 * elf/dl-misc.c: Likewise.
22790 * elf/dl-profile.c: Likewise.
22791 * elf/dl-support.c: Likewise.
22792 * elf/ldconfig.c: Likewise.
22793 * elf/sprof.c: Likewise.
22794 * iconv/dummy-repertoire.c: Likewise.
22795 * iconv/iconv_charmap.c: Likewise.
22796 * iconv/skeleton.c: Likewise.
22797 * iconvdata/8bit-generic.c: Likewise.
22798 * iconvdata/cp737.h: Likewise.
22799 * iconvdata/cp775.h: Likewise.
22800 * iconvdata/ibm1008.h: Likewise.
22801 * iconvdata/ibm1025.h: Likewise.
22802 * iconvdata/ibm1046.h: Likewise.
22803 * iconvdata/ibm1097.h: Likewise.
22804 * iconvdata/ibm1112.h: Likewise.
22805 * iconvdata/ibm1122.h: Likewise.
22806 * iconvdata/ibm1123.h: Likewise.
22807 * iconvdata/ibm1124.h: Likewise.
22808 * iconvdata/ibm1129.h: Likewise.
22809 * iconvdata/ibm1130.h: Likewise.
22810 * iconvdata/ibm1132.h: Likewise.
22811 * iconvdata/ibm1133.h: Likewise.
22812 * iconvdata/ibm1137.h: Likewise.
22813 * iconvdata/ibm1140.h: Likewise.
22814 * iconvdata/ibm1141.h: Likewise.
22815 * iconvdata/ibm1142.h: Likewise.
22816 * iconvdata/ibm1143.h: Likewise.
22817 * iconvdata/ibm1144.h: Likewise.
22818 * iconvdata/ibm1145.h: Likewise.
22819 * iconvdata/ibm1146.h: Likewise.
22820 * iconvdata/ibm1147.h: Likewise.
22821 * iconvdata/ibm1148.h: Likewise.
22822 * iconvdata/ibm1149.h: Likewise.
22823 * iconvdata/ibm1153.h: Likewise.
22824 * iconvdata/ibm1154.h: Likewise.
22825 * iconvdata/ibm1155.h: Likewise.
22826 * iconvdata/ibm1156.h: Likewise.
22827 * iconvdata/ibm1157.h: Likewise.
22828 * iconvdata/ibm1158.h: Likewise.
22829 * iconvdata/ibm1160.h: Likewise.
22830 * iconvdata/ibm1161.h: Likewise.
22831 * iconvdata/ibm1162.h: Likewise.
22832 * iconvdata/ibm1163.h: Likewise.
22833 * iconvdata/ibm1164.h: Likewise.
22834 * iconvdata/ibm1166.h: Likewise.
22835 * iconvdata/ibm1167.h: Likewise.
22836 * iconvdata/ibm12712.h: Likewise.
22837 * iconvdata/ibm1390.h: Likewise.
22838 * iconvdata/ibm1399.h: Likewise.
22839 * iconvdata/ibm16804.h: Likewise.
22840 * iconvdata/ibm4517.h: Likewise.
22841 * iconvdata/ibm4899.h: Likewise.
22842 * iconvdata/ibm4909.h: Likewise.
22843 * iconvdata/ibm4971.h: Likewise.
22844 * iconvdata/ibm5347.h: Likewise.
22845 * iconvdata/ibm803.h: Likewise.
22846 * iconvdata/ibm856.h: Likewise.
22847 * iconvdata/ibm901.h: Likewise.
22848 * iconvdata/ibm902.h: Likewise.
22849 * iconvdata/ibm9030.h: Likewise.
22850 * iconvdata/ibm9066.h: Likewise.
22851 * iconvdata/ibm921.h: Likewise.
22852 * iconvdata/ibm922.h: Likewise.
22853 * iconvdata/ibm9448.h: Likewise.
22854 * iconvdata/isiri-3342.h: Likewise.
22855 * iconvdata/jis0201.h: Likewise.
22856 * include/link.h: Likewise.
22857 * include/netdb.h: Likewise.
22858 * inet/check_native.c: Likewise.
22859 * inet/check_pf.c: Likewise.
22860 * inet/getipv4sourcefilter.c: Likewise.
22861 * inet/getnameinfo.c: Likewise.
22862 * inet/getsourcefilter.c: Likewise.
22863 * inet/htonl.c: Likewise.
22864 * inet/setipv4sourcefilter.c: Likewise.
22865 * inet/setsourcefilter.c: Likewise.
22866 * inet/test-inet6_opt.c: Likewise.
22867 * inet/tst-network.c: Likewise.
22868 * locale/C-collate.c: Likewise.
22869 * locale/C-ctype.c: Likewise.
22870 * locale/C-time.c: Likewise.
22871 * locale/C-translit.h: Likewise.
22872 * locale/loadarchive.c: Likewise.
22873 * locale/programs/3level.h: Likewise.
22874 * locale/programs/charmap.c: Likewise.
22875 * locale/programs/charmap.h: Likewise.
22876 * locale/programs/ld-address.c: Likewise.
22877 * locale/programs/ld-collate.c: Likewise.
22878 * locale/programs/ld-ctype.c: Likewise.
22879 * locale/programs/ld-identification.c: Likewise.
22880 * locale/programs/ld-measurement.c: Likewise.
22881 * locale/programs/ld-messages.c: Likewise.
22882 * locale/programs/ld-monetary.c: Likewise.
22883 * locale/programs/ld-name.c: Likewise.
22884 * locale/programs/ld-numeric.c: Likewise.
22885 * locale/programs/ld-paper.c: Likewise.
22886 * locale/programs/ld-telephone.c: Likewise.
22887 * locale/programs/ld-time.c: Likewise.
22888 * locale/programs/linereader.c: Likewise.
22889 * locale/programs/locale.c: Likewise.
22890 * locale/programs/locarchive.c: Likewise.
22891 * locale/programs/locfile.h: Likewise.
22892 * locale/programs/repertoire.c: Likewise.
22893 * locale/programs/simple-hash.c: Likewise.
22894 * locale/programs/simple-hash.h: Likewise.
22895 * malloc/memusage.c: Likewise.
22896 * malloc/memusagestat.c: Likewise.
22897 * nis/nis_defaults.c: Likewise.
22898 * nis/nis_hash.c: Likewise.
22899 * nis/nis_print.c: Likewise.
22900 * nis/nis_xdr.c: Likewise.
22901 * nscd/connections.c: Likewise.
22902 * nscd/hstcache.c: Likewise.
22903 * nscd/nscd_gethst_r.c: Likewise.
22904 * nscd/nscd_getserv_r.c: Likewise.
22905 * nscd/nscd_helper.c: Likewise.
22906 * nscd/servicescache.c: Likewise.
22907 * nss/makedb.c: Likewise.
22908 * nss/nss_db/db-XXX.c: Likewise.
22909 * nss/nss_db/db-initgroups.c: Likewise.
22910 * nss/nss_db/db-netgrp.c: Likewise.
22911 * nss/nss_files/files-network.c: Likewise.
22912 * nss/nss_files/files-parse.c: Likewise.
22913 * posix/bug-regex5.c: Likewise.
22914 * posix/fnmatch_loop.c: Likewise.
22915 * posix/regcomp.c: Likewise.
22916 * posix/regexec.c: Likewise.
22917 * posix/tst-rfc3484-2.c: Likewise.
22918 * posix/tst-rfc3484-3.c: Likewise.
22919 * posix/tst-rfc3484.c: Likewise.
22920 * resolv/nss_dns/dns-canon.c: Likewise.
22921 * resolv/nss_dns/dns-network.c: Likewise.
22922 * resolv/res_init.c: Likewise.
22923 * resolv/res_mkquery.c: Likewise.
22924 * resolv/tst-aton.c: Likewise.
22925 * stdlib/cxa_atexit.c: Likewise.
22926 * stdlib/cxa_finalize.c: Likewise.
22927 * stdlib/gen-fpioconst.c: Likewise.
22928 * stdlib/strtol_l.c: Likewise.
22929 * string/tst-endian.c: Likewise.
22930 * sunrpc/auth_des.c: Likewise.
22931 * sunrpc/clnt_udp.c: Likewise.
22932 * sunrpc/rtime.c: Likewise.
22933 * sunrpc/svcauth_des.c: Likewise.
22934 * sunrpc/xdr.c: Likewise.
22935 * sunrpc/xdr_intXX_t.c: Likewise.
22936 * sunrpc/xdr_rec.c: Likewise.
22937 * sysdeps/generic/ldconfig.h: Likewise.
22938 * sysdeps/generic/ldsodefs.h: Likewise.
22939 * sysdeps/generic/memusage.h: Likewise.
22940 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22942 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22943 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22944 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22945 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22946 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22947 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22948 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22950 * sysdeps/posix/getaddrinfo.c: Likewise.
22951 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22952 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22953 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22954 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22955 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22956 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22957 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22958 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22959 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22960 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22961 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22962 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22963 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22964 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22965 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22966 * sysdeps/x86_64/dl-tls.h: Likewise.
22967 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22968 * time/alt_digit.c: Likewise.
22969 * time/era.c: Likewise.
22970 * wcsmbs/tst-c16c32-1.c: Likewise.
22971
8c75f674
JM
229722013-05-16 Joseph Myers <joseph@codesourcery.com>
22973
22974 * math/libm-test.inc (struct test_sincos_data): New type.
22975 (RUN_TEST_LOOP_sincos): New macro.
22976 (sincos_test_data): New variable.
22977 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22978
e6e49e59
RH
229792013-05-16 Richard Henderson <rth@redhat.com>
22980
22981 * math/atest-exp2.c (LIMB64): New macro.
22982 (CONSTSZ): New macro.
22983 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22984 (hexdig): Move ...
22985 (print_mpn_fp): ... to function scope.
22986 (read_mpn_hex): Remove.
22987 (get_log2): Remove.
22988 (exp2_mpn): Use mp_log2.
22989 (main): Use mp_exp1.
22990
15c7c18d
JM
229912013-05-16 Joseph Myers <joseph@codesourcery.com>
22992
105a07df
JM
22993 * math/libm-test.inc: Remove comment about not testing "inexact"
22994 exceptions.
22995 (INEXACT_EXCEPTION): New macro.
22996 (NO_INEXACT_EXCEPTION): Likewise.
22997 (INVALID_EXCEPTION_OK): Update value.
22998 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22999 (OVERFLOW_EXCEPTION_OK): Likewise.
23000 (UNDERFLOW_EXCEPTION_OK): Likewise.
23001 (IGNORE_ZERO_INF_SIGN): Likewise.
23002 (ERRNO_UNCHANGED): Likewise.
23003 (ERRNO_EDOM): Likewise.
23004 (ERRNO_ERANGE): Likewise.
23005 (test_exceptions): Handle testing "inexact" exceptions.
23006 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23007 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23008 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23009 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23010 INEXACT_EXCEPTION.
23011 (rint_towardzero_test_data): Likewise.
23012 (rint_downward_test_data): Likewise.
23013 (rint_upward_test_data): Likewise.
23014
e9eee333
JM
23015 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23016 with OVERFLOW_EXCEPTION.
23017 (exp10_test_data): Likewise.
23018 (exp2_test_data): Likewise.
23019 (expm1_test_data): Likewise.
23020 (lgamma_test_data): Likewise.
23021 (pow_test_data): Likewise.
23022 (tgamma_test_data): Likewise.
23023 (yn_test_data): Remove duplicate test of overflow.
23024
1c38ff73
JM
23025 * math/libm-test.inc (struct test_cc_c_data): New type.
23026 (RUN_TEST_LOOP_cc_c): New macro.
23027 (cpow_test_data): New variable.
23028 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23029
15c7c18d
JM
23030 * math/libm-test.inc (struct test_f_L_data): New type.
23031 (RUN_TEST_LOOP_f_L): New macro.
23032 (llrint_test_data): New variable.
23033 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23034 (llrint_tonearest_test_data): New variable.
23035 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23036 (llrint_towardzero_test_data): New variable.
23037 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23038 (llrint_downward_test_data): New variable.
23039 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23040 (llrint_upward_test_data): New variable.
23041 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23042 (llround_test_data): New variable.
23043 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23044
f137ff13
PC
230452013-05-13 Peter Collingbourne <pcc@google.com>
23046
23047 * math/atest-exp2.c (get_log2): Remove const attribute.
23048
3608cb24
JM
230492013-05-15 Joseph Myers <joseph@codesourcery.com>
23050
23051 * math/libm-test.inc (struct test_f_l_data): New type.
23052 (RUN_TEST_LOOP_f_l): New macro.
23053 (lrint_test_data): New variable.
23054 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23055 (lrint_tonearest_test_data): New variable.
23056 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23057 (lrint_towardzero_test_data): New variable.
23058 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23059 (lrint_downward_test_data): New variable.
23060 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23061 (lrint_upward_test_data): New variable.
23062 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23063 (lround_test_data): New variable.
23064 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23065
39b1f617
PC
230662013-05-15 Peter Collingbourne <pcc@google.com>
23067
1deff3dc
PC
23068 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23069 (EXTRACT_WORDS64) Use where appropriate.
23070 (INSERT_WORDS64) Likewise.
23071
791f3ba0
PC
23072 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23073 constraints with x constraints.
23074 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23075
39b1f617
PC
23076 * malloc/obstack.c (_obstack_compat): Add initializer.
23077
12fba011
EM
230782013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23079
23080 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23081 si_trapno and add si_addr_lsb to _sifields.sigfault.
23082 (si_trapno): Remove macro.
23083 (si_addr_lsb): Define new macro.
23084 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23085
d369f531
JM
230862013-05-15 Joseph Myers <joseph@codesourcery.com>
23087
b861c6c4
JM
23088 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23089 instead of TEST_f_l.
23090 (llrint_test_tonearest): Likewise.
23091 (llrint_test_towardzero): Likewise.
23092 (llrint_test_downward): Likewise.
23093 (llrint_test_upward): Likewise.
23094 (llround_test): Likewise.
23095
7abeee12
JM
23096 * math/libm-test.inc (struct test_f_i_data): Add comment.
23097 (RUN_TEST_LOOP_f_b): New macro.
23098 (RUN_TEST_LOOP_f_b_tg): Likewise.
23099 (finite_test_data): New variable.
23100 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23101 (isfinite_test_data): New variable.
23102 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23103 (isinf_test_data): New variable.
23104 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23105 (isnan_test_data): New variable.
23106 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23107 (isnormal_test_data): New variable.
23108 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23109 (issignaling_test_data): New variable.
23110 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23111 (signbit_test_data): New variable.
23112 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23113
cbe8c4d3
JM
23114 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23115 with INVALID_EXCEPTION.
23116 (acosh_test_data): Likewise.
23117 (asin_test_data): Likewise.
23118 (atanh_test_data): Likewise.
23119 (fmod_test_data): Likewise.
23120 (log_test_data): Likewise.
23121 (log10_test_data): Likewise.
23122 (log2_test_data): Likewise.
23123 (pow_test_data): Likewise.
23124 (sqrt_test_data): Likewise.
23125 (y0_test_data): Likewise.
23126 (y1_test_data): Likewise.
23127 (yn_test_data): Likewise.
23128
5575c0e5
JM
23129 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23130 function contents.
23131
d369f531
JM
23132 * math/libm-test.inc (struct test_ff_i_data): New type.
23133 (RUN_TEST_LOOP_ff_i_tg): New macro.
23134 (isgreater_test_data): New variable.
23135 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23136 (isgreaterequal_test_data): New variable.
23137 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23138 (isless_test_data): New variable.
23139 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23140 (islessequal_test_data): New variable.
23141 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23142 (islessgreater_test_data): New variable.
23143 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23144 (isunordered_test_data): New variable.
23145 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23146
781fd748
DM
231472013-05-14 David S. Miller <davem@davemloft.net>
23148
23149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23150
87aa21df
JM
231512013-05-14 Joseph Myers <joseph@codesourcery.com>
23152
5e908270
JM
23153 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23154
f71172e5
JM
23155 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23156 extra_test to int.
23157 (struct test_f_i_data): Change type of max_ulp to int.
23158
8cfa635a
JM
23159 * math/libm-test.inc (test_ffI_f1_data): New type.
23160 (RUN_TEST_LOOP_ffI_f1): New macro.
23161 (remquo_test_data): New variable.
23162 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23163
2bcb36b2
JM
23164 * setjmp/tst-setjmp-fp.c: New file.
23165 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23166 (link-libm): New variable.
23167 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23168
acbd839a
JM
23169 * math/libm-test.inc (struct test_f_i_data): New type.
23170 (RUN_TEST_LOOP_f_i): New macro.
23171 (RUN_TEST_LOOP_f_i_tg): Likewise.
23172 (fpclassify_test_data): New variable.
23173 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23174 (ilogb_test_data): New variable.
23175 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23176
e414d745
JM
23177 * math/libm-test.inc (scalbln_test): Correct function name in END
23178 call.
23179
d9c2a0fd
JM
23180 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23181 (RUN_TEST_LOOP_fI_f1): New macro.
23182 (frexp_test_data): New variable.
23183 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23184
9dc9095d
JM
23185 * math/libm-test.inc (struct test_fF_f1_data): New type.
23186 (RUN_TEST_LOOP_fF_f1): New macro.
23187 (modf_test_data): New variable.
23188 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23189
87aa21df
JM
23190 * math/libm-test.inc (struct test_f_f1_data): New type.
23191 (RUN_TEST_LOOP_f_f1): New macro.
23192 (gamma_test_data): New variable.
23193 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23194 (lgamma_test_data): New variable.
23195 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23196
141af660
CD
231972013-05-13 Carlos O'Donell <carlos@redhat.com>
23198
23199 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23200 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23201 (main): Comment "tls" pseudo-hwcap.
23202
6d33265c
JM
232032013-05-13 Joseph Myers <joseph@codesourcery.com>
23204
68fc074c
JM
23205 * math/libm-test.inc (struct test_fl_f_data): New type.
23206 (RUN_TEST_LOOP_fl_f): New variable.
23207 (scalbln_test_data): New variable.
23208 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23209
243216e1
JM
23210 * math/libm-test.inc (struct test_fi_f_data): New type.
23211 (RUN_TEST_LOOP_fi_f): New macro.
23212 (ldexp_test_data): New variable.
23213 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23214 (scalbn_test_data): New variable.
23215 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23216
6a1992e2
JM
23217 * math/libm-test.inc (struct test_c_f_data): New type.
23218 (RUN_TEST_LOOP_c_f): New macro.
23219 (cabs_test_data): New variable.
23220 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23221 (carg_test_data): New variable.
23222 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23223 (cimag_test_data): New variable.
23224 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23225 (creal_test_data): New variable.
23226 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23227
0e400df5
JM
23228 * math/libm-test.inc (struct test_if_f_data): New type.
23229 (RUN_TEST_LOOP_if_f): New macro.
23230 (jn_test_data): New variable.
23231 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23232 (yn_test_data): New variable.
23233 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23234
6d33265c
JM
23235 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23236
f98ece5f
AZ
232372013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23238
23239 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23240 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23241
0f7d347b
SP
232422013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23243
43fe811b
SP
23244 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23245 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23246 (bench-deps): Add bench-timing.h.
23247 * benchtests-bench-skeleton.c: Include bench-timing.h.
23248 (main): Use TIMING_* macros instead of clock_gettime.
23249 * benchtests/bench-timing.h: New file.
23250
0f7d347b
SP
23251 [BZ #14582]
23252 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23253 Renamed from _LIB_VERSION.
23254 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23255
601a3a5f
JM
232562013-05-12 Joseph Myers <joseph@codesourcery.com>
23257
4f184d30
JM
23258 * math/libm-test.inc (struct test_fff_f_data): New type.
23259 (RUN_TEST_LOOP_fff_f): New macro.
23260 (fma_test_data): New variable.
23261 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23262 (fma_towardzero_test_data): New variable.
23263 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23264 (fma_downward_test_data): New variable.
23265 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23266 (fma_upward_test_data): New variable.
23267 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23268
08198877
JM
23269 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23270 (struct test_c_c_data): New type.
23271 (RUN_TEST_LOOP_c_c): New macro.
23272 (cacos_test_data): New variable.
23273 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23274 (cacosh_test_data): New variable.
23275 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23276 (casin_test_data): New variable.
23277 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23278 (casinh_test_data): New variable.
23279 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23280 (catan_test_data): New variable.
23281 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23282 (catanh_test_data): New variable.
23283 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23284 (ccos_test_data): New variable.
23285 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23286 (ccosh_test_data): New variable.
23287 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23288 (cexp_test_data): New variable.
23289 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23290 (clog_test_data): New variable.
23291 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23292 (clog10_test_data): New variable.
23293 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23294 (conj_test_data): New variable.
23295 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23296 (cproj_test_data): New variable.
23297 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23298 (csin_test_data): New variable.
23299 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23300 (csinh_test_data): New variable.
23301 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23302 (csqrt_test_data): New variable.
23303 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23304 (ctan_test_data): New variable.
23305 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23306 (ctan_tonearest_test_data): New variable.
23307 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23308 (ctan_towardzero_test_data): New variable.
23309 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23310 (ctan_downward_test_data): New variable.
23311 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23312 (ctan_upward_test_data): New variable.
23313 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23314 (ctanh_test_data): New variable.
23315 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23316 (ctanh_tonearest_test_data): New variable.
23317 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23318 (ctanh_towardzero_test_data): New variable.
23319 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23320 (ctanh_downward_test_data): New variable.
23321 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23322 (ctanh_upward_test_data): New variable.
23323 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23324 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23325 of BUILD_COMPLEX.
23326
601a3a5f
JM
23327 * math/libm-test.inc (struct test_ff_f_data): New type.
23328 (struct test_ff_f_data_nexttoward): Likewise.
23329 (RUN_TEST_LOOP_2_f): New macro.
23330 (RUN_TEST_LOOP_ff_f): Likewise.
23331 (atan2_test_data): New variable.
23332 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23333 (copysign_test_data): New variable.
23334 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23335 (fdim_test_data): New variable.
23336 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23337 (fmax_test_data): New variable.
23338 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23339 (fmin_test_data): New variable.
23340 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23341 (fmod_test_data): New variable.
23342 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23343 (hypot_test_data): New variable.
23344 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23345 (nextafter_test_data): New variable.
23346 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23347 (nexttoward_test_data): New variable.
23348 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23349 (pow_test_data): New variable.
23350 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23351 (pow_tonearest_test_data): New variable.
23352 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23353 (pow_towardzero_test_data): New variable.
23354 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23355 (pow_downward_test_data): New variable.
23356 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23357 (pow_upward_test_data): New variable.
23358 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23359 (remainder_test_data): New variable.
23360 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23361 (scalb_test_data): New variable.
23362 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23363 * sysdeps/i386/fpu/libm-test-ulps: Update.
23364
74c57478
JM
233652013-05-11 Joseph Myers <joseph@codesourcery.com>
23366
8329e4da
JM
23367 * math/libm-test.inc (fma_test): Use max_value instead of local
23368 variable fltmax.
23369 (nextafter_test): Likewise.
23370
74c57478
JM
23371 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23372 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23373 (acos_downward_test_data): New variable.
23374 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23375 (acos_upward_test_data): New variable.
23376 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23377 (acosh_test_data): New variable.
23378 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23379 (asin_test_data): New variable.
23380 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23381 (asin_tonearest_test_data): New variable.
23382 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23383 (asin_towardzero_test_data): New variable.
23384 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23385 (asin_downward_test_data): New variable.
23386 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23387 (asin_upward_test_data): New variable.
23388 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23389 (asinh_test_data): New variable.
23390 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23391 (atan_test_data): New variable.
23392 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23393 (atanh_test_data): New variable.
23394 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23395 (cbrt_test_data): New variable.
23396 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23397 (ceil_test_data): New variable.
23398 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23399 (cos_test_data): New variable.
23400 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23401 (cos_tonearest_test_data): New variable.
23402 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23403 (cos_towardzero_test_data): New variable.
23404 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23405 (cos_downward_test_data): New variable.
23406 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23407 (cos_upward_test_data): New variable.
23408 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23409 (cosh_test_data): New variable.
23410 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23411 (cosh_tonearest_test_data): New variable.
23412 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23413 (cosh_towardzero_test_data): New variable.
23414 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23415 (cosh_downward_test_data): New variable.
23416 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23417 (cosh_upward_test_data): New variable.
23418 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23419 (erf_test_data): New variable.
23420 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23421 (erfc_test_data): New variable.
23422 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23423 (exp_test_data): New variable.
23424 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23425 (exp_tonearest_test_data): New variable.
23426 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23427 (exp_towardzero_test_data): New variable.
23428 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23429 (exp_downward_test_data): New variable.
23430 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23431 (exp_upward_test_data): New variable.
23432 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23433 (exp10_test_data): New variable.
23434 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23435 (exp2_test_data): New variable.
23436 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23437 (expm1_test_data): New variable.
23438 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23439 (fabs_test_data): New variable.
23440 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23441 (floor_test_data): New variable.
23442 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23443 (j0_test_data): New variable.
23444 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23445 (j1_test_data): New variable.
23446 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23447 (log_test_data): New variable.
23448 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23449 (log10_test_data): New variable.
23450 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23451 (log1p_test_data): New variable.
23452 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23453 (log2_test_data): New variable.
23454 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23455 (logb_test_data): New variable.
23456 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23457 (logb_downward_test_data): New variable.
23458 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23459 (nearbyint_test_data): New variable.
23460 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23461 (rint_test_data): New variable.
23462 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23463 (rint_tonearest_test_data): New variable.
23464 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23465 (rint_towardzero_test_data): New variable.
23466 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23467 (rint_downward_test_data): New variable.
23468 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23469 (rint_upward_test_data): New variable.
23470 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23471 (round_test_data): New variable.
23472 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23473 (sin_test_data): New variable.
23474 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23475 (sin_tonearest_test_data): New variable.
23476 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23477 (sin_towardzero_test_data): New variable.
23478 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23479 (sin_downward_test_data): New variable.
23480 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23481 (sin_upward_test_data): New variable.
23482 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23483 (sinh_test_data): New variable.
23484 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23485 (sinh_tonearest_test_data): New variable.
23486 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23487 (sinh_towardzero_test_data): New variable.
23488 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23489 (sinh_downward_test_data): New variable.
23490 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23491 (sinh_upward_test_data): New variable.
23492 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23493 (sqrt_test_data): New variable.
23494 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23495 (tan_test_data): New variable.
23496 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23497 (tan_tonearest_test_data): New variable.
23498 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23499 (tan_towardzero_test_data): New variable.
23500 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23501 (tan_downward_test_data): New variable.
23502 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23503 (tan_upward_test_data): New variable.
23504 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23505 (tanh_test_data): New variable.
23506 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23507 (tgamma_test_data): New variable.
23508 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23509 (trunc_test_data): New variable.
23510 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23511 (y0_test_data): New variable.
23512 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23513 (y1_test_data): New variable.
23514 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23515 (significand_test_data): New variable.
23516 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23517
7187d844
CG
235182013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23519
23520 [BZ #12387]
23521 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23522
f63fae73
PT
235232013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23524
23525 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23526
8a67a4b3
AJ
235272013-05-10 Andreas Jaeger <aj@suse.de>
23528
23529 [BZ #15448]
23530 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23531 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23532
51df539d
JM
235332013-05-10 Joseph Myers <joseph@codesourcery.com>
23534
23535 * math/gen-libm-test.pl (adjust_arg): New function.
23536 (special_functions): Handle generating output in both functions
23537 and arrays.
23538 (parse_args): Likewise.
23539 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23540 $in_func argument to parse_args.
23541 * math/libm-test.inc (struct test_f_f_data): New type.
23542 (IF_ROUND_INIT_): New macro.
23543 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23544 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23545 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23546 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23547 (ROUND_RESTORE_): Likewise.
23548 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23549 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23550 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23551 (ROUND_RESTORE_FE_UPWARD): Likewise.
23552 (RUN_TEST_LOOP_f_f): New macro.
23553 (acos_test_data): New variable.
23554 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23555 (acos_tonearest_test_data): New variable.
23556 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23557
5c637fe5
SP
235582013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23559
23560 * benchtests/bench-skeleton.c (startup): Fix coding style.
23561
ab2b9461
JM
235622013-05-10 Joseph Myers <joseph@codesourcery.com>
23563
23564 [BZ #6809]
23565 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23566 negative infinity argument.
23567 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23568 negative infinity argument.
23569 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23570 negative infinity argument.
23571 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23572 domain errors.
23573
4c0fe6fe
FW
235742013-05-10 Florian Weimer <fweimer@redhat.com>
23575
23576 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23577 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23578 * iconv/iconv_prog.c (main): Likewise.
23579 * locale/programs/charmap-dir.c (charmap_readdir)
23580 (fopen_uncompressed): Likewise.
23581 * locale/programs/locfile.c (siblings_uncached)
23582 (write_locale_data): Use lstat64 instead of lstat.
23583 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23584 stat.
23585
a3375d29
AJ
235862013-05-10 Andreas Jaeger <aj@suse.de>
23587
23588 [BZ #15395]
23589 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23590 localization.
23591 Include <locale.h>.
23592
36129722
CD
235932013-05-09 Carlos O'Donell <carlos@redhat.com>
23594
23595 * elf/dl-close.c (_dl_close_worker): Add comments.
23596
faa7f811
JM
235972013-05-09 Joseph Myers <joseph@codesourcery.com>
23598
ed41ffef
JM
23599 [BZ #15359]
23600 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23601 high part of pi/2.
23602 (__ieee754_rem_pio2l): Update comments.
23603
d0213cd0
JM
23604 [BZ #15429]
23605 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23606 high part of pi/2.
23607 (__ieee754_rem_pio2l): Update comments.
23608
0d3e777a
JM
23609 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23610 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23611
24f56066
JM
23612 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23613 M_PI_4l.
23614
faa7f811
JM
23615 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23616 (M_PI_34_LOG10El): Likewise.
23617 (M_PI2_LOG10El): Likewise.
23618 (M_PI4_LOG10El): Likewise.
23619 (M_PI_LOG10El): Likewise.
23620
e9a5e0fd
AZ
236212013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23622
23623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23624
d8cd06db
JM
236252013-05-08 Joseph Myers <joseph@codesourcery.com>
23626
a0d9f9d7
JM
23627 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23628 (MINUS_ZERO_INIT): Likewise.
23629 (PLUS_INFTY_INIT): Likewise.
23630 (MINUS_INFTY_INIT): Likewise.
23631 (QNAN_VALUE_INIT): Likewise.
23632 (MAX_VALUE_INIT): Likewise.
23633 (MIN_VALUE_INIT): Likewise.
23634 (MIN_SUBNORM_VALUE_INIT): Likewise.
23635 (plus_zero): Initialize with PLUS_ZERO_INIT.
23636 (minus_zero): Initialize with MINUS_ZERO_INIT.
23637 (plus_infty): Initialize with PLUS_INFTY_INIT.
23638 (minus_infty): Initialize with MINUS_INFTY_INIT.
23639 (qnan_value): Initialize with QNAN_VALUE_INIT.
23640 (max_value): Initialize with MAX_VALUE_INIT.
23641 (min_value): Initialize with MIN_VALUE_INIT.
23642 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23643
ae08db3b
JM
23644 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23645 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23646 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23647 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23648
f44bf14a
JM
23649 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23650 (RUN_TEST_2_f): Likewise.
23651 (RUN_TEST_ff_f): Likewise.
23652 (RUN_TEST_fi_f): Likewise.
23653 (RUN_TEST_fl_f): Likewise.
23654 (RUN_TEST_fff_f): Likewise.
23655 (RUN_TEST_c_f): Likewise.
23656 (RUN_TEST_f_f1): Likewise.
23657 (RUN_TEST_fF_f1): Likewise.
23658 (RUN_TEST_fI_f1): Likewise.
23659 (RUN_TEST_ffI_f1): Likewise.
23660 (RUN_TEST_c_c): Likewise.
23661 (RUN_TEST_cc_c): Likewise.
23662 (RUN_TEST_f_i): Likewise.
23663 (RUN_TEST_f_i_tg): Likewise.
23664 (RUN_TEST_ff_i_tg): Likewise.
23665 (RUN_TEST_f_b): Likewise.
23666 (RUN_TEST_f_b_tg): Likewise.
23667 (RUN_TEST_f_l): Likewise.
23668 (RUN_TEST_f_L): Likewise.
23669 (RUN_TEST_sincos): Likewise.
23670 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23671 whether to show exceptions. Do not include ");\n" in return
23672 value.
23673 (special_functions): Output call to RUN_TEST_sincos instead of
23674 check_float calls. Update calls to new_test.
23675 (parse_args): Output call to single RUN_TEST_* macro instead of
23676 check_* calls and other assignments. Update calls to new_test.
23677
d8cd06db
JM
23678 [BZ #2546]
23679 [BZ #2560]
23680 [BZ #5159]
23681 [BZ #15426]
23682 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23683 input to result for tgamma overflow.
23684 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23685 (gamma_coeff): New variable.
23686 (NCOEFF): New macro.
23687 (gamma_positive): New function.
23688 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23689 underflow here. Use gamma_positive instead of exp (lgamma) for
23690 other arguments.
23691 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23692 (gamma_coeff): New variable.
23693 (NCOEFF): New macro.
23694 (gammaf_positive): New function.
23695 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23696 underflow here. Use gamma_positive instead of exp (lgamma) for
23697 other arguments.
23698 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23699 (gamma_coeff): New variable.
23700 (NCOEFF): New macro.
23701 (gammal_positive): New function.
23702 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23703 underflow here. Use gamma_positive instead of exp (lgamma) for
23704 other arguments.
23705 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23706 (gamma_coeff): New variable.
23707 (NCOEFF): New macro.
23708 (gammal_positive): New function.
23709 (__ieee754_gammal_r): Handle positive infinity, overflow and
23710 underflow here. Handle NaN the same as positive infinity. Remove
23711 check x < 0xffffffff for negative integers. Use gamma_positive
23712 instead of exp (lgamma) for other arguments.
23713 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23714 (gamma_coeff): New variable.
23715 (NCOEFF): New macro.
23716 (gammal_positive): New function.
23717 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23718 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23719 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23720 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23721 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23722 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23723 * sysdeps/generic/math_private.h (__gamma_productf): New
23724 prototype.
23725 (__gamma_product): Likewise.
23726 (__gamma_productl): Likewise.
23727 * math/Makefile (libm-calls): Add gamma_product.
23728 * math/libm-test.inc (tgamma_test): Add more tests.
23729 * sysdeps/i386/fpu/libm-test-ulps: Update.
23730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23731
bb7cf681
OB
237322013-05-08 Ondřej Bílka <neleai@seznam.cz>
23733
23734 * benchtests/bench-skeleton.c (main): Preheat CPU.
23735
ba853947
AJ
237362013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23737
23738 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23739
8347c74c
RM
237402013-05-07 Roland McGrath <roland@hack.frob.com>
23741
23742 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23743 and _dl_skip_args_internal.
23744
e8dd4791
CD
237452013-05-07 Carlos O'Donell <carlos@redhat.com>
23746
23747 * manual/message.texi (Message Translation): Talk about users.
23748 Message to key mapping impacts design.
23749
c7405830
RM
237502013-05-06 Roland McGrath <roland@hack.frob.com>
23751
a9173057
RM
23752 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23753
976e2f03
RM
23754 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23755
9723ffc5
RM
23756 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23757 * sysdeps/wordsize-64/glob64.c: ... here.
23758
962e6658
RM
23759 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23760 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23761 New macros.
23762
ee586a6d
RM
23763 * debug/getlogin_r_chk.c: Moved to ...
23764 * login/getlogin_r_chk.c: ... here.
23765 * debug/Makefile (routines): Move getlogin_r_chk to ...
23766 * login/Makefile (routines): ... here.
23767 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23768 * login/Versions (libc: GLIBC_2.4): ... here.
23769
355f9165
RM
23770 * io/poll.c (__poll): Renamed from poll.
23771 Add libc_hidden_def.
23772 (poll): Define as weak alias.
23773
bd9ffde6
RM
23774 * debug/ptsname_r_chk.c: Moved to ...
23775 * login/ptsname_r_chk.c: ... here.
23776 * debug/Makefile (routines): Move ptsname_r_chk to ...
23777 * login/Makefile (routines): ... here.
23778 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23779 * login/Versions (libc: GLIBC_2.4): ... here.
23780
8fb16a04
RM
23781 * posix/getlogin.c: Moved to ...
23782 * login/getlogin.c: ... here.
23783 * posix/getlogin_r.c: Moved to ...
23784 * login/getlogin_r.c: ... here.
23785 * posix/getlogin_r.c: Moved to ...
23786 * login/getlogin_r.c: ... here.
23787 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23788 * login/Makefile (routines): ... here.
23789 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23790 * login/Versions (libc: GLIBC_2.0): ... here.
23791
b99b892f
RM
23792 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23793 (setrlimit): Define as weak alias.
23794
c7405830
RM
23795 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23796 Call __ names for open, ftruncate, and close.
23797 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23798 (truncate): Define as weak alias.
23799
5bf96de5
JM
238002013-05-06 Joseph Myers <joseph@codesourcery.com>
23801
9ea3513c
JM
23802 * math/gen-libm-test.pl (parse_args): Initialize x before each
23803 test of frexp, modf and remquo.
23804
5bf96de5
JM
23805 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23806 test signgam value.
23807
16e616a7
AZ
238082013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23809
23810 [BZ #15418]
23811 [BZ #15419]
23812 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23813 internal tests.
23814 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23815
d5e82754
RM
238162013-05-06 Roland McGrath <roland@hack.frob.com>
23817
23818 * elf/dl-writev.h: New file.
23819 * elf/dl-misc.c: Include it.
23820 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23821 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23822
a7548d41
JM
238232013-05-04 Joseph Myers <joseph@codesourcery.com>
23824
b7dab1e4
JM
23825 * math/libm-test.inc (noXFails): Remove variable.
23826 (noXPasses): Likewise.
23827 (BUILD_COMPLEX_INT): Remove macro.
23828 (print_screen): Remove xfail argument.
23829 (print_screen_max_error): Likewise.
23830 (update_stats): Likewise.
23831 (print_max_error): Likewise. Update calls to other affected
23832 functions.
23833 (print_complex_max_error): Likewise.
23834 (test_single_exception): Update calls to print_screen.
23835 (test_single_errno): Likewise.
23836 (check_float_internal): Remove xfail argument. Update calls to
23837 other affected functions.
23838 (check_float): Likewise.
23839 (check_complex): Likewise.
23840 (check_int): Likewise.
23841 (check_long): Likewise.
23842 (check_bool): Likewise.
23843 (check_longlong): Likewise.
23844 (main): Don't print noXFails and noXPasses.
23845 * math/gen-libm-test.pl (top level): Don't mention expected
23846 failure handling in comment.
23847 (new_test): Don't handle expected failures.
23848 (parse_args): Don't mention expected failure handling in comment.
23849 (generate_testfile): Don't handle expected failures.
23850 (parse_ulps): Likewise.
23851 (print_ulps_file): Likewise.
23852 (get_failure): Remove function.
23853 (output_test): Don't handle expected failures.
23854 * make/README.libm-test: Don't mention expected failure handling.
23855
a7548d41
JM
23856 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23857 (minus_zero): Likewise.
23858 (plus_infty): Likewise.
23859 (minus_infty): Likewise.
23860 (qnan_value): Likewise.
23861 (max_value): Likewise.
23862 (min_value): Likewise.
23863 (min_subnorm_value): Likewise.
23864 (initialize): Do not initialize those variables dynamically.
23865
60bfd54c
RM
238662013-05-03 Roland McGrath <roland@hack.frob.com>
23867
cc0e6ed8
RM
23868 * io/open.c (__open_2): Moved to ...
23869 * io/open_2.c: ... this new file.
23870 * io/open64.c (__open64_2): Moved to ...
23871 * io/open64_2.c: ... this new file.
23872 * io/openat.c (__openat_2): Moved to ...
23873 * io/openat_2.c: ... this new file.
23874 * io/openat64.c (__openat64_2): Moved to ...
23875 * io/openat64_2.c: ... this new file.
23876 * io/Makefile (routines): Add them.
23877 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23878 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23879 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23880 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23881 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23882 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23883 (__openat64): Add hidden_ver.
23884 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23885 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23886
60bfd54c
RM
23887 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23888 Separately conditionalize setting of GLRO(dl_sysinfo) so
23889 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23890 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23891
83e7640f
AZ
238922013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23893
23894 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23895 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23896 definition.
23897 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23898 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23899 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23900 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23901 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23902
d5dc2af3
JM
239032013-05-03 Joseph Myers <joseph@codesourcery.com>
23904
c31a5b1e
JM
23905 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23906 test signgam value.
23907
d5dc2af3
JM
23908 * math/libm-test.inc (hypot_test): Do not use
23909 IGNORE_ZERO_INF_SIGN.
23910
164fd39d
AJ
239112013-05-03 Andreas Jaeger <aj@suse.de>
23912
23913 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23914 Linux 3.9.
23915 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23916 (PF_MAX): Adjust for VSOCK change.
23917
8237f48c
AZ
239182013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23919
23920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23921
9df02941
CD
239222013-05-02 Carlos O'Donell <carlos@redhat.com>
23923
23924 [BZ #15264]
23925 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23926 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23927 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23928
d422395e
DM
239292013-05-02 David S. Miller <davem@davemloft.net>
23930
23931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23932
a07c5731
OB
239332013-05-01 Ondřej Bílka <neleai@seznam.cz>
23934
23935 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23936
1324e37f
RM
239372013-05-01 Roland McGrath <roland@hack.frob.com>
23938
23939 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23940
0695940b
RS
239412013-05-01 Richard Smith <richard@metafoo.co.uk>
23942
bb5f27ad 23943 [BZ #14952]
0695940b
RS
23944 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23945 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23946 Use __attribute__ ((__gnu_inline__)).
23947 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23948 Don't use __attribute__ ((__gnu_inline__)).
23949
10de07f5
JM
239502013-05-01 Joseph Myers <joseph@codesourcery.com>
23951
23952 [BZ #15423]
23953 * math/s_catan.c (__catan): Handle small real or imaginary part of
23954 input specially to avoid spurious underflow.
23955 * math/s_catanf.c (__catanf): Likewise.
23956 * math/s_catanh.c (__catanh): Likewise.
23957 * math/s_catanhf.c (__catanhf): Likewise.
23958 * math/s_catanhl.c (__catanhl): Likewise.
23959 * math/s_catanl.c (__catanl): Likewise.
23960 * math/libm-test.inc (catan_test): Add more tests.
23961 (catanh_test): Likewise.
23962 * sysdeps/i386/fpu/libm-test-ulps: Update.
23963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23964
cb4d5414
AZ
239652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23966
23967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23968
caf84319
JM
239692013-04-30 Joseph Myers <joseph@codesourcery.com>
23970
23971 [BZ #15416]
23972 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23973 accurately for denominator in atan2.
23974 * math/s_catanf.c (__catanf): Likewise.
23975 * math/s_catanh.c (__catanh): Likewise.
23976 * math/s_catanhf.c (__catanhf): Likewise.
23977 * math/s_catanhl.c (__catanhl): Likewise.
23978 * math/s_catanl.c (__catanl): Likewise.
23979 * math/libm-test.inc (catan_test): Add more tests.
23980 (catanh_test): Likewise.
23981 * sysdeps/i386/fpu/libm-test-ulps: Update.
23982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23983
d569c6ee
SP
239842013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23985
6dbe713d
SP
23986 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23987
f0ee064b
SP
23988 * benchtests/Makefile (bench): Remove slow benchmarks.
23989 * benchtests/atan-inputs: Add slow benchmark inputs.
23990 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23991 (BENCH_FUNC): Accept variant offset.
23992 (VARIANT): Define.
23993 * benchtests/bench-skeleton.c (main): Run benchmark for each
23994 variant.
23995 * benchtests/cos-inputs: Add slow benchmark inputs.
23996 * benchtests/exp-inputs: Likewise.
23997 * benchtests/pow-inputs: Likewise.
23998 * benchtests/sin-inputs: Likewise.
23999 * benchtests/slowatan-inputs: Remove.
24000 * benchtests/slowatan.c: Remove.
24001 * benchtests/slowcos-inputs: Remove.
24002 * benchtests/slowcos.c: Remove.
24003 * benchtests/slowexp-inputs: Remove.
24004 * benchtests/slowexp.c: Remove.
24005 * benchtests/slowpow-inputs: Remove.
24006 * benchtests/slowpow.c: Remove.
24007 * benchtests/slowsin-inputs: Remove.
24008 * benchtests/slowsin.c: Remove.
24009 * benchtests/slowtan-inputs: Remove.
24010 * benchtests/slowtan.c: Remove.
24011 * benchtests/tan-inputs: Add slow benchmark inputs.
24012 * scripts/bench.pl: Parse comments and directives.
24013
d569c6ee
SP
24014 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24015 in CPPFLAGS.
24016 ($(objpfx)bench-%.c): Remove *-ITER.
24017 * benchtests/bench-modf.c: Remove definition of ITER.
24018 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24019 (main): Loop for DURATION seconds instead of fixed number of
24020 iterations.
24021 * scripts/bench.pl: Don't expect iterations in parameters.
24022
a6a242fe
RM
240232013-04-29 Roland McGrath <roland@hack.frob.com>
24024
24025 * io/fchdir.c (__fchdir): Renamed from fchdir.
24026 (fchdir): Define as weak alias.
24027
f2da7793
JM
240282013-04-29 Joseph Myers <joseph@codesourcery.com>
24029
24030 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24031 (ERRNO_EDOM): Likewise.
24032 (ERRNO_ERANGE): Likewise.
24033 (noErrnoTests): New variable.
24034 (init_max_error): Set errno to 0.
24035 (test_single_errno): New function.
24036 (test_errno): Likewise.
24037 (check_float_internal): Call test_errno. Set errno to 0.
24038 (check_complex): Refer to errno tests in comment.
24039 (check_int): Call test_errno. Set errno to 0.
24040 (check_long): Likewise.
24041 (check_bool): Likewise.
24042 (check_longlong): Likewise.
24043 (cos_test): Use ERRNO_* flags for errno tests instead of
24044 check_int.
24045 (expm1_test): Likewise.
24046 (fmod_test): Likewise.
24047 (ilogb_test): Likewise.
24048 (lgamma_test): Likewise.
24049 (pow_test): Likewise.
24050 (remainder_test): Likewise.
24051 (sin_test): Likewise.
24052 (tan_test): Likewise.
24053 (yn_test): Likewise.
24054 (initialize): Set errno to 0.
24055 (main): Print number of errno tests.
24056 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24057
b1a36ceb
AJ
240582013-04-29 Andreas Jaeger <aj@suse.de>
24059
c3ed8088
AJ
24060 [BZ #15084]
24061 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24062 and RES_USEVC.
24063
f1a24198
AJ
24064 [BZ #15085]
24065 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24066 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24067 unimplemented.
24068
9ce3b2cb
AJ
24069 [BZ #15380]
24070 * stdlib/random.c (__initstate): Return NULL if
24071 __initstate fails.
24072
f1a24198 24073 [BZ #15086]
b1a36ceb
AJ
24074 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24075 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24076 RES_SNGLKUPREOP.
24077
7e7b6f36
AZ
240782013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24079
24080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24081
4d14f449
JM
240822013-04-29 Joseph Myers <joseph@codesourcery.com>
24083
24084 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24085 of individual tests.
24086 (casin_test): Likewise.
24087 (casinh_test): Likewise.
24088
5b4217d7
JM
240892013-04-27 Joseph Myers <joseph@codesourcery.com>
24090
24091 [BZ #15409]
24092 * math/s_catan.c (__catan): Handle arguments with large real or
24093 imaginary part separately without squaring.
24094 * math/s_catanf.c (__catanf): Likewise.
24095 * math/s_catanh.c (__catanh): Likewise.
24096 * math/s_catanhf.c (__catanhf): Likewise.
24097 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24098 and redefine.
24099 (__catanhl): Handle arguments with large real or imaginary part
24100 separately without squaring.
24101 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24102 and redefine.
24103 (__catanl): Handle arguments with large real or imaginary part
24104 separately without squaring.
24105 * math/libm-test.inc (catan_test): Add more tests.
24106 (catanh_test): Likewise.
24107 * sysdeps/i386/fpu/libm-test-ulps: Update.
24108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24109
4220c3ef
AJ
241102013-04-27 Andreas Jaeger <aj@suse.de>
24111
24112 [BZ #15007]
24113 * stdlib/stdlib.h: Update guards for qecvt.
24114 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24115 <stdlib.h>.
24116
4721b2d1
AM
241172013-04-27 Allan McRae <allan@archlinux.org>
24118
24119 * sysdeps/i386/fpu/libm-test-ulps: Update.
24120
f0302940
JM
241212013-04-26 Joseph Myers <joseph@codesourcery.com>
24122
9457fd95
JM
24123 [BZ #15406]
24124 * math/s_catan.c: Include <float.h>.
24125 (__catan): Ensure underflow exception occurs for underflowed
24126 result.
24127 * math/s_catanf.c: Include <float.h>.
24128 (__catanf): Ensure underflow exception occurs for underflowed
24129 result.
24130 * math/s_catanh.c: Include <float.h>.
24131 (__catanh): Ensure underflow exception occurs for underflowed
24132 result.
24133 * math/s_catanhf.c: Include <float.h>.
24134 (__catanhf): Ensure underflow exception occurs for underflowed
24135 result.
24136 * math/s_catanhl.c: Include <float.h>.
24137 (__catanhl): Ensure underflow exception occurs for underflowed
24138 result.
24139 * math/s_catanl.c: Include <float.h>.
24140 (__catanl): Ensure underflow exception occurs for underflowed
24141 result.
24142 * math/libm-test.inc (catan_test): Add more tests.
24143 (catanh_test): Likewise.
24144
f0302940
JM
24145 [BZ #15405]
24146 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24147 underflowed result.
24148 * math/s_ccoshf.c (__ccoshf): Likewise.
24149 * math/s_ccoshl.c (__ccoshl): Likewise.
24150 * math/s_csin.c (__csin): Likewise.
24151 * math/s_csinf.c (__csinf): Likewise.
24152 * math/s_csinh.c (__csinh): Likewise.
24153 * math/s_csinhf.c (__csinhf): Likewise.
24154 * math/s_csinhl.c (__csinhl): Likewise.
24155 * math/s_csinl.c (__csinl): Likewise.
24156 * math/libm-test.inc (ccos_test): Add more tests.
24157 (ccosh_test): Likewise.
24158 (csin_test): Likewise.
24159 (csinh_test): Likewise.
24160
aa630f59
AZ
241612013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24162
24163 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24164 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24165 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24166 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24167 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24168 powerpc/power5+/fpu folders.
24169 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24170
24171
1b835983
MT
241722013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24173
24174 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24175
73709b26
JM
241762013-04-25 Joseph Myers <joseph@codesourcery.com>
24177
24178 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24179 additions to variable.
24180 [$(config-machine) = x86_64] (modules-names): Likewise.
24181 ($(objpfx)tst-audit3): Remove dependency.
24182 ($(objpfx)tst-audit3.out): Likewise.
24183 ($(objpfx)tst-audit4): Likewise.
24184 ($(objpfx)tst-audit4.out): Likewise.
24185 ($(objpfx)tst-audit5): Likewise.
24186 ($(objpfx)tst-audit5.out): Likewise.
24187 ($(objpfx)tst-audit6): Likewise.
24188 ($(objpfx)tst-audit6.out): Likewise.
24189 ($(objpfx)tst-audit7): Likewise.
24190 ($(objpfx)tst-audit7.out): Likewise.
24191 (tst-audit3-ENV): Remove variable.
24192 (tst-audit4-ENV): Likewise.
24193 (tst-audit5-ENV): Likewise.
24194 (tst-audit6-ENV): Likewise.
24195 (tst-audit7-ENV): Likewise.
24196 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24197 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24198 addition to variable.
24199 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24200 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24201 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24202 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24203 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24204 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24205 tst-audit3, tst-audit4 and tst-audit5.
24206 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24207 tst-audit6 and tst-audit7.
24208 [$(subdir) = elf] (modules-names): Add audit modules for those
24209 tests.
24210 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24211 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24212 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24213 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24214 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24215 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24216 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24217 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24218 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24219 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24220 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24221 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24222 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24223 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24224 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24225 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24226 Likewise.
24227 [$(subdir) = elf && $(config-cflags-avx) = yes]
24228 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24229 [$(subdir) = elf && $(config-cflags-avx) = yes]
24230 (CFLAGS-tst-auditmod4a.c): Likewise.
24231 [$(subdir) = elf && $(config-cflags-avx) = yes]
24232 (CFLAGS-tst-auditmod4b.c): Likewise.
24233 [$(subdir) = elf && $(config-cflags-avx) = yes]
24234 (CFLAGS-tst-auditmod6b.c): Likewise.
24235 [$(subdir) = elf && $(config-cflags-avx) = yes]
24236 (CFLAGS-tst-auditmod6c.c): Likewise.
24237 [$(subdir) = elf && $(config-cflags-avx) = yes]
24238 (CFLAGS-tst-auditmod7b.c): Likewise.
24239 * elf/tst-audit3.c: Move to ...
24240 * sysdeps/x86_64/tst-audit3.c: ... here.
24241 * elf/tst-audit4.c: Move to ...
24242 * sysdeps/x86_64/tst-audit4.c: ... here.
24243 * elf/tst-audit5.c: Move to ...
24244 * sysdeps/x86_64/tst-audit5.c: ... here.
24245 * elf/tst-audit6.c: Move to ...
24246 * sysdeps/x86_64/tst-audit6.c: ... here.
24247 * elf/tst-audit7.c: Move to ...
24248 * sysdeps/x86_64/tst-audit7.c: ... here.
24249 * elf/tst-auditmod3a.c: Move to ...
24250 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24251 * elf/tst-auditmod3b.c: Move to ...
24252 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24253 * elf/tst-auditmod4a.c: Move to ...
24254 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24255 * elf/tst-auditmod4b.c: Move to ...
24256 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24257 * elf/tst-auditmod5a.c: Move to ...
24258 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24259 * elf/tst-auditmod5b.c: Move to ...
24260 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24261 * elf/tst-auditmod6a.c: Move to ...
24262 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24263 * elf/tst-auditmod6b.c: Move to ...
24264 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24265 * elf/tst-auditmod6c.c: Move to ...
24266 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24267 * elf/tst-auditmod7a.c: Move to ...
24268 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24269 * elf/tst-auditmod7b.c: Move to ...
24270 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24271
1ef74943
PP
242722013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24273
24274 [BZ #15366]
24275 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24276 define unconditionally.
24277 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24278 define unconditionally.
24279 (INT8_C, INT16_C, etc.): Likewise.
24280
93fd48c5
MR
242812013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24282
ae9552cf
MR
24283 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24284 __ehdr_start with hidden visibility.
24285
93fd48c5
MR
24286 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24287
418601aa
CD
242882013-04-24 Carlos O'Donell <carlos@redhat.com>
24289
24290 * math/libm-test.inc (cos_test): Use accurate hex constants.
24291 (sincost_test): Likewise.
24292
2f38fbfe
JM
242932013-04-24 Joseph Myers <joseph@codesourcery.com>
24294
5e221800
JM
24295 * math/libm-test.inc (catan_test): Add more tests.
24296 (catanh_test): Likewise.
24297
77f143fd
JM
24298 * math/s_catanf.c (__catanf): Use suffixed floating-point
24299 constants.
24300 * math/s_catanhf.c (__catanhf): Likewise.
24301 * math/s_catanhl.c (__catanhl): Likewise.
24302 * math/s_catanl.c (__catanl): Likewise.
24303
2f38fbfe
JM
24304 [BZ #15394]
24305 * math/s_catan.c (__catan): Calculate imaginary part of result
24306 with log1p not log unless computing log of number close to 0.
24307 * math/s_catanf.c (__catanf): Likewise.
24308 * math/s_catanl.c (__catanl): Likewise.
24309 * math/s_catanh.c (__catanh): Calculate real part of result with
24310 log1p not log unless computing log of number close to 0.
24311 * math/s_catanhf.c (__catanhf): Likewise.
24312 * math/s_catanhl.c (__catanhl): Likewise.
24313 * math/libm-test.inc (catan_test): Add more tests.
24314 (catanh_test): Likewise.
24315 * sysdeps/i386/fpu/libm-test-ulps: Update.
24316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24317
45d69176
SP
243182013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24319
24320 * benchtests/Makefile: Mention files in which fast and slow
24321 paths of math functions are implemented.
24322
87f51853
RM
243232013-04-23 Roland McGrath <roland@hack.frob.com>
24324
24325 * sysdeps/posix/timespec_get.c: New file.
24326
3c026539
AZ
243272013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24328
24329 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24330 POWER.
24331 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24332 for POWER.
24333 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24334 powerpc/power5/fpu folders.
24335 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24336 * benchtests/Makefile: Add modf testcase.
24337 * benchtests/bench-modf.c: New file: Benchmark test for mo
24338
ff491d14
SP
243392013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24340
24341 [BZ #14888]
24342 * time/Makefile (tests): Add tst-strptime-whitespace.
24343 * time/strptime_l.c (get_number): Use ISSPACE.
24344 (__strptime_internal): Likewise.
24345 * time/tst-strptime-whitespace.c: New test case.
24346
7ed3f4e8
AS
243472013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24348
24349 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24350 member.
24351 (_nss_files_init): Set it here.
24352
5c95f7b6
HC
243532013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24354
24355 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24356 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24357 unsigned.
24358
d34c9158
JBG
243592013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24360
24361 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24362
2169712d
SP
243632013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24364
24365 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24366 size just once.
24367
29c5de99
DM
243682013-04-21 David S. Miller <davem@davemloft.net>
24369
24370 * po/ru.po: Update Russion translation from translation project.
24371
ccdad15d
AC
243722013-04-17 Adam Conrad <adconrad@0c3.net>
24373
24374 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24375 and setfsgid.
24376
0f122b8d
CD
243772013-04-17 Carlos O'Donell <carlos@redhat.com>
24378
5c5b07da 24379 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24380 * configure: Regenerate.
5c5b07da 24381 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24382 Add example to error message.
24383 * sysdeps/i386/configure: Regenerate.
24384
037714dd
SP
243852013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24386
24387 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24388 slowtan.
24389 * benchtests/cos-inputs: New file.
24390 * benchtests/slowcos-inputs: New file.
24391 * benchtests/slowcos.c: New file.
24392 * benchtests/slowtan-inputs: New file.
24393 * benchtests/slowtan.c: New file.
24394 * benchtests/tan-inputs: New file.
24395
e913141d
RM
243962013-04-16 Roland McGrath <roland@hack.frob.com>
24397
24398 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24399 considered kosher.
24400
a2964074
SP
244012013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24402
4856bcd2
SP
24403 * benchtests/Makefile: Include cppflags-iterator.mk to add
24404 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24405
a2964074
SP
24406 * Makefile.in (bench-clean): New target.
24407 * benchtests/Makefile (bench-clean): Likewise.
24408
9fbf9aca
DH
244092013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24410
24411 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24412
207d1e2a
TS
244132013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24414
24415 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24416
306dfba9
AS
244172013-04-15 Andreas Schwab <schwab@suse.de>
24418
24419 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24421 * nscd/pwdcache.c (cache_addpw): Likewise.
24422 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24423 more than recsize.
24424
206a6699
SP
244252013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24426
24427 * benchtests/Makefile (bench): Write all output to
24428 bench-out.tmp together.
24429
0582f6b3
AS
244302013-04-15 Andreas Schwab <schwab@suse.de>
24431
24432 * nscd/nscd.c (main): Don't fork again after closing files.
24433
acb4325f
SP
244342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24435
5cb26d0a
SP
24436 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24437
acb4325f
SP
24438 * benchtests/Rules (bench-deps): Collect dependencies into a
24439 single variable. Add Makefile to dependencies.
24440 ($(objpfx)bench-%.c): Depend on bench-deps.
24441
47792506
RM
244422013-04-12 Roland McGrath <roland@hack.frob.com>
24443 Xavier Roche <roche+kml2@exalead.com>
24444
24445 [BZ #15361]
24446 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24447 just that it's a file descriptor.
24448 * manual/llio.texi (Synchronizing AIO Operations): Update description
24449 for EBADF error from aio_fsync.
24450
8fc1bee5
SP
244512013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24452
24453 * Rules (bench): Move target definition...
24454 * benchtests/Makefile: ... here.
24455
aba5e333
CD
244562013-04-11 Carlos O'Donell <carlos@redhat.com>
24457
24458 * math/libm-test.inc (cos_test): Fix PI/2 test.
24459 (sincos_test): Likewise.
24460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24461 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24462
273cdee8
AS
244632013-04-11 Andreas Schwab <schwab@suse.de>
24464
6ecec3b6
AS
24465 [BZ #13988]
24466 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24467 accept exponent character only when digits were seen.
24468 * stdio-common/Makefile (tests): Add bug26.
24469 * stdio-common/bug26.c: New file.
24470
273cdee8
AS
24471 [BZ #14293]
24472 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24473 non-freeable.
24474
8da491f5
SP
244752013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24476
01dc6df9
SP
24477 * Makeconfig (rtld-prefix): Define built linker prefix.
24478 * Rules (run-bench): Use it.
24479 * math/Makefile (run-regen-ulps): Likewise.
24480
8da491f5
SP
24481 * Rules (bench): Remove eval.
24482
abe7f530
SP
244832013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24484 Roland McGrath <roland@hack.frob.com>
24485 Ondrej Bilka <neleai@seznam.cz>
24486
24487 [BZ #15346]
24488 * time/getdate.c: Include ctype.h and alloca.h.
24489 (__getdate_r): Trim leading and trailing spaces of input.
24490 * time/tst-getdate.c (tests): Add tests with leading and
24491 trailing spaces.
24492
61c23e62
RM
244932013-04-08 Roland McGrath <roland@hack.frob.com>
24494
24495 [BZ #14280]
24496 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24497 when computing value.
24498
7208a313
CD
244992013-04-06 Carlos O'Donell <carlos@redhat.com>
24500
085b2d41
CD
24501 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24502 Use testrun.sh to run libm tests.
24503
7208a313
CD
24504 [BZ #15309]
24505 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24506
872c0acd
MM
245072013-04-06 Marko Myllynen <myllynen@redhat.com>
24508
24509 [BZ #15264]
24510 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24511
26510bdd
CD
245122013-04-06 Carlos O'Donell <carlos@redhat.com>
24513
24514 * Makefile.in (regen-ulps): New target.
24515 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24516 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24517 [ifneq (no,$(PERL)] (regen-ulps): New target.
24518 [ifeq (no,$(PERL)] (regen-ulps): New target.
24519 * math/libm-test.inc (ulps_file_name): Define.
24520 (output_dir): New variable.
24521 (options): Add "output-dir" option.
24522 (parse_opt): Handle 'o' case.
24523 (main): If output_dir is non-NULL use it as a prefix
24524 otherwise use "".
24525 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24526
a01f19c8
CD
245272013-04-06 Carlos O'Donell <carlos@redhat.com>
24528
24529 [BZ #10060, #10062]
24530 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24531 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24532 fail configure if __sync_val_compare_and_swap is not inlined.
24533 * sysdeps/i386/configure: Regenerate.
24534 * configure.in: Build for i686 when configured for i386.
24535 * configure: Regenerate.
24536 * README: Remove i386 reference.
24537
b7a329a5
CD
245382013-04-06 Carlos O'Donell <carlos@redhat.com>
24539
24540 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24541 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24542
bf0f50df
TS
245432013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24544
ee091edf
TS
24545 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24546 (lmsnanval): New variables.
24547 (F): Add conversion tests.
24548 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24549 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24550
a8b792d6
TS
24551 * stdio-common/tstdiomisc.c (F): Properly collect individual
24552 tests' results.
24553
a1cbf437
TS
24554 [BZ #14686, #15336]
24555 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24556 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24557 Instead, use input NaN values or generate a qNaN by arithmetic
24558 operation. Also fix bugs to comply with the standard.
24559 * math/libm-test.inc (remainder_test): Add more tests.
24560
8b43a0c9
TS
24561 [BZ #15335, #15342]
24562 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24563 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24564 input NaN values or generate a qNaN by arithmetic operation.
24565
d91da4ce
TS
24566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24567 unreachable code.
24568
bf0f50df
TS
24569 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24570 definitions.
24571
05e166c8
JM
245722013-04-03 Joseph Myers <joseph@codesourcery.com>
24573
24574 [BZ #14478]
24575 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24576 underflowed result.
24577 * math/s_cexpf.c (__cexpf): Likewise.
24578 * math/s_cexpl.c (__cexpl): Likewise.
24579 * math/libm-test.inc (cexp_test): Add more tests.
24580
1cef1b19
AS
245812013-04-03 Andreas Schwab <schwab@suse.de>
24582
24583 [BZ #15330]
24584 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24585 order arrays from heap if bigger than alloca cutoff.
24586
74d87055
TS
245872013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24588
24589 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24590 (SNAN_TESTS_double): Refer to GCC PR56831.
24591 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24592 GCC PR56828.
24593
d755bba4
SP
245942013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24595
90d5d5bb
SP
24596 * Rules (bench): Move bench.out after the run is complete.
24597
73e0cd5d
SP
24598 * Rules (bench): Echo currently running benchmark.
24599
64aabd4b
SP
24600 * benchtests/Makefile (bench): Add atan and slowatan.
24601 * benchtests/atan-inputs: New file.
24602 * benchtests/slowatan-inputs: New file.
24603 * benchtests/slowatan.c: New file.
24604
c871eccd
SP
24605 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24606 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24607 its value.
24608
d755bba4
SP
24609 [BZ #15305]
24610 * sysdeps/unix/sysv/linux/kernel-features.h
24611 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24612 __ASSUME_XFS_RESTRICTED_CHOWN.
24613 * sysdeps/unix/sysv/linux/pathconf.c
24614 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24615 Save and restore errno.
24616
52ce4860
JM
246172013-04-02 Joseph Myers <joseph@codesourcery.com>
24618
24619 [BZ #15327]
24620 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24621 arguments using __kernel_casinh.
24622 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24623 arguments using __kernel_casinhf.
24624 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24625 arguments using __kernel_casinhl.
24626 * math/libm-test.inc (cacosh_test): Add more tests.
24627 * sysdeps/i386/fpu/libm-test-ulps: Update.
24628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24629
81f311c2
SP
246302013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24631
e7906a47
SP
24632 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24634
92e3664b
SP
24635 * bench/Makefile (bench): Add sin and slowsin.
24636 * benchtests/sin-inputs: New file.
24637 * benchtests/slowsin-inputs: New file.
24638 * benchtests/slowsin.c: New file.
24639
81f311c2
SP
24640 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24641 (bench): Add slowexp and slowpow.
24642 (exp-ITER): Increase iterations.
24643 (pow-ITER): Likewise.
24644 * benchtests/exp-inputs: Change input.
24645 * benchtests/pow-inputs: Likewise.
24646 * benchtests/slowexp-inputs: New file.
24647 * benchtests/slowexp.c: New file.
24648 * benchtests/slowpow-inputs: New file.
24649 * benchtests/slowpow.c: New file.
24650
ab0f1aa9
AZ
246512013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24652
24653 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24654 instructions.
24655 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24656 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24657 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24658 * benchtests/Makefile: Add rint benchtest.
24659 * benchtests/rint-inputs: Input for rint benchtest.
24660
57267616
TS
246612013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24662
24663 * Versions.def (libm): Add GLIBC_2.18.
24664 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24665 hidden libm prototypes.
24666 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24667 * math/Makefile (libm-calls): Add s_issignaling.
24668 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24669 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24670 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24671 declaration.
24672 * math/math.h [__USE_GNU] (issignaling): New macro.
24673 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24674 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24675 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24676 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24679 * manual/arith.texi (issignaling): New section.
24680 * manual/libm-err-tab.pl (@all_functions): Update comment.
24681 * math/gen-libm-test.pl (parse_args): Apply special handling for
24682 issignaling.
24683 * math/libm-test.inc (print_float, issignaling_test): New
24684 functions.
24685 (check_float_internal): Add issignaling checks.
24686 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24687 default definition.
24688 * sysdeps/powerpc/math-tests.h: New file.
24689 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24690 tests.
24691 * math/test-snan.c (TEST_FUNC): Likewise.
24692
6142896d
DM
246932013-03-30 David S. Miller <davem@davemloft.net>
24694
24695 * po/de.po: Update from translation team.
24696
ccc8cadf
JM
246972013-03-30 Joseph Myers <joseph@codesourcery.com>
24698
24699 [BZ #10357]
24700 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24701 imaginary part less than 1.0 and real part less than 0.5
24702 specially.
24703 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24704 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24705 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24706 (cacos_test): Add more tests.
24707 (casin_test): Likewise.
24708 (casinh_test): Likewise.
24709 * sysdeps/i386/fpu/libm-test-ulps: Update.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24711
0f6a8d4b
SP
247122013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24713
0d1029de
SP
24714 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24715 ONE with its value.
24716
c2d94018
SP
24717 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24718 (__pow_mp): Replace ONE and MONE with their values.
24719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24721 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24722 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24723 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24724 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24725
27ec37f1
SP
24726 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24727
a64d7e0e
SP
24728 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24729 (__pow_mp): Replace ZERO and MZERO with their values.
24730 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24732 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24734 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24735 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24736 (__sqr): Likewise.
24737
d26dd3eb
SP
24738 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24739
0f6a8d4b
SP
24740 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24741
e57b0c61
RM
247422013-03-28 Roland McGrath <roland@hack.frob.com>
24743
24744 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24745 Declare with __attribute__ ((weak)).
24746 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24747 Call __call_tls_dtors only if it's not NULL.
24748
356b3480
RM
247492013-03-28 Roland McGrath <roland@hack.frob.com>
24750
288f7d79
RM
24751 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24752 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24753 magic __ehdr_start linker symbol if it's defined.
24754 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24755 them up here if it was already done.
24756
dc0a0263
RM
24757 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24758 (_dl_aux_init): Use const in cast when setting it.
24759 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24760 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24761 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24762
3d3436ae
RM
24763 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24764 Declare them here.
24765 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24766 * csu/libc-tls.c: Nor here.
24767 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24768
356b3480
RM
24769 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24770 (__libc_message): Never call vsyslog.
24771
b0f1246a
AM
247722013-03-28 Alan Modra <amodra@gmail.com>
24773
24774 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24775 Define as empty.
24776 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24777 Likewise.
24778
fbbe2b9a
AZ
247792013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24780
24781 [BZ #15214]
24782 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24783 underflow.
24784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24785
1728ab37
SP
247862013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24787
7a86be6e
SP
24788 [BZ #15304]
24789 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24790 Don't add gid passed as argument.
24791
1728ab37
SP
24792 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24793
3a7182a1
JM
247942013-03-27 Joseph Myers <joseph@codesourcery.com>
24795
24796 [BZ #15307]
24797 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24798 imaginary part between 1.0 and 1.5 and real part less than 0.5
24799 specially.
24800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24802 * math/libm-test.inc (cacos_test): Add more tests.
24803 (casin_test): Likewise.
24804 (casinh_test): Likewise.
24805 * sysdeps/i386/fpu/libm-test-ulps: Update.
24806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24807
6f2e90e7
SP
248082013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24809
5739f705
SP
24810 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24811 constants.
24812 (norm): Likewise.
24813 (denorm): Likewise.
24814 (__dbl_mp): Likewise.
24815 (add_magnitudes): Likewise.
24816 (sub_magnitudes): Likewise.
24817 (__add): Likewise.
24818 (__sub): Likewise.
24819 (__mul): Likewise.
24820 (__sqr): Likewise.
24821 (__inv): Likewise.
24822 (__dvd): Likewise.
24823
e375e83d
SP
24824 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24825 commented code.
24826 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24827 (__dubcos): Likewise.
24828 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24829 (__ieee754_acos): Likewise.
24830 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24832 (__exp1): Likewise.
24833 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24835 (log1): Likewise.
24836 (my_log2): Likewise.
24837 (checkint): Likewise.
24838 * sysdeps/ieee754/dbl-64/e_remainder.c
24839 (__ieee754_remainder): Likewise.
24840 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24842 (bsloww): Likewise.
24843 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24844
6f2e90e7
SP
24845 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24846 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24847 MANTISSA_STORE_T to store computations on mantissa. Use
24848 macros for rounding and division.
24849 (denorm): Likewise.
24850 (__dbl_mp): Likewise.
24851 (add_magnitudes): Likewise.
24852 (sub_magnitudes): Likewise.
24853 (__mul): Likewise.
24854 (__sqr): Likewise.
24855 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24856 powers of two in terms of TWOPOW macro.
24857 (mp_no): Make type of mantissa as MANTISSA_T.
24858 [!RADIXI]: Define RADIXI.
24859 [!TWO52]: Define TWO52.
24860 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24861
fce14d4e
AZ
248622013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24863
24864 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24865 llroundl symbol when building for PPC32.
24866
9ad027fb
MW
248672013-03-24 Mark H Weaver <mhw@netris.org>
24868
24869 * manual/arith.texi (Normalization Functions): Fix prototypes for
24870 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24871
e42a38dd
AZ
248722013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24873
24874 [BZ #13889]
24875 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24876 high value to check if expl overflow.
24877 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24878 to check for underflow and overflow.
24879 * math/libm-test.inc: Add exp test.
24880
2e0fb521
DL
248812013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24882
24883 [BZ #11120]
24884 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24885 with NOT_IN_libc.
24886
b5784d95
AZ
248872013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24888
24889 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24890 symbol.
24891
5aa4a1a1
TS
248922013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24893
bdef0be7
TS
24894 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24895 wrap blocks consisting of several statements.
24896
5aa4a1a1
TS
24897 * sysdeps/generic/math-tests.h: New file.
24898 * sysdeps/i386/fpu/math-tests.h: Likewise.
24899 * math/test-snan.c: Include it.
24900 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24901
98c48fe5
JM
249022013-03-21 Joseph Myers <joseph@codesourcery.com>
24903
24904 [BZ #15285]
24905 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24906 (__ieee754_j0l): Do not improve calculations using cos of twice
24907 input for inputs above LDBL_MAX / 2.0L.
24908 (__ieee754_y0l): Likewise.
24909 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24910 (__ieee754_j1l): Do not improve calculations using cos of twice
24911 input for inputs above LDBL_MAX / 2.0L.
24912 (__ieee754_y1l): Likewise.
24913 * math/libm-test.inc (j0_test): Add another test.
24914 (j1_test): Likewise.
24915 (y0_test): Likewise.
24916 (y1_test): Likewise.
24917 * sysdeps/i386/fpu/libm-test-ulps: Update.
24918
3775a8bc
SP
249192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24920
24921 * Rules ($(objpfx)bench-%.c): Include code from a C source
24922 file.
24923
0a1b2ae6
JM
249242013-03-21 Joseph Myers <joseph@codesourcery.com>
24925
24926 [BZ #15287]
24927 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24928 imaginary part 1.0 and real part less than 0.5 specially.
24929 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24930 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24931 * math/libm-test.inc (cacos_test): Add more tests.
24932 (casin_test): Likewise.
24933 (casinh_test): Likewise.
24934 * sysdeps/i386/fpu/libm-test-ulps: Update.
24935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24936
b33d4ce4
SP
249372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24938
24939 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24940 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24941
bef0b507
JM
249422013-03-20 Joseph Myers <joseph@codesourcery.com>
24943
24944 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24945 * config.make.in (config-cflags-sse4): Remove variable.
24946 (config-cflags-avx): Likewise.
24947 (config-cflags-sse2avx): Likewise.
24948 (config-cflags-novzeroupper): Likewise.
24949 (config-asflags-i686): Likewise.
24950 (have-mfma4): Likewise.
24951 (have-as-vis3): Likewise.
24952 (MIG): Likewise.
24953 * configure.in (MIG): Do not AC_SUBST.
24954 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24955 (libc_cv_cc_sse4): Do not AC_SUBST.
24956 (libc_cv_cc_avx): Likewise.
24957 (libc_cv_cc_sse2avx): Likewise.
24958 (libc_cv_cc_novzeroupper): Likewise.
24959 (libc_cv_cc_fma4): Likewise.
24960 (libc_cv_as_i686): Likewise.
24961 (libc_cv_sparc_as_vis3): Likewise.
24962 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24963 LIBC_CONFIG_VAR.
24964 (config-asflags-i686): Likewise.
24965 (config-cflags-avx): Likewise.
24966 (config-cflags-sse2avx): Likewise.
24967 (have-mfma4): Likewise.
24968 (config-cflags-novzeroupper): Likewise.
24969 * sysdeps/mach/configure.in (MIG): Likewise.
24970 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24971 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24972 LIBC_CONFIG_VAR.
24973 (config-cflags-avx): Likewise.
24974 (config-cflags-sse2avx): Likewise.
24975 (have-mfma4): Likewise.
24976 (config-cflags-novzeroupper): Likewise.
24977 * configure: Regenerated.
24978 * sysdeps/i386/configure: Likewise.
24979 * sysdeps/mach/configure: Likewise.
24980 * sysdeps/sparc/configure: Likewise.
24981 * sysdeps/x86_64/configure: Likewise.
24982
912cc4b3
RM
249832013-03-20 Roland McGrath <roland@hack.frob.com>
24984
24985 [BZ #14812]
24986 * locale/programs/localedef.c (options): Put N_ translation marker
24987 on argument names, not just descriptions.
24988
04eed2b0
MS
249892013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24990
24991 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24992
a065ceff
OB
249932013-03-20 Ondřej Bílka <neleai@seznam.cz>
24994
9bb2a810 24995 [BZ #14176]
a065ceff
OB
24996 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24997
a600e5ce
RM
249982013-03-19 Roland McGrath <roland@hack.frob.com>
24999
25000 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25001 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25002 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25003 [!BEFORE_ABORT] (before_abort): New function.
25004 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25005 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25006 (writev_for_fatal): New function.
25007 (WRITEV_FOR_FATAL): New macro; call that.
25008 (backtrace_and_maps): New function.
25009 (BEFORE_ABORT): New macro; call that.
25010 (struct str_list): Type removed.
25011 (__libc_message, __libc_fatal): Functions removed.
25012 Include <sysdeps/posix/libc_fatal.c> instead.
25013
6b18bea6
JM
250142013-03-19 Joseph Myers <joseph@codesourcery.com>
25015
25016 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25017 constants.
25018 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25019 double constants.
25020
aaa8cb4b
AS
250212013-03-19 Andreas Schwab <schwab@suse.de>
25022
44673770
AS
25023 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25024 * sysdeps/gnu/configure: Regenerate.
25025
aaa8cb4b
AS
25026 * configure.in: Substitute libc_cv_rtlddir.
25027 * configure: Regenerate.
25028 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25029 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25030 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25031 * elf/Makefile (install-others, CFLAGS-interp.c)
25032 (ldso_install, common-ldd-rewrite): Likewise.
25033 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25034 $(inst_slibdir)/$(rtld-installed-name).
25035 * scripts/rellns-sh: Add -p option.
25036 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25037 for source.
25038
d3cfc668
SP
250392013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25040
25041 * manual/nptl.texi: Renamed to ...
25042 * manual/threads.texi: ... this.
25043 * manual/Makefile (chapters): Update.
25044
0e2b9cdd
RM
250452013-03-18 Roland McGrath <roland@hack.frob.com>
25046
25047 [BZ #14812]
25048 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25049 on argument names, not just descriptions.
0e2b9cdd
RM
25050 * malloc/memusagestat.c (options): Likewise.
25051 * nss/getent.c (options): Likewise.
63270c24
RM
25052
250532013-03-18 Benno Schulenberg <bensberg@justemail.net>
25054
25055 [BZ #14812]
25056 * iconv/iconv_prog.c (options): Put N_ translation marker
25057 on argument names, not just descriptions.
25058 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25059
b2e1393c
OB
250602013-03-18 Ondrej Bilka <neleai@seznam.cz>
25061
25062 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25063 implementation which is faster on all x86_64 architectures.
25064 Tested on AMD, Intel Nehalem, SNB, IVB.
25065 * sysdeps/x86_64/strnlen.S: Likewise.
25066
25067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25068 Remove all multiarch strlen and strnlen versions.
25069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25070 Remove strlen and strnlen related parts.
25071
25072 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25073 Inline strlen part.
25074 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25075
25076 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25077 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25078 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25079 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25080 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25081 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25082
ec4ff04d
CD
250832013-03-17 Carlos O'Donell <carlos@redhat.com>
25084
25085 * manual/memory.texi (Malloc Tunable Parameters):
25086 Sort parameters alphabetically. Add comments for missing entries.
25087
cd18e90a
DM
250882013-03-17 David S. Miller <davem@davemloft.net>
25089
25090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25091
2a185d32
JM
250922013-03-16 Joseph Myers <joseph@codesourcery.com>
25093
d2f9799e
JM
25094 [BZ #15283]
25095 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25096 for arguments at most half maximum finite value.
25097 * math/libm-test.inc (j0_test): Add more tests.
25098 (j1_test): Likewise.
25099 (y0_test): Likewise.
25100 (y1_test): Likewise.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103
2a185d32
JM
25104 [BZ #14155]
25105 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25106 1 / x and functions P and Q for arguments above 0x1p256L.
25107 (__ieee754_y0l): Likewise.
25108 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25109 (__ieee754_y1l): Likewise.
25110 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25111 (j1_test): Likewise.
25112 (y0_test): Likewise.
25113 (y1_test): Likewise.
25114
6cbec759
TS
251152013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25116
25117 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25118 variable.
25119
bc16e260
RM
251202013-03-15 Roland McGrath <roland@hack.frob.com>
25121
aefc9b8c
RM
25122 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25123 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25124 zero since it's initialized to EXEC_PAGESIZE.
25125
bc16e260
RM
25126 * sysdeps/unix/sysv/linux/ldsodefs.h
25127 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25128 * sysdeps/generic/ldsodefs.h: ... here.
25129
a57da955
TS
251302013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25131
af00a34d
TS
25132 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25133
495ded2c
TS
25134 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25135 math/test-snan.c.
25136 * math/test-snan.c: Renamed from
25137 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25138 * math/Makefile (tests): Add test-snan.
25139 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25140 test-powerpc-snan.
25141
777b0332
TS
25142 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25143 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25144 functions.
25145 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25146 __builtin_nan family of functions.
25147 * math/libm-test.inc (initialize): Initialize qnan_value with
25148 __builtin_nan family of functions.
25149 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25150 Remove variables.
25151 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25152 Remove functions.
25153 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25154 storage class. Initialize qNaN_var and sNaN_var with
25155 __builtin_nan and __builtin_nans families of functions,
25156 respectively.
25157
64d063b8
TS
25158 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25159 (sqrt_test): Remove duplicate test with qNaN input.
25160 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25161 (round_test, signbit_test, significand_test): Note missing +/-Inf
25162 as well as qNaN tests.
25163
67e971f1
TS
25164 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25165 qNaN_var. Fix a few strings, too.
25166 * math/libm-test.inc (nan_value): Rename to qnan_value.
25167 * math/gen-libm-test.pl (%beautify): Adjust to that.
25168 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25169 * math/test-misc.c (main): Likewise.
25170 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25171 to __qnan_bytes, and __qnan_union, respectively.
25172 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25173 Likewise.
25174 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25175 and lqnanval, respectively.
25176 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25177 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25178 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25179 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25180
64487e12
TS
25181 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25182 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25183 doubles.
25184
e015e27b
TS
25185 * math/test-misc.c (main): Fix copy'n'pastos.
25186 * misc/tst-efgcvt.c (special): Likewise.
25187
a57da955
TS
25188 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25189 Remove declarations.
25190
1e380345
SP
251912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25192
25193 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25194 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25195 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25196 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25197
ef26eece
AZ
251982013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25199
25200 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25201 macro to return vdso values correctly in IFUNC implementations.
25202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25203 Optimization by using IFUNC.
25204
8cfdb7e0
SP
252052013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25206 Richard Henderson <rth@redhat.com>
25207 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25208
25209 * Makefile.in (bench): New target.
25210 * NEWS: Mention the benchmark framework.
25211 * Rules (bench): Likewise.
25212 (binaries-bench): Generate binaries for functions to
25213 benchmark.
25214 * benchtests/Makefile: New makefile for benchmark tests.
25215 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25216 programs.
25217 * benchtests/exp-inputs: New input file for EXP function.
25218 * benchtests/pow-inputs: New input file for POW function.
25219 * scripts/bench.pl: New script to generate source files for
25220 benchmark programs.
25221
bcda9880
SP
252222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25223
d22ca8cd
SP
25224 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25225 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25226 computations on mantissa. Use macros for rounding and
25227 division.
25228 (denorm): Likewise.
25229 (__dbl_mp): Likewise.
25230 (add_magnitudes): Likewise.
25231 (sub_magnitudes): Likewise.
25232 (__mul): Likewise.
25233 (__sqr): Likewise.
25234 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25235 powers of two in terms of TWOPOW macro.
25236 (mp_no): Make type of mantissa as MANTISSA_T.
25237 [!RADIXI]: Define RADIXI.
25238 [!TWO52]: Define TWO52.
25239 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25240
bcda9880
SP
25241 * manual/nptl.texi (cindex): Modify threads to pthreads.
25242
06d5adfb
JM
252432013-03-15 Joseph Myers <joseph@codesourcery.com>
25244
25245 * sysdeps/x86_64/preconfigure: Regenerated.
25246
41c7328e
JM
252472013-03-14 Joseph Myers <joseph@codesourcery.com>
25248
25249 [BZ #14155]
25250 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25251 0x1p28 and above.
25252 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25253 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25254 0x1p28 and above.
25255 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25256 * math/libm-test.inc (j0_test): Do not allow one spurious
25257 underflow exception.
25258 (y1_test): Likewise.
25259
e25cfa60
SP
252602013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25261
0409959c
SP
25262 * manual/Makefile (chapters): Add nptl.
25263 * manual/debug.texi (Debugging Support): Add link to Threads
25264 chapter.
25265 * manual/nptl.texi: New file.
25266
e25cfa60
SP
25267 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25268
58a1335e
PB
252692013-03-14 Petr Baudis <pasky@ucw.cz>
25270
25271 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25272 for non-NULL pointer before the memory validity test. Pointed
25273 out by Holger Brunck <holger.brunck@keymile.com>.
25274
9dc7c64f
AS
252752013-03-13 Andreas Schwab <schwab@suse.de>
25276
25277 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25278 instead of .os.
25279
54206aa6
JM
252802013-03-13 Joseph Myers <joseph@codesourcery.com>
25281
25282 * timezone/zic.c: Update from tzcode 2013b.
25283
e98cdb38
CD
252842013-03-12 Carlos O'Donell <carlos@redhat.com>
25285
25286 * manual/install.texi (Configuring and compiling):
25287 Mention i686 and i586.
25288 * INSTALL: Regenerate.
25289
9967e003
RM
252902013-03-12 Roland McGrath <roland@hack.frob.com>
25291
25292 * sysdeps/init_array/elf-init.c: New file.
25293 * csu/elf-init.c
25294 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25295 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25296
25297 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25298 __gmon_start__ as global, but as static with a .preinit_array pointer.
25299 * sysdeps/init_array/gmon-start.c: New file. Use that.
25300 * sysdeps/init_array/crti.S: New file, empty except for comments.
25301 * sysdeps/init_array/crtn.S: Likewise.
25302
e6b5a293 253032013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25304
25305 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25306 definining bcopy.
80f844c9
OB
25307 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25308 Remove Prefer_SSE_for_memop.
25309 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25310 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25311 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25313 memset-x86-64.
80f844c9 25314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25315 Remove bzero, memset ifunc support.
80f844c9
OB
25316 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25317 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25318 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25319 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25320
fb6b0fcb
AS
253212013-03-11 Andreas Schwab <schwab@suse.de>
25322
25323 [BZ #15234]
25324 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25325 by SHLIB_COMPAT.
25326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25327 (GLIBC_2.16): Remove pthread_atfork.
25328
3e6bd4b1
PP
253292013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25330
25331 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25332 (ptestcases.h): Likewise.
25333
222d7f00
RM
253342013-03-08 Roland McGrath <roland@hack.frob.com>
25335
25336 * Makeconfig ($(common-objpfx)config.status): Depend on
25337 sysdeps/*/preconfigure{,.in} too.
25338
1ba4f030
JM
253392013-03-08 Joseph Myers <joseph@codesourcery.com>
25340
a222d91a
JM
25341 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25342 (__free_hook): Use void * instead of __malloc_ptr_t.
25343 (__malloc_hook): Likewise.
25344 (__realloc_hook): Likewise.
25345 (__memalign_hook): Likewise.
25346 (__after_morecore_hook): Likewise.
25347 * malloc/arena.c (save_malloc_hook): Likewise.
25348 (save_free_hook): Likewise.
25349 * malloc/hooks.c (malloc_hook_ini): Likewise.
25350 (realloc_hook_ini): Likewise.
25351 (memalign_hook_ini): Likewise.
25352 * malloc/malloc.c (malloc_hook_ini): Likewise.
25353 (realloc_hook_ini): Likewise.
25354 (memalign_hook_ini): Likewise.
25355 (__free_hook): Likewise.
25356 (__malloc_hook): Likewise.
25357 (__realloc_hook): Likewise.
25358 (__memalign_hook): Likewise.
25359 (__libc_malloc): Likewise.
25360 (__libc_free): Likewise.
25361 (__libc_realloc): Likewise.
25362 (__libc_memalign): Likewise.
25363 (__libc_valloc): Likewise.
25364 (__libc_pvalloc): Likewise.
25365 (__libc_calloc): Likewise.
25366 (__posix_memalign): Likewise.
25367 * malloc/morecore.c (__sbrk): Likewise.
25368 (__default_morecore): Likewise.
25369
5cc45e10
JM
25370 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25371
dd54b864
JM
25372 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25373 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25374 __malloc_ptrdiff_t.
25375
1ba4f030
JM
25376 * malloc/malloc.h (__malloc_size_t): Remove macro.
25377 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25378 __malloc_size_t.
25379 (old_memalign_hook): Likewise.
25380 (old_realloc_hook): Likewise.
25381 (struct hdr): Likewise.
25382 (flood): Likewise.
25383 (mallochook): Likewise.
25384 (memalignhook): Likewise.
25385 (reallochook): Likewise.
25386 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25387 (tr_old_realloc_hook): Likewise.
25388 (tr_old_memalign_hook): Likewise.
25389 (tr_mallochook): Likewise.
25390 (tr_reallochook): Likewise.
25391 (tr_memalignhook): Likewise.
25392
edf66e57
AZ
253932013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25394
25395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25396 default_ldbl_pack and using as default implementation.
25397 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25398 implementation.
25399 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25400 redundant definition.
25401 (ldbl_insert_mantissa): Likewise.
25402 (ldbl_canonicalize): Likewise.
25403 (ldbl_nearbyint): Likewise.
25404 (ldbl_pack): Rename to ldbl_pack_ppc.
25405 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25406 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25407 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25408
6d9145d8
SP
254092013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25410
25411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25412 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25413 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25414 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25416 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25417 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25418 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25419
4dd4e157
AJ
254202013-03-07 Andreas Jaeger <aj@suse.de>
25421
25422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25423 bits/mman-linux.h.
25424
adbb8027
SP
254252013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25426
ce544b5b
SP
25427 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25428 Include mpa.h and declare __MPEXP.
25429 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25431 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25432 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25434 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25435 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25436
4cc149fd
SP
25437 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25438 (__slowpow): Use long double EXPL and LOGL functions to
25439 compute POW.
25440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25441 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25444 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25445 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25446
e6ebd4a7
SP
25447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25448 intermediate variable to calculate exponent.
25449 (__sqr): Likewise.
25450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25451 Likewise.
25452 (__sqr): Likewise.
25453
82a9811d
SP
25454 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25455 [!NO__SQR]: Define __sqr.
25456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25457 and NO__SQR. Remove all code except __mul and __sqr. Include
25458 sysdeps/ieee754/dbl-64/mpa.c.
25459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25460
adbb8027
SP
25461 [BZ #12723]
25462 * posix/Makefile (tests): Add tst-pathconf.
25463 * posix/tst-pathconf.c: New test case.
25464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25465 _PC_PIPE_BUF.
25466 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25467
39120df9
PF
254682013-03-06 Patsy Franklin <pfrankli@redhat.com>
25469
25470 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25471
67525cb8
AJ
254722013-03-06 Andreas Jaeger <aj@suse.de>
25473
664a9ce4
AJ
25474 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25475 definition via __MAP_ANONYMOUS.
25476
8e39047d
AJ
25477 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25478 it's not part of Linux headers.
25479
67525cb8
AJ
25480 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25481 (MAP_HUGE_MASK): Define.
25482
25483 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25484 Define.
25485 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25486 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25487 Define.
25488 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25489 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25490 Define.
25491 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25492 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25493 Define.
25494 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25495
25496 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25497 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25498 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25499 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25500 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25501 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25502
25503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25504 Handle f2fs.
25505
25506 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25507 Handle f2fs and efivarfs.
25508
25509 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25510 f2fs.
25511
25512 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25513 (EFIVARFS_MAGIC): Add.
25514 (F2FS_LINK_MAX): Add.
25515
e1b42695
PP
255162013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25517
25518 * stdio-common/vfprintf.c: Replace __builtin_expect with
25519 __glibc_unlikely.
25520
2d67d91a
JM
255212013-03-06 Joseph Myers <joseph@codesourcery.com>
25522
25523 [BZ #13550]
25524 * sysdeps/generic/bp-sym.h: Remove file.
25525 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25526 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25527 <bp-sym.h> and <bp-asm.h>.
25528 (__longjmp): Don't use BP_SYM.
25529 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25530 and <bp-asm.h>.
25531 (memcpy): Don't use BP_SYM.
25532 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25533 <bp-sym.h> and <bp-asm.h>.
25534 (memcpy): Don't use BP_SYM.
25535 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25536 <bp-asm.h>.
25537 (memcpy): Don't use BP_SYM.
25538 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25539 <bp-asm.h>.
25540 (memset): Don't use BP_SYM.
25541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25543 (__bzero): Don't use BP_SYM.
25544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25546 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25547 <bp-sym.h> and <bp-asm.h>.
25548 (memcmp): Don't use BP_SYM. Remove comment about bounded
25549 pointers.
25550 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25551 <bp-sym.h> and <bp-asm.h>.
25552 (memcpy): Don't use BP_SYM.
25553 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25554 <bp-sym.h> and <bp-asm.h>.
25555 (memset): Don't use BP_SYM.
25556 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25557 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25558 (__bzero): Don't use BP_SYM.
25559 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25560 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25562 <bp-sym.h> and <bp-asm.h>.
25563 (strncmp): Don't use BP_SYM. Remove comment about bounded
25564 pointers.
25565 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25566 <bp-sym.h> and <bp-asm.h>.
25567 (memcpy): Don't use BP_SYM.
25568 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25569 <bp-sym.h> and <bp-asm.h>.
25570 (memset): Don't use BP_SYM.
25571 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25572 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25573 (__bzero): Don't use BP_SYM.
25574 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25575 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25576 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25577 <bp-sym.h> and <bp-asm.h>.
25578 (__memchr): Don't use BP_SYM.
25579 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25580 <bp-sym.h> and <bp-asm.h>.
25581 (memcmp): Don't use BP_SYM. Remove comment about bounded
25582 pointers.
25583 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25584 <bp-sym.h> and <bp-asm.h>.
25585 (memcpy): Don't use BP_SYM.
25586 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25587 <bp-sym.h> and <bp-asm.h>.
25588 (__mempcpy): Don't use BP_SYM.
25589 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25590 <bp-sym.h> and <bp-asm.h>.
25591 (__memrchr): Don't use BP_SYM.
25592 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25593 <bp-sym.h> and <bp-asm.h>.
25594 (memset): Don't use BP_SYM.
25595 (__bzero): Likewise.
25596 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25597 <bp-sym.h> and <bp-asm.h>.
25598 (__rawmemchr): Don't use BP_SYM.
25599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25600 <bp-sym.h> and <bp-asm.h>.
25601 (__STRCMP): Don't use BP_SYM.
25602 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25603 <bp-sym.h> and <bp-asm.h>.
25604 (strchr): Don't use BP_SYM.
25605 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25606 <bp-sym.h> and <bp-asm.h>.
25607 (__strchrnul): Don't use BP_SYM.
25608 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25609 <bp-sym.h> and <bp-asm.h>.
25610 (strlen): Don't use BP_SYM.
25611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25612 <bp-sym.h> and <bp-asm.h>.
25613 (strncmp): Don't use BP_SYM. Remove comment about bounded
25614 pointers.
25615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25616 <bp-sym.h> and <bp-asm.h>.
25617 (__strnlen): Don't use BP_SYM.
25618 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25619 <bp-sym.h> and <bp-asm.h>.
25620 (__GI__setjmp): Don't use BP_SYM.
25621 (_setjmp): Likewise.
25622 (__sigsetjmp): Likewise.
25623 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25624 (L(start_addresses)): Don't use BP_SYM.
25625 (_start): Likewise.
25626 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25627 <bp-asm.h>.
25628 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25629 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25630 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25631 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25632 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25633 <bp-asm.h>.
25634 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25635 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25636 about bounded pointers.
25637 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25638 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25639 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25640 <bp-asm.h>.
25641 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25642 about bounded pointers. Remove GKM FIXME comments.
25643 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25644 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25645 <bp-asm.h>.
25646 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25647 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25648 Remove GKM FIXME comments.
25649 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25650 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25651 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25652 <bp-asm.h>.
25653 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25654 about bounded pointers. Remove GKM FIXME comment.
25655 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25656 and <bp-asm.h>.
25657 (strncmp): Don't use BP_SYM. Remove comment about bounded
25658 pointers.
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25660 <bp-sym.h> and <bp-asm.h>.
25661 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25663 <bp-sym.h> and <bp-asm.h>.
25664 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25665 comment.
25666
cdcf361f
PP
256672013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25668
25669 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25670 call free(NULL).
25671
3c4a2b15
DM
256722013-03-05 David S. Miller <davem@davemloft.net>
25673
25674 * po/es.po: Update from translation team.
25675
cdcf361f 256762013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25677
25678 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25679 <bits/mman-linux.h>.
25680 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25681 is fine.
25682 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25683 <bits/mman-linux.h> to end of file.
25684 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25685 is fine.
25686 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25687 <bits/mman-linux.h> to end of file.
25688 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25689 is fine.
25690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25691 <bits/mman-linux.h> to end of file.
25692
25693 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25694 (MCL_CURRENT, MCL_FUTURE): Define here.
25695
5f67c04f
AK
256962013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25697
8a4473cc 25698 [BZ #15232]
5f67c04f
AK
25699 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25700 attribute_hidden.
25701 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25702
c3e94a95
AK
257032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25704
25705 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25706 fourth parameter needed for rt_sigprocmask syscall.
25707 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25708 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25709 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25710 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25711 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25712 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25713
cfb6382a
JM
257142013-03-04 Joseph Myers <joseph@codesourcery.com>
25715
25716 [BZ #13550]
25717 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25718 comment about bounded pointers.
25719 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25720 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25721
539d8e01
AJ
257222013-03-04 Andreas Jaeger <aj@suse.de>
25723
25724 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25725 common definitions.
25726
25727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25728 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25729 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25733
2e167a70 257342013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25735
25736 [BZ #15055]
25737 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25738 __ieee754_sqrl instead of __sqrl.
25739
68508633
JM
257402013-03-01 Joseph Myers <joseph@codesourcery.com>
25741
25742 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25743 * sysdeps/powerpc/fpu_control.h: ... here.
25744 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25745 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25746 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25747 * sysdeps/powerpc/bits/mathinline.h: ... here.
25748
7775448e
RM
257492013-03-01 Roland McGrath <roland@hack.frob.com>
25750
25751 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25752 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25753 to just [NEED_DL_SYSINFO_DSO].
25754 * elf/dl-support.c: Likewise.
25755 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25756 * elf/rtld.c (dl_main): Likewise.
25757 * elf/setup-vdso.h (setup_vdso): Likewise.
25758 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25759 * sysdeps/unix/sysv/linux/dl-sysdep.c
25760 (_dl_discover_osversion): Likewise.
25761
4e9b5995
CD
257622013-03-01 Carlos O'Donell <carlos@redhat.com>
25763
25764 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25765 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25766
e23872c8
SP
257672013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25768
e5c74c63
SP
25769 * NEWS: Mention libm performance improvements and non-x86 PI
25770 futex support.
25771
e23872c8
SP
25772 * csu/libc-start.c (__pthread_initialize_minimal): Change
25773 function arguments.
25774 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25775
b5510883
JM
257762013-02-28 Joseph Myers <joseph@codesourcery.com>
25777
25778 [BZ #13550]
25779 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25780 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25781 <bp-sym.h> and <bp-asm.h>.
25782 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25783 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25784 and <bp-asm.h>.
25785 (memcpy): Don't use BP_SYM.
25786 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25787 <bp-asm.h>.
25788 (__mpn_add_n): Don't use BP_SYM.
25789 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25790 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25791 and <bp-asm.h>.
25792 (__mpn_addmul_1): Don't use BP_SYM.
25793 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25794 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25795 <bp-sym.h>.
25796 (_setjmp): Don't use BP_SYM.
25797 (__novmx_setjmp): Likewise.
25798 (__GI__setjmp): Likewise.
25799 (__vmx_setjmp): Likewise.
25800 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25801 <bp-sym.h>.
25802 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25803 (__bzero): Don't use BP_SYM.
25804 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25805 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25806 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25807 <bp-sym.h> and <bp-asm.h>.
25808 (memcpy): Don't use BP_SYM.
25809 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25810 <bp-sym.h> and <bp-asm.h>.
25811 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25812 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25813 <bp-sym.h> and <bp-asm.h>.
25814 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25815 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25816 <bp-asm.h>.
25817 (__mpn_lshift): Don't use BP_SYM.
25818 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25819 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25820 <bp-asm.h>.
25821 (memset): Don't use BP_SYM.
25822 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25823 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25824 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25825 <bp-asm.h>.
25826 (__mpn_mul_1): Don't use BP_SYM.
25827 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25828 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25829 <bp-sym.h> and <bp-asm.h>.
25830 (memcmp): Don't use BP_SYM.
25831 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25832 <bp-sym.h> and <bp-asm.h>.
25833 (memcpy): Don't use BP_SYM.
25834 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25835 <bp-sym.h> and <bp-asm.h>.
25836 (memset): Don't use BP_SYM.
25837 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25838 <bp-sym.h> and <bp-asm.h>.
25839 (strncmp): Don't use BP_SYM.
25840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25841 <bp-sym.h> and <bp-asm.h>.
25842 (memcpy): Don't use BP_SYM.
25843 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25844 <bp-sym.h> and <bp-asm.h>.
25845 (memset): Don't use BP_SYM.
25846 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25847 <bp-sym.h> and <bp-asm.h>.
25848 (__memchr): Don't use BP_SYM.
25849 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25850 <bp-sym.h> and <bp-asm.h>.
25851 (memcmp): Don't use BP_SYM.
25852 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25853 <bp-sym.h> and <bp-asm.h>.
25854 (memcpy): Don't use BP_SYM.
25855 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25856 <bp-sym.h> and <bp-asm.h>.
25857 (__mempcpy): Don't use BP_SYM.
25858 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25859 <bp-sym.h> and <bp-asm.h>.
25860 (__memrchr): Don't use BP_SYM.
25861 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25862 <bp-sym.h> and <bp-asm.h>.
25863 (memset): Don't use BP_SYM.
25864 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25865 <bp-sym.h> and <bp-asm.h>.
25866 (__rawmemchr): Don't use BP_SYM.
25867 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25868 <bp-sym.h> and <bp-asm.h>.
25869 (__STRCMP): Don't use BP_SYM.
25870 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25871 <bp-sym.h> and <bp-asm.h>.
25872 (strchr): Don't use BP_SYM.
25873 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25874 <bp-sym.h> and <bp-asm.h>.
25875 (__strchrnul): Don't use BP_SYM.
25876 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25877 <bp-sym.h> and <bp-asm.h>.
25878 (strlen): Don't use BP_SYM.
25879 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25880 <bp-sym.h> and <bp-asm.h>.
25881 (strncmp): Don't use BP_SYM.
25882 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25883 <bp-sym.h> and <bp-asm.h>.
25884 (__strnlen): Don't use BP_SYM.
25885 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25886 <bp-asm.h>.
25887 (__mpn_rshift): Don't use BP_SYM.
25888 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25889 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25890 <bp-sym.h> and <bp-asm.h>.
25891 (__sigsetjmp): Don't use BP_SYM.
25892 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25893 (L(start_addresses)): Don't use BP_SYM.
25894 (_start): Likewise.
25895 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25896 <bp-asm.h>.
25897 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25898 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25899 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25900 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25901 <bp-asm.h>.
25902 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25903 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25904 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25905 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25906 <bp-asm.h>.
25907 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25908 comments.
25909 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25910 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25911 <bp-asm.h>.
25912 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25913 FIXME comments.
25914 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25915 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25916 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25917 <bp-asm.h>.
25918 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25919 comment.
25920 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25921 and <bp-asm.h>.
25922 (strncmp): Don't use BP_SYM,
25923 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25924 <bp-asm.h>.
25925 (__mpn_sub_n): Don't use BP_SYM.
25926 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25927 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25928 and <bp-asm.h>.
25929 (__mpn_submul_1): Don't use BP_SYM.
25930 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25932 <bp-sym.h> and <bp-asm.h>.
25933 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25935 <bp-sym.h> and <bp-asm.h>.
25936 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25937 comment.
25938
8d19fe64
SP
259392013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25940
25941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25942 Use ZK to minimize writes to Z.
25943 (sub_magnitudes): Simplify code a bit.
25944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25945 Use ZK to minimize writes to Z.
25946 (sub_magnitudes): Simplify code a bit.
25947
85bd816a
RM
259482013-02-27 Roland McGrath <roland@hack.frob.com>
25949
25950 * csu/gmon-start.c: Add special exception to license text.
25951
b5977bf2
RH
259522013-02-27 Richard Henderson <rth@redhat.com>
25953
25954 * scripts/config.guess: Update from config.git.
25955 * scripts/config.sub: Likewise.
25956
11d6e2f2
SP
259572013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25958
09c14ed2
SP
25959 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25960
a688864e
SP
25961 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25962
6295157a
SP
25963 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25964
b8de2202
SP
25965 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25966
11d6e2f2
SP
25967 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25968
7e80ddb8
RM
259692013-02-26 Roland McGrath <roland@hack.frob.com>
25970
25971 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25972 [$(build-shared = yes].
7e80ddb8 25973
7da6d9ed
SP
259742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25975
45f05884
SP
25976 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25977 (__mul): Reduce iterations for calculating mantissa.
25978
2236d359
SP
25979 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25980 MPTWO.
25981 (__mpranred): Likewise.
25982
7da6d9ed
SP
25983 [BZ #15160]
25984 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25985 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25986
b7688c42
PE
259872013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25988
25989 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25990 Define __attribute__.
25991
53a5c423
SP
259922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25993
25994 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25995 unused.
25996 * posix/regex_internal.h (__attribute): Remove.
25997 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25998 (re_string_context_at): Likewise.
25999 (bitset_not): Use __attribute__ and mark function as possibly
26000 unused.
26001 (bitset_merge): Likewise.
26002 (bitset_mask): Likewise.
26003 (re_string_char_size_at): Likewise.
26004 (re_string_wchar_at): Likewise.
26005 (re_string_elem_size_at): Likewise.
26006
60f5a8b5
SP
260072013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26008
2a983a2e
SP
26009 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26010 code.
26011 (cc32): Likewise.
26012
e69804d1
SP
26013 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26014 (__acr): Likewise.
26015 (__cpy): Likewise.
26016 (norm): Likewise.
26017 (denorm): Likewise.
26018 (__dbl_mp): Likewise.
26019 (add_magnitudes): Likewise.
26020 (sub_magnitudes): Likewise.
26021 (__mul): Likewise.
26022 (__inv): Likewise.
26023
2f22a1e8
SP
26024 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26025 style.
26026
8930ddc7
SP
26027 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26028 style.
26029
dc60cb11
SP
26030 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26031 code.
26032
60f5a8b5
SP
26033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26034 up changes with default code.
26035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26036 Likewise.
26037
b4d1fd33
AM
260382013-02-24 Allan McRae <allan@archlinux.org>
26039
faf6f8bc
AM
26040 * manual/socket.texi (The Internet Namespace): Order menu items
26041 to match that in the file.
26042
b4d1fd33
AM
26043 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26044 node listing of the info page menu.
26045
2366713d
JM
260462013-02-21 Joseph Myers <joseph@codesourcery.com>
26047
26048 [BZ #13550]
26049 * sysdeps/i386/bp-asm.h: Remove file.
26050 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26051 (PARMS): Do not use macros from bp-asm.h.
26052 (S1): Likewise.
26053 (S2): Likewise.
26054 (SIZE): Likewise.
26055 (__mpn_add_n): Do not use BP_SYM
26056 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26057 "bp-asm.h".
26058 (PARMS): Do not use macros from bp-asm.h.
26059 (S1): Likewise.
26060 (SIZE): Likewise.
26061 (__mpn_addmul_1): Do not use BP_SYM
26062 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26063 "bp-asm.h".
26064 (PARMS): Do not use macros from bp-asm.h.
26065 (SIGMSK): Likewise.
26066 (_setjmp): Likewise. Do not use BP_SYM.
26067 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26068 "bp-asm.h".
26069 (PARMS): Do not use macros from bp-asm.h.
26070 (SIGMSK): Likewise.
26071 (setjmp): Likewise. Do not use BP_SYM.
26072 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26073 "bp-asm.h".
26074 (PARMS): Do not use macros from bp-asm.h.
26075 (__frexp): Do not use BP_SYM.
26076 (frexp): Likewise.
26077 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26078 "bp-asm.h".
26079 (PARMS): Do not use macros from bp-asm.h.
26080 (__frexpf): Do not use BP_SYM.
26081 (frexpf): Likewise.
26082 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26083 "bp-asm.h".
26084 (PARMS): Do not use macros from bp-asm.h.
26085 (__frexpl): Do not use BP_SYM.
26086 (frexpl): Likewise.
26087 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26088 "bp-asm.h".
26089 (PARMS): Do not use macros from bp-asm.h.
26090 (__remquo): Do not use BP_SYM.
26091 (remquo): Likewise.
26092 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26093 "bp-asm.h".
26094 (PARMS): Do not use macros from bp-asm.h.
26095 (__remquof): Do not use BP_SYM.
26096 (remquof): Likewise.
26097 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26098 "bp-asm.h".
26099 (PARMS): Do not use macros from bp-asm.h.
26100 (__remquol): Do not use BP_SYM.
26101 (remquol): Likewise.
26102 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26103 "bp-asm.h".
26104 (PARMS): Do not use macros from bp-asm.h.
26105 (DEST): Likewise.
26106 (SRC): Likewise.
26107 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26108 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26109 "bp-asm.h".
26110 (PARMS): Do not use macros from bp-asm.h.
26111 (strlen): Do not use BP_SYM.
26112 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26113 "bp-asm.h".
26114 (PARMS): Do not use macros from bp-asm.h.
26115 (S1): Likewise.
26116 (S2): Likewise.
26117 (SIZE): Likewise.
26118 (__mpn_add_n): Do not use BP_SYM.
26119 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26120 "bp-asm.h".
26121 (PARMS): Do not use macros from bp-asm.h.
26122 (S1): Likewise.
26123 (SIZE): Likewise.
26124 (__mpn_addmul_1): Do not use BP_SYM.
26125 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26126 weak_alias.
26127 (bzero): Likewise.
26128 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26129 "bp-asm.h".
26130 (PARMS): Do not use macros from bp-asm.h.
26131 (S): Likewise.
26132 (SIZE): Likewise.
26133 (__mpn_lshift): Do not use BP_SYM.
26134 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26135 "bp-asm.h".
26136 (PARMS): Do not use macros from bp-asm.h.
26137 (DEST): Likewise.
26138 (SRC): Likewise.
26139 (LEN): Likewise.
26140 (memcpy): Likewise. Do not use BP_SYM.
26141 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26142 libc_hidden_def and weak_alias.
26143 (mempcpy): Do not use BP_SYM in weak_alias.
26144 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26145 "bp-asm.h".
26146 (PARMS): Do not use macros from bp-asm.h.
26147 (DEST): Likewise.
26148 (LEN): Likewise.
26149 [!BZERO_P] (CHR): Likewise.
26150 (memset): Likewise. Do not use BP_SYM.
26151 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26152 "bp-asm.h".
26153 (PARMS): Do not use macros from bp-asm.h.
26154 (S1): Likewise.
26155 (SIZE): Likewise.
26156 (__mpn_mul_1): Do not use BP_SYM.
26157 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26158 "bp-asm.h".
26159 (PARMS): Do not use macros from bp-asm.h.
26160 (S): Likewise.
26161 (SIZE): Likewise.
26162 (__mpn_rshift): Do not use BP_SYM.
26163 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26164 "bp-asm.h".
26165 (PARMS): Do not use macros from bp-asm.h.
26166 (STR): Likewise.
26167 (CHR): Likewise.
26168 (strchr): Likewise. Do not use BP_SYM.
26169 (index): Do not use BP_SYM in weak_alias.
26170 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26171 "bp-asm.h".
26172 (PARMS): Do not use macros from bp-asm.h.
26173 (DEST): Likewise.
26174 (SRC): Likewise.
26175 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26176 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26177 "bp-asm.h".
26178 (PARMS): Do not use macros from bp-asm.h.
26179 (strlen): Do not use BP_SYM.
26180 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26181 "bp-asm.h".
26182 (PARMS): Do not use macros from bp-asm.h.
26183 (S1): Likewise.
26184 (S2): Likewise.
26185 (SIZE): Likewise.
26186 (__mpn_sub_n): Do not use BP_SYM.
26187 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26188 "bp-asm.h".
26189 (PARMS): Do not use macros from bp-asm.h.
26190 (S1): Likewise.
26191 (SIZE): Likewise.
26192 (__mpn_submul_1): Do not use BP_SYM.
26193 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26194 "bp-asm.h".
26195 (PARMS): Do not use macros from bp-asm.h.
26196 (S1): Likewise.
26197 (S2): Likewise.
26198 (SIZE): Likewise.
26199 (__mpn_add_n): Do not use BP_SYM.
26200 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26201 weak_alias.
26202 (bzero): Likewise.
26203 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26204 "bp-asm.h".
26205 (PARMS): Do not use macros from bp-asm.h.
26206 (BLK2): Likewise.
26207 (LEN): Likewise.
26208 (memcmp): Do not use BP_SYM.
26209 (bcmp): Do not use BP_SYM in weak_alias.
26210 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26211 "bp-asm.h".
26212 (PARMS): Do not use macros from bp-asm.h.
26213 (DEST): Likewise.
26214 (SRC): Likewise.
26215 (LEN): Likewise.
26216 (memcpy): Likewise. Do not use BP_SYM.
26217 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26218 "bp-asm.h".
26219 (PARMS): Do not use macros from bp-asm.h.
26220 (DEST): Likewise.
26221 (SRC): Likewise.
26222 (LEN): Likewise.
26223 (memmove): Likewise. Do not use BP_SYM.
26224 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26225 "bp-asm.h".
26226 (PARMS): Do not use macros from bp-asm.h.
26227 (DEST): Likewise.
26228 (SRC): Likewise.
26229 (LEN): Likewise.
26230 (__mempcpy): Likewise. Do not use BP_SYM.
26231 (mempcpy): Do not use BP_SYM in weak_alias.
26232 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26233 "bp-asm.h".
26234 (PARMS): Do not use macros from bp-asm.h.
26235 (DEST): Likewise.
26236 (LEN): Likewise.
26237 [!BZERO_P] (CHR): Likewise.
26238 (memset): Likewise. Do not use BP_SYM.
26239 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26240 "bp-asm.h".
26241 (PARMS): Do not use macros from bp-asm.h.
26242 (STR2): Likewise.
26243 (strcmp): Do not use BP_SYM.
26244 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26245 "bp-asm.h".
26246 (PARMS): Do not use macros from bp-asm.h.
26247 (STR): Likewise.
26248 (DELIM): Likewise.
26249 [USE_AS_STRTOK_R] (SAVE): Likewise.
26250 (FUNCTION): Likewise. Do not use BP_SYM.
26251 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26252 aliases.
26253 (strtok_r): Likewise.
26254 (__GI___strtok_r): Likewise.
26255 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26256 (PARMS): Do not use macros from bp-asm.h.
26257 (S): Likewise.
26258 (SIZE): Likewise.
26259 (__mpn_lshift): Do not use BP_SYM.
26260 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26261 (PARMS): Do not use macros from bp-asm.h.
26262 (STR): Likewise.
26263 (CHR): Likewise.
26264 (__memchr): Do not use BP_SYM.
26265 (memchr): Do not use BP_SYM in weak_alias.
26266 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26267 (PARMS): Do not use macros from bp-asm.h.
26268 (BLK2): Likewise.
26269 (LEN): Likewise.
26270 (memcmp): Do not use BP_SYM.
26271 (bcmp): Do not use BP_SYM in weak_alias.
26272 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26273 (PARMS): Do not use macros from bp-asm.h.
26274 (S1): Likewise.
26275 (SIZE): Likewise.
26276 (__mpn_mul_1): Do not use BP_SYM.
26277 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26278 "bp-asm.h".
26279 (PARMS): Do not use macros from bp-asm.h.
26280 (STR): Likewise.
26281 (CHR): Likewise.
26282 (__rawmemchr): Do not use BP_SYM.
26283 (rawmemchr): Do not use BP_SYM in weak_alias.
26284 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26285 (PARMS): Do not use macros from bp-asm.h.
26286 (S): Likewise.
26287 (SIZE): Likewise.
26288 (__mpn_rshift): Do not use BP_SYM.
26289 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26290 (PARMS): Do not use macros from bp-asm.h.
26291 (SIGMSK): Likewise.
26292 (__sigsetjmp): Likewise. Do not use BP_SYM.
26293 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26294 (_start): Do not use BP_SYM.
26295 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26296 (PARMS): Do not use macros from bp-asm.h.
26297 (DEST): Likewise.
26298 (SRC): Likewise.
26299 (__stpcpy): Likewise. Do not use BP_SYM.
26300 (stpcpy): Do not use BP_SYM in weak_alias.
26301 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26302 "bp-asm.h".
26303 (PARMS): Do not use macros from bp-asm.h.
26304 (DEST): Likewise.
26305 (SRC): Likewise.
26306 (LEN): Likewise.
26307 (__stpncpy): Likewise. Do not use BP_SYM.
26308 (stpncpy): Do not use BP_SYM in weak_alias.
26309 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26310 (PARMS): Do not use macros from bp-asm.h.
26311 (STR): Likewise.
26312 (CHR): Likewise.
26313 (strchr): Likewise. Do not use BP_SYM.
26314 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26315 "bp-asm.h".
26316 (PARMS): Do not use macros from bp-asm.h.
26317 (STR): Likewise.
26318 (CHR): Likewise.
26319 (__strchrnul): Likewise. Do not use BP_SYM.
26320 (strchrnul): Do not use BP_SYM in weak_alias.
26321 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26322 "bp-asm.h".
26323 (PARMS): Do not use macros from bp-asm.h.
26324 (STOP): Likewise.
26325 (strcspn): Do not use BP_SYM.
26326 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26327 "bp-asm.h".
26328 (PARMS): Do not use macros from bp-asm.h.
26329 (STR): Likewise.
26330 (STOP): Likewise.
26331 (strpbrk): Likewise. Do not use BP_SYM.
26332 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26333 "bp-asm.h".
26334 (PARMS): Do not use macros from bp-asm.h.
26335 (STR): Likewise.
26336 (CHR): Likewise.
26337 (strrchr): Likewise. Do not use BP_SYM.
26338 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26339 (PARMS): Do not use macros from bp-asm.h.
26340 (SKIP): Likewise.
26341 (strspn): Do not use BP_SYM.
26342 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26343 (PARMS): Do not use macros from bp-asm.h.
26344 (STR): Likewise.
26345 (DELIM): Likewise.
26346 (SAVE): Likewise.
26347 (FUNCTION): Likewise. Do not use BP_SYM.
26348 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26349 aliases.
26350 (strtok_r): Likewise.
26351 (__GI___strtok_r): Likewise.
26352 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26353 (PARMS): Do not use macros from bp-asm.h.
26354 (S1): Likewise.
26355 (S2): Likewise.
26356 (SIZE): Likewise.
26357 (__mpn_sub_n): Do not use BP_SYM.
26358 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26359 "bp-asm.h".
26360 (PARMS): Do not use macros from bp-asm.h.
26361 (S1): Likewise.
26362 (SIZE): Likewise.
26363 (__mpn_submul_1): Do not use BP_SYM.
26364 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26365 <bp-sym.h>.
26366 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26367 and <bp-asm.h>.
26368 (PARMS): Do not use macros from bp-asm.h.
26369 (FLAGS): Likewise.
26370 (PTID): Likewise.
26371 (TLS): Likewise.
26372 (CTID): Likewise.
26373 (__clone): Do not use BP_SYM.
26374 (clone): Do not use BP_SYM in weak_alias.
26375 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26376 and <bp-asm.h>.
26377 (PARMS): Do not use macros from bp-asm.h.
26378 (LEN): Likewise.
26379 (__mmap64): Do not use BP_SYM.
26380 (mmap64): Do not use BP_SYM in weak_alias.
26381 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26382 <bp-sym.h> and <bp-asm.h>.
26383 (PARMS): Do not use macros from bp-asm.h.
26384 (__posix_fadvise64_l64): Do not use BP_SYM.
26385 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26386 (PARMS): Do not use macros from bp-asm.h.
26387 (NSOPS): Likewise.
26388 (semtimedop): Do not use BP_SYM.
26389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26390 and <bp-asm.h>.
26391
582a3cff
AM
263922013-02-21 Allan McRae <allan@archlinux.org>
26393
26394 * manual/message.texi (Charset conversion in gettext):
26395 Move @end statement to beginning of line.
26396
bab8a695
SP
263972013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
80945231
SP
26399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26400 static.
26401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26402 Likewise.
26403
bab8a695
SP
26404 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26405 (denorm): Likewise.
26406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26408
e21d7aa7
AK
264092013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26410
26411 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26412 tail-call to the resolved function if pltexit isn't needed.
26413
4c7a4263
SP
264142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26415
26416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26417 or Y being zero as being unlikely.
26418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26419 Likewise.
26420
41f49342
CD
264212013-02-20 Carlos O'Donell <carlos@redhat.com>
26422
26423 * manual/nss.texi (System Databases and Name Service Switch):
26424 Remove frobnicate @pxref.
26425
50022a93
TS
264262013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26427
26428 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26429 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26430
08cbd996
PM
264312013-02-20 Petr Machata <pmachata@redhat.com>
26432
26433 * elf/elf.h (R_ARM_TARGET1): New macro.
26434 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26435 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26436 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26437 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26438 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26439 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26440 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26441 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26442 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26443 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26444 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26445 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26446 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26447 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26448 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26449 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26450 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26451 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26452 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26453 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26454 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26455 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26456 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26457 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26458 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26459 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26460 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26461 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26462 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26463 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26464 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26465 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26466 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26467 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26468 (R_ARM_THM_GOT_BREL12): Likewise.
26469 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26470 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26471 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26472 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26473 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26474 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26475 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26476 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26477 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26478
c7b275d6
TS
264792013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26480
26481 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26482 __attribute_used__ to __attribute__ ((unused)).
26483
20cd7fb3
SP
264842013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26485
26486 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26487 powerpc mpa.c.
26488 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26489 comment formatting.
26490 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26491
92945b52
JM
264922013-02-19 Joseph Myers <joseph@codesourcery.com>
26493
26494 [BZ #13550]
26495 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26496 Remove macro.
26497 (ENTER): Remove both macro definitions.
26498 (LEAVE): Likewise.
26499 (CHECK_BOUNDS_LOW): Likewise.
26500 (CHECK_BOUNDS_HIGH): Likewise.
26501 (CHECK_BOUNDS_BOTH): Likewise.
26502 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26503 (RETURN_BOUNDED_POINTER): Likewise.
26504 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26505 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26506 (POP_ERRNO_LOCATION_RETURN): Likewise.
26507 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26508 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26509 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26510 macros.
26511 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26512 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26513 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26514 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26515 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26516 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26517 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26518 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26519 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26520 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26521 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26522 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26523 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26524 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26525 removed macros.
26526 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26527 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26528 macros.
26529 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26530 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26531 * sysdeps/i386/i586/memset.S (memset): Likewise.
26532 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26533 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26534 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26535 macros.
26536 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26537 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26538 Change uses of L(2) to L(out).
26539 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26540 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26541 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26542 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26543 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26544 removed macros.
26545 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26546 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26547 macros.
26548 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26549 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26550 (RETURN): Do not use macro LEAVE.
26551 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26552 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26553 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26554 * sysdeps/i386/i686/memset.S (memset): Likewise.
26555 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26556 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26557 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26558 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26559 Likewise.
26560 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26561 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26562 L(1_2) and L(1_3) into L(1).
26563 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26564 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26565 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26566 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26567 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26568 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26569 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26570 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26571 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26572 macros.
26573 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26575 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26576 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26577 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26578 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26579 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26580 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26581 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26582 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26583 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26584 * sysdeps/i386/strspn.S (strspn): Likewise.
26585 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26586 conditional code.
26587 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26588 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26589 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26590 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26591 L(1_3) into L(1_1).
26592 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26593 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26594 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26595 macros.
26596 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26597
2389741a
JJ
265982013-02-19 Jakub Jelinek <jakub@redhat.com>
26599
26600 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26601 macro.
26602
2016b3cd
SP
266032013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26604
e4f22324
SP
26605 * math/atest-exp.c (exp_mpn): Remove ROUND.
26606 * math/atest-exp2.c (exp_mpn): Likewise.
26607 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26608
2016b3cd
SP
26609 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26610 * stdlib/tst-tls-atexit-lib.c: Likewise.
26611 * stdlib/tst-tls-atexit.c: Likewise.
26612
4be9b544
MF
266132013-02-18 Mike Frysinger <vapier@gentoo.org>
26614
26615 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26616 and __attribute_alloc_size__.
26617
2f62b9ee
MF
266182013-02-18 Mike Frysinger <vapier@gentoo.org>
26619
26620 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26621 __attribute_alloc_size__.
26622 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26623 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26624
6ff444c4
MF
266252013-02-18 Mike Frysinger <vapier@gentoo.org>
26626
26627 * include/programs/xmalloc.h: New file.
26628 * catgets/gencat.c: Include it.
26629 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26630 * elf/pldd.c: Likewise.
26631 * iconv/iconv_charmap.c: Likewise.
26632 * iconv/iconvconfig.c: Likewise.
26633 * iconv/strtab.c: Likewise.
26634 * locale/programs/locale.c: Likewise.
26635 * locale/programs/localedef.h: Likewise.
26636 * locale/programs/simple-hash.c: Likewise.
26637 * nscd/nscd.h: Likewise.
26638 * nss/makedb.c: Likewise.
26639 * sysdeps/generic/ldconfig.h: Likewise.
26640
be179c8a
SP
266412013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26642
ba384f6e
SP
26643 * Versions.def: Add GLIBC_2.18.
26644 * include/link.h (struct link_map): New member l_tls_dtor_count.
26645 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26646 (__call_tls_dtors): Likewise.
26647 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26648 __cxa_thread_atexit_impl.
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26650 Likewise.
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26652 Likewise.
26653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26654 Likewise.
26655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26656 Likewise.
26657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26659 Likewise.
26660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26661 Likewise.
26662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26663 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26664 Likewise.
26665 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26666 (tests): Add test case tst-tls-atexit.
26667 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26668 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26669 (GLIBC_PRIVATE): Add __call_tls_dtors.
26670 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26671 for libstdc++.
26672 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26673 * stdlib/tst-tls-atexit.c: New test case.
26674 * stdlib/tst-tls-atexit-lib.c: New test case.
26675
ffaa74cf 26676 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26677
be179c8a
SP
26678 * elf/Versions (ld): Add _dl_find_dso_for_object.
26679 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26680 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26681 (dl_open_worker): Use _dl_find_dso_for_object.
26682 * elf/dl-sym.c (do_sym): Likewise.
26683 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26684
f78b5caa
AK
266852013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26686
26687 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26688 Syntactic changes only.
26689 (_dl_runtime_profile): Do a tail-call to the resolved function.
26690
29691210
JM
266912013-02-17 Joseph Myers <joseph@codesourcery.com>
26692
26693 [BZ #13550]
26694 * sysdeps/x86_64/bp-asm.h: Remove file.
26695 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26696 <bp-sym.h> and <bp-asm.h>.
26697 (__clone): Do not use BP_SYM.
26698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26699 <bp-sym.h> and <bp-asm.h>.
26700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26701 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26702 "bp-asm.h".
26703 (_setjmp): Do not use BP_SYM.
26704 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26705 "bp-asm.h".
26706 (setjmp): Do not use BP_SYM.
26707 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26708 libc_hidden_def.
26709 (mempcpy): Do not use BP_SYM in weak_alias.
26710 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26711 "bp-asm.h".
26712 (strchr): Do not use BP_SYM.
26713 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26714 "bp-asm.h".
26715 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26716 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26717 (_start): Do not use BP_SYM.
26718 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26719 "bp-asm.h".
26720 (strcat): Do not use BP_SYM.
26721 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26722 "bp-asm.h".
26723 (STRCMP): Do not use BP_SYM.
26724 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26725 "bp-asm.h".
26726 (STRCPY): Do not use BP_SYM.
26727 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26728 "bp-asm.h".
26729 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26730 "bp-asm.h".
26731 (FUNCTION): Do not use BP_SYM.
26732 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26733 weak_alias.
26734 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26735
f238fd19
AJ
267362013-02-17 Andreas Jaeger <aj@suse.de>
26737
26738 * time/Versions: Sort entries.
26739 * string/Versions: Likewise.
26740 * resolv/Versions: Likewise.
26741 * posix/Versions: Likewise.
26742 * iconv/Versions: Likewise.
26743 * elf/Versions: Likewise.
26744 * wcsmbs/Versions: Likewise.
26745
bd07f23c 267462013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26747
22af19f9
SP
26748 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26749 loop termination condition.
26750
4709fe76
SP
26751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26752 variable to calculate EZ.
26753 (__sqr): Likewise.
2d0e0f29
SP
26754
26755 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26756 the lower precision input.
26757
daaa7713
JM
267582013-02-15 Joseph Myers <joseph@codesourcery.com>
26759
26760 [BZ #13550]
26761 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26762 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26763 (run-via-rtld-prefix): Do not handle %-bp tests.
26764 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26765 (all-object-suffixes): Remove .ob.
26766 (bppfx): Remove variable.
26767 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26768 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26769 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26770 [$(build-bounded) = yes] (libtype.ob): Likewise.
26771 * Makerules (elide-routines.ob): Remove variable.
26772 (do-tests-clean): Do not handle *-bp.out.
26773 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26774 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26775 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26776 (tests): Do not include $(tests-bp.out).
26777 (xtests): Do not include $(xtests-bp.out).
26778 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26779 [$(build-bounded) = yes] ($(addprefix
26780 $(objpfx),$(binaries-bounded))): Remove rule.
26781 ($(objpfx)%-bp.out): Remove rule.
26782 * config.make.in (build-bounded): Remove variable.
26783 * crypt/Makefile [$(build-bounded) = yes]
26784 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26785 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26786 append to variable.
26787 [$(build-bounded) = yes] (install-lib): Likewise.
26788 [$(build-bounded) = yes] (generated): Likewise.
26789 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26790 Remove rule.
26791 * intl/Makefile [$(build-bounded) = yes]
26792 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26793 * math/Makefile [$(build-bounded) = yes]
26794 ($(tests:%=$(objpfx)%-bp): Likewise.
26795 * misc/Makefile [$(build-bounded) = yes]
26796 ($(objpfx)tst-tsearch-bp): Likewise.
26797 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26798 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26799 Remove dependency.
26800 * string/Makefile (o-objects.ob): Remove variable.
26801 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26802 (CFLAGS-.ob): Remove variable.
26803 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26804 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26805 both definitions of variable.
26806 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26807 (ASFLAGS-.ob): Remove variable.
26808
e97ed6dd
JM
268092013-02-14 Joseph Myers <joseph@codesourcery.com>
26810
2bdd4ca6
JM
26811 [BZ #13550]
26812 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26813 Remove __BOUNDED_POINTERS__ from condition.
26814 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26815 * string/bits/string2.h [!__NO_STRING_INLINES &&
26816 !__BOUNDED_POINTERS__]: Likewise.
26817 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26818 Likewise.
26819 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26820 Remove conditional code.
26821 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26822 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26823 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26824 condition.
26825
e97ed6dd
JM
26826 [BZ #13550]
26827 * csu/libc-start.c: Do not include <bp-sym.h>.
26828 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26829 * elf/dl-open.c: Do not include <bp-sym.h>.
26830 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26831 * math/fegetenv.c: Do not include <bp-sym.h>.
26832 (fegetenv): Do not use BP_SYM in versioned symbols.
26833 * nptl/sysdeps/pthread/bits/libc-lockP.h
26834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26835 <bp-sym.h>.
26836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26837 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26839 (__pthread_mutex_destroy): Likewise.
26840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26841 (__pthread_mutex_lock): Likewise.
26842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26843 (__pthread_mutex_trylock): Likewise.
26844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26845 (__pthread_mutex_unlock): Likewise.
26846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26847 (__pthread_mutexattr_init): Likewise.
26848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26849 (__pthread_mutexattr_destroy): Likewise.
26850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26851 (__pthread_mutexattr_settype): Likewise.
26852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26853 (__pthread_rwlock_init): Likewise.
26854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26855 (__pthread_rwlock_destroy): Likewise.
26856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26857 (__pthread_rwlock_rdlock): Likewise.
26858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26859 (__pthread_rwlock_tryrdlock): Likewise.
26860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26861 (__pthread_rwlock_wrlock): Likewise.
26862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26863 (__pthread_rwlock_trywrlock): Likewise.
26864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26865 (__pthread_rwlock_unlock): Likewise.
26866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26867 (__pthread_key_create): Likewise.
26868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26869 (__pthread_setspecific): Likewise.
26870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26871 (__pthread_getspecific): Likewise.
26872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26873 Likewise.
26874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26875 (_pthread_cleanup_push_defer): Likewise.
26876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26877 (_pthread_cleanup_pop_restore): Likewise.
26878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26879 (pthread_setcancelstate): Likewise.
26880 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26881 <bp-sym.h>.
26882 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26883 (memchr): Do not use BP_SYM in weak_alias.
26884 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26885 (fegetenv): Do not use BP_SYM in versioned symbols.
26886 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26887 (fesetenv): Do not use BP_SYM in versioned symbols.
26888 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26889 (feupdateenv): Do not use BP_SYM in versioned symbols.
26890 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26891 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26892 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26893 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26894 (open64): Do not use BP_SYM in weak_alias.
26895 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26896 (fegetenv): Do not use BP_SYM in versioned symbols.
26897 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26898 (fesetenv): Do not use BP_SYM in versioned symbols.
26899 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26900 (feupdateenv): Do not use BP_SYM in versioned symbols.
26901 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26902 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26903 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26904 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26905 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26906 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26907 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26908 <bp-sym.h>.
26909 (__libc_start_main): Do not use BP_SYM.
26910
d6752ccd
SP
269112013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26912
cb57ce60
SP
26913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26914 redundant return line.
26915 (norm): Likewise.
26916 (denorm): Likewise.
26917 (dbl_mp): Likewise.
26918 (sub_magnitudes): Likewise.
26919 (__add): Likewise.
26920 (__sub): Likewise.
26921 (__mul): Likewise.
26922 (__inv): Likewise.
26923 (__dvd): Likewise.
26924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26925 (norm): Likewise.
26926 (denorm): Likewise.
26927 (dbl_mp): Likewise.
26928 (sub_magnitudes): Likewise.
26929 (__add): Likewise.
26930 (__sub): Likewise.
26931 (__mul): Likewise.
26932 (__inv): Likewise.
26933 (__dvd): Likewise.
26934
f414520d
SP
26935 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26936 instead of __mul.
26937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26938 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26939 (cc32): Likewise.
26940
d6752ccd
SP
26941 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26942 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26944 of __mul for squares.
26945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26946 function
26947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26948 Likewise.
26949 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26950 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26951
70d9946a
JM
269522013-02-13 Joseph Myers <joseph@codesourcery.com>
26953
26954 [BZ #13550]
26955 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26956 code.
26957 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26958 prototype or function definition. Rename ubp_* variables and
26959 parameters. Remove argv definitions conditional on
26960 [__BOUNDED_POINTERS__].
26961 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26962 * elf/dl-runtime.c (_dl_fixup): Likewise.
26963 * include/set-hooks.h (RUN_HOOK): Likewise.
26964 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26965 definition.
26966 * string/strcpy.c (strcpy): Do not use __unbounded.
26967 * sysdeps/generic/frame.h (struct layout): Likewise.
26968 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26969 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26970 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26971 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26972 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26973 (__backtrace): Likewise.
26974 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26975 use __ptrvalue.
26976 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26977 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26978 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26979 Likewise.
26980 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26981 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26982 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26983 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26984 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26985 Do not use __unbounded.
26986 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26987 Rename __unboundedrlimits parameter to rlimits in prototype.
26988 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26989 Do not use __unbounded.
26990 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26991 not use __ptrvalue.
26992 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26993 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26994 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26995 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26996 __ptrvalue or __unbounded.
26997 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26998 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26999 use __unbounded.
27000 (__new_msgctl): Do not use __ptrvalue.
27001 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27002 __unbounded.
27003 (__libc_msgrcv): Do not use __ptrvalue.
27004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27005 startup_info): Do not use __unbounded.
27006 (__libc_start_main): Likewise. Rename ubp_* variables and
27007 parameters. Remove argv definitions conditional on
27008 [__BOUNDED_POINTERS__].
27009 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27010 __ptrvalue.
27011 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27012 use __unbounded.
27013 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27014 or __ptrvalue.
27015 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27016 use __unbounded.
27017 (__new_shmctl): Do not use __ptrvalue.
27018 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27019 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27020 Likewise.
27021 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27023 (__libc_sigaction): Likewise.
27024 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27025 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27026 Likewise.
27027 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27028
cc7834d6
OB
270292013-02-13 Ondřej Bílka <neleai@seznam.cz>
27030
ffb1ec7b 27031 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27032
27033 * string/mempcpy.c: Implement by calling memcpy.
27034
bdf02814
SP
270352013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27036
c2af38aa
SP
27037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27038
4e92d59e
SP
27039 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27040 evaluation.
27041
909279a5
SP
27042 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27043 values in the mantissa.
27044
bdf02814
SP
27045 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27046 minimize writes to Z.
27047 (sub_magnitudes): Simplify code a bit.
27048
cd525923
RM
270492013-02-12 Roland McGrath <roland@hack.frob.com>
27050
27051 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27052 from the message. The linker prefixes all warnings with that already.
27053
7e2f0d2d
AS
270542013-02-12 Andreas Schwab <schwab@suse.de>
27055
a445af0b
AS
27056 [BZ #15078]
27057 * posix/regexec.c (extend_buffers): Add parameter min_len.
27058 (check_matching): Pass minimum needed length.
27059 (clean_state_log_if_needed): Likewise.
27060 (get_subexp): Likewise.
27061 * posix/Makefile (tests): Add bug-regex34.
27062 (bug-regex34-ENV): Define.
27063 * posix/bug-regex34.c: New file.
27064
7e2f0d2d
AS
27065 [BZ #11561]
27066 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27067 elements compare against the byte sequence of it, not its name.
27068 * posix/Makefile (tests): Add bug-regex35.
27069 (bug-regex35-ENV): Define.
27070 * posix/bug-regex35.c: New file.
27071
a175b684
TV
270722013-02-11 Tom de Vries <tom@codesourcery.com>
27073
27074 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27075 comment.
27076 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27077 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27078 (CHECK_EOL): Add undef.
27079
310998fe 270802013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27081
27082 * bits/stdlib-bsearch.h: New file.
27083 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27084 * stdlib/stdlib.h: Likewise.
41eda41d 27085
8ded91fb
RM
270862013-02-11 Roland McGrath <roland@hack.frob.com>
27087
27088 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27089 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27090 declaration.
27091 * manual/search.texi (Array Search Function): Add missing const in
27092 lfind prototype.
27093 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27094 declaration to use rlim_t.
27095 (Basic Scheduling Functions): Remove erroneous const from
27096 sched_getparam prototype. Remove erroneous * from
27097 sched_get_priority_max and sched_get_priority_min prototypes.
27098 (Resource Usage): Fix summary @comment on vtimes to refer to
27099 sys/vtimes.h rather than vtimes.h.
27100 Add missing *s in vtimes prototype.
27101 (Limits on Resources): Fix ulimit prototype to return long int.
27102 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27103 prototypes to use long int rather than double.
27104 (BSD Random): Fix initstate and setstate to use char *, not void *.
27105 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27106 prototype to make second argument 'struct aiocb64 *const[]'.
27107 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27108 (Status of AIO Operations): Remove erroneous const in aio_return and
27109 aio_return64 prototypes.
27110 (Synchronizing I/O): Fix sync prototype to return void.
27111 * manual/startup.texi (Suboptions): Remove an erroneous const in
27112 getsubopt prototype.
27113 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27114 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27115 use size_t rather than int.
27116 (Scanning All Users): Likewise for getpwent_r.
27117 (Setting Groups): Add missing const to setgroups prototype.
27118 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27119 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27120 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27121 'const void *' rather than 'const char *'.
27122 (Host Address Functions): Likewise for inet_ntop.
27123 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27124 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27125 ssize_t for return value.
27126 (Sending Data): Likewise for send, sendto, sendmsg.
27127 (Socket Option Functions): Add a missing const in setsockopt prototype.
27128 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27129 use wchar_t for the argument.
27130 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27131 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27132 take no arguments.
27133 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27134 double/float/long double for second argument.
27135 Fix return types of significand, significandf, significandl.
27136 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27137 argument in fchmod prototype.
27138 (File Owner): Use uid_t and gid_t in fchown prototype.
27139 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27140 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27141 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27142 use 'const struct dirent **' as argument types to CMP function pointer
27143 argument.
27144 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27145 (File Times): Fix summary magic @comment for struct utimbuf and utime
27146 to refer to utime.h, not time.h.
27147 * manual/string.texi (Argz Functions): Add missing const in
27148 argz_extract and argz_next prototypes.
27149 (Finding Tokens in a String): Likewise for basename.
27150 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27151 (Copying and Concatenation): Fix typo in wmemmove prototype.
27152 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27153 (Signal Stack): Remove erroneous const in sigstack prototype.
27154 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27155 prototype.
27156 (Simple Calendar Time): Likewise for stime.
27157 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27158 prototype.
27159 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27160 say sys/sysctl.h instead.
27161 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27162 and vsyslog prototypes.
27163
fe77fe6d
TV
271642013-02-11 Tom de Vries <tom@codesourcery.com>
27165
27166 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27167 Remove.
27168
3a09b620
RM
271692013-02-11 Roland McGrath <roland@hack.frob.com>
27170
27171 * misc/sys/mman.h: Fix typo in mremap comment.
27172
550a0b89
RM
271732013-02-08 Roland McGrath <roland@hack.frob.com>
27174
27175 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27176 the '\0' terminator.
27177
a2da1673
JM
271782013-02-08 Joseph Myers <joseph@codesourcery.com>
27179
27180 [BZ #13550]
27181 * debug/segfault.c: Don't include <bp-checks.h>.
27182 * sysdeps/generic/bp-checks.h: Remove file.
27183 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27184 (__GETDENTS): Don't use CHECK_N.
27185 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27186 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27187 (__getgroups): Don't use CHECK_N.
27188 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27189 (setgroups): Don't use CHECK_N.
27190 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27191 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27192 (__libc_msgrcv): Don't use CHECK_N.
27193 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27194 (__libc_msgsnd): Don't use CHECK_N.
27195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27196 <bp-checks.h>.
27197 (__libc_pread): Don't use CHECK_N.
27198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27199 include <bp-checks.h>.
27200 (__libc_pread64): Don't use CHECK_N.
27201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27202 include <bp-checks.h>.
27203 (__libc_pwrite): Don't use CHECK_N.
27204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27205 include <bp-checks.h>.
27206 (__libc_pwrite64): Don't use CHECK_N.
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27208 <bp-checks.h>.
27209 (__libc_pread): Don't use CHECK_N.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27211 include <bp-checks.h>.
27212 (__libc_pread64): Don't use CHECK_N.
27213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27214 include <bp-checks.h>.
27215 (__libc_pwrite): Don't use CHECK_N.
27216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27217 include <bp-checks.h>.
27218 (__libc_pwrite64): Don't use CHECK_N.
27219 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27220 (do_pread): Don't use CHECK_N.
27221 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27222 (do_pread64): Don't use CHECK_N.
27223 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27224 (do_pwrite): Don't use CHECK_N.
27225 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27226 (do_pwrite64): Don't use CHECK_N.
27227 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27228 (__libc_readv): Don't use CHECK_N.
27229 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27230 (semop): Don't use CHECK_N.
27231 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27232 <bp-checks.h>.
27233 (semtimedop): Don't use CHECK_N.
27234 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27235 (__libc_pread): Don't use CHECK_N.
27236 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27237 <bp-checks.h>.
27238 (__libc_pread64): Don't use CHECK_N.
27239 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27240 <bp-checks.h>.
27241 (__libc_pwrite): Don't use CHECK_N.
27242 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27243 <bp-checks.h>.
27244 (__libc_pwrite64): Don't use CHECK_N.
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27246 <bp-checks.h>.
27247 (__libc_msgrcv): Don't use CHECK_N.
27248 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27249 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27250 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27251 (__libc_writev): Don't use CHECK_N.
27252
b84660a8
RM
272532013-02-08 Roland McGrath <roland@hack.frob.com>
27254
7f3e75f8
RM
27255 * string/strcpy.c: Removed unused variable.
27256
b84660a8
RM
27257 * Makeconfig (+sysdep-includes): Define with := rather than =.
27258 Use an existing include/ subdir of each sysdeps dir before it.
27259
471514d3
CD
272602013-02-08 Carlos O'Donell <carlos@redhat.com>
27261
27262 * nscd/connection.c (register_traced_file): Comment function.
27263 [HAVE_INOTIFY] (union __inev): Define.
27264 [HAVE_INOTIFY] (inotify_check_files): New function.
27265 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27266 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27267 clear_db_cache.
27268 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27269
b2d3c3be
CD
272702013-02-08 Carlos O'Donell <carlos@redhat.com>
27271
27272 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27273 loaded if not already and that a failure is permanent.
27274
b39949d2
CD
272752013-02-08 Carlos O'Donell <carlos@redhat.com>
27276
ddacd1db 27277 [BZ #15006]
b39949d2
CD
27278 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27279 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27280
b2c9eff4
JM
272812013-02-08 Joseph Myers <joseph@codesourcery.com>
27282
f3aae3f3
JM
27283 [BZ #13550]
27284 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27285 (CHECK_1_NULL_OK): Likewise.
27286 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27287 (__fxstat): Do not use CHECK_1.
27288 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27289 <bp-checks.h>.
27290 (___fxstat64): Do not use CHECK_1.
27291 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27292 <bp-checks.h>.
27293 (__fxstatat): Do not use CHECK_1.
27294 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27295 <bp-checks.h>.
27296 (__fxstatat64): Do not use CHECK_1.
27297 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27298 <bp-checks.h>.
27299 (__fxstat): Do not use CHECK_1.
27300 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27301 <bp-checks.h>.
27302 (__fxstatat): Do not use CHECK_1.
27303 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27304 <bp-checks.h>.
27305 (__getresgid): Do not use CHECK_1.
27306 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27307 <bp-checks.h>.
27308 (__getresuid): Do not use CHECK_1.
27309 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27310 <bp-checks.h>.
27311 (__lxstat): Do not use CHECK_1.
27312 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27313 <bp-checks.h>.
27314 (__old_msgctl): Do not use CHECK_1.
27315 (__new_msgctl): Likewise.
27316 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27317 <bp-checks.h>.
27318 (__new_setrlimit): Do not use CHECK_1.
27319 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27320 <bp-checks.h>.
27321 (__old_shmctl): Do not use CHECK_1.
27322 (__new_shmctl): Likewise.
27323 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27324 <bp-checks.h>.
27325 (__xstat): Do not use CHECK_1.
27326 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27327 (__lxstat): Do not use CHECK_1.
27328 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27329 <bp-checks.h>.
27330 (___lxstat64): Do not use CHECK_1.
27331 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27332 (__old_msgctl): Do not use CHECK_1.
27333 (__new_msgctl): Likewise.
27334 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27335 <bp-checks.h>.
27336 (__gettimeofday): Do not use CHECK_1.
27337 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27338 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27339 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27340 <bp-checks.h>.
27341 (__gettimeofday): Do not use CHECK_1.
27342 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27343 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27344 (__new_shmctl): Do not use CHECK_1.
27345 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27346 <bp-checks.h>.
27347 (do_sigtimedwait): Do not use CHECK_1.
27348 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27349 <bp-checks.h>.
27350 (do_sigwaitinfo): Do not use CHECK_1.
27351 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27352 <bp-checks.h>.
27353 (msgctl): Do not use CHECK_1.
27354 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27355 <bp-checks.h>.
27356 (shmctl): Do not use CHECK_1.
27357 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27358 (ustat): Do not use CHECK_1.
27359 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27360 <bp-checks.h>.
27361 (__fxstat): Do not use CHECK_1.
27362 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27363 <bp-checks.h>.
27364 (__fxstatat): Do not use CHECK_1.
27365 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27366 <bp-checks.h>.
27367 (__lxstat): Do not use CHECK_1.
27368 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27369 <bp-checks.h>.
27370 (__xstat): Do not use CHECK_1.
27371 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27372 (__xstat): Do not use CHECK_1.
27373 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27374 (___xstat64): Do not use CHECK_1.
27375
b2c9eff4
JM
27376 [BZ #13550]
27377 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27378 definitions.
27379 (CHECK_BOUNDS_HIGH): Likewise.
27380 * string/strcpy.c: Do not include <bp-checks.h>.
27381 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27382
f1d70dad
RM
273832013-02-07 Roland McGrath <roland@hack.frob.com>
27384
27385 * nscd/nscd-client.h (__nscd_drop_map_ref):
27386 Add __attribute__ ((unused)).
27387 * nis/nss-nisplus.h (niserr2nss): Likewise.
27388
27389 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27390 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27391
27392 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27393 Remove inline keyword.
27394 * include/rounding-mode.h (round_away): Likewise.
27395 * libio/wfileops.c (adjust_wide_data): Likewise.
27396 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27397 (__m128i_strloadu_tolower): Likewise.
27398 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27399 (__m128i_strloadu_tolower): Likewise.
27400 * time/mktime.c (ydhms_diff): Likewise.
27401 * locale/elem-hash.h (elem_hash): Likewise.
27402 * locale/setlocale.c (setdata): Likewise.
27403 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27404 (re_string_wchar_at): Likewise.
27405 (bitset_not, bitset_merge, bitset_mask): Likewise.
27406 [!(__GNUC__ > 3)] (inline): Remove macro.
27407 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27408 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27409 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27410 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27411 * string/memcmp.c (memcmp_bytes): Likewise.
27412 * locale/programs/locarchive.c (compute_hashval): Likewise.
27413 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27414 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27415 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27416 * nss/getent.c (print_rpc, print_protocols): Likewise.
27417 (print_passwd, print_group, print_aliases): Likewise.
27418 * nis/nss-nisplus.h (niserr2nss): Likewise.
27419 * nscd/connections.c (restart_p): Likewise.
27420 Change return type to bool.
27421
eab55bfb
RM
274222013-02-05 Roland McGrath <roland@hack.frob.com>
27423
7bd642f5
RM
27424 * Makeconfig (all-Depend-files): Add existing
27425 $(sorted-subdirs:=/Depend) files.
27426 (all-subdirs): Remove nss.
27427 * sysdeps/unix/inet/Subdirs: Add it here instead.
27428 * hesiod/Depend: New file.
27429
573c29b2
RM
27430 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27431 instead of calling alloca.
27432
b2e25af0
RM
27433 * io/lseek.c (__lseek): Rename to __libc_lseek.
27434 Define __lseek as an alias.
27435
eab55bfb
RM
27436 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27437
9a0d1941
CD
274382013-02-04 Carlos O'Donell <carlos@redhat.com>
27439
27440 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27441 else clause and remove check for non-standard endianness.
27442
b83bbec4
DM
274432013-02-04 David S. Miller <davem@davemloft.net>
27444
27445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27446
6277fdab
JM
274472013-02-04 Joseph Myers <joseph@codesourcery.com>
27448
27449 [BZ #13550]
27450 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27451 (__ubp_memchr): Remove prototype.
27452 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27453 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27454 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27455 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27456 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27457 Remove alias.
27458 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27459 (__ubp_memchr): Likewise.
27460 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27461 (__ubp_memchr): Likewise.
27462 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27463 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27464 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27465 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27466 CHECK_STRING.
27467 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27468 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27469 (__getcwd): Do not use CHECK_STRING.
27470 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27471 <bp-checks.h>.
27472 (__real_chown): Do not use CHECK_STRING.
27473 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27474 <bp-checks.h>.
27475 (fchownat): Do not use CHECK_STRING.
27476 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27477 CHECK_STRING.
27478 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27479 <bp-checks.h>.
27480 (__lchown): Do not use CHECK_STRING.
27481 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27482 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27483 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27484 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27486 include <bp-checks.h>.
27487 (truncate64): Do not use CHECK_STRING.
27488 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27489 <bp-checks.h>.
27490 (__real_chown): Do not use CHECK_STRING.
27491 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27492 <bp-checks.h>.
27493 (__lchown): Do not use CHECK_STRING.
27494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27495 <bp-checks.h>.
27496 (__chown): Do not use CHECK_STRING.
27497 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27498 <bp-checks.h>.
27499 (truncate64): Do not use CHECK_STRING.
27500 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27501 Likewise.
27502 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27503 (__xmknod): Do not use CHECK_STRING.
27504 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27505 <bp-checks.h>.
27506 (__xmknodat): Do not use CHECK_STRING.
27507 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27508 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27509
903ae060
AS
275102013-02-04 Andreas Schwab <schwab@suse.de>
27511
27512 [BZ #14142]
27513 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27514 * include/netdb.h: Likewise for h_errno.
27515 * elf/tst-stackguard1.c: Include <tls.h>.
27516
542f9466
JK
275172013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27518
27519 * elf/link.h (struct link_map): Extend the l_addr comment.
27520 * include/link.h (struct link_map): Likewise.
27521
e782a927
JM
275222013-02-01 Joseph Myers <joseph@codesourcery.com>
27523
27524 [BZ #13550]
27525 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27526 (BOUNDED_1): Remove macro.
27527 * debug/backtrace.c: Don't include <bp-checks.h>.
27528 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27529 (__backtrace): Likewise.
27530 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27531 <bp-checks.h>.
27532 (__backtrace): Don't use BOUNDED_1.
27533 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27534 <bp-checks.h>.
27535 (__backtrace): Don't use BOUNDED_1.
27536 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27537 (__backtrace): Don't use BOUNDED_1.
27538 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27539 (shmat): Don't use BOUNDED_N.
27540
8cf28c5e
JM
275412013-01-31 Joseph Myers <joseph@codesourcery.com>
27542
3a7ac8a0
JM
27543 [BZ #13550]
27544 * sysdeps/generic/bp-start.h: Remove file.
27545 * csu/libc-start.c: Don't include <bp-start.h>.
27546 (LIBC_START_MAIN): Set up __environ directly instead of using
27547 INIT_ARGV_and_ENVIRON.
27548 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27549 <bp-start.h>.
27550
f3499f95
JM
27551 [BZ #13550]
27552 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27553 definitions.
27554 (CHECK_FCNTL): Likewise.
27555 (CHECK_N_PAGES): Likewise.
27556
32a45bea
JM
27557 [BZ #13550]
27558 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27559 definitions.
27560 (CHECK_SIGSET_NULL_OK): Likewise.
27561 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27562 <bp-checks.h>.
27563 (sigpending): Don't use CHECK_SIGSET.
27564 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27565 <bp-checks.h>.
27566 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27567 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27568 <bp-checks.h>.
27569 (do_sigsuspend): Don't use CHECK_SIGSET.
27570 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27571 use CHECK_SIGSET.
27572 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27573 (do_sigwait): Don't use CHECK_SIGSET.
27574 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27575 use CHECK_SIGSET.
27576 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27577 include <bp-checks.h>.
27578 (sigpending): Don't use CHECK_SIGSET.
27579 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27580 include <bp-checks.h>.
27581 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27582 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27583 <bp-checks.h>.
27584 (sigpending): Don't use CHECK_SIGSET.
27585 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27586 <bp-checks.h>.
27587 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27588
2e8a5c8c
JM
27589 [BZ #13550]
27590 * sysdeps/generic/bp-semctl.h: Remove file.
27591 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27592 <bp-checks.h> and <bp-semctl.h>.
27593 (__old_semctl): Don't use CHECK_SEMCTL.
27594 (__new_semctl): Likewise.
27595 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27596 and <bp-semctl.h>.
27597 (__old_semctl): Don't use CHECK_SEMCTL.
27598 (__new_semctl): Likewise.
27599 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27600 <bp-checks.h> and <bp-semctl.h>.
27601 (__old_semctl): Don't use CHECK_SEMCTL.
27602 (__new_semctl): Likewise.
27603 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27604 <bp-checks.h> and <bp-semctl.h>.
27605 (semctl): Don't use CHECK_SEMCTL.
27606
c2d54929
JM
27607 [BZ #13550]
27608 * Makerules (elide-bp-thunks): Remove variable.
27609 (elide-routines.oS): Don't use $(elide-bp-thunks).
27610 (elide-routines.os): Likewise.
27611 (elide-routines.o): Likewise.
27612 (elide-routines.op): Likewise.
27613 (elide-routines.og): Likewise.
27614 (objects): Don't use $(bp-thunks).
27615 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27616 include.
27617 (common-generated): Do not add s-proto-bp.d.
27618 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27619 (int): Likewise.
27620 (typ): Likewise.
27621 Do not generate makefile rules for bounded-pointer thunks.
27622 * sysdeps/generic/bp-thunks.h: Remove file.
27623 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27624 * sysdeps/unix/s-proto-bp.S: Likewise.
27625
8cf28c5e
JM
27626 [BZ #15062]
27627 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27628 parts of result separately when argument is not close to line from
27629 -i to i and one part of argument is small.
27630 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27631 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27632 * math/libm-test.inc (cacos_test): Add more tests.
27633 (casin_test): Likewise.
27634 (casinh_test): Likewise.
27635 * sysdeps/i386/fpu/libm-test-ulps: Update.
27636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27637
c4e33b8d
DM
276382013-01-31 David S. Miller <davem@davemloft.net>
27639
27640 * po/de.po: Update from translation team.
27641
3b60b421
MK
276422013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27643
27644 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27645
bb931195
TS
276462013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27647
b5a5da23
TS
27648 * configure.in (_AC_PROG_CC_C89): New definition.
27649 * configure: Regenerate.
27650
bb931195
TS
27651 * configure.in (AC_PROG_CPP): New definition.
27652 * configure: Regenerate.
27653
8c53a12c
JM
276542013-01-23 Joseph Myers <joseph@codesourcery.com>
27655
27656 * debug/tst-backtrace.h: New file.
27657 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27658 (ret): Remove variable.
27659 (x): Likewise.
27660 (FAIL): Remove macro.
27661 (NO_INLINE): Likewise.
27662 (fn1): Use match function instead of strstr.
27663 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27664 (ret): Remove variable.
27665 (x): Likewise.
27666 (FAIL): Remove macro.
27667 (NO_INLINE): Likewise.
27668 (fn): Use match function instead of strstr.
27669 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27670 (ret): Remove variable.
27671 (x): Likewise.
27672 (FAIL): Remove macro.
27673 (NO_INLINE): Likewise.
27674 (handle_signal): Use match function instead of strstr.
27675 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27676 (ret): Remove variable.
27677 (x): Likewise.
27678 (FAIL): Remove macro.
27679 (NO_INLINE): Likewise.
27680 (handle_signal): Use match function instead of strstr.
27681
4858fa2a
RM
276822013-01-23 Roland McGrath <roland@hack.frob.com>
27683
27684 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27685
bae8e7f5
DM
276862013-01-23 David S. Miller <davem@davemloft.net>
27687
27688 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27689 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27690 argument of CAS if possible.
27691 * sysdeps/sparc/sparc64/bits/atomic.h
27692 (__arch_compare_and_exchange_val_32_acq): Likewise.
27693 (__arch_compare_and_exchange_val_64_acq): Likewise.
27694
9cbbc4ae
PT
276952013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27696
27697 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27698 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27699 Include <limits.h>.
67b3f58c 27700 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27701
5655a0b5
AC
277022013-01-23 Adam Conrad <adconrad@0c3.net>
27703
27704 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27705 (LDFLAGS-tst-array5): Likewise.
27706
052aff95
JM
277072013-01-23 Joseph Myers <joseph@codesourcery.com>
27708
27709 [BZ #15036]
27710 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27711 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27712 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27713 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27714
7c1e01aa
DM
277152013-01-21 David S. Miller <davem@davemloft.net>
27716
27717 * sysdeps/sparc/backtrace.c: New file.
27718 * sysdeps/sparc/sparc32/backtrace.h: New file.
27719 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27720 * sysdeps/sparc/sparc64/backtrace.h: New file.
27721 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27722 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27723 -funwind-tables.
27724
ab087e0a
AS
277252013-01-21 Andreas Schwab <schwab@suse.de>
27726
27727 [BZ #15020]
27728 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27729 closed its stdout.
27730
ed689c2f
AS
277312013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27732
27733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27734 "mpa2.h".
27735 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27736
31d470ac
JM
277372013-01-18 Joseph Myers <joseph@codesourcery.com>
27738 Mark Mitchell <mark@codesourcery.com>
27739 Tom de Vries <tom@codesourcery.com>
27740 Paul Pluzhnikov <ppluzhnikov@google.com>
27741
27742 * debug/tst-backtrace2.c: New file.
27743 * debug/tst-backtrace3.c: Likewise.
27744 * debug/tst-backtrace4.c: Likewise.
27745 * debug/tst-backtrace5.c: Likewise.
27746 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27747 (CFLAGS-tst-backtrace3.c): Likewise.
27748 (CFLAGS-tst-backtrace4.c): Likewise.
27749 (CFLAGS-tst-backtrace5.c): Likewise.
27750 (LDFLAGS-tst-backtrace2): Likewise.
27751 (LDFLAGS-tst-backtrace3): Likewise.
27752 (LDFLAGS-tst-backtrace4): Likewise.
27753 (LDFLAGS-tst-backtrace5): Likewise.
27754 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27755 tst-backtrace4 and tst-backtrace5.
27756
90567f30 277572013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27758 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27759
27760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27761 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27762 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27763 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27765 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27766 "+r" and remove output regs list as redundant. Add explicit inline
27767 asm to specify register of return val to work around compiler codegen
27768 bug. Remove (int) cast on return value. Add return type parameter to
27769 use in macro so that this macro does not truncate return value for
27770 64-bit values.
27771 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27772 pass to INTERNAL_VSYSCALL_NCS.
27773 (INLINE_VSYSCALL): Add 'long int' as return type to
27774 INTERNAL_VSYSCALL_NCS macro invocation.
27775 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27776 INTERNAL_VSYSCALL_NCS macro invocation.
27777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27778
d3b9ea61
SP
277792013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27780
0b57daeb
SP
27781 [BZ #14496]
27782 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27783 Fix application of SIMD FP exception mask.
27784
caa99d06
SP
27785 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27786 mp_no from a power of two.
27787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27788 __mpexp_twomm1. Use __pow_mp.
27789
d3b9ea61
SP
27790 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27791 multiplication.
27792
1dbaee3c
DM
277932013-01-17 David S. Miller <davem@davemloft.net>
27794
27795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27796
728d7b43
JM
277972013-01-17 Joseph Myers <joseph@codesourcery.com>
27798
27799 [BZ #15023]
27800 * include/complex.h: Condition contents on [!_COMPLEX_H].
27801 (__kernel_casinhf): New prototype.
27802 (__kernel_casinh): Likewise.
27803 (__kernel_casinhl): Likewise.
27804 * math/Makefile (libm_calls): Add k_casinh.
27805 * math/k_casinh.c: New file.
27806 * math/k_casinhf.c: Likewise.
27807 * math/k_casinhl.c: Likewise.
27808 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27809 finite nonzero arguments.
27810 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27811 finite nonzero arguments.
27812 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27813 finite nonzero arguments.
27814 * math/s_casinh.c: Do not include <float.h>.
27815 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27816 * math/s_casinhf.c: Do not include <float.h>.
27817 (__casinhf): Move code for finite nonzero arguments to
27818 k_casinhf.c.
27819 * math/s_casinhl.c: Do not include <float.h>.
27820 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27821 redefine.
27822 (__casinhl): Move code for finite nonzero arguments to
27823 k_casinhl.c.
27824 * math/libm-test.inc (cacos_test): Add more tests.
27825 * sysdeps/i386/fpu/libm-test-ulps: Update.
27826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27827
2a26ef3a
PT
278282013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27829
27830 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27831 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27832 [!HAVE_MREMAP]: Remove [defined linux] case.
27833 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27834
a897655d
SP
278352013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27836
27837 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27838
881ebe89 278392013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27840
27841 * elf/elf.h (R_386_SIZE32): New relocation.
27842 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27843 R_386_SIZE32.
27844 (elf_machine_rela): Likewise.
27845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27846 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27847
59981e9b
JM
278482013-01-17 Joseph Myers <joseph@codesourcery.com>
27849
27850 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27851 (FP_FAST_FMA): Do not define.
27852 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27853 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27854 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27855 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27856 !_SOFT_FLOAT]: Likewise.
27857 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27858 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27859 value.
27860 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27861 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27862 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27863 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27864 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27865 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27866 file.
27867
cfa8054f
AS
278682013-01-16 Andreas Schwab <schwab@suse.de>
27869
27870 [BZ #14327]
27871 * include/stdlib.h (__mktemp): Add declaration.
27872 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27873 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27874
dd930cc5
SP
278752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27876
881ebe89
SP
27877 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27878 definitions.
27879 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27880 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27881 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27882 definitions here.
27883 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27884 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27885 definitions.
27886 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27887 and ONE.
27888 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27889 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27890 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27891 definitions.
27892 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27893 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27894 definitions.
27895 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27896
dd930cc5
SP
27897 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27898
c19a9f89
DM
278992013-01-15 David S. Miller <davem@davemloft.net>
27900
1aa61767
DM
27901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27902 trunc{,f} to libm-sysdep_routes.
27903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27905 file.
27906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27908 file.
27909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27910 file.
27911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27913 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27914 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27915 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27916 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27917 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27918 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27919
c42d5e98
DM
27920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27921 nearbyint{,f} to libm-sysdep_routes.
27922 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27924 New file.
27925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27926 file.
27927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27928 New file.
27929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27930 file.
27931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27933 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27934 file.
27935 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27936 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27937 file.
27938 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27939 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27940 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27941
c19a9f89
DM
27942 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27943 libc_feholdexcept and libc_fesetenv.
27944
357679d2
MF
279452013-01-15 Mike Frysinger <vapier@gentoo.org>
27946
27947 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27948
65a82e3d
DM
279492013-01-14 David S. Miller <davem@davemloft.net>
27950
8b954ab9
DM
27951 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27952 (SPARC_ASM_VIS2_IFUNC): Likewise.
27953 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27955 use of 'siam' instruction.
27956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27957 Likewise.
27958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27959 Likewise.
27960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27961 Likewise.
27962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27967 file.
27968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27969 file.
27970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27971 file.
27972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27973 file.
27974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27979 new VIS2 routines.
27980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27983 Likewise.
27984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27989 routines to libm-sysdep_routines.
27990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27991
65a82e3d
DM
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27993 fdim/fdimf to libm-sysdep_routines.
27994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27995 file.
27996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27998 file.
27999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28002 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28003 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28004 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28005 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28006
e34ab705
SP
280072013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28008
2a91b573
SP
28009 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28010 to optimize copies.
28011
1066a534
SP
28012 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28014 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28015
e34ab705
SP
28016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28017 local variable MPTWO.
28018 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28019 Likewise.
28020
aba5e596
MF
280212013-01-13 Mike Frysinger <vapier@gentoo.org>
28022
28023 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28024 GLOB_NOESCAPE.
28025
e557e9e5
MF
280262013-01-13 Mike Frysinger <vapier@gentoo.org>
28027
28028 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28029
0428cec9
MF
280302013-01-13 Mike Frysinger <vapier@gentoo.org>
28031
28032 * manual/pattern.texi (glob_t): Document gl_flags.
28033 (glob64_t): Likewise.
28034
8794a964
DM
280352013-01-11 David S. Miller <davem@davemloft.net>
28036
66438c3f
RM
28037 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28038 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28039 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28040 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28041 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28042 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28043 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28044 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28045 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28046 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28047 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28048 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28049 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28050
4ae4244d
DM
28051 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28052 sparc V9 rather than using V8 code.
28053 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28054 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28055
8794a964
DM
28056 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28057 Move to...
28058 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28059 Here.
28060
6270516e
RM
280612013-01-11 Roland McGrath <roland@hack.frob.com>
28062
28063 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28064 not in the main loop.
28065 * configure: Regenerated.
28066
6a57d931
JM
280672013-01-11 Joseph Myers <joseph@codesourcery.com>
28068
28069 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28070 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28071 to just #else.
28072 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28073 [!__GLIBC_HAVE_LONG_LONG] case.
28074 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28075 condition to just #else.
28076 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28077 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28078 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28079 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28080 unconditional.
28081 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28082 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28083 #elif condition to just #else.
28084 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28085 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28086 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28087 #elif condition to just #else.
28088
0e8529e9
SE
280892013-01-11 Steve Ellcey <sellcey@mips.com>
28090
28091 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28092 (EF_MIPS_ARCH_64): Fix value.
28093 (EF_MIPS_ARCH_32R2): New.
28094 (EF_MIPS_ARCH_64R2): New.
28095
740b3dbe
L
280962013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28097
28098 * Makeconfig (+link-pie-before-libc): New.
28099 (+link-pie-after-libc): Likewise.
28100 (+link-pie-tests): Likewise.
28101 (+link-pie): Rewritten.
28102 (link-before-libc): Remove $(config-LDFLAGS).
28103 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28104 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28105 (config-LDFLAGS): Renamed to ...
28106 (rtld-LDFLAGS): This.
28107 (rtld-tests-LDFLAGS): New macro.
28108 (link-libc-rpath-link): Likewise.
28109 (link-libc-tests-rpath-link): Likewise.
28110 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28111 (link-libc): Prepand $(link-libc-rpath-link).
28112 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28113 (test-program-prefix): New macro.
28114 (test-via-rtld-prefix): Likewise.
28115 (test-program-cmd): Likewise.
28116 (host-test-program-cmd): Likewise.
28117 * Makefile ($(common-objpfx)testrun.sh): Replace
28118 $(run-program-prefix) with $(test-program-prefix).
28119 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28120 $(rtld-LDFLAGS).
28121 ($(common-objpfx)shlib.lds): Likewise.
28122 (build-module-helper): Likewise.
28123 ($(common-objpfx)format.lds): Likewise.
28124 * Rules (binaries-pie-tests): New.
28125 (binaries-pie-notests): Likewise.
28126 (binaries-pie): Rewritten.
28127 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28128 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28129 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28130 (make-test-out): Replace $(host-built-program-cmd) with
28131 $(host-test-program-cmd).
28132 * config.make.in (build-hardcoded-path-in-tests): New variable.
28133 * configure.in (--enable-hardcoded-path-in-tests): New configure
28134 option.
28135 (hardcoded_path_in_tests): New AC_SUBST.
28136 * configure: Regenerated.
28137 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28138 $(built-program-cmd) with $(test-program-cmd).
28139 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28140 (test_program_cmd): This.
28141 * elf/Makefile ($(objpfx)order.out): Run test with
28142 $(test-program-prefix).
28143 ($(objpfx)order2.out): Likewise.
28144 ($(objpfx)tst-initorder.out): Likewise.
28145 ($(objpfx)tst-initorder2.out): Likewise.
28146 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28147 $(test-program-cmd).
28148 ($(objpfx)tst-array1-static.out): Likewise.
28149 ($(objpfx)tst-array2.out): Likewise.
28150 ($(objpfx)tst-array3.out): Likewise.
28151 ($(objpfx)tst-array4.out): Likewise.
28152 ($(objpfx)tst-array5.out): Likewise.
28153 ($(objpfx)tst-array5-static.out): Likewise.
28154 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28155 $(test-program-cmd).
28156 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28157 $(run-program-prefix) with $(test-program-prefix).
28158 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28159 (test_program_prefix): This.
28160 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28161 $(run-program-prefix) with $(test-program-prefix).
28162 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28163 (test_program_prefix): This.
28164 * iconvdata/tst-tables.sh: Likewise.
28165 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28166 $(run-program-prefix) with $(test-program-prefix).
28167 ($(objpfx)tst-translit.out): Likewise.
28168 ($(objpfx)tst-gettext2.out): Likewise.
28169 ($(objpfx)tst-gettext4.out): Likewise.
28170 ($(objpfx)tst-gettext6.out): Likewise.
28171 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28172 (test_program_prefix): This.
28173 * intl/tst-gettext2.sh: Likewise.
28174 * intl/tst-gettext4.sh Likewise.
28175 * intl/tst-gettext6.sh: Likewise.
28176 * intl/tst-translit.sh: Likewise.
28177 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28178 with $(test-program-cmd).
28179 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28180 $(run-program-prefix) with $(test-program-prefix).
28181 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28182 (test_program_prefix): This.
28183 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28184 $(run-program-prefix) with $(test-program-prefix).
28185 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28186 (test_program_prefix): This.
28187 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28188 * posix/Makefile ($(objpfx)globtest.out): Replace
28189 $(run-via-rtld-prefix) and $(test-wrapper) with
28190 $(test-program-prefix) and $(test-via-rtld-prefix).
28191 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28192 $(test-program-prefix).
28193 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28194 $(host-test-program-cmd).
28195 (tst-spawn-ARGS): Likewise.
28196 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28197 $(test-program-prefix).
28198 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28199 (test_via_rtld_prefix): This.
28200 (test_wrapper): Renamed to ...
28201 (test_program_prefix): This.
28202 (run_program_prefix): Replaced by test_program_prefix.
28203 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28204 (test_program_prefix): This.
28205 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28206 with $(host-test-program-cmd).
28207 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28208 $(run-program-prefix) with $(test-program-prefix).
28209 ($(objpfx)tst-printf.out): Likewise.
28210 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28211 $(test-program-cmd).
28212 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28213 (test_program_prefix): This.
28214 * stdio-common/tst-unbputc.sh: Likewise.
28215 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28216 $(run-program-prefix) with $(test-program-prefix).
28217 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28218 (test_program_prefix): This.
28219 * string/Makefile ($(objpfx)tst-svc.out): Replace
28220 $(built-program-cmd) with $(test-program-cmd).
28221
c6fe55cf
AJ
282222013-01-11 Andreas Jaeger <aj@suse.de>
28223
28224 [BZ #15003]
28225 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28226 value. Sync with Linux 3.7.
28227
9e6919c8
DM
282282013-01-10 David S. Miller <davem@davemloft.net>
28229
28230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28231 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28232 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28233
1c9f1a02
RM
282342013-01-10 Roland McGrath <roland@hack.frob.com>
28235
28236 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28237 never set.
28238 * configure: Regenerated.
28239
b9de2dde
DM
282402013-01-10 David S. Miller <davem@davemloft.net>
28241
28242 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28243 sparc V9 rather than using V8 code.
28244 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28245 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28246
e7f68ef4
RM
282472013-01-10 Roland McGrath <roland@hack.frob.com>
28248
28249 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28250 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28251 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28252 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28253 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28254 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28255 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28256 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28257 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28258 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28259 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28260 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28261 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28262 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28263 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28264 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28265 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28266 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28267 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28268 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28269 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28270 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28271 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28272 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28273 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28274 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28275 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28276
5a47cc9c
DM
282772013-01-10 David S. Miller <davem@davemloft.net>
28278
28279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28280
4cf8f209
L
282812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28282
28283 * posix/Makefile (tests-static): New variable.
28284 (tests): Add $(tests-static).
28285 (tst-exec-static-ARGS): New variable.
28286 (tst-spawn-static-ARGS): Likewise.
28287 * posix/tst-exec-static.c: New file.
28288 * posix/tst-spawn-static.c: Likewise.
28289 * posix/tst-exec.c: Support run directly.
28290 * posix/tst-spawn.c: Likewise.
28291
fed0faa1
JM
282922013-01-10 Joseph Myers <joseph@codesourcery.com>
28293
828beb13
JM
28294 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28295 long.
28296 * math/bits/mathcalls.h (llrint): Likewise.
28297 (llround): Likewise.
28298 * stdlib/stdlib.h (struct drand48_data): Likewise.
28299 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28300 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28301 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28302 Likewise.
28303 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28304 Likewise.
28305 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28306 (elf_greg_t): Likewise.
28307 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28308 (__jmp_buf): Likewise.
28309 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28310 definitions.
28311 (llrint): Likewise, for all definitions.
28312 (llrintl): Likewise.
28313
fed0faa1
JM
28314 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28315 Remove [__GNUC__] condition.
28316 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28317 condition to just [__USE_ISOC99].
28318 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28319
1a20cb20
L
283202013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28321
28322 [BZ #14200]
28323 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28324 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28325 defined.
28326 (_POSIX_V6_ILP32_OFF32): Likewise.
28327 (_XBS5_ILP32_OFF32): Likewise.
28328 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28329 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28330
751b85f7
SP
283312013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28332
7490eb81
SP
28333 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28334
751b85f7
SP
28335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28336 doubles __mpexp_twomm1. Adjust usage.
28337 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28338 Remove.
28339
988197f0
AS
283402013-01-10 Andreas Schwab <schwab@suse.de>
28341
28342 [BZ #14964]
28343 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28344 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28345
e83d7298
DM
283462013-01-09 David S. Miller <davem@davemloft.net>
28347
034ed64b 28348 [BZ #15003]
57f41c40
AS
28349 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28350 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28351 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28352 (TCP_FASTOPEN): Define.
e83d7298
DM
28353 (tcp_repair_opt): New structure.
28354 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28355 enum values.
57f41c40
AS
28356 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28357 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28358 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28359 (tcp_cookie_transactions): New structure.
28360
d5e0b9bd
AB
283612013-01-09 Anton Blanchard <anton@samba.org>
28362
28363 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28364 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28365 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28366 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28367
0c07e3ea
JM
283682013-01-09 Joseph Myers <joseph@codesourcery.com>
28369
28370 * include/features.h (__USE_ANSI): Remove.
28371
232f7002
RM
283722013-01-09 Roland McGrath <roland@hack.frob.com>
28373
ad98e30c
RM
28374 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28375
232f7002
RM
28376 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28377
950c99ca
SP
283782013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28379
b5792741
SP
28380 * sysdeps/s390/fpu/libm-test-ulps: Update.
28381
47cf2278
SP
28382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28383
950c99ca
SP
28384 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28385 (__acr): Likewise.
28386 (__cpy): Likewise.
28387 (norm): Likewise.
28388 (denorm): Likewise.
28389 (__mp_dbl): Likewise.
28390 (__dbl_mp): Likewise.
28391 (add_magnitudes): Likewise.
28392 (sub_magnitudes): Likewise.
28393 (__add): Likewise.
28394 (__sub): Likewise.
28395 (__mul): Likewise.
28396 (__inv): Likewise.
28397 (__dvd): Likewise.
28398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28399 (__acr): Likewise.
28400 (__cpy): Likewise.
28401 (norm): Likewise.
28402 (denorm): Likewise.
28403 (__mp_dbl): Likewise.
28404 (__dbl_mp): Likewise.
28405 (add_magnitudes): Likewise.
28406 (sub_magnitudes): Likewise.
28407 (__add): Likewise.
28408 (__sub): Likewise.
28409 (__mul): Likewise.
28410 (__inv): Likewise.
28411 (__dvd): Likewise.
28412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28413 (__acr): Likewise.
28414 (__cpy): Likewise.
28415 (norm): Likewise.
28416 (denorm): Likewise.
28417 (__mp_dbl): Likewise.
28418 (__dbl_mp): Likewise.
28419 (add_magnitudes): Likewise.
28420 (sub_magnitudes): Likewise.
28421 (__add): Likewise.
28422 (__sub): Likewise.
28423 (__mul): Likewise.
28424 (__inv): Likewise.
28425 (__dvd): Likewise.
28426
eede9df9
JM
284272013-01-08 Joseph Myers <joseph@codesourcery.com>
28428
28429 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28430 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28431 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28432 2 && __USE_EXTERN_INLINES]: Likewise.
28433
c40ea3d9
AJ
284342013-01-08 Andreas Jaeger <aj@suse.de>
28435
28436 [BZ# 14985]
28437 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28438 Remove.
28439 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28440 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28441
2ccdea26
AB
284422013-01-07 Anton Blanchard <anton@samba.org>
28443
28444 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28445 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28446 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28447 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28448 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28449 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28450 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28451 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28453 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28454 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28455 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28456 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28457 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28458 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28459 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28460 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28461 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28462 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28463 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28464 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28465 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28467 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28468 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28469 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28470 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28471 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28472 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28473 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28474 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28475 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28476 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28477 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28478 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28479 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28480 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28482 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28484 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28485 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28486 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28487
a9708fed
JM
284882013-01-07 Joseph Myers <joseph@codesourcery.com>
28489
375607b9
JM
28490 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28491 (__MALLOC_PMT): Likewise.
28492 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28493 [__GNUC__], only on [_LIBC].
28494 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28495 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28496 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28497 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28498 forward declaration.
28499 (realloc_hook_ini): Likewise.
28500 (memalign_hook_ini): Likewise.
28501 (__libc_memalign): Do not use __MALLOC_PMT in variable
28502 declaration.
28503 (__libc_valloc): Likewise.
28504 (__libc_pvalloc): Likewise.
28505 (__libc_calloc): Likewise.
28506 (__posix_memalign): Likewise.
28507
a9708fed
JM
28508 [BZ #14996]
28509 * math/s_casinh.c: Include <float.h>.
28510 (__casinh): Do not do computation with squaring and square root
28511 for large arguments.
28512 * math/s_casinhf.c: Include <float.h>.
28513 (__casinhf): Do not do computation with squaring and square root
28514 for large arguments.
28515 * math/s_casinhl.c: Include <float.h>.
28516 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28517 (__casinhl): Do not do computation with squaring and square root
28518 for large arguments.
28519 * math/libm-test.inc (casin_test): Add more tests.
28520 (casinh_test): Likewise.
28521 * sysdeps/i386/fpu/libm-test-ulps: Update.
28522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28523
afec409a
L
285242013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28525
28526 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28527 (__x86_64_raw_data_cache_size): Likewise.
28528 (__x86_64_data_cache_size_half): Likewise.
28529 (__x86_64_raw_data_cache_size_half): Likewise.
28530 (__x86_64_shared_cache_size): Likewise.
28531 (__x86_64_raw_shared_cache_size): Likewise.
28532 (__x86_64_shared_cache_size_half): Likewise.
28533 (__x86_64_raw_shared_cache_size_half): Likewise.
28534 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28535 to ...
28536 (__x86_data_cache_size): This.
28537 (__x86_64_raw_data_cache_size): Renamed to ...
28538 (__x86_raw_data_cache_size): This.
28539 (__x86_64_data_cache_size_half): Renamed to ...
28540 (__x86_data_cache_size_half): This.
28541 (__x86_64_raw_data_cache_size_half): Renamed to ...
28542 (__x86_raw_data_cache_size_half): This.
28543 (__x86_64_shared_cache_size): Renamed to ...
28544 (__x86_shared_cache_size): This.
28545 (__x86_64_raw_shared_cache_size): Renamed to ...
28546 (__x86_raw_shared_cache_size): This.
28547 (__x86_64_shared_cache_size_half): Renamed to ...
28548 (__x86_shared_cache_size_half): This.
28549 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28550 (__x86_raw_shared_cache_size_half): This.
28551 * sysdeps/x86_64/memcpy.S: Updated.
28552 * sysdeps/x86_64/memset.S: Likewise.
28553 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28554 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28555 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28556
0b3986d0
DM
285572013-01-04 David S. Miller <davem@davemloft.net>
28558
28559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28560
e47686e9
AS
285612013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28562
d643bac1
AS
28563 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28564 1 to avoid redefinition warning.
28565 (__USE_GNU): Don't define.
28566 (init_signaling_nan): Protoize.
28567
e47686e9
AS
28568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28569
b18decba
SP
285702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28571
fffb407f
SP
28572 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28574 (__cpymn): Likewise.
28575 (norm): Remove commented code.
28576 (denorm): Likewise.
28577 (__mp_dbl): Likewise.
28578 (__inv): Likewise.
28579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28580 (__cpymn): Likewise.
28581 (norm): Remove commented code.
28582 (denorm): Likewise.
28583 (__mp_dbl): Likewise.
28584 (__inv): Likewise.
28585
b18decba
SP
28586 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28587 mp_no value for 1.0 and 2.0.
28588 (norm): Use RADIXI instead of radixi.d.
28589 (denorm): Likewise.
28590 (__mul): Use 0.0 instead of zero.d.
28591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28592 mp_no value for 1.0 and 2.0.
28593 (norm): Use RADIXI instead of radixi.d.
28594 (denorm): Likewise.
28595 (__mul): Use 0.0 instead of zero.d.
28596
cdc1c96f
JM
285972013-01-04 Joseph Myers <joseph@codesourcery.com>
28598
28599 [BZ #14994]
28600 * math/s_casinh.c (__casinh): Reduce finite argument to first
28601 quadrant then set signs of results at the end.
28602 * math/s_casinhf.c (__casinhf): Likewise.
28603 * math/s_casinhl.c (__casinhl): Likewise.
28604 * math/libm-test.inc (casin_test): Add more tests.
28605 (casinh_test): Likewise.
28606 * sysdeps/i386/fpu/libm-test-ulps: Update.
28607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28608
302913e1
SP
286092013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28610
6420d207
SP
28611 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28612
a9e48ab4
SP
28613 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28614
b7837264
SP
28615 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28616 declarations.
28617 (denorm): Likewise.
28618 (__mp_dbl): Likewise.
28619 (__inv): Likewise.
28620
f8af25d2
SP
28621 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28622 and adjust the header comment.
28623
302913e1
SP
28624 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28625 variable name from declaration.
28626
5d7dd1ca
L
286272013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28630 Initialize COMMON_CPUID_INDEX_7 element.
28631 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28632 (CPUID_RTM): Likewise.
28633 (HAS_RTM): Likewise.
28634 (COMMON_CPUID_INDEX_7): New enum.
28635
2f5f40f4
AS
286362013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28637
28638 [BZ #14981]
28639 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28640 size is zero, record memory as freed.
28641
4056f4a0
AJ
286422013-01-03 Andreas Jaeger <aj@suse.de>
28643
28644 * po/ia.po: Add new Interlingua translation.
28645
ab15736f 286462012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28647
28648 * locale/programs/localedef.c: Fix description of '--posix' flag.
28649
568035b7
JM
286502013-01-02 Joseph Myers <joseph@codesourcery.com>
28651
e6898b8d
JM
28652 * NEWS: Update dates in second copyright notice.
28653 * README: Update copyright dates in example.
28654 * manual/libc.texinfo: Update copyright dates.
28655 * scripts/test-installation.pl: Update copyright date in --version
28656 output.
28657
0e2f9562
JM
28658 * hurd/ctty-input.c: Fix copyright notice formatting.
28659 * hurd/ctty-output.c: Likewise.
28660 * hurd/dtable.c: Likewise.
28661 * hurd/hurd-raise.c: Likewise.
28662 * hurd/hurdprio.c: Likewise.
28663 * hurd/msgportdemux.c: Likewise.
28664 * misc/sys/file.h: Likewise.
28665 * misc/sys/ioctl.h: Likewise.
28666 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28667 * sysdeps/mach/hurd/chdir.c: Likewise.
28668 * sysdeps/mach/hurd/fchdir.c: Likewise.
28669 * sysdeps/mach/hurd/rename.c: Likewise.
28670 * sysdeps/mach/hurd/rmdir.c: Likewise.
28671 * sysdeps/mach/hurd/seekdir.c: Likewise.
28672 * sysdeps/mach/hurd/setsid.c: Likewise.
28673 * sysdeps/posix/wait3.c: Likewise.
28674
568035b7
JM
28675 * All files with FSF copyright notices: Update copyright dates
28676 using scripts/update-copyrights.
28677 * intl/plural.c: Regenerated.
28678 * locale/programs/charmap-kw.h: Likewise.
28679 * locale/programs/locfile-kw.h: Likewise.
28680
da08f647
SP
286812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28682
0f5477af
SP
28683 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28684 four values.
28685
44e0d4c2
SP
28686 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28687 calculation loop and add branch prediction.
28688
4d55b4e5
SP
28689 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28690 check access beyond bounds of m1np.
28691
da08f647
SP
28692 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28693 MPTWO.
28694 (__inv): Remove local variable MPTWO to use the global
28695 constant.
28696 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28698 variable MPTWO.
28699 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28700 MP3HALFS static const.
28701
8e051029
DM
287022013-01-01 David S. Miller <davem@davemloft.net>
28703
28704 * po/ca.po: Update from translation team.
28705
f4cf5f2d
JM
287062013-01-01 Joseph Myers <joseph@codesourcery.com>
28707
28708 * scripts/update-copyrights: New file.
28709 * Makeconfig: Reformat copyright notice.
28710 * ctype/ctype.h: Likewise.
28711 * debug/swprintf_chk.c: Likewise.
28712 * elf/dl-cache.c: Likewise.
28713 * elf/dl-debug.c: Likewise.
28714 * elf/dl-object.c: Likewise.
28715 * grp/initgroups.c: Likewise.
28716 * hurd/Makefile: Likewise.
28717 * hurd/hurd/signal.h: Likewise.
28718 * hurd/hurdfault.c: Likewise.
28719 * hurd/hurdioctl.c: Likewise.
28720 * hurd/hurdlookup.c: Likewise.
28721 * hurd/intr-msg.c: Likewise.
28722 * iconv/gconv_open.c: Likewise.
28723 * libio/swprintf.c: Likewise.
28724 * locale/lc-ctype.c: Likewise.
28725 * locale/nl_langinfo.c: Likewise.
28726 * mach/Machrules: Likewise.
28727 * mach/Makefile: Likewise.
28728 * malloc/obstack.h: Likewise.
28729 * manual/Makefile: Likewise.
28730 * manual/tsort.awk: Likewise.
28731 * misc/bits/stab.def: Likewise.
28732 * nis/nis_print_group_entry.c: Likewise.
28733 * nis/nis_table.c: Likewise.
28734 * nis/nss_compat/compat-pwd.c: Likewise.
28735 * nis/nss_compat/compat-spwd.c: Likewise.
28736 * po/Makefile: Likewise.
28737 * posix/fnmatch.c: Likewise.
28738 * posix/regex.h: Likewise.
28739 * resolv/Makefile: Likewise.
28740 * resolv/nss_dns/dns-network.c: Likewise.
28741 * resolv/res_hconf.c: Likewise.
28742 * scripts/gen-sorted.awk: Likewise.
28743 * soft-fp/soft-fp.h: Likewise.
28744 * stdio-common/printf.h: Likewise.
28745 * stdlib/monetary.h: Likewise.
28746 * stdlib/random.c: Likewise.
28747 * stdlib/random_r.c: Likewise.
28748 * sysdeps/generic/Makefile: Likewise.
28749 * sysdeps/gnu/Makefile: Likewise.
28750 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28767 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28778 * sysdeps/mach/hurd/errnos.awk: Likewise.
28779 * sysdeps/mach/hurd/fork.c: Likewise.
28780 * sysdeps/mach/hurd/getcwd.c: Likewise.
28781 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28782 * sysdeps/mach/hurd/mmap.c: Likewise.
28783 * sysdeps/mach/hurd/utimes.c: Likewise.
28784 * sysdeps/mach/hurd/xmknod.c: Likewise.
28785 * sysdeps/posix/profil.c: Likewise.
28786 * sysdeps/posix/readdir_r.c: Likewise.
28787 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28788 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28789 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28790 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28792 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28793 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28794 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28798 * sysdeps/pthread/lio_listio.c: Likewise.
28799 * sysdeps/sparc/dl-procinfo.h: Likewise.
28800 * sysdeps/unix/i386/sysdep.S: Likewise.
28801 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28802 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28803 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28804 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28806 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28807 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28808 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28809 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28810 * sysdeps/wordsize-32/divdi3.c: Likewise.
28811 * time/sys/time.h: Likewise.
28812 * wcsmbs/Makefile: Likewise.
28813
0549fbba
DM
288142013-01-01 David S. Miller <davem@davemloft.net>
28815
a141f1a7
DM
28816 * po/fr.po: Update from translation team.
28817
0549fbba
DM
28818 * catgets/gencat.c: Update copyright year.
28819 * csu/version.c: Likewise.
28820 * debug/catchsegv.sh: Likewise.
28821 * debug/pcprofiledump.c: Likewise.
28822 * debug/xtrace.sh: Likewise.
28823 * elf/ldconfig.c: Likewise.
28824 * elf/ldd.bash.in: Likewise.
28825 * elf/pldd.c: Likewise.
28826 * elf/sotruss.ksh: Likewise.
28827 * elf/sprof.c: Likewise.
28828 * iconv/iconv_prog.c: Likewise.
28829 * iconv/iconvconfig.c: Likewise.
28830 * locale/programs/locale.c: Likewise.
28831 * locale/programs/localedef.c: Likewise.
28832 * login/programs/pt_chown.c: Likewise.
28833 * malloc/memusage.sh: Likewise.
28834 * malloc/memusagestat.c: Likewise.
28835 * malloc/mtrace.pl: Likewise.
28836 * nscd/nscd.c: Likewise.
28837 * nss/getent.c: Likewise.
28838 * nss/makedb.c: Likewise.
28839 * posix/getconf.c: Likewise.
28840
18ea052c
SP
288412012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28842
28843 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28844 numbers.
28845
9c89fca6
MF
288462012-12-30 Mike Frysinger <vapier@gentoo.org>
28847
28848 * math/bits/mathcalls.h (modf): Use __nonnull.
28849
085ec079
SP
288502012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28851
28852 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28853 (split): Use macro CN instead of the bare value.
28854 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28855 could be used.
28856 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28857 instead of the bare value.
28858 (power1): Likewise.
28859
6d9f97e1
SP
288602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28861
d63f73be
SP
28862 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28863 __ATAN_TWOM.
28864 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28865
6d9f97e1
SP
28866 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28867 their values.
28868 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28869 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28870 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28871 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28872
4c4febf5
AJ
288732012-12-28 Andreas Jaeger <aj@suse.de>
28874
af5843ef
AJ
28875 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28876 values are from Linux 3.7.
28877
4c4febf5
AJ
28878 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28879 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28880
99136f82
SP
288812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28882
2f216c3c 28883 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28884 TRUE case.
28885
99136f82
SP
28886 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28887 (norm): Likewise.
28888 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28889 variables with preprocessor constants.
28890 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28891 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28892 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28893
7fffbdff
BH
288942012-12-27 Bruno Haible <bruno@clisp.org>
28895
28896 [BZ #14317]
28897 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28898 only if needed.
28899
b76eb5f0
SP
289002012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28901
31a7fe5c
SP
28902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28903 and use variable directly.
28904 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28905
b76eb5f0
SP
28906 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28907 MPONE.
28908 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28909 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28910 variable MPONE.
28911 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28912 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28913 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28914 include directive. Remove local variable MPONE.
28915 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28916 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28917 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28918
2c8bfe7d
DM
289192012-12-25 David S. Miller <davem@davemloft.net>
28920
28921 * version.h (RELEASE): Set to "development".
28922 (VERSION): Set to "2.17.90".
28923 * NEWS: Add 2.18 section.
28924
147d03b0
DM
289252012-12-21 David S. Miller <davem@davemloft.net>
28926
28927 * po/hr.po: Update from translation team.
28928
a8ebb2b9
AK
289292012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28930
28931 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28932
95b4f1b6
SE
289332012-12-19 Steve Ellcey <sellcey@mips.com>
28934
b2d94007 28935 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28936
cedb2a90
MS
289372012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28938
28939 * manual/contrib.texi (Contributors): Spelling correction.
28940
bbf527d6
DM
289412012-12-15 David S. Miller <davem@davemloft.net>
28942
28943 * po/ru.po: Update from translation team.
28944
bc38c906
DM
289452012-12-13 David S. Miller <davem@davemloft.net>
28946
85429b1a
DM
28947 * NEWS: Mention IFUNC testsuite enhancements.
28948
d283e353
DM
28949 * po/pl.po: Update from translation team.
28950 * po/bg.po: Likewise.
28951
bc38c906
DM
28952 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28953 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28954
a181b0d7
DM
289552012-12-11 David S. Miller <davem@davemloft.net>
28956
4641d57e
DM
28957 * po/sv.po: Update from translation team.
28958
f7bc6495
DM
28959 * po/vi.po: Update from translation team.
28960
6fc9048f
DM
28961 * po/cs.po: Update from translation team.
28962
a181b0d7
DM
28963 * po/de.po: Update from translation team.
28964 * po/eo.po: Likewise.
28965 * po/nl.po: Likewise.
28966
f70bfe80
SP
289672012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28968
3c8b4190
SP
28969 [BZ #14246]
28970 * manual/argp.texi (Argp Helper Functions): Move node to follow
28971 Argp Parsing State.
28972
f70bfe80
SP
28973 [BZ #14872]
28974 * manual/conf.texi (Limits on File System Capacity): Mention if
28975 terminating null is included in the max size.
28976
188f0adf
AJ
289772012-12-10 Andreas Jaeger <aj@suse.de>
28978
28979 * po/cs.po: Update from translation team.
28980
56e7d3ad
SP
289812012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28982
28983 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28984 void pointer and cast to uintptr_t.
28985 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28986 path.
28987 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28988 * sysdeps/s390/s390-64/memset.S: Likewise.
28989
76f2d2ea 289902012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
28991
28992 [BZ #14833]
28993 * menual/message.texi (Message Translation): Fix typos.
28994 (Helper programs for gettext): Likewise.
28995
67cbf9a2
AS
289962012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28997
28998 [BZ #14898]
28999 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29000 Change to -1.
29001
682d0e9a
DM
290022012-12-07 David S. Miller <davem@davemloft.net>
29003
29004 * po/libc.pot: Update.
29005
573cd484
RH
290062012-12-07 Richard Henderson <rth@redhat.com>
29007
7e9da188 29008 [BZ #10114]
573cd484
RH
29009 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29010 normal/normal case to before the switch.
29011 (_FP_DIV): Likewise.
29012
e933a943
MF
290132012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29014 Mike Frysinger <vapier@gentoo.org>
29015
29016 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29017 check for __NR_fadvise64_64.
29018
82123268
CM
290192012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29020
29021 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29022 0, not just to plain "0" as a statement.
29023 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29024 with cw.
29025
d9814526
JM
290262012-12-06 Joseph Myers <joseph@codesourcery.com>
29027
29028 * NEWS: Use sourceware.org in Bugzilla URL.
29029
7728c574
SP
290302012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29031
f16946dd
SP
29032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29033 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29034
5704bbcb
SP
29035 * stdio-common/tst-put-error.c (do_test): Add newline to the
29036 padded test to ensure flush.
29037
17aa0516
JL
290382012-12-05 Jeff Law <law@redhat.com>
29039
29040 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29041
363313b5
JM
290422012-12-05 Joseph Myers <joseph@codesourcery.com>
29043
effbd42a
JM
29044 * README: Don't refer to ports add-on as distributed separately.
29045 Mention AArch64 in list of systems supported in the ports add-on.
29046
87600365
JM
29047 * LICENSES: Add more non-FSF copyright and license notices.
29048
a0d7066a
JM
29049 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29050 ((unused)).
29051
66ca5a5b
JM
29052 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29053
363313b5
JM
29054 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29055 10000 as width of padded output.
29056
b37984ad
JM
290572012-12-04 Joseph Myers <joseph@codesourcery.com>
29058
9003570a
JM
29059 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29060
b37984ad
JM
29061 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29062 variable LX with __attribute__ ((unused)).
29063 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29064 Likewise.
29065 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29067 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29068 with __attribute__ ((unused)).
29069
c8df52ec
DM
290702012-12-04 David S. Miller <davem@abraco.davemloft.net>
29071
29072 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29073
b3b099af
JM
290742012-12-04 Joseph Myers <joseph@codesourcery.com>
29075
c33aa6e3
JM
29076 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29077 (CFLAGS-nldbl-acos.c): New variable.
29078 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29079 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29080 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29081 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29082 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29083 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29084 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29085 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29086 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29087 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29088 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29089 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29090 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29091 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29092 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29093 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29094 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29095 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29096 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29097 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29098 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29099 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29100 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29101 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29102 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29103 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29104 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29105 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29106 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29107 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29108 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29109 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29110 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29111 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29112 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29113 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29114 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29115 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29116 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29117 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29118 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29119 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29120 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29121 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29122 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29123 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29124 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29125 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29126 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29127 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29128 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29129 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29130 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29131 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29132 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29133 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29134 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29135 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29136 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29137 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29138 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29139 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29140 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29141 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29142 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29143 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29144 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29145 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29146 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29147 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29148 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29149 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29150 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29151 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29152 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29153 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29154 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29155 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29156 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29157 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29158 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29159 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29160 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29161 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29162 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29163 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29164 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29165 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29166 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29167 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29168 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29169 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29170 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29171 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29172 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29173 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29174 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29175
20f0018d
JM
29176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29177 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29178
b3b099af
JM
29179 [BZ #14914]
29180 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29181 whole low double instead of just low 47 bits when splitting values
29182 into two parts.
29183
029264d1
AM
291842012-12-03 Allan McRae <allan@archlinux.org>
29185
29186 * manual/stdio.texi (Predefined Printf Handlers): Remove
29187 @hsep and @vsep usage.
29188
c9d6789e
MF
291892012-12-03 Mike Frysinger <vapier@gentoo.org>
29190
29191 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29192 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29193
4b7634a5
JL
291942012-12-03 Jeff Law <law@redhat.com>
29195
29196 * time/sys/time.h (settimeofday): Do not mark TV argument
29197 as __nonnull.
29198
eb6cbd24
MF
291992012-12-01 Mike Frysinger <vapier@gentoo.org>
29200
29201 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29202 when currently writing and seek to current position when not.
29203 * libio/Makefile (tests): Remove bug-fclose1.
29204 * libio/bug-fclose1.c: Delete.
29205
f638872a
JM
292062012-12-01 Joseph Myers <joseph@codesourcery.com>
29207
29208 * manual/arith.texi (feenableexcept): Fix typo.
29209 (fedisableexcept): Likewise.
29210
48085d14
RM
292112012-11-30 Roland McGrath <roland@hack.frob.com>
29212
29213 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29214 second, differently-typed declaration, rather than a cast.
29215
1a538b9f
SP
292162012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29217
29218 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29219 * include/rpc/svc.h: ... here.
29220
d07f2ff1 292212012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29222
29223 [BZ #13013]
29224 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29225 depending n and resplen2 to catch cases where answer
29226 equals answerp2.
29227
c93ec1f0
CD
292282012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29229
29230 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29231 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29232
37db69de
MF
292332012-11-29 Mike Frysinger <vapier@gentoo.org>
29234
29235 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29236
e10c4e4f
RM
292372012-11-29 Roland McGrath <roland@hack.frob.com>
29238
29239 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29240
2af1b328
JL
292412012-11-28 Jeff Law <law@redhat.com>
29242
29243 [BZ #13761]
29244 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29245 dataset_temporary. Track alloca usage into alloca_used.
29246 If dataset is large allocate and release it via malloc/free.
29247
111db5b1
FW
292482012-06-04 Florian Weimer <fweimer@redhat.com>
29249
f06cc227 29250 [BZ #14197]
111db5b1
FW
29251 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29252
dd694abd
DM
292532012-11-28 David S. Miller <davem@davemloft.net>
29254
29255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29256
9984dd01
JM
292572012-11-28 Joseph Myers <joseph@codesourcery.com>
29258
29259 [BZ #14803]
29260 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29261 of pi/2 rounded to nearest to 64 bits.
29262 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29263 nearest to 64 bits.
29264 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29265 bits.
29266
14bc93a9
JL
292672012-11-28 Jeff Law <law@redhat.com>
29268 Martin Osvald <mosvald@redhat.com>
29269
29270 [BZ #14889]
29271 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29272 * sunrpc/svc.c: Include time.h.
29273 (__svc_accept_failed): New function.
29274 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29275 any reason other than EINTR, call __svc_accept_failed.
29276 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29277 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29278
e3c6aa3a
AS
292792012-11-28 Andreas Schwab <schwab@suse.de>
29280
29281 * scripts/abilist.awk: Also handle indirect functions in .opd
29282 section.
29283
1bead169
JM
292842012-11-28 Joseph Myers <joseph@codesourcery.com>
29285
29286 [BZ #13881]
29287 * sysdeps/x86/fpu/powl_helper.c: New file.
29288 * sysdeps/x86/fpu/Makefile: Likewise.
29289 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29290 (p3): New object.
29291 (__ieee754_powl): Use __powl_helper for finite arguments except
29292 integer exponents below 8.
29293 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29294 (p3): New object.
29295 (__ieee754_powl): Use __powl_helper for finite arguments except
29296 integer exponents below 8.
29297 * math/libm-test.inc (pow_test): Add more tests and enable some
29298 previously disabled tests.
29299 * sysdeps/i386/fpu/libm-test-ulps: Update.
29300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29301
0817d63d
SP
293022012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29303 Carlos O'Donell <carlos_odonell@mentor.com>
29304
29305 * nss/makedb.c (is_prime): Assert that input is odd and greater
29306 than 4. Note that fact in a comment too.
29307 (next_prime): Add 4 to input.
29308
de2fd463
SP
293092012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29310
29311 [BZ #11741]
29312 * libio/Makefile (tests): Add test case tst-fwrite-error.
29313 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29314 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29315 * libio/tst-fwrite-error.c: New test case.
29316
c515fb51
L
293172012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29318
29319 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29320 before casting to void *.
29321 * include/libc-internal.h (__pointer_type): New macro.
29322 (__integer_if_pointer_type_sub): Likewise.
29323 (__integer_if_pointer_type): Likewise.
29324 (cast_to_integer): Likewise.
29325 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29326 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29327 before casting to atomic64_t.
29328 (atomic_exchange_acq): Likewise.
29329 (__arch_exchange_and_add_body): Likewise.
29330 (__arch_add_body): Likewise.
29331 (atomic_add_negative): Likewise.
29332 (atomic_add_zero): Likewise.
29333
4cf77aa9
JM
293342012-11-26 Joseph Myers <joseph@codesourcery.com>
29335
29336 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29337 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29338 (add_fdes): Likewise.
29339 (linear_search_fdes): Likewise.
29340 (binary_search_unencoded_fdes): Likewise.
29341
d260b3b4
AS
293422012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29343
29344 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29345
67060746
AC
293462012-11-24 Adam Conrad <adconrad@0c3.net>
29347
29348 * configure.in: Autodetect C++ header directories.
29349 * configure: Regenerated.
29350
800938a1
MF
293512012-11-23 Mike Frysinger <vapier@gentoo.org>
29352
29353 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29354
4e6e34e6
AS
293552012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29356
29357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29358
7c7feb47
JM
293592012-11-22 Joseph Myers <joseph@codesourcery.com>
29360
7184dcdf
JM
29361 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29362 LDBL_MANT_DIG == 106]: Disable some tests.
29363 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29364 Likewise.
29365 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29366 Likewise.
29367
0a42601f
JM
29368 [BZ #14871]
29369 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29370 input for small inputs. Return +/- pi/2 for large inputs.
29371 * math/libm-test.inc (atan_test): Add more tests.
29372
79c9b9fe
JM
29373 * sysdeps/generic/unwind-dw2-fde-glibc.c
29374 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29375 __attribute__ ((unused)).
29376
c60d3bf2
JM
29377 [BZ #14645]
29378 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29379 x * y if x and y are nonzero and z is zero.
29380
ef1e0867
JM
29381 [BZ #14811]
29382 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29383 nonzero exponents with absolute value below 0x1p-117 to +/-
29384 0x1p-117.
29385
1468ded3
JM
29386 [BZ #14869]
29387 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29388 up arguments below 2**-450, not just those below 2**-500.
29389 * math/libm-test.inc (hypot_test): Add another test.
29390
8e27e3cc
JM
29391 [BZ #14868]
29392 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29393 Return a+b for ratio over 2**120, not 2**60.
29394 * math/libm-test.inc (hypot_test): Add another test.
29395
c9c0279b
JM
29396 * math/libm-test.inc (clog_test): Use
29397 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29398 (clog10_test): Likewise.
29399
7c7feb47
JM
29400 [BZ #6778]
29401 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29402
fff1530e
AS
294032012-11-22 Andreas Schwab <schwab@suse.de>
29404
29405 * sysdeps/i386/fpu/libm-test-ulps: Update.
29406
94558d30
PT
294072012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29408
29409 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29410 printf output with newline.
29411
7e1be741
L
294122012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29413
6bfea974
L
29414 [BZ #14865]
29415 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29416 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29417 -z nodlopen, -z initfirst and -z execstack support.
29418 * configure: Regenerated.
29419
7e1be741
L
29420 * elf/elf.h (DF_1_NODIRECT): New macro.
29421 (DF_1_IGNMULDEF): Likewise.
29422 (DF_1_NOKSYMS): Likewise.
29423 (DF_1_NOHDR): Likewise.
29424 (DF_1_EDITED): Likewise.
29425 (DF_1_NORELOC): Likewise.
29426 (DF_1_SYMINTPOSE): Likewise.
29427 (DF_1_GLOBAUDIT): Likewise.
29428 (DF_1_SINGLETON): Likewise.
29429 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29430 DT_1_SUPPORTED_MASK bits.
29431 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29432
105ce2ce
CD
294332012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29434
29435 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29436
123be9de
TS
294372012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29438
d072f3f7
TS
29439 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29440 macro.
29441
123be9de
TS
29442 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29443 (sendmmsg): Move declarations...
29444 * socket/sys/socket.h: ... here.
29445 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29446 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29447 include it from...
29448 * socket/recvmmsg.c: ... this new file.
29449 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29450 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29451 definition of __sendmmsg hidden.
29452 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29453 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29454 Move ENOSYS stub into and include it from...
29455 * socket/sendmmsg.c: ... this new file.
29456 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29457 (sysdep_routines): Move recvmmsg and sendmmsg...
29458 * socket/Makefile (routines): ... here.
29459 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29460 (GLIBC_PRIVATE): Add __sendmmsg.
29461 * include/sys/socket.h (__sendmmsg): Add declarations.
29462 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29463 sendmmsg.
29464
cf9a5d18
JM
294652012-11-20 Joseph Myers <joseph@codesourcery.com>
29466
29467 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29468 variable I1 with __attribute__ ((unused)).
29469 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29470
ecd4caf9
JM
294712012-11-19 Joseph Myers <joseph@codesourcery.com>
29472
be14d48f
JM
29473 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29474 DUMMY variables with __attribute__ ((unused)).
29475
ecd4caf9
JM
29476 * bits/byteswap.h: Include <bits/types.h>.
29477 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29478
986cab95
PT
294792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29480
29481 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29482 string_t. Do not manually set errno.
29483 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29484 length with __strnlen. Make sure to both set errno and return it on
29485 failure.
29486
6d33cc9d
DM
294872012-11-19 David S. Miller <davem@davemloft.net>
29488
29489 With help from Joseph Myers.
29490 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29491 very large arguments properly.
29492 * math/libm-test.inc (atan_test): New tests.
29493 (atan2_test): New tests.
29494 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29496
ee663277
JM
294972012-11-19 Joseph Myers <joseph@codesourcery.com>
29498
877f2d8e
JM
29499 [BZ #14856]
29500 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29501 Define to 3.
29502
116fc08a
JM
29503 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29504 [POSIX] (EADDRNOTAVAIL): Likewise.
29505 [POSIX] (EAFNOSUPPORT): Likewise.
29506 [POSIX] (EALREADY): Likewise.
29507 [POSIX] (ECONNABORTED): Likewise.
29508 [POSIX] (ECONNREFUSED): Likewise.
29509 [POSIX] (ECONNRESET): Likewise.
29510 [POSIX] (EDESTADDRREQ): Likewise.
29511 [POSIX] (EDQUOT): Likewise.
29512 [POSIX] (EHOSTUNREACH): Likewise.
29513 [POSIX] (EIDRM): Likewise.
29514 [POSIX] (EISCONN): Likewise.
29515 [POSIX] (ELOOP): Likewise.
29516 [POSIX] (EMULTIHOP): Likewise.
29517 [POSIX] (ENETDOWN): Likewise.
29518 [POSIX] (ENETUNREACH): Likewise.
29519 [POSIX] (ENOBUFS): Likewise.
29520 [POSIX] (ENODATA): Likewise.
29521 [POSIX] (ENOLINK): Likewise.
29522 [POSIX] (ENOMSG): Likewise.
29523 [POSIX] (ENOPROTOOPT): Likewise.
29524 [POSIX] (ENOSR): Likewise.
29525 [POSIX] (ENOSTR): Likewise.
29526 [POSIX] (ENOTCONN): Likewise.
29527 [POSIX] (ENOTSOCK): Likewise.
29528 [POSIX] (EOPNOTSUPP): Likewise.
29529 [POSIX] (EOVERFLOW): Likewise.
29530 [POSIX] (EPROTO): Likewise.
29531 [POSIX] (EPROTONOSUPPORT): Likewise.
29532 [POSIX] (EPROTOTYPE): Likewise.
29533 [POSIX] (ESTALE): Likewise.
29534 [POSIX] (ETIME): Likewise.
29535 [POSIX] (ETXTBSY): Likewise.
29536 [POSIX] (EWOULDBLOCK): Likewise.
29537 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29538 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29539 [POSIX] (SEEK_CUR): Likewise.
29540 [POSIX] (SEEK_END): Likewise.
29541 [POSIX || UNIX98] (mode_t): Do not require.
29542 [POSIX] (off_t): Likewise.
29543 [POSIX] (pid_t): Likewise.
29544 [POSIX] (sys/stat.h): Do not allow header.
29545 [POSIX] (unistd.h): Likewise.
29546 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29547 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29548 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29549 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29550 require.
29551 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29552 sigevent): Specify elements.
29553 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29554 entry.
29555 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29556 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29557
a483863f
JM
29558 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29559 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29560 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29561 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29562 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29563 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29564 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29565 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29566 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29567 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29568 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29569 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29570 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29572 Likewise.
29573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29574 Likewise.
29575 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29576 Likewise.
29577 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29578 Likewise.
29579 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29580 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29581 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29582 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29583 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29584 Specify lower bound on value.
29585 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29586 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29587 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29588 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29589 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29590 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29591 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29592 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29593 value.
29594 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29595 as optional.
29596 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29597 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29598 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29599 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29600 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29601 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29602 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29603 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29604 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29605 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29606 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29607 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29608 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29609 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29610 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29611 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29612 entry.
29613 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29614 optional.
29615 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29616 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29617 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29618 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29619 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29620 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29621 Likewise.
29622 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29623 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29624 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29625 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29626 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29627 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29628 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29629 as optional.
29630 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29631 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29632 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29633 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29634 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29635 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29636 specify as optional.
29637 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29638 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29639 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29640 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29641 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29642 [XPG3] (NL_LANGMAX): Likewise.
29643 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29644 [POSIX || XPG3] (NL_NMAX): Likewise.
29645 [POSIX || XPG3] (NL_SETMAX): Likewise.
29646 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29647 [XPG3] (NZERO): Likewise.
29648 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29649 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29650 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29651 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29652 (REG_ERANGE): Expect.
29653 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29654 optional-constant.
29655 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29656 Use (void) in prototype.
29657 [POSIX] (*_t): Allow.
29658 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29659 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29660 (WRDE_BADVAL): Expect.
29661
5ba924e3
JM
29662 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29663 expect.
29664 [XPG3 || XPG4] (O_RSYNC): Likewise.
29665 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29666 Likewise.
29667 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29668 [XPG3 || XPG4] (sigqueue): Likewise.
29669 [XPG3 || XPG4] (sigtimedwait): Likewise.
29670 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29671 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29672 [XPG3 || XPG4] (vsnprintf): Likewise.
29673 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29674 Likewise.
29675 [XPG3 || XPG4] (blksize_t): Likewise.
29676 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29677 Likewise.
29678 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29679 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29680 [XPG3 || XPG4] (struct itimerspec): Likewise.
29681 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29682 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29683 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29684 [XPG3 || XPG4] (clockid_t): Likewise.
29685 [XPG3 || XPG4] (timer_t): Likewise.
29686 [XPG3 || XPG4] (clock_getres): Likewise.
29687 [XPG3 || XPG4] (clock_gettime): Likewise.
29688 [XPG3 || XPG4] (clock_settime): Likewise.
29689 [XPG3 || XPG4] (nanosleep): Likewise.
29690 [XPG3 || XPG4] (timer_create): Likewise.
29691 [XPG3 || XPG4] (timer_delete): Likewise.
29692 [XPG3 || XPG4] (timer_gettime): Likewise.
29693 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29694 [XPG3 || XPG4] (timer_settime): Likewise.
29695 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29696 [XPG3 || XPG4] (getlogin_r): Likewise.
29697 [XPG3 || XPG4] (pread): Likewise.
29698 [XPG3 || XPG4] (pthread_atfork): Likewise.
29699 [XPG3 || XPG4] (pwrite): Likewise.
29700
ee663277
JM
29701 [BZ #14835]
29702 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29703 <bits/siginfo.h>.
29704
942caa16
PT
297052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29706
e19af380
PT
29707 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29708 finalizing MALLSTREAM.
29709
942caa16
PT
29710 * sysdeps/mach/hurd/syncfs.c: New file.
29711
cfde9b46
SP
297122012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29713
29714 [BZ #14719]
29715 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29716 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29717 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29718 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29719 (_nss_dns_gethostbyname4_r): Likewise.
29720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29721 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29722
f6da27e5
PH
297232012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29724
29725 [BZ #13763]
29726 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29727
6665d4a2
SM
297282012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29729
1f51ee92
SM
29730 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29731 * elf/cache.c (print_entry): Print ",AArch64" for
29732 FLAG_AARCH64_LIB64
29733
6665d4a2
SM
29734 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29735 * elf/cache.c (print_entry): Print ",hard-float" for
29736 FLAG_ARM_LIBHF.
29737
05b227bd
DM
297382012-11-18 David S. Miller <davem@davemloft.net>
29739
29740 With help from Joseph Myers.
29741 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29742 cutoff to 2**-13.
29743 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29744 cutoff to 2**-25.
29745 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29746 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29747 small.
29748 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29749 * math/libm-test.inc (y0_test): New tests.
29750 (y1_test): New tests.
29751 * sysdeps/i386/fpu/libm-test-ulps: Update.
29752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29754
786b0b67
AS
297552012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29756
29757 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29758 64-bit targets.
29759 * configure: Regenerated.
29760
8e18b86d
DM
297612012-11-17 David S. Miller <davem@davemloft.net>
29762
29763 [BZ #14811]
29764 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29765 nonzero exponents with absolute value below 0x1p-128 to +/-
29766 0x1p-128.
29767
531f1ae0
JM
297682012-11-17 Joseph Myers <joseph@codesourcery.com>
29769
12df29e2
JM
29770 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29771
150dc1a0
JM
29772 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29773
531f1ae0
JM
29774 * posix/getconf-speclist.c: New file.
29775 * posix/posix-envs.def: Likewise.
29776 * posix/confstr.c (START_ENV_GROUP): New macro.
29777 (END_ENV_GROUP): Likewise.
29778 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29779 (KNOWN_PRESENT_ENV_STRING): Likewise.
29780 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29781 (UNKNOWN_ENVIRONMENT): Likewise.
29782 (confstr): Include posix-envs.def instead of handling
29783 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29784 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29785 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29786 (END_ENV_GROUP): Likewise.
29787 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29788 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29789 (UNKNOWN_ENVIRONMENT): Likewise.
29790 (__sysconf): Include posix-envs.def instead of handling associated
29791 cases directly here.
29792 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29793 preprocessing getconf-speclist.c rather than running getconf or
29794 generating empty file.
29795
a93f9cbc
PT
297962012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29797
29798 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29799
d64d9f87
AL
298002012-11-16 Andrej Lajovic <natrij@gmail.com>
29801
29802 [BZ #14672]
29803 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29804
447885eb
DM
298052012-11-16 David S. Miller <davem@davemloft.net>
29806
29807 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29808 smaller than LDBL_EPSILON/2.0L, just return xm1.
29809
bcbf9830
L
298102012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29811
29812 * elf/tst-array1.c (init): Set constructor priority to 1000.
29813 (fini): Set destructor priority to 1000.
29814 * elf/tst-array2dep.c: Likewise.
29815
2b766585
SP
298162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29817
29818 [BZ #11741]
29819 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29820 (_IO_new_file_xsputn): Also return EOF if none of the input
29821 data was written when overflow failed.
29822 * libio/iopadn.c (_IO_padn): Likewise.
29823 * libio/iowpadn.c (_IO_wpadn): Likewise.
29824 * stdio-common/tst-put-error.c: Add copyright notice.
29825 (do_test): Add case for printing padded string.
29826 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29827 _IO_padn returned error.
29828 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29829 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29830 return EOF.
29831
b1848fde
SP
298322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29833
29834 * libio/libioP.h: Add comment note that the references to C++
29835 bits are now obsolete.
29836
2fd89785
MS
298372012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29838
29839 * math/libm-test.inc (check_complex): Use asprintf.
29840
e3ea5409
JM
298412012-11-14 Joseph Myers <joseph@codesourcery.com>
29842
29843 * debug/pcprofiledump.c (print_version): Update copyright year.
29844 * malloc/memusagestat.c (print_version): Likewise.
29845
2e64d265
L
298462012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29847
29848 [BZ #14831]
29849 * elf/Makefile (tests): Add tst-audit8.
29850 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29851 ($(objpfx)tst-audit8.out): New target.
29852 (tst-audit8-ENV): New variable.
29853 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29854 audit if l_reloc_result is NULL.
29855 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29856 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29857 * elf/tst-audit8.c: New file.
29858
c485e4d2
MS
298592012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29860
29861 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29862 * misc/Makefile (CFLAGS-select.c): Define.
29863 * posix/Makefile (CFLAGS-pause.c): Define.
29864
3a0d900a
DM
298652012-11-13 David S. Miller <davem@davemloft.net>
29866
29867 * crypt/Makefile: Move test targets after toplevel Rules
29868 inclusion. Grab any necessary sysdep routines when linking.
29869 * crypt/md5.c (md5_process_block): Remove define, we will always
29870 name it __md5_process_block.
29871 (md5_finish_ctx): Update md5_process_block call.
29872 (md5_stream): Likewise.
29873 (md5_process_bytes): Likewise.
29874 (md5_process_block): Rename to __md5_process_block and move to ...
29875 * crypt/md5-block.c: ... here.
29876 * crypt/sha256.c (sha256_process_block): Move to ...
29877 * crypt/sha256-block.c: ... here.
29878 * crypt/sha512.c (sha512_process_block): Move to ...
29879 * crypt/sha512-block.c: ... here.
29880 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29881 path.
29882 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29883 * sysdeps/sparc/sparc64/multiarch/Makefile
29884 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29885 crypt subdir.
29886 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29887 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29888 multiarch changes.
29889 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29890 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29891 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29892 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29893 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29894 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29895 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29896 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29897 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29898 file.
29899 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29900 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29901 file.
29902 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29903
8ca89318
JM
299042012-11-13 Joseph Myers <joseph@codesourcery.com>
29905
e27d476a
JM
29906 * timezone/tzselect.ksh: Update from tzcode git revision
29907 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29908 * timezone/zdump.c: Likewise.
29909 * timezone/zic.c: Likewise.
29910 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29911 in TZVERSION setting, not $(PKGVERSION).
29912 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29913 REPORT_BUGS_TO settings.
29914
8ca89318
JM
29915 [BZ #14838]
29916 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29917 macro.
29918
47594329
MS
299192012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29920
29921 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29922 detection to immediately after _FP_ROUND().
29923 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29924 bits are 0.
29925
640ac3f1
DM
299262012-11-11 David S. Miller <davem@davemloft.net>
29927
29928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29929 inttypes.h
29930 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29931 __close rather than their public counterparts.
29932
3d2577bb
JM
299332012-11-10 Joseph Myers <joseph@codesourcery.com>
29934
29935 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29936 file.
29937 [UNIX98] (sem_timedwait): Do not expect.
29938 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29939 [XPG4 || UNIX98] (sockatmark): Do not expect.
29940 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29941 (clock_getcpuclockid): Do not expect.
29942 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29943 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29944 Do not expect.
29945 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29946 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29947 [UNIX98] (vwscanf): Likewise.
29948 [UNIX98] (vswscanf): Likewise.
29949
fb1ae1ee
JM
299502012-11-09 Joseph Myers <joseph@codesourcery.com>
29951
9ec6f8bd
JM
29952 * timezone/version.h: Remove file.
29953 * timezone/README: Do not refer to version.h.
29954 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29955 $(objpfx)version.h.
29956 ($(objpfx)zdump.o): Likewise.
c3f81911 29957 ($(objpfx)version.h): New target.
9ec6f8bd 29958
0aa8f8a1
JM
29959 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29960 2012i.
29961 * timezone/README: Don't mention modification to tzselect.ksh.
29962 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29963 work on unmodified tzselect.ksh. Substitute version numbers in
29964 tzselect.ksh.
29965
4e87147f
JM
29966 * Makefile (format-me): Remove.
29967 (INSTALL): Adjust indentation. Use commands directly instead of
29968 using $(format-me).
29969
8b748aed
JM
29970 * aclocal.m4 (ACX_PKGVERSION): New macro.
29971 (ACX_BUGURL): Likewise.
29972 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29973 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29974 (REPORT_BUGS_TO): Likewise.
29975 * configure: Regenerated.
29976 * config.h.in (PKGVERSION): New macro.
29977 (REPORT_BUGS_TO): Likewise.
29978 * config.make.in (PKGVERSION): New variable.
29979 (PKGVERSION_TEXI): Likewise.
29980 (REPORT_BUGS_TO): Likewise.
29981 (REPORT_BUGS_TEXI): Likewise.
29982 * Makefile (format-me): Use -I$(common-objpfx)manual.
29983 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29984 ($(common-objpfx)manual/%): New target.
29985 (manual/%): Remove target.
29986 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29987 (print_version): Use PKGVERSION.
29988 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29989 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29990 and REPORT_BUGS_TO.
29991 ($(objpfx)xtrace): Likewise.
29992 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29993 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29994 (print_version): Use PKGVERSION.
29995 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29996 (do_version): Use PKGVERSION.
29997 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29998 REPORT_BUGS_TO.
29999 (common-ldd-rewrite): Likewise.
30000 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30001 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30002 (print_version): Use PKGVERSION.
30003 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30004 * elf/pldd.c (argp_program_bug_address): Remove variable.
30005 (more_help): New function.
30006 (argp): Use more_help.
30007 (print_version): Use PKGVERSION.
30008 * elf/sln.c (main): Use PKGVERSION.
30009 (usage): Use REPORT_BUGS_TO.
30010 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30011 (top level): Use PKGVERSION.
30012 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30013 (print_version): Use PKGVERSION.
30014 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30015 (print_version): Use PKGVERSION.
30016 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30017 (print_version): Use PKGVERSION.
30018 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30019 (print_version): Use PKGVERSION.
30020 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30021 (print_version): Use PKGVERSION.
30022 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30023 (print_version): Use PKGVERSION.
30024 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30025 and BUGURL.
30026 ($(objpfx)memusage): Likewise.
30027 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30028 (do_version): Use PKGVERSION.
30029 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30030 (print_version): Use PKGVERSION.
30031 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30032 ($PKGVERSION): New variable.
30033 ($REPORT_BUGS_TO): Likewise.
30034 (usage): Use $REPORT_BUGS_TO.
30035 (top level): Use $PKGVERSION.
30036 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30037 ($(objpfx)pkgvers.texi): New rule.
30038 ($(objpfx)stamp-pkgvers): Likewise.
30039 * manual/install.texi: Include pkgvers.texi.
30040 (--with-pkgversion): Document new configure option.
30041 (--with-bugurl): Likewise.
30042 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30043 than necessarily for this particular distribution. Use
30044 REPORT_BUGS_TO for where to report bugs.
30045 * INSTALL: Regenerated.
30046 * manual/libc.texinfo: Include pkgvers.texi.
30047 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30048 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30049 (print_version): Use PKGVERSION.
30050 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30051 (print_version): Use PKGVERSION.
30052 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30053 (print_version): Use PKGVERSION.
30054 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30055 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30056 macro.
30057 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30058 (print_version): Use PKGVERSION.
30059 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30060 (print_version): Use PKGVERSION.
30061 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30062 and PKGVERSION.
30063
92e4b6a9
JM
30064 * timezone/checktab.awk: Update from tzcode 2012i.
30065 * timezone/ialloc.c: Likewise.
30066 * timezone/private.h: Likewise.
30067 * timezone/scheck.c: Likewise.
30068 * timezone/tzfile.h: Likewise.
30069 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30070 (TZVERSION): Hardcode tzcode version number.
30071 * timezone/zdump.c: Update from tzcode 2012i.
30072 * timezone/zic.c: Likewise.
30073 * timezone/version.h: New file.
30074 * timezone/README: Describe version.h. Update upstream location.
30075
9bde902c
JM
30076 [BZ #14824]
30077 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30078 (mktemp): Enable declaration.
30079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30081 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30083 Likewise.
30084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30085 Likewise.
30086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30087 Likewise.
30088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30089 Likewise.
30090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30091 Likewise.
30092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30093 Likewise.
30094
fb1ae1ee
JM
30095 [BZ #14821]
30096 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30097 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30098 for copies of such integer values.
30099 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30100 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30101
2c1adbcb
AJ
301022012-11-09 Andreas Jaeger <aj@suse.de>
30103
30104 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30105 definitions and declarations that are provided by
30106 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30107
d0f8457e
AK
301082012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30109
3a235abb 30110 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30111 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30112 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30113 definition.
30114
57241e26
MS
301152012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30116
30117 * elf/elf.h: Update comment before AArch64 relocations.
30118
60e8270d
DM
301192012-11-07 David S. Miller <davem@davemloft.net>
30120
30121 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30122 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30123 (__start_context): Declare.
30124 (__makecontext_ret): Delete.
30125 (__makecontext): Hook up __start_context instead of
30126 __makecontext_ret.
30127 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30128 (sysdep_routines): Add __start_context when in stdlib.
30129
0fbb0fbc
JM
301302012-11-07 Joseph Myers <joseph@codesourcery.com>
30131
30132 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30133 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30134 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30135 hardcoded "nm".
30136 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30137 (READELF): New variable. Use it instead of hardcoded "readelf".
30138
eb48db7e
L
301392012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30140
30141 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30142 * sysdeps/x86/Makefile: Here.
30143 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30144 * sysdeps/x86/tst-xmmymm.sh: This.
30145
05bcf62a
JM
301462012-11-07 Joseph Myers <joseph@codesourcery.com>
30147
c4b6cf53
JM
30148 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30149 expectations.
30150 [UNIX98] (pthread_barrier_t): Do not expect.
30151 [UNIX98] (pthread_barrierattr_t): Likewise.
30152 [UNIX98] (pthread_spinlock_t): Likewise.
30153 [UNIX98] (pthread_barrier_destroy): Likewise.
30154 [UNIX98] (pthread_barrier_init): Likewise.
30155 [UNIX98] (pthread_barrier_wait): Likewise.
30156 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30157 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30158 [UNIX98] (pthread_barrierattr_init): Likewise.
30159 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30160 [UNIX98] (pthread_getcpuclockid): Likewise.
30161 [UNIX98] (pthread_mutex_timedlock): Likewise.
30162 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30163 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30164 [UNIX98] (pthread_sigmask): Likewise.
30165 [UNIX98] (pthread_spin_destroy): Likewise.
30166 [UNIX98] (pthread_spin_init): Likewise.
30167 [UNIX98] (pthread_spin_lock): Likewise.
30168 [UNIX98] (pthread_spin_trylock): Likewise.
30169 [UNIX98] (pthread_spin_unlock): Likewise.
30170 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30171 Do not expect.
30172 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30173 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30174 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30175 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30176 [XPG3 || XPG4] (pthread_key_t): Likewise.
30177 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30178 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30179 [XPG3 || XPG4] (pthread_once_t): Likewise.
30180 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30181 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30182 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30183 [XPG3 || XPG4] (pthread_t): Likewise.
30184
cbe6e120
JM
30185 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30186 not expect.
30187 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30188
1b126443
JM
30189 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30190 Change function return type to int.
30191
b961a573
JM
30192 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30193 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30194 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30195 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30196 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30197 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30198 [!POSIX] (posix_madvise): Likewise.
30199 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30200 && !UNIX98].
30201 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30202 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30203 (mode_t): Likewise.
30204 (posix_mem_offset): Likewise.
30205 (posix_typed_mem_get_info): Likewise.
30206 (posix_typed_mem_open): Likewise.
30207
9e188909
JM
30208 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30209 Change condition to [XOPEN2K8].
30210
05bcf62a
JM
30211 * conform/conformtest.pl: Preprocess allow-header data with -x c
30212 instead of from stdin.
30213 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30214 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30215 [C99-based standards] (cerfc): Likewise.
30216 [C99-based standards] (cexp2): Likewise.
30217 [C99-based standards] (cexpm1): Likewise.
30218 [C99-based standards] (clog10): Likewise.
30219 [C99-based standards] (clog1p): Likewise.
30220 [C99-based standards] (clog2): Likewise.
30221 [C99-based standards] (clgamma): Likewise.
30222 [C99-based standards] (ctgamma): Likewise.
30223 [C99-based standards] (cerff): Likewise.
30224 [C99-based standards] (cerfcf): Likewise.
30225 [C99-based standards] (cexp2f): Likewise.
30226 [C99-based standards] (cexpm1f): Likewise.
30227 [C99-based standards] (clog10f): Likewise.
30228 [C99-based standards] (clog1pf): Likewise.
30229 [C99-based standards] (clog2f): Likewise.
30230 [C99-based standards] (clgammaf): Likewise.
30231 [C99-based standards] (ctgammaf): Likewise.
30232 [C99-based standards] (cerfl): Likewise.
30233 [C99-based standards] (cerfcl): Likewise.
30234 [C99-based standards] (cexp2l): Likewise.
30235 [C99-based standards] (cexpm1l): Likewise.
30236 [C99-based standards] (clog10l): Likewise.
30237 [C99-based standards] (clog1pl): Likewise.
30238 [C99-based standards] (clog2l): Likewise.
30239 [C99-based standards] (clgammal): Likewise.
30240 [C99-based standards] (ctgammal): Likewise.
30241 * conform/data/inttypes.h-data [C99-based standards]: Include
30242 stdint.h-data. Remove all expectations for stdint.h contents.
30243 [C99-based standards] (PRI*): Do not allow.
30244 [C99-based standards] (SCN*): Likewise.
30245 [C99-based standards] (*_t): Likewise.
30246 [C99-based-standards] (PRId8): Expect macro.
30247 [C99-based-standards] (PRIi8): Likewise.
30248 [C99-based-standards] (PRIo8): Likewise.
30249 [C99-based-standards] (PRIu8): Likewise.
30250 [C99-based-standards] (PRIx8): Likewise.
30251 [C99-based-standards] (PRIX8): Likewise.
30252 [C99-based-standards] (SCNd8): Likewise.
30253 [C99-based-standards] (SCNi8): Likewise.
30254 [C99-based-standards] (SCNo8): Likewise.
30255 [C99-based-standards] (SCNu8): Likewise.
30256 [C99-based-standards] (SCNx8): Likewise.
30257 [C99-based-standards] (PRIdLEAST8): Likewise.
30258 [C99-based-standards] (PRIiLEAST8): Likewise.
30259 [C99-based-standards] (PRIoLEAST8): Likewise.
30260 [C99-based-standards] (PRIuLEAST8): Likewise.
30261 [C99-based-standards] (PRIxLEAST8): Likewise.
30262 [C99-based-standards] (PRIXLEAST8): Likewise.
30263 [C99-based-standards] (SCNdLEAST8): Likewise.
30264 [C99-based-standards] (SCNiLEAST8): Likewise.
30265 [C99-based-standards] (SCNoLEAST8): Likewise.
30266 [C99-based-standards] (SCNuLEAST8): Likewise.
30267 [C99-based-standards] (SCNxLEAST8): Likewise.
30268 [C99-based-standards] (PRIdFAST8): Likewise.
30269 [C99-based-standards] (PRIiFAST8): Likewise.
30270 [C99-based-standards] (PRIoFAST8): Likewise.
30271 [C99-based-standards] (PRIuFAST8): Likewise.
30272 [C99-based-standards] (PRIxFAST8): Likewise.
30273 [C99-based-standards] (PRIXFAST8): Likewise.
30274 [C99-based-standards] (SCNdFAST8): Likewise.
30275 [C99-based-standards] (SCNiFAST8): Likewise.
30276 [C99-based-standards] (SCNoFAST8): Likewise.
30277 [C99-based-standards] (SCNuFAST8): Likewise.
30278 [C99-based-standards] (SCNxFAST8): Likewise.
30279 [C99-based-standards] (PRId16): Likewise.
30280 [C99-based-standards] (PRIi16): Likewise.
30281 [C99-based-standards] (PRIo16): Likewise.
30282 [C99-based-standards] (PRIu16): Likewise.
30283 [C99-based-standards] (PRIx16): Likewise.
30284 [C99-based-standards] (PRIX16): Likewise.
30285 [C99-based-standards] (SCNd16): Likewise.
30286 [C99-based-standards] (SCNi16): Likewise.
30287 [C99-based-standards] (SCNo16): Likewise.
30288 [C99-based-standards] (SCNu16): Likewise.
30289 [C99-based-standards] (SCNx16): Likewise.
30290 [C99-based-standards] (PRIdLEAST16): Likewise.
30291 [C99-based-standards] (PRIiLEAST16): Likewise.
30292 [C99-based-standards] (PRIoLEAST16): Likewise.
30293 [C99-based-standards] (PRIuLEAST16): Likewise.
30294 [C99-based-standards] (PRIxLEAST16): Likewise.
30295 [C99-based-standards] (PRIXLEAST16): Likewise.
30296 [C99-based-standards] (SCNdLEAST16): Likewise.
30297 [C99-based-standards] (SCNiLEAST16): Likewise.
30298 [C99-based-standards] (SCNoLEAST16): Likewise.
30299 [C99-based-standards] (SCNuLEAST16): Likewise.
30300 [C99-based-standards] (SCNxLEAST16): Likewise.
30301 [C99-based-standards] (PRIdFAST16): Likewise.
30302 [C99-based-standards] (PRIiFAST16): Likewise.
30303 [C99-based-standards] (PRIoFAST16): Likewise.
30304 [C99-based-standards] (PRIuFAST16): Likewise.
30305 [C99-based-standards] (PRIxFAST16): Likewise.
30306 [C99-based-standards] (PRIXFAST16): Likewise.
30307 [C99-based-standards] (SCNdFAST16): Likewise.
30308 [C99-based-standards] (SCNiFAST16): Likewise.
30309 [C99-based-standards] (SCNoFAST16): Likewise.
30310 [C99-based-standards] (SCNuFAST16): Likewise.
30311 [C99-based-standards] (SCNxFAST16): Likewise.
30312 [C99-based-standards] (PRId32): Likewise.
30313 [C99-based-standards] (PRIi32): Likewise.
30314 [C99-based-standards] (PRIo32): Likewise.
30315 [C99-based-standards] (PRIu32): Likewise.
30316 [C99-based-standards] (PRIx32): Likewise.
30317 [C99-based-standards] (PRIX32): Likewise.
30318 [C99-based-standards] (SCNd32): Likewise.
30319 [C99-based-standards] (SCNi32): Likewise.
30320 [C99-based-standards] (SCNo32): Likewise.
30321 [C99-based-standards] (SCNu32): Likewise.
30322 [C99-based-standards] (SCNx32): Likewise.
30323 [C99-based-standards] (PRIdLEAST32): Likewise.
30324 [C99-based-standards] (PRIiLEAST32): Likewise.
30325 [C99-based-standards] (PRIoLEAST32): Likewise.
30326 [C99-based-standards] (PRIuLEAST32): Likewise.
30327 [C99-based-standards] (PRIxLEAST32): Likewise.
30328 [C99-based-standards] (PRIXLEAST32): Likewise.
30329 [C99-based-standards] (SCNdLEAST32): Likewise.
30330 [C99-based-standards] (SCNiLEAST32): Likewise.
30331 [C99-based-standards] (SCNoLEAST32): Likewise.
30332 [C99-based-standards] (SCNuLEAST32): Likewise.
30333 [C99-based-standards] (SCNxLEAST32): Likewise.
30334 [C99-based-standards] (PRIdFAST32): Likewise.
30335 [C99-based-standards] (PRIiFAST32): Likewise.
30336 [C99-based-standards] (PRIoFAST32): Likewise.
30337 [C99-based-standards] (PRIuFAST32): Likewise.
30338 [C99-based-standards] (PRIxFAST32): Likewise.
30339 [C99-based-standards] (PRIXFAST32): Likewise.
30340 [C99-based-standards] (SCNdFAST32): Likewise.
30341 [C99-based-standards] (SCNiFAST32): Likewise.
30342 [C99-based-standards] (SCNoFAST32): Likewise.
30343 [C99-based-standards] (SCNuFAST32): Likewise.
30344 [C99-based-standards] (SCNxFAST32): Likewise.
30345 [C99-based-standards] (PRId64): Likewise.
30346 [C99-based-standards] (PRIi64): Likewise.
30347 [C99-based-standards] (PRIo64): Likewise.
30348 [C99-based-standards] (PRIu64): Likewise.
30349 [C99-based-standards] (PRIx64): Likewise.
30350 [C99-based-standards] (PRIX64): Likewise.
30351 [C99-based-standards] (SCNd64): Likewise.
30352 [C99-based-standards] (SCNi64): Likewise.
30353 [C99-based-standards] (SCNo64): Likewise.
30354 [C99-based-standards] (SCNu64): Likewise.
30355 [C99-based-standards] (SCNx64): Likewise.
30356 [C99-based-standards] (PRIdLEAST64): Likewise.
30357 [C99-based-standards] (PRIiLEAST64): Likewise.
30358 [C99-based-standards] (PRIoLEAST64): Likewise.
30359 [C99-based-standards] (PRIuLEAST64): Likewise.
30360 [C99-based-standards] (PRIxLEAST64): Likewise.
30361 [C99-based-standards] (PRIXLEAST64): Likewise.
30362 [C99-based-standards] (SCNdLEAST64): Likewise.
30363 [C99-based-standards] (SCNiLEAST64): Likewise.
30364 [C99-based-standards] (SCNoLEAST64): Likewise.
30365 [C99-based-standards] (SCNuLEAST64): Likewise.
30366 [C99-based-standards] (SCNxLEAST64): Likewise.
30367 [C99-based-standards] (PRIdFAST64): Likewise.
30368 [C99-based-standards] (PRIiFAST64): Likewise.
30369 [C99-based-standards] (PRIoFAST64): Likewise.
30370 [C99-based-standards] (PRIuFAST64): Likewise.
30371 [C99-based-standards] (PRIxFAST64): Likewise.
30372 [C99-based-standards] (PRIXFAST64): Likewise.
30373 [C99-based-standards] (SCNdFAST64): Likewise.
30374 [C99-based-standards] (SCNiFAST64): Likewise.
30375 [C99-based-standards] (SCNoFAST64): Likewise.
30376 [C99-based-standards] (SCNuFAST64): Likewise.
30377 [C99-based-standards] (SCNxFAST64): Likewise.
30378 [C99-based-standards] (PRIdMAX): Likewise.
30379 [C99-based-standards] (PRIiMAX): Likewise.
30380 [C99-based-standards] (PRIoMAX): Likewise.
30381 [C99-based-standards] (PRIuMAX): Likewise.
30382 [C99-based-standards] (PRIxMAX): Likewise.
30383 [C99-based-standards] (PRIXMAX): Likewise.
30384 [C99-based-standards] (SCNdMAX): Likewise.
30385 [C99-based-standards] (SCNiMAX): Likewise.
30386 [C99-based-standards] (SCNoMAX): Likewise.
30387 [C99-based-standards] (SCNuMAX): Likewise.
30388 [C99-based-standards] (SCNxMAX): Likewise.
30389 [C99-based-standards] (PRIdPTR): Likewise.
30390 [C99-based-standards] (PRIiPTR): Likewise.
30391 [C99-based-standards] (PRIoPTR): Likewise.
30392 [C99-based-standards] (PRIuPTR): Likewise.
30393 [C99-based-standards] (PRIxPTR): Likewise.
30394 [C99-based-standards] (PRIXPTR): Likewise.
30395 [C99-based-standards] (SCNdPTR): Likewise.
30396 [C99-based-standards] (SCNiPTR): Likewise.
30397 [C99-based-standards] (SCNoPTR): Likewise.
30398 [C99-based-standards] (SCNuPTR): Likewise.
30399 [C99-based-standards] (SCNxPTR): Likewise.
30400 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30401 allow.
30402 * conform/data/stdint.h-data: Update comments to clarify
30403 requirements.
30404 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30405 type.
30406 [C99-based standards] (INT8_MAX): Likewise.
30407 [C99-based standards] (INT16_MIN): Likewise.
30408 [C99-based standards] (INT16_MAX): Likewise.
30409 [C99-based standards] (INT32_MIN): Likewise.
30410 [C99-based standards] (INT32_MAX): Likewise.
30411 [C99-based standards] (INT64_MIN): Likewise.
30412 [C99-based standards] (INT64_MAX): Likewise.
30413 [C99-based standards] (UINT8_MAX): Likewise.
30414 [C99-based standards] (UINT16_MAX): Likewise.
30415 [C99-based standards] (UINT32_MAX): Likewise.
30416 [C99-based standards] (UINT64_MAX): Likewise.
30417 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30418 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30419 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30420 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30421 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30422 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30423 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30424 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30425 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30426 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30427 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30428 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30429 [C99-based standards] (INT_FAST8_MIN): Likewise.
30430 [C99-based standards] (INT_FAST8_MAX): Likewise.
30431 [C99-based standards] (INT_FAST16_MIN): Likewise.
30432 [C99-based standards] (INT_FAST16_MAX): Likewise.
30433 [C99-based standards] (INT_FAST32_MIN): Likewise.
30434 [C99-based standards] (INT_FAST32_MAX): Likewise.
30435 [C99-based standards] (INT_FAST64_MIN): Likewise.
30436 [C99-based standards] (INT_FAST64_MAX): Likewise.
30437 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30438 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30439 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30440 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30441 [C99-based standards] (INTPTR_MIN): Likewise.
30442 [C99-based standards] (INTPTR_MAX): Likewise.
30443 [C99-based standards] (UINTPTR_MAX): Likewise.
30444 [C99-based standards] (INTMAX_MIN): Likewise.
30445 [C99-based standards] (INTMAX_MAX): Likewise.
30446 [C99-based standards] (UINTMAX_MAX): Likewise.
30447 [C99-based standards] (PTRDIFF_MIN): Likewise.
30448 [C99-based standards] (PTRDIFF_MAX): Likewise.
30449 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30450 [C99-based standards] (SIZE_MAX): Likewise.
30451 [C99-based standards] (WCHAR_MAX): Likewise.
30452 [C99-based standards] (WINT_MAX): Likewise.
30453 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30454 constraint on value.
30455 [C99-based standards] (WCHAR_MIN): Likewise.
30456 [C99-based standards] (WINT_MIN): Likewise.
30457 [C99-based standards] (*_t): Allow.
30458 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30459 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30460 Include math.h-data and complex.h-data. Remove all expectations
30461 of math.h and complex.h contents.
30462 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30463 at end of line.
30464 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30465 (struct tm): Expect tag.
30466 [C99-based-standards] (wcstof): Expect function.
30467 [C99-based-standards] (wcstold): Likewise.
30468 [C99-based-standards] (wcstoll): Likewise.
30469 [C99-based-standards] (wcstoull): Likewise.
30470 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30471 macro-int-constant. Specify type.
30472 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30473 constraint on value.
30474 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30475 Specify type.
30476 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30477 Specify value.
30478 [ISO C standards]: Do not allow headers.
30479 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30480 wcs[abcdefghijklmnopqrstuvwxyz]*.
30481 [ISO C standards] (*_t): Do not allow.
30482 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30483 Expect function.
30484 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30485 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30486 Specify type.
30487 [ISO C standards]: Do not allow headers.
30488 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30489 is[abcdefghijklmnopqrstuvwxyz]*.
30490 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30491 to[abcdefghijklmnopqrstuvwxyz]*.
30492 [ISO C standards] (*_t): Do not allow.
30493 * conform/data/stdalign.h-data: New file.
30494 * conform/data/stdbool.h-data: Likewise.
30495 * conform/data/stdnoreturn.h-data: Likewise.
30496
7514feb8
RM
304972012-11-07 Roland McGrath <roland@hack.frob.com>
30498
30499 [BZ #14815]
30500 * manual/filesys.texi (Directory Entries): Typo fix.
30501 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30502
19b2ecfc
MS
305032012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30504
30505 * elf/elf.h (EM_AARCH64): New macro.
30506 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30507 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30508 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30509 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30510 (R_AARCH64_TLSDESC): Likewise.
30511 (NT_ARM_TLS): Likewise.
30512 (NT_ARM_HW_BREAK): Likewise.
30513 (NT_ARM_HW_WATCH): Likewise.
30514
60e235ee
JM
305152012-11-07 Joseph Myers <joseph@codesourcery.com>
30516
30517 [BZ #14811]
30518 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30519 (__ieee754_powl): Saturate nonzero exponents with absolute value
30520 below 0x1p-79 to +/- 0x1p-79.
30521 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30522 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30523 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30524 nonzero exponents with absolute value below 0x1p-32 to +/-
30525 0x1p-32.
30526 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30527 (__ieee754_powl): Saturate nonzero exponents with absolute value
30528 below 0x1p-79 to +/- 0x1p-79.
30529 * math/libm-test.inc (pow_test): Add more tests.
30530
0ab234b7
AK
305312012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30532
30533 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30534 _dl_s390_cap_flags with kernel. Increase string length.
30535 (_dl_s390_platforms): Add z196 and zEC12.
30536
45832f74
JM
305372012-11-07 Joseph Myers <joseph@codesourcery.com>
30538
30539 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30540 Change XOPEN21K to XOPEN2K.
30541
19218757
MK
305422012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30543
30544 * string/memmove.c: Use memcpy when possible.
30545
c5f45721
AJ
305462012-11-06 Andreas Jaeger <aj@suse.de>
30547
30548 * po/eo.po: Update from translation team.
30549
82477c28
JM
305502012-11-06 Joseph Myers <joseph@codesourcery.com>
30551
30552 [BZ #14793]
30553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30554 exponent and small x and y exponents, scale x or y up. Increase
30555 by 2 the exponent used in scaling up.
30556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30558 * math/libm-test.inc (fma_test): Add more tests.
30559 (fma_test_towardzero): Likewise.
30560 (fma_test_downward): Likewise.
30561 (fma_test_upward): Likewise.
30562
99252c8c
JM
305632012-11-05 Joseph Myers <joseph@codesourcery.com>
30564
acfa885f
JM
30565 [BZ #14805]
30566 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30567 fenv_t *.
30568
99252c8c
JM
30569 [BZ #14801]
30570 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30571 namespace for names of struct fields.
30572 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30573 fenv_t fields.
30574 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30575 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30576
d6d98dea
ST
305772012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30578
30579 [BZ #3665]
30580 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30581
e10bb107
TS
305822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30583
30584 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30585 PTR_DEMANGLE.
30586
30587 [BZ #5246]
30588 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30589 PTR_DEMANGLE.
30590
a0c2940d
JM
305912012-11-04 Joseph Myers <joseph@codesourcery.com>
30592
30593 [BZ #14797]
30594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30595 definitely overflow as x * y not x * y + z.
30596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30597 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30598 * math/libm-test.inc (fma_test): Add more tests.
30599 (fma_test_towardzero): Likewise.
30600 (fma_test_downward): Likewise.
30601 (fma_test_upward): Likewise.
30602
b830319d
TS
306032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30604
30605 [BZ #157]
30606
30607 * include/stub-tag.h: Remove file.
30608 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30609 '#include' of it.
30610 * manual/maint.texi (Porting): Don't reference it.
30611 * Makerules ($(objpfx)stubs): Likewise.
30612 * dirent/closedir.c: Don't include <stub-tag.h>.
30613 * dirent/dirfd.c: Likewise.
30614 * dirent/fdopendir.c: Likewise.
30615 * dirent/getdents.c: Likewise.
30616 * dirent/getdents64.c: Likewise.
30617 * dirent/opendir.c: Likewise.
30618 * dirent/readdir.c: Likewise.
30619 * dirent/readdir64.c: Likewise.
30620 * dirent/readdir64_r.c: Likewise.
30621 * dirent/readdir_r.c: Likewise.
30622 * dirent/rewinddir.c: Likewise.
30623 * dirent/seekdir.c: Likewise.
30624 * dirent/telldir.c: Likewise.
30625 * gmon/profil.c: Likewise.
30626 * grp/setgroups.c: Likewise.
30627 * inet/if_index.c: Likewise.
30628 * io/access.c: Likewise.
30629 * io/chdir.c: Likewise.
30630 * io/chmod.c: Likewise.
30631 * io/chown.c: Likewise.
30632 * io/close.c: Likewise.
30633 * io/dup.c: Likewise.
30634 * io/dup2.c: Likewise.
30635 * io/dup3.c: Likewise.
30636 * io/euidaccess.c: Likewise.
30637 * io/faccessat.c: Likewise.
30638 * io/fchdir.c: Likewise.
30639 * io/fchmod.c: Likewise.
30640 * io/fchmodat.c: Likewise.
30641 * io/fchown.c: Likewise.
30642 * io/fchownat.c: Likewise.
30643 * io/fcntl.c: Likewise.
30644 * io/flock.c: Likewise.
30645 * io/fstatfs.c: Likewise.
30646 * io/fstatfs64.c: Likewise.
30647 * io/fstatvfs.c: Likewise.
30648 * io/fstatvfs64.c: Likewise.
30649 * io/futimens.c: Likewise.
30650 * io/fxstat.c: Likewise.
30651 * io/fxstat64.c: Likewise.
30652 * io/fxstatat.c: Likewise.
30653 * io/fxstatat64.c: Likewise.
30654 * io/getcwd.c: Likewise.
30655 * io/isatty.c: Likewise.
30656 * io/lchmod.c: Likewise.
30657 * io/lchown.c: Likewise.
30658 * io/link.c: Likewise.
30659 * io/linkat.c: Likewise.
30660 * io/lseek.c: Likewise.
30661 * io/lseek64.c: Likewise.
30662 * io/lxstat64.c: Likewise.
30663 * io/mkdir.c: Likewise.
30664 * io/mkdirat.c: Likewise.
30665 * io/mkfifo.c: Likewise.
30666 * io/mkfifoat.c: Likewise.
30667 * io/open.c: Likewise.
30668 * io/open64.c: Likewise.
30669 * io/openat.c: Likewise.
30670 * io/openat64.c: Likewise.
30671 * io/pipe.c: Likewise.
30672 * io/pipe2.c: Likewise.
30673 * io/poll.c: Likewise.
30674 * io/posix_fadvise.c: Likewise.
30675 * io/posix_fadvise64.c: Likewise.
30676 * io/posix_fallocate.c: Likewise.
30677 * io/posix_fallocate64.c: Likewise.
30678 * io/read.c: Likewise.
30679 * io/readlink.c: Likewise.
30680 * io/readlinkat.c: Likewise.
30681 * io/rmdir.c: Likewise.
30682 * io/sendfile.c: Likewise.
30683 * io/sendfile64.c: Likewise.
30684 * io/statfs.c: Likewise.
30685 * io/statfs64.c: Likewise.
30686 * io/statvfs.c: Likewise.
30687 * io/statvfs64.c: Likewise.
30688 * io/symlink.c: Likewise.
30689 * io/symlinkat.c: Likewise.
30690 * io/ttyname.c: Likewise.
30691 * io/ttyname_r.c: Likewise.
30692 * io/umask.c: Likewise.
30693 * io/unlink.c: Likewise.
30694 * io/unlinkat.c: Likewise.
30695 * io/utime.c: Likewise.
30696 * io/utimensat.c: Likewise.
30697 * io/write.c: Likewise.
30698 * io/xmknod.c: Likewise.
30699 * io/xmknodat.c: Likewise.
30700 * io/xstat.c: Likewise.
30701 * io/xstat64.c: Likewise.
30702 * login/getpt.c: Likewise.
30703 * login/grantpt.c: Likewise.
30704 * login/unlockpt.c: Likewise.
30705 * math/e_acoshl.c: Likewise.
30706 * math/e_acosl.c: Likewise.
30707 * math/e_asinl.c: Likewise.
30708 * math/e_atan2l.c: Likewise.
30709 * math/e_atanhl.c: Likewise.
30710 * math/e_coshl.c: Likewise.
30711 * math/e_expl.c: Likewise.
30712 * math/e_fmodl.c: Likewise.
30713 * math/e_gammal_r.c: Likewise.
30714 * math/e_hypotl.c: Likewise.
30715 * math/e_j0l.c: Likewise.
30716 * math/e_j1l.c: Likewise.
30717 * math/e_jnl.c: Likewise.
30718 * math/e_lgammal_r.c: Likewise.
30719 * math/e_log10l.c: Likewise.
30720 * math/e_log2l.c: Likewise.
30721 * math/e_logl.c: Likewise.
30722 * math/e_powl.c: Likewise.
30723 * math/e_rem_pio2l.c: Likewise.
30724 * math/e_sinhl.c: Likewise.
30725 * math/e_sqrtl.c: Likewise.
30726 * math/fclrexcpt.c: Likewise.
30727 * math/fedisblxcpt.c: Likewise.
30728 * math/feenablxcpt.c: Likewise.
30729 * math/fegetenv.c: Likewise.
30730 * math/fegetexcept.c: Likewise.
30731 * math/fegetround.c: Likewise.
30732 * math/feholdexcpt.c: Likewise.
30733 * math/fesetenv.c: Likewise.
30734 * math/fesetround.c: Likewise.
30735 * math/feupdateenv.c: Likewise.
30736 * math/fgetexcptflg.c: Likewise.
30737 * math/fraiseexcpt.c: Likewise.
30738 * math/fsetexcptflg.c: Likewise.
30739 * math/ftestexcept.c: Likewise.
30740 * math/k_cosl.c: Likewise.
30741 * math/k_rem_pio2l.c: Likewise.
30742 * math/k_sinl.c: Likewise.
30743 * math/k_tanl.c: Likewise.
30744 * math/s_asinhl.c: Likewise.
30745 * math/s_atanl.c: Likewise.
30746 * math/s_cbrtl.c: Likewise.
30747 * math/s_erfl.c: Likewise.
30748 * math/s_expm1l.c: Likewise.
30749 * math/s_log1pl.c: Likewise.
30750 * math/s_tanhl.c: Likewise.
30751 * misc/acct.c: Likewise.
30752 * misc/brk.c: Likewise.
30753 * misc/chflags.c: Likewise.
30754 * misc/chroot.c: Likewise.
30755 * misc/fchflags.c: Likewise.
30756 * misc/fgetxattr.c: Likewise.
30757 * misc/flistxattr.c: Likewise.
30758 * misc/fremovexattr.c: Likewise.
30759 * misc/fsetxattr.c: Likewise.
30760 * misc/fsync.c: Likewise.
30761 * misc/ftruncate.c: Likewise.
30762 * misc/futimes.c: Likewise.
30763 * misc/futimesat.c: Likewise.
30764 * misc/getdomain.c: Likewise.
30765 * misc/getdtsz.c: Likewise.
30766 * misc/gethostid.c: Likewise.
30767 * misc/gethostname.c: Likewise.
30768 * misc/getloadavg.c: Likewise.
30769 * misc/getpagesize.c: Likewise.
30770 * misc/getsysstats.c: Likewise.
30771 * misc/getxattr.c: Likewise.
30772 * misc/gtty.c: Likewise.
30773 * misc/ioctl.c: Likewise.
30774 * misc/lgetxattr.c: Likewise.
30775 * misc/listxattr.c: Likewise.
30776 * misc/llistxattr.c: Likewise.
30777 * misc/lremovexattr.c: Likewise.
30778 * misc/lsetxattr.c: Likewise.
30779 * misc/lutimes.c: Likewise.
30780 * misc/madvise.c: Likewise.
30781 * misc/mincore.c: Likewise.
30782 * misc/mlock.c: Likewise.
30783 * misc/mlockall.c: Likewise.
30784 * misc/mmap.c: Likewise.
30785 * misc/mprotect.c: Likewise.
30786 * misc/msync.c: Likewise.
30787 * misc/munlock.c: Likewise.
30788 * misc/munlockall.c: Likewise.
30789 * misc/munmap.c: Likewise.
30790 * misc/preadv.c: Likewise.
30791 * misc/preadv64.c: Likewise.
30792 * misc/ptrace.c: Likewise.
30793 * misc/pwritev.c: Likewise.
30794 * misc/pwritev64.c: Likewise.
30795 * misc/readv.c: Likewise.
30796 * misc/reboot.c: Likewise.
30797 * misc/remap_file_pages.c: Likewise.
30798 * misc/removexattr.c: Likewise.
30799 * misc/revoke.c: Likewise.
30800 * misc/select.c: Likewise.
30801 * misc/setdomain.c: Likewise.
30802 * misc/setegid.c: Likewise.
30803 * misc/seteuid.c: Likewise.
30804 * misc/sethostid.c: Likewise.
30805 * misc/sethostname.c: Likewise.
30806 * misc/setregid.c: Likewise.
30807 * misc/setreuid.c: Likewise.
30808 * misc/setxattr.c: Likewise.
30809 * misc/sstk.c: Likewise.
30810 * misc/stty.c: Likewise.
30811 * misc/swapoff.c: Likewise.
30812 * misc/swapon.c: Likewise.
30813 * misc/sync.c: Likewise.
30814 * misc/syncfs.c: Likewise.
30815 * misc/syscall.c: Likewise.
30816 * misc/truncate.c: Likewise.
30817 * misc/ualarm.c: Likewise.
30818 * misc/usleep.c: Likewise.
30819 * misc/ustat.c: Likewise.
30820 * misc/utimes.c: Likewise.
30821 * misc/vhangup.c: Likewise.
30822 * misc/writev.c: Likewise.
30823 * posix/_exit.c: Likewise.
30824 * posix/alarm.c: Likewise.
30825 * posix/execve.c: Likewise.
30826 * posix/fexecve.c: Likewise.
30827 * posix/fork.c: Likewise.
30828 * posix/fpathconf.c: Likewise.
30829 * posix/getaddrinfo.c: Likewise.
30830 * posix/getegid.c: Likewise.
30831 * posix/geteuid.c: Likewise.
30832 * posix/getgid.c: Likewise.
30833 * posix/getgroups.c: Likewise.
30834 * posix/getlogin.c: Likewise.
30835 * posix/getlogin_r.c: Likewise.
30836 * posix/getpgid.c: Likewise.
30837 * posix/getpid.c: Likewise.
30838 * posix/getppid.c: Likewise.
30839 * posix/getresgid.c: Likewise.
30840 * posix/getresuid.c: Likewise.
30841 * posix/getsid.c: Likewise.
30842 * posix/getuid.c: Likewise.
30843 * posix/glob64.c: Likewise.
30844 * posix/nanosleep.c: Likewise.
30845 * posix/pathconf.c: Likewise.
30846 * posix/pause.c: Likewise.
30847 * posix/posix_madvise.c: Likewise.
30848 * posix/pread.c: Likewise.
30849 * posix/pread64.c: Likewise.
30850 * posix/pwrite.c: Likewise.
30851 * posix/pwrite64.c: Likewise.
30852 * posix/sched_getaffinity.c: Likewise.
30853 * posix/sched_getp.c: Likewise.
30854 * posix/sched_gets.c: Likewise.
30855 * posix/sched_primax.c: Likewise.
30856 * posix/sched_primin.c: Likewise.
30857 * posix/sched_rr_gi.c: Likewise.
30858 * posix/sched_setaffinity.c: Likewise.
30859 * posix/sched_setp.c: Likewise.
30860 * posix/sched_sets.c: Likewise.
30861 * posix/sched_yield.c: Likewise.
30862 * posix/setgid.c: Likewise.
30863 * posix/setlogin.c: Likewise.
30864 * posix/setpgid.c: Likewise.
30865 * posix/setresgid.c: Likewise.
30866 * posix/setresuid.c: Likewise.
30867 * posix/setsid.c: Likewise.
30868 * posix/setuid.c: Likewise.
30869 * posix/sleep.c: Likewise.
30870 * posix/spawni.c: Likewise.
30871 * posix/sysconf.c: Likewise.
30872 * posix/times.c: Likewise.
30873 * posix/wait.c: Likewise.
30874 * posix/wait3.c: Likewise.
30875 * posix/wait4.c: Likewise.
30876 * posix/waitpid.c: Likewise.
30877 * resolv/gai_sigqueue.c: Likewise.
30878 * resource/getpriority.c: Likewise.
30879 * resource/getrlimit.c: Likewise.
30880 * resource/getrusage.c: Likewise.
30881 * resource/nice.c: Likewise.
30882 * resource/setpriority.c: Likewise.
30883 * resource/setrlimit.c: Likewise.
30884 * resource/ulimit.c: Likewise.
30885 * rt/aio_cancel.c: Likewise.
30886 * rt/aio_fsync.c: Likewise.
30887 * rt/aio_read.c: Likewise.
30888 * rt/aio_sigqueue.c: Likewise.
30889 * rt/aio_suspend.c: Likewise.
30890 * rt/aio_write.c: Likewise.
30891 * rt/clock_getres.c: Likewise.
30892 * rt/clock_gettime.c: Likewise.
30893 * rt/clock_nanosleep.c: Likewise.
30894 * rt/clock_settime.c: Likewise.
30895 * rt/lio_listio.c: Likewise.
30896 * rt/mq_close.c: Likewise.
30897 * rt/mq_getattr.c: Likewise.
30898 * rt/mq_notify.c: Likewise.
30899 * rt/mq_open.c: Likewise.
30900 * rt/mq_receive.c: Likewise.
30901 * rt/mq_send.c: Likewise.
30902 * rt/mq_setattr.c: Likewise.
30903 * rt/mq_timedreceive.c: Likewise.
30904 * rt/mq_timedsend.c: Likewise.
30905 * rt/mq_unlink.c: Likewise.
30906 * rt/shm_open.c: Likewise.
30907 * rt/shm_unlink.c: Likewise.
30908 * rt/timer_create.c: Likewise.
30909 * rt/timer_delete.c: Likewise.
30910 * rt/timer_getoverr.c: Likewise.
30911 * rt/timer_gettime.c: Likewise.
30912 * rt/timer_settime.c: Likewise.
30913 * setjmp/__longjmp.c: Likewise.
30914 * setjmp/setjmp.c: Likewise.
30915 * signal/kill.c: Likewise.
30916 * signal/killpg.c: Likewise.
30917 * signal/raise.c: Likewise.
30918 * signal/sigaction.c: Likewise.
30919 * signal/sigaltstack.c: Likewise.
30920 * signal/sigblock.c: Likewise.
30921 * signal/sigignore.c: Likewise.
30922 * signal/sigintr.c: Likewise.
30923 * signal/signal.c: Likewise.
30924 * signal/sigpause.c: Likewise.
30925 * signal/sigpending.c: Likewise.
30926 * signal/sigqueue.c: Likewise.
30927 * signal/sigreturn.c: Likewise.
30928 * signal/sigset.c: Likewise.
30929 * signal/sigsetmask.c: Likewise.
30930 * signal/sigstack.c: Likewise.
30931 * signal/sigsuspend.c: Likewise.
30932 * signal/sigtimedwait.c: Likewise.
30933 * signal/sigvec.c: Likewise.
30934 * signal/sigwait.c: Likewise.
30935 * signal/sigwaitinfo.c: Likewise.
30936 * signal/sysv_signal.c: Likewise.
30937 * socket/accept.c: Likewise.
30938 * socket/accept4.c: Likewise.
30939 * socket/bind.c: Likewise.
30940 * socket/connect.c: Likewise.
30941 * socket/getpeername.c: Likewise.
30942 * socket/getsockname.c: Likewise.
30943 * socket/getsockopt.c: Likewise.
30944 * socket/isfdtype.c: Likewise.
30945 * socket/listen.c: Likewise.
30946 * socket/recv.c: Likewise.
30947 * socket/recvfrom.c: Likewise.
30948 * socket/recvmsg.c: Likewise.
30949 * socket/send.c: Likewise.
30950 * socket/sendmsg.c: Likewise.
30951 * socket/sendto.c: Likewise.
30952 * socket/setsockopt.c: Likewise.
30953 * socket/shutdown.c: Likewise.
30954 * socket/sockatmark.c: Likewise.
30955 * socket/socket.c: Likewise.
30956 * socket/socketpair.c: Likewise.
30957 * stdio-common/ctermid.c: Likewise.
30958 * stdio-common/cuserid.c: Likewise.
30959 * stdio-common/remove.c: Likewise.
30960 * stdio-common/rename.c: Likewise.
30961 * stdio-common/renameat.c: Likewise.
30962 * stdio-common/tempname.c: Likewise.
30963 * stdlib/getcontext.c: Likewise.
30964 * stdlib/makecontext.c: Likewise.
30965 * stdlib/setcontext.c: Likewise.
30966 * stdlib/swapcontext.c: Likewise.
30967 * stdlib/system.c: Likewise.
30968 * streams/fattach.c: Likewise.
30969 * streams/fdetach.c: Likewise.
30970 * streams/getmsg.c: Likewise.
30971 * streams/getpmsg.c: Likewise.
30972 * streams/putmsg.c: Likewise.
30973 * streams/putpmsg.c: Likewise.
30974 * sysdeps/unix/bsd/getpt.c: Likewise.
30975 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30976 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30977 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30979 Likewise.
30980 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30981 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30982 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30983 * sysvipc/msgctl.c: Likewise.
30984 * sysvipc/msgget.c: Likewise.
30985 * sysvipc/msgrcv.c: Likewise.
30986 * sysvipc/msgsnd.c: Likewise.
30987 * sysvipc/semctl.c: Likewise.
30988 * sysvipc/semget.c: Likewise.
30989 * sysvipc/semop.c: Likewise.
30990 * sysvipc/semtimedop.c: Likewise.
30991 * sysvipc/shmat.c: Likewise.
30992 * sysvipc/shmctl.c: Likewise.
30993 * sysvipc/shmdt.c: Likewise.
30994 * sysvipc/shmget.c: Likewise.
30995 * termios/tcdrain.c: Likewise.
30996 * termios/tcflow.c: Likewise.
30997 * termios/tcflush.c: Likewise.
30998 * termios/tcgetattr.c: Likewise.
30999 * termios/tcgetpgrp.c: Likewise.
31000 * termios/tcsendbrk.c: Likewise.
31001 * termios/tcsetattr.c: Likewise.
31002 * termios/tcsetpgrp.c: Likewise.
31003 * time/adjtime.c: Likewise.
31004 * time/clock.c: Likewise.
31005 * time/getitimer.c: Likewise.
31006 * time/gettimeofday.c: Likewise.
31007 * time/setitimer.c: Likewise.
31008 * time/settimeofday.c: Likewise.
31009 * time/stime.c: Likewise.
31010 * time/time.c: Likewise.
31011
310122012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31013
a20492cf
PT
31014 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31015 /usr/old/bin.
31016
72e182e3
PT
31017 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31018 instead of spaces.
31019 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31020
fbeafede
JM
310212012-11-03 Joseph Myers <joseph@codesourcery.com>
31022
5b5b04d6
JM
31023 [BZ #14796]
31024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31025 FE_TONEAREST before applying Dekker multiplication and Knuth
31026 addition. Clear inexact exceptions and check for exact zero
31027 results afterwards.
31028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31031 * math/libm-test.inc (fma_test): Add more tests.
31032 (fma_test_towardzero): Likewise.
31033 (fma_test_downward): Likewise.
31034 (fma_test_upward): Likewise.
31035 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31036 function.
31037 (libc_fesetround): New macro.
31038 (libc_fesetroundf): Likewise.
31039 (libc_fesetroundl): Likewise.
31040 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31041 function.
31042 (libc_fesetround_387): Likewise.
31043 (libc_fesetroundf): New macro.
31044 (libc_fesetround): Likewise.
31045 (libc_fesetroundl): Likewise.
31046 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31047 function.
31048 (libc_fesetroundf): New macro.
31049 (libc_fesetround): Likewise.
31050 (libc_fesetroundl): Likewise.
31051 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31052 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31053 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31054 libm_hidden_ver.
31055 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31056 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31057 libm_hidden_def.
31058 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31059 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31060 libm_hidden_ver.
31061 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31062 libm_hidden_def.
31063
fbeafede
JM
31064 [BZ #3439]
31065 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31066 integer constant usable in #if and use that to give value to enum
31067 constant.
31068 (FE_DIVBYZERO): Likewise.
31069 (FE_UNDERFLOW): Likewise.
31070 (FE_OVERFLOW): Likewise.
31071 (FE_INVALID): Likewise.
31072 (FE_INVALID_SNAN): Likewise.
31073 (FE_INVALID_ISI): Likewise.
31074 (FE_INVALID_IDI): Likewise.
31075 (FE_INVALID_ZDZ): Likewise.
31076 (FE_INVALID_IMZ): Likewise.
31077 (FE_INVALID_COMPARE): Likewise.
31078 (FE_INVALID_SOFTWARE): Likewise.
31079 (FE_INVALID_SQRT): Likewise.
31080 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31081 (FE_TONEAREST): Likewise.
31082 (FE_TOWARDZERO): Likewise.
31083 (FE_UPWARD): Likewise.
31084 (FE_DOWNWARD): Likewise.
31085 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31086 (FE_DIVBYZERO): Likewise.
31087 (FE_OVERFLOW): Likewise.
31088 (FE_UNDERFLOW): Likewise.
31089 (FE_INEXACT): Likewise.
31090 (FE_TONEAREST): Likewise.
31091 (FE_DOWNWARD): Likewise.
31092 (FE_UPWARD): Likewise.
31093 (FE_TOWARDZERO): Likewise.
31094 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31095 (FE_UNDERFLOW): Likewise.
31096 (FE_OVERFLOW): Likewise.
31097 (FE_DIVBYZERO): Likewise.
31098 (FE_INVALID): Likewise.
31099 (FE_TONEAREST): Likewise.
31100 (FE_TOWARDZERO): Likewise.
31101 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31102 (FE_OVERFLOW): Likewise.
31103 (FE_UNDERFLOW): Likewise.
31104 (FE_DIVBYZERO): Likewise.
31105 (FE_INEXACT): Likewise.
31106 (FE_TONEAREST): Likewise.
31107 (FE_TOWARDZERO): Likewise.
31108 (FE_UPWARD): Likewise.
31109 (FE_DOWNWARD): Likewise.
31110 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31111 (FE_DIVBYZERO): Likewise.
31112 (FE_OVERFLOW): Likewise.
31113 (FE_UNDERFLOW): Likewise.
31114 (FE_INEXACT): Likewise.
31115 (FE_TONEAREST): Likewise.
31116 (FE_DOWNWARD): Likewise.
31117 (FE_UPWARD): Likewise.
31118 (FE_TOWARDZERO): Likewise.
31119
105ca950
CM
311202012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31121
31122 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31123
a542b389
AS
311242012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31125
31126 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31127 commands. Quote $PWD.
31128 (blacklist_exports): Don't use remove_newlines. Replace "declare
31129 -x" by "export".
31130 (remove_newlines): Remove.
31131
f62c8abc
L
311322012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31133
31134 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31135 * stdlib/stdlib.h (atof): Moved to ...
31136 * include/bits/stdlib-float.h: Here. New file.
31137 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31138 * stdlib/bits/stdlib-float.h: New file.
31139 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31140 -mno-sse -mno-mmx.
31141 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31142 <xmmintrin.h>.
31143
0155d5b2
JM
311442012-11-02 Joseph Myers <joseph@codesourcery.com>
31145
a68d0680
JM
31146 * conform/conformtest.pl (@headers): Add fenv.h.
31147 * conform/data/fenv.h-data: New file.
31148 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31149 include of <math/fenv.h>.
31150
caf7f573
JM
31151 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31152 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31153 && !UNIX98]. Enables tests for XOPEN2K8.
31154 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31155 POSIX2008]: Likewise.
31156
6c073ad6
JM
31157 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31158 (struct rusage): Do not expect type or its members.
31159
0155d5b2
JM
31160 [BZ #3439]
31161 * math/math.h (FP_NAN): Define macro to integer constant usable in
31162 #if and use that to give value to enum constant.
31163 (FP_INFINITE): Likewise.
31164 (FP_ZERO): Likewise.
31165 (FP_SUBNORMAL): Likewise.
31166 (FP_NORMAL): Likewise.
31167
b5dcacb4
AS
311682012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31169
31170 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31171 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31172 arguments.
31173
f7934be8
RM
311742012-11-02 Roland McGrath <roland@hack.frob.com>
31175
31176 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31177 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31178 autoconf-time if not.
31179 * configure.in: Remove AC_PREREQ.
31180
d7d08bde
TMQMF
311812012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31182
31183 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31184 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31185 of the internal implementation.
31186
dcdae19a
JM
311872012-11-02 Joseph Myers <joseph@codesourcery.com>
31188
31189 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31190 except include of <misc/sys/syslog.h>.
31191
d6cffd3e
AS
311922012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31193
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31195 function returns with a NULL context exit with zero.
31196
b3563932
TMQMF
311972012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31198
31199 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31200
b288a93d
L
312012012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31202
31203 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31204 (run_program_cmd): This.
31205 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31206 (tst_langinfo): New variable. Use it.
31207
a2421a68
SAS
312082012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31209
31210 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31211 floating point opcodes.
31212
6f796e1b
TS
312132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31214
7402596b
TS
31215 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31216 variable.
31217
d0d4f868
TS
31218 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31219
6f796e1b
TS
31220 * sysdeps/mach/hurd/powerpc: Remove directory.
31221 * sysdeps/mach/powerpc: Likewise.
31222
4da224a2
AS
312232012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31224
31225 * scripts/check-local-headers.sh: Ignore c++ headers.
31226
341dd673
TS
312272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31228
31229 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31230 __libc_cleanup_region_start argument.
31231
473611b2
JM
312322012-11-01 Joseph Myers <joseph@codesourcery.com>
31233
31234 [BZ #14784]
31235 [BZ #14785]
31236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31237 x * y using scaling, not as x * y + z.
31238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31240 * math/libm-test.inc (fma_test): Add more tests.
31241 (fma_test_towardzero): Likewise.
31242 (fma_test_downward): Likewise.
31243 (fma_test_upward): Likewise.
31244
4078da3d
TS
312452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31246
31247 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31248
903252aa
JM
312492012-10-31 Joseph Myers <joseph@codesourcery.com>
31250
31251 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31252 New variable.
31253
cbc818d0
TS
312542012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31255
31256 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31257
5a03cb1e
AS
312582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31259
31260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31261 Fix sort order.
31262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31263 Likewise.
31264
90aff2ff
TMQMF
312652012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31266
31267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31268 Fix the order of the list for glibc 2.17.
31269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31270 Likewise.
31271
1818fcb7
AS
312722012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31273
31274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31275
ef82f4da
JM
312762012-10-31 Joseph Myers <joseph@codesourcery.com>
31277
16a0e2ec
JM
31278 [BZ #14610]
31279 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31280 for low part of x being zero before using __atanl (y).
31281 * math/libm-test.inc (atan2_test): Add another test.
31282
0eb69512
JM
31283 * manual/install.texi (Configuring and compiling): Document
31284 general use of test-wrapper and test-wrapper-env.
31285 * INSTALL: Regenerated.
31286
ef82f4da
JM
31287 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31288 (__fma): Do not extract and scale down low bits on after-rounding
31289 systems when result rounded to normal precision would have normal
31290 exponent.
31291 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31292 (__fmal): Do not extract and scale down low bits on after-rounding
31293 systems when result rounded to normal precision would have normal
31294 exponent.
31295 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31296 (__fmal): Do not extract and scale down low bits on after-rounding
31297 systems when result rounded to normal precision would have normal
31298 exponent.
31299 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31300 macro.
31301 (fma_test): Add more tests.
31302 (fma_test_towardzero): Likewise.
31303 (fma_test_downward): Likewise.
31304 (fma_test_upward): Likewise.
31305
954ef0d9
L
313062012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31307
31308 * sysdeps/i386/tininess.h: Renamed to ...
31309 * sysdeps/x86/tininess.h: This.
31310 * sysdeps/x86_64/tininess.h: Removed.
31311
df61ffb2
JM
313122012-10-30 Joseph Myers <joseph@codesourcery.com>
31313
31314 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31315 input. Use $(build-program-cmd).
31316 ($(objpfx)tst-array1-static.out): Likewise.
31317 ($(objpfx)tst-array2.out): Likewise.
31318 ($(objpfx)tst-array3.out): Likewise.
31319 ($(objpfx)tst-array4.out): Likewise.
31320 ($(objpfx)tst-array5.out): Likewise.
31321 ($(objpfx)tst-array5-static.out): Likewise.
31322
01767843
CM
313232012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31324
47cc1490
CM
31325 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31326 if defined.
31327
01767843
CM
31328 * nss/nsswitch.h (nss_interface_function): Provide new
31329 macro for use with NSS functions.
31330 * grp/initgroups.c: Use new macro.
31331 * nss/getXXbyYY.c: Likewise.
31332 * nss/getXXbyYY_r.c: Likewise.
31333 * nss/getXXent.c: Likewise.
31334 * nss/getXXent_r.c: Likewise.
31335 * sysdeps/posix/getaddrinfo.c: Likewise.
31336
8321aa97
AJ
313372012-10-30 Andreas Jaeger <aj@suse.de>
31338
31339 * po/ru.po: Update Russion translation from translation project.
31340
2a27fd6d
JM
313412012-10-30 Joseph Myers <joseph@codesourcery.com>
31342
8627a232
JM
31343 [BZ #14152]
31344 [BZ #14783]
31345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31346 result and shift together with sticky bit instead of replicating
31347 round-to-nearest rounding.
31348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31350 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31351 missing underflow exceptions.
31352 (fma_test_towardzero): Add more tests.
31353 (fma_test_downward): Likewise.
31354 (fma_test_upward): Likewise.
31355
2a27fd6d
JM
31356 [BZ #14047]
31357 * sysdeps/generic/tininess.h: New file.
31358 * sysdeps/i386/tininess.h: Likewise.
31359 * sysdeps/sh/tininess.h: Likewise.
31360 * sysdeps/x86_64/tininess.h: Likewise.
31361 * stdlib/tst-strtod-underflow.c: Likewise.
31362 * stdlib/tst-tininess.c: Likewise.
31363 * stdlib/strtod_l.c: Include <tininess.h>.
31364 (round_and_return): Do not set errno for exact underflow cases.
31365 Force an underflow exception when setting errno for underflow.
31366 Determine underflow based on rounding to normal precision if
31367 TININESS_AFTER_ROUNDING.
31368 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31369 ERANGE for exact underflow cases.
31370 * stdlib/Makefile (tests): Add tst-tininess and
31371 tst-strtod-underflow.
31372 ($(objpfx)tst-tininess): Use $(link-libm).
31373 ($(objpfx)tst-strtod-underflow): Likewise.
31374
e7170363
AJ
313752012-10-30 Andreas Jaeger <aj@suse.de>
31376
e5088dc6
AJ
31377 [BZ#14767]
31378 * elf/Makefile (tests): Remove conditional for have-initfini-array
31379 since this is now always required and the variable does not exist
31380 anymore.
31381 (tests-static): Likewise.
31382 (modules-names): Likewise.
31383
e7170363 31384 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31385
31386 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31387 merged with constructor/destructor.
31388 (init_array): Likewise.
31389 * elf/tst-array2dep.c (fini_array): Likewise.
31390 (init_array): Likewise.
31391
60457d8a
MF
313922012-10-29 Mike Frysinger <vapier@gentoo.org>
31393
31394 * manual/message.texi: Delete @cartouche tags.
31395
8bece752
PT
313962012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31397
94ce799f
PT
31398 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31399 EOPNOTSUPP.
31400 * sysdeps/mach/hurd/fsync.c: Likewise.
31401
8bece752
PT
31402 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31403 [_POSIX_REALTIME_SIGNALS]: Change condition to
31404 [_POSIX_REALTIME_SIGNALS > 0].
31405
86ebe6b1
AJ
314062012-10-27 Andreas Jaeger <aj@suse.de>
31407
31408 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31409 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31410 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31411 [__WORDSIZE != 64]: Likewise.
31412
54399c08
L
314132012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31414
31415 * iconvdata/tst-table.sh: Remove ${SHELL}.
31416 * iconvdata/tst-tables.sh: Likewise.
31417
e2211bed
DM
314182012-10-25 David S. Miller <davem@davemloft.net>
31419
31420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31421 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31422 of strtoull.
31423
f303f97c
DM
31424 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31425 ifunc-impl-list.c
31426 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31427 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31428 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31429 file.
31430
1e9d84cd
RM
314312012-10-25 Roland McGrath <roland@hack.frob.com>
31432
31433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31434 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31435 __getdirentries.
31436
df381762
JM
314372012-10-25 Joseph Myers <joseph@codesourcery.com>
31438 Jim Blandy <jimb@codesourcery.com>
31439
31440 * scripts/cross-test-ssh.sh: New file.
31441 * manual/install.texi (Configuring and compiling): Document use of
31442 cross-test-ssh.sh.
31443 * INSTALL: Regenerated.
31444
bff64913
PT
314452012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31446
31447 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31448 EOPNOTSUPP.
31449
25fe8932
JM
314502012-10-25 Joseph Myers <joseph@codesourcery.com>
31451
31452 * Makeconfig (run-program-prefix): Fix comment.
31453
cc1290d0
JM
314542012-10-24 Joseph Myers <joseph@codesourcery.com>
31455 Jim Blandy <jimb@codesourcery.com>
31456
31457 * Makeconfig (test-wrapper): New variable,
31458 (test-wrapper-env): Likewise.
31459 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31460 (run-built-tests): Define to yes.
31461 (run-program-prefix): Use $(test-wrapper).
31462 (built-program-cmd): Likewise.
31463 * Rules (make-test-out): Use $(test-wrapper-env) and
31464 $(host-built-program-cmd).
31465 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31466 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31467 tst-pathopt.sh.
31468 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31469 $(test-wrapper-env) to tst-rtld-load-self.sh.
31470 ($(objpfx)order2.out): Use $(test-wrapper).
31471 ($(objpfx)tst-initorder.out): Likewise.
31472 ($(objpfx)tst-initorder2.out): Likewise.
31473 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31474 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31475 (test_wrapper_env): New variable. Use it to run ld.so.
31476 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31477 Use it to run ld.so.
31478 (test_wrapper_env): Likewise.
31479 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31480 $(test-wrapper) to run-iconv-test.sh.
31481 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31482 (ICONV): Use $test_wrapper.
31483 * posix/Makefile ($(objpfx)globtest.out): Pass
31484 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31485 globtest.sh, not $(run-program-prefix).
31486 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31487 (test_wrapper): Likewise.
31488 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31489 set together with run_via_rtld_prefix.
31490 (run_program_prefix): Define in terms of test_wrapper and
31491 run_via_rtld_prefix.
31492
6e6249d0
RM
314932012-10-24 Roland McGrath <roland@hack.frob.com>
31494
31495 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31496 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31497 Targets removed.
31498
31499 [BZ #14743]
31500 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31501 Declare __clock_getres, __clock_gettime, __clock_settime,
31502 __clock_nanosleep, and __clock_getcpuclockid.
31503 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31504 Remove librt_hidden_def (clock_gettime).
31505 * sysdeps/unix/clock_gettime.c: Likewise.
31506 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31508 * rt/clock_getres.c: Define __clock_getres as an alias.
31509 * sysdeps/posix/clock_getres.c: Likewise.
31510 * rt/clock_settime.c: Define __clock_settime as an alias.
31511 * sysdeps/unix/clock_settime.c: Likewise.
31512 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31513 * sysdeps/unix/clock_nanosleep.c: Likewise.
31514 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31515 * rt/clock-compat.c: New file.
31516 * rt/Makefile (librt-routines): Add clock-compat and move
31517 $(clock-routines) to ...
31518 (routines): ... here, new variable.
31519 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31520 Don't add get_clockfreq here.
31521 * rt/Versions (libc: GLIBC_2.17): New version set.
31522 Add clock_* symbols here.
31523 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31524 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31525 (GLIBC_2.17): Add clock_* symbols.
31526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31530 Likewise.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31532 Likewise.
31533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31537 * NEWS: Mention the move.
31538
31539 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31540 Use __open, __read, __close rather than their public counterparts.
31541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31542 (__get_clockfreq_via_cpuinfo): Likewise.
31543 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31544 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31545
31546 * config.h.in (HAVE_IFUNC): New #undef.
31547 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31548 was successful.
31549 * configure: Regenerated.
31550
0cae3f4b
MF
315512012-10-24 Mike Frysinger <vapier@gentoo.org>
31552
31553 * configure.in: Move READELF check to start of file.
31554 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31555 libc_cv_asm_gnu_indirect_function in the process.
31556 * configure: Regenerated.
31557
8175a253
MF
315582012-10-24 Mike Frysinger <vapier@gentoo.org>
31559
31560 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31561 send the output to /dev/null.
31562 (libc_cv_cc_with_libunwind): Likewise.
31563 (libc_cv_as_noexecstack): Likewise.
31564 * configure: Regenerate.
31565
0708a7d1
JM
315662012-10-24 Joseph Myers <joseph@codesourcery.com>
31567
10b40d85
JM
31568 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31569
0708a7d1
JM
31570 * posix/globtest.sh (TMPDIR): Do not set.
31571 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31572 (testout): Likewise.
31573
9fddec1a
AJ
315742012-10-24 Andreas Jaeger <aj@suse.de>
31575
3a8db22f
AJ
31576 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31577 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31578 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31579 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31580 posix_fadvise64, posix_fallocate64.
31581
9fddec1a
AJ
31582 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31583 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31584 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31585 Likewise.
31586 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31587 Likewise.
31588 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31589
31590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31591 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31592 <bits/fcntl-linux.h>.
31593 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31594
31595 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31596 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31597 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31598 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31599 [__WORDSIZE != 64]: Likewise.
31600
ebfd1bbd
JM
316012012-10-23 Joseph Myers <joseph@codesourcery.com>
31602
03ac099f
JM
31603 * Makeconfig (run-built-tests): New variable.
31604 * Rules [$(cross-compiling) = yes]: Change condition to
31605 [$(run-built-tests) = no].
31606 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31607 to [$(run-built-tests) = yes].
31608 * elf/Makefile [$(cross-compiling) = no]: Likewise
31609 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31610 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31611 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31612 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31613 * io/Makefile [$(cross-compiling) = no]: Likewise.
31614 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31615 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31616 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31617 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31618 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31619 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31620 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31621 * string/Makefile [$(cross-compiling) = no]: Likewise.
31622
ebfd1bbd
JM
31623 * posix/Makefile ($(objpfx)globtest.out): Pass
31624 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31625 $(rtld-installed-name).
31626 * posix/globtest.sh (elf_objpfx): Remove variable.
31627 (rtld_installed_name): Likewise.
31628 (library_path): Likewise.
31629 (run_program_prefix): New variable. Use for running globtest
31630 binary.
31631
166bca24
JB
316322012-10-23 Jim Blandy <jimb@codesourcery.com>
31633 Joseph Myers <joseph@codesourcery.com>
31634
31635 * Makeconfig (host-built-program-cmd): New variable.
31636 * elf/Makefile (tst-stackguard1-ARGS): Use
31637 $(host-built-program-cmd).
31638 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31639 (tst-spawn-ARGS): Likewise.
31640 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31641
88866099
JM
316422012-10-23 Joseph Myers <joseph@codesourcery.com>
31643 Jim Blandy <jimb@codesourcery.com>
31644
31645 * Makeconfig (run-via-rtld-prefix): New variable.
31646 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31647 (built-program-cmd): Likewise.
31648
b4b4c296
AJ
316492012-10-22 Andreas Jaeger <aj@suse.de>
31650
31651 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31652 __O_RSYNC if it exists, otherwise to O_SYNC.
31653
6fb54a22
JB
316542012-10-22 Jim Blandy <jimb@codesourcery.com>
31655 Joseph Myers <joseph@codesourcery.com>
31656
31657 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31658 /dev/null.
31659 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31660 from /dev/null
31661 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31662 /dev/null.
31663
481b90b9
AJ
316642012-10-22 Andreas Jaeger <aj@suse.de>
31665
2a0e2669
AJ
31666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31667 Define always.
31668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31669
76e38f9a
AJ
31670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31671 bits/fcntl-linux.h.
31672
7cd37b43
AJ
31673 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31674 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31675
481b90b9
AJ
31676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31677 to __O_LARGEFILE.
31678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31679 to __O_LARGEFILE.
31680
aba75984
JB
316812012-10-21 Jim Blandy <jimb@codesourcery.com>
31682 Joseph Myers <joseph@codesourcery.com>
31683
31684 * config.make.in (NM): New variable.
31685
88d4247f
AJ
316862012-10-21 Andreas Jaeger <aj@suse.de>
31687
31688 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31689 definitions and declarations that are provided by
31690 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31691
f2eed205
L
316922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 [BZ #14683]
31695 * elf/Makefile (tests-static): Add tst-leaks1-static.
31696 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31697 ($(objpfx)tst-leaks1-static): New rule.
31698 ($(objpfx)tst-leaks1-static-mem): Likewise.
31699 (tst-leaks1-static-ENV): New macro.
31700 * elf/dl-open.c (dl_open_worker): Check the main application
31701 only if SHARED is defined.
31702 * elf/tst-leaks1-static.c: New file.
31703
335e6931
AJ
317042012-10-20 Andreas Jaeger <aj@suse.de>
31705
31706 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31707 generic values for Linux.
31708 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31709 and declarations that are provided by <bits/fcntl-linux.h> and
31710 include <bits/fcntl-linux.h>.
31711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31712 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31713
ac5c94d3
RM
317142012-10-20 Roland McGrath <roland@hack.frob.com>
31715
31716 * io/fcntl.h: Move include of <bits/types.h> to the top and
31717 include it unconditionally.
31718
de54b33a
L
317192012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31720
228cfb01
L
31721 * wcsmbs/Makefile (tests-ifunc): New variable.
31722 (tests): Add $(tests-ifunc).
31723 * wcsmbs/test-wcschr-ifunc.c: New file.
31724 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31725 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31726 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31727 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31728 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31729
69f07e5f
L
31730 * string/Makefile (tests-ifunc): New variable.
31731 (tests): Add $(tests-ifunc).
31732 * string/test-memccpy.c (TEST_NAME): New macro.
31733 * string/test-memchr.c (TEST_NAME): Likewise.
31734 * string/test-memcmp.c (TEST_NAME): Likewise.
31735 * string/test-memcpy.c (TEST_NAME): Likewise.
31736 * string/test-memmem.c (TEST_NAME): Likewise.
31737 * string/test-memmove.c (TEST_NAME): Likewise.
31738 * string/test-memset.c (TEST_NAME): Likewise.
31739 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31740 * string/test-stpcpy.c (TEST_NAME): Likewise.
31741 * string/test-stpncpy.c (TEST_NAME): Likewise.
31742 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31743 * string/test-strcasestr.c (TEST_NAME): Likewise.
31744 * string/test-strcat.c (TEST_NAME): Likewise.
31745 * string/test-strchr.c (TEST_NAME): Likewise.
31746 * string/test-strcmp.c(TEST_NAME): Likewise.
31747 * string/test-strcpy.c (TEST_NAME): Likewise.
31748 * string/test-strcspn.c (TEST_NAME): Likewise.
31749 * string/test-strlen.c (TEST_NAME): Likewise.
31750 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31751 * string/test-strncmp.c (TEST_NAME): Likewise.
31752 * string/test-strncpy.c (TEST_NAME): Likewise.
31753 * string/test-strnlen.c (TEST_NAME): Likewise.
31754 * string/test-strpbrk.c (TEST_NAME): Likewise.
31755 * string/test-strrchr.c (TEST_NAME): Likewise.
31756 * string/test-strspn.c (TEST_NAME): Likewise.
31757 * string/test-strstr.c (TEST_NAME): Likewise.
31758 * string/test-bcopy-ifunc.c: New file.
31759 * string/test-bzero-ifunc.c: Likewise.
31760 * string/test-memccpy-ifunc.c: Likewise.
31761 * string/test-memchr-ifunc.c: Likewise.
31762 * string/test-memcmp-ifunc.c: Likewise.
31763 * string/test-memcpy-ifunc.c: Likewise.
31764 * string/test-memmem-ifunc.c: Likewise.
31765 * string/test-memmove-ifunc.c: Likewise.
31766 * string/test-mempcpy-ifunc.c: Likewise.
31767 * string/test-memset-ifunc.c: Likewise.
31768 * string/test-rawmemchr-ifunc.c: Likewise.
31769 * string/test-stpcpy-ifunc.c: Likewise.
31770 * string/test-stpncpy-ifunc.c: Likewise.
31771 * string/test-strcasecmp-ifunc.c: Likewise.
31772 * string/test-strcasestr-ifunc.c: Likewise.
31773 * string/test-strcat-ifunc.c: Likewise.
31774 * string/test-strchr-ifunc.c: Likewise.
31775 * string/test-strchrnul-ifunc.c: Likewise.
31776 * string/test-strcmp-ifunc.c: Likewise.
31777 * string/test-strcpy-ifunc.c: Likewise.
31778 * string/test-strcspn-ifunc.c: Likewise.
31779 * string/test-strlen-ifunc.c: Likewise.
31780 * string/test-strncasecmp-ifunc.c: Likewise.
31781 * string/test-strncat-ifunc.c: Likewise.
31782 * string/test-strncmp-ifunc.c: Likewise.
31783 * string/test-strncpy-ifunc.c: Likewise.
31784 * string/test-strnlen-ifunc.c: Likewise.
31785 * string/test-strpbrk-ifunc.c: Likewise.
31786 * string/test-strrchr-ifunc.c: Likewise.
31787 * string/test-strspn-ifunc.c: Likewise.
31788 * string/test-strstr-ifunc.c: Likewise.
31789
de54b33a
L
31790 * debug/Makefile (tests-ifunc): New variable.
31791 (tests): Add $(tests-ifunc).
31792 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31793 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31794 * debug/test-stpcpy_chk-ifunc.c: New file.
31795 * debug/test-strcpy_chk-ifunc.c: Likewise.
31796
88481c16
SP
317972012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31798
31799 [BZ #13601]
31800 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31801 header is not read in.
31802
135948bd
JM
318032012-10-19 Joseph Myers <joseph@codesourcery.com>
31804
89f1c388
JM
31805 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31806 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31807 directly. Pass built executable to script as
31808 $(built-program-cmd).
31809 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31810 $testprogram without using LD_LIBRARY_PATH and $ldso.
31811
e40a0d21
JM
31812 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31813 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31814 $(rtld-installed-name).
31815 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31816 (rtld_installed_name): Likewise.
31817 (library_path): Likewise.
31818 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31819 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31820 $(run-program-prefix) to tst-tables.sh.
31821 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31822 it to run tst-table-from and tst-table-to.
31823 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31824 Pass it to tst-table.sh.
31825 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31826 $(run-program-prefix) to tst-gettext.sh.
31827 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31828 tst-translit.sh.
31829 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31830 tst-gettext2.sh.
31831 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31832 to run tst-gettext.
31833 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31834 to run tst-gettext2.
31835 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31836 to run tst-translit.
31837 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31838 $(run-program-prefix) to tst-mtrace.sh.
31839 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31840 to run tst-mtrace.
31841 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31842 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31843 $(rtld-installed-name).
31844 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31845 (rtld_installed_name): Likewise.
31846 (run_program_prefix): New variable. Use it to run wordexp-test.
31847
728e272a
JM
31848 * Makeconfig (ARCH): Remove all definitions.
31849 (machine): Likewise.
31850 [ARCH]: Remove conditional code.
31851 [!objdir]: Give error.
31852 [!objdir] (objpfx): Remove.
31853 [!objdir] (common-objpfx): Likewise.
31854 [!objdir] (common-objdir): Likewise.
31855 * configure.in (config_makefile): Remove. Hardcode Makefile in
31856 AC_CONFIG_FILES call.
31857 * configure: Regenerated.
31858
d528cdcf
JM
31859 [BZ #13888]
31860 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31861 or TMPDIR.
31862 (testout): Likewise.
31863
135948bd
JM
31864 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31865 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31866 $(rtld-installed-name).
31867 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31868 (rtld_installed_name): Likwise.
31869 (runit): Remove function.
31870 (run_getconf): New variable, Use it for running getconf binary.
31871
38c78296
L
318722012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31873
31874 [BZ #14716]
31875 * string/test-memmem.c (check_result): New function.
31876 (do_one_test): Use it.
31877 (check1): New function.
31878 (test_main): Use it.
31879
d077f65f
MT
318802012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31881
31882 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31883
ced52c71
JM
318842012-10-18 Joseph Myers <joseph@codesourcery.com>
31885
31886 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31887 (_G_LSEEK64): Likewise.
31888 (_G_MMAP64): Likewise.
31889 (_G_FSTAT64): Likewise.
31890 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31891 (_G_LSEEK64): Likewise.
31892 (_G_MMAP64): Likewise.
31893 (_G_FSTAT64): Likewise.
31894 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31895 unconditional. Call __mmap64 directly.
31896 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31897 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31898 __lseek64 directly.
31899 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31900 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31901 __mmap64 directly.
31902 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31903 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31904 __lseek64 directly.
31905 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31906 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31907 __lseek64 directly.
31908 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31909 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31910 __lseek64 directly.
31911 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31912 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31913 __fxstat64 directly.
31914 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31915 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31916 unconditional.
31917 (freopen64) [!_G_OPEN64]: Remove conditional code.
31918 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31919 unconditional.
31920 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31921 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31922 unconditional.
31923 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31924 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31925 unconditional.
31926 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31927 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31928 unconditional.
31929 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31930 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31931 unconditional.
31932 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31933 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31934 unconditional.
31935 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31936 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31937 unconditional.
31938 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31939
b741de23
SP
319402012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31941
31942 [BZ #12140]
31943 * manual/memory.texi (Malloc Tunable Parameters): Add note
31944 about free list pointers overwriting some perturb bytes.
31945 Wording suggested by Roland McGrath.
31946
f9b9d9c9
JM
319472012-10-17 Joseph Myers <joseph@codesourcery.com>
31948
31949 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31950 (lgamma_test): Likewise.
31951 (tgamma_test): Likewise.
31952
172a631a
FW
319532012-10-16 Florian Weimer <fweimer@redhat.com>
31954
31955 [BZ #14700]
31956 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31957 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31958
e9f37252
MK
319592012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31960
31961 * NEWS: Mention BZ #14716.
31962 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31963 when removing AVAILABLE1_USES_J macro.
31964
d394eb74
L
319652012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31966
31967 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31968 (__bswap_64): __uint64_t for unsigned 64-bit int.
31969
ca38dc17
AS
319702012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31971
31972 * include/string.h (memmem): Declare libc hidden alias.
31973 * string/memmem.c (memmem): Define libc hidden alias.
31974 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31975 __read, __close instead of open, read, close.
31976
9a387d1f
L
319772012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31978
ac49ecaf
L
31979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31980 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31981 global and hidden.
31982 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31983 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31984 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31985 Likewise.
31986 (__rawmemchr_sse2): Likewise.
31987 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31988 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31989 (__strchr_sse2): Likewise.
31990 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31991 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31992 (__strcasecmp_sse2): Likewise.
31993 (__strncasecmp_sse2): Likewise.
31994 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31995 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31996 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31997 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31998 (__strrchr_sse2): Likewise.
31999 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32000 ifunc-impl-list.c.
32001 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32003 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32004 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32005 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32009 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32010 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32011 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32012 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32013 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32014 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32015 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32016 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32017 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32018 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32019 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32020 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32021 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32022 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32023 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32024 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32025 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32026 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32027 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32028 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32029 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32030 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32031
b090e8ea
L
32032 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32033 global and hidden.
32034 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32035 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32036 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32037 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32038 Likewise.
32039 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32040 Likewise.
32041 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32042 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32043 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32044 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32045 ifunc-impl-list.c.
32046 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32047 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32048 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32049 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32055 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32056 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32057 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32058 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32059 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32060 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32063 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32064 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32065 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32067 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32075 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32076 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32077 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32078 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32079 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32080 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32081 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32082 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32083 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32087
11dd4af6
L
32088 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32089 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32090 * include/ifunc-impl-list.h: New file.
32091 * misc/ifunc-impl-list.c: Likewise.
32092 * misc/Makefile (routines): Add ifunc-impl-list.
32093 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32094 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32095 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32096 TEST_NAME]: New variables.
11dd4af6
L
32097 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32098 are defined.
32099 (test_init): Call __libc_ifunc_impl_list to initialize
32100 func_list if TEST_IFUNC and TEST_NAME are defined.
32101
9a387d1f
L
32102 * string/Makefile (strop-tests): Add bcopy and bzero.
32103 * string/test-bcopy.c: New file.
32104 * string/test-bzero.c: Likewise.
32105 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32106 defined.
32107 * string/test-memset.c: Support bzero test if TEST_BZERO is
32108 defined.
32109 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32110 __libc_memmove.
32111 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32112 __libc_memset.
32113 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32114 of memset.
32115
472371b9
JM
321162012-10-10 Joseph Myers <joseph@codesourcery.com>
32117
1e4a9536
JM
32118 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32119 * configure: Regenerated.
32120
d173d12e
JM
32121 * Makeconfig (+link-static-before-libc): Don't include
32122 $(link-static-libc).
32123
472371b9
JM
32124 * libio/libio.h (_IO_pos_t): Remove.
32125
89a3ad0b
AO
321262012-10-10 Alexandre Oliva <aoliva@redhat.com>
32127
32128 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32129 McGrath.
32130
e7451425
AO
321312012-10-10 Alexandre Oliva <aoliva@redhat.com>
32132
32133 * crypt/crypt-entry.c: Include fips-private.h.
32134 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32135 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32136 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32137 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32138
4ba74a35
AO
321392012-10-10 Alexandre Oliva <aoliva@redhat.com>
32140
32141 * crypt/crypt-private.h: Include stdbool.h.
32142 (_ufc_setup_salt_r): Return bool.
32143 * crypt/crypt-entry.c: Include errno.h.
32144 (__crypt_r): Return NULL with EINVAL for bad salt.
32145 * crypt/crypt_util.c (bad_for_salt): New.
32146 (_ufc_setup_salt_r): Check that salt is long enough and within
32147 the specified alphabet.
32148 * crypt/badsalttest.c: New file.
32149 * crypt/Makefile (tests): Add it.
32150 ($(objpfx)badsalttest): New.
32151
f96f1242
MK
321522012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32153
32154 * NEWS: Add entry for BZ #14602.
32155
0e8e0c1c
JM
321562012-10-09 Joseph Myers <joseph@codesourcery.com>
32157
32158 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32159 type-generic.
32160 * math/libm-test.inc: Update comment listing what functions and
32161 macros are tested.
32162 (isgreater_test): New function.
32163 (isgreaterequal_test): Likewise.
32164 (isless_test): Likewise.
32165 (islessequal_test): Likewise.
32166 (islessgreater_test): Likewise.
32167 (isunordered_test): Likewise.
32168 (main): Call the new functions.
32169
273edc5e
RM
321702012-10-09 Roland McGrath <roland@hack.frob.com>
32171
b8493de0
RM
32172 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32173 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32174 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32175 * sysdeps/i386/configure: Regenerated.
32176 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32177 * sysdeps/mach/configure: Regenerated.
32178 * sysdeps/mach/hurd/configure: Regenerated.
32179 * sysdeps/powerpc/configure: Regenerated.
32180 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32181 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32182 * sysdeps/s390/s390-32/configure: Regenerated.
32183 * sysdeps/s390/s390-64/configure: Regenerated.
32184 * sysdeps/sh/configure: Regenerated.
32185 * sysdeps/sparc/configure: Regenerated.
32186 * sysdeps/unix/sysv/linux/configure: Regenerated.
32187 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32188 * sysdeps/x86_64/configure: Regenerated.
32189
273edc5e
RM
32190 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32191 defined. Don't check if MAP is NULL.
32192
c8450f70
JM
321932012-10-09 Joseph Myers <joseph@codesourcery.com>
32194
32195 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32196 (_G_stat64): Likewise.
32197 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32198 (_G_stat64): Likewise.
32199 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32200 instead of struct _G_stat64.
32201 * libio/fileops.c (mmap_remap_check): Likewise.
32202 (decide_maybe_mmap): Likewise.
32203 (_IO_new_file_seekoff): Likewise.
32204 (_IO_file_stat): Likewise.
32205 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32206 _G_off64_t.
32207 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32208 instead of struct _G_stat64.
32209 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32210
57e605ba
MK
322112012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32212
32213 [BZ #14602]
32214 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32215 Replace with ...
32216 (CHECK_EOL): New macro.
32217 (two_way_short_needle): Check beginning of haystack for EOL. Use
32218 CHECK_EOL.
32219 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32220 Replace with CHECK_EOL.
32221 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32222 Replace with CHECK_EOL.
32223
ef1bb361
JM
322242012-10-08 Joseph Myers <joseph@codesourcery.com>
32225
32226 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32227 type-generic.
32228 * math/libm-test.inc: Update comment listing what functions and
32229 macros are tested.
32230 (finite_test): New function.
32231 (isinf_test): Likewise.
32232 (isnan_test): Likewise.
32233 (fpclassify_test): Test subnormal input.
32234 (isfinite_test): Likewise.
32235 (isnormal_test): Likewise.
32236 (main): Call the new functions.
32237
55f11534
JN
322382012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32239
32240 [BZ #14660]
32241 * Makerules (%.dynsym): Force C locale when running
32242 $(OBJDUMP) --dynamic-syms.
32243
1ab29350
AS
322442012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32245
32246 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32247 <stdint.h>.
32248
f1ecb7ef
DM
322492012-10-06 David S. Miller <davem@davemloft.net>
32250
32251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32252 upper 32-bits of the length value in %o2 since we use branch-on-register
32253 tests which consider the entire 64-bit register.
32254
5d41d91a
L
322552012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32256
32257 * string/test-strstr.c (check2): Add a test for page boundary.
32258
3baddb72
DM
322592012-10-05 David S. Miller <davem@davemloft.net>
32260
32261 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32262 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32263 file.
32264 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32265 sysdep_routines.
32266 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32267 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32268 and bzero when HWCAP_SPARC_CRYPTO is present.
32269
9cee5585
L
322702012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32271
d7e0dab9
L
32272 [BZ #14602]
32273 * string/test-strstr.c (check2): New function.
32274 (test_main): Call check2.
32275
03759f47
L
32276 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32277 and bug-strchr1.
32278 * string/bug-strcasestr1.c (do_test): Moved to ...
32279 * string/test-strcasestr.c (check1): Here. New function.
32280 (do_one_test): Break out result checking code into ...
32281 (check_result): This. New function.
32282 (do_one_test): Call check_result.
32283 (test_main): Call check1.
32284 * string/bug-strchr1.c (do_test): Moved to ...
32285 * string/test-strchr.c (check1): Here. New function.
32286 (do_one_test): Break out result checking code into ...
32287 (check_result): This. New function.
32288 (do_one_test): Call check_result.
32289 (test_main): Call check1.
32290 * string/bug-strstr1.c (main): Moved to ...
046f153e 32291 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32292 (do_one_test): Break out result checking code into ...
32293 (check_result): This. New function.
32294 (do_one_test): Call check_result.
32295 (test_main): Call check1.
32296 * string/bug-strcasestr1.c: Removed.
32297 * string/bug-strchr1.c: Likewise.
32298 * string/bug-strstr1.c: Likewise.
32299
53cea63e
L
32300 * elf/Makefile (dl-routines): Add hwcaps.
32301 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32302 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32303 (_dl_important_hwcaps): Moved to ...
32304 * elf/dl-hwcaps.c: Here. New file.
32305 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32306
9cee5585 32307 [BZ #14557]
bb859b06
L
32308 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32309 if IS_IN_rtld isn't defined.
32310
9cee5585
L
32311 * elf/dl-support.c (_dl_sysinfo_map): New.
32312 Include "get-dynamic-info.h" and "setup-vdso.h".
32313 (_dl_non_dynamic_init): Call setup_vdso.
32314 * elf/dynamic-link.h: Don't include <assert.h>.
32315 (elf_get_dynamic_info): Moved to ...
32316 * elf/get-dynamic-info.h: Here. New file.
32317 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32318 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32319 * elf/setup-vdso.h: Here. New file.
32320 * elf/rtld.c: Include "setup-vdso.h".
32321 (dl_main): Call setup_vdso.
32322
23c31b76
JM
323232012-10-05 Joseph Myers <joseph@codesourcery.com>
32324
28234b07
JM
32325 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32326 creal in comment listing functions tested. List finite, isinf,
32327 isnan, isless, islessequal, isgreater, isgreaterequal,
32328 islessgreater, isunordered, lgamma_r and pow10 as functions and
32329 macros not tested. Mention which functions not tested are aliases
32330 for other functions. Fix typo. Note that signs of NaNs are not
32331 tested.
32332
23c31b76
JM
32333 * scripts/config.guess: Update from config.git.
32334 * scripts/config.sub: Likewise.
32335
9043e228
RM
323362012-10-04 Roland McGrath <roland@hack.frob.com>
32337
32338 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32339 * misc/madvise.c (madvise): Renamed to __madvise.
32340 Make madvise a weak alias.
32341 * include/sys/mman.h: Declare __madvise.
32342 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32343 * sysdeps/unix/syscalls.list
32344 (madvise): Make __madvise the strong name, and madvise a weak alias.
32345 * sysdeps/unix/sysv/linux/syscalls.list
32346 (madvise, mmap): Remove redundant entries.
32347 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32348 * malloc/malloc.c (mtrim): Likewise.
32349 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32350
f57f8055
RM
323512012-10-03 Roland McGrath <roland@hack.frob.com>
32352
32353 * sysdeps/mach/hurd/dl-cache.c: File removed.
32354 * config.h.in (USE_LDCONFIG): New #undef.
32355 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32356 * configure: Regenerated.
32357 * elf/Makefile (dl-routines): Add dl-cache only under
32358 [$(use-ldconfig) = yes].
32359 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32360 cache on [USE_LDCONFIG].
32361 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32362 [USE_LDCONFIG].
32363 * elf/rtld.c (dl_main): Likewise.
32364
5bb0c10a
PT
323652012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32366
32367 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32368 _SC_LEVEL4_CACHE_LINESIZE.
32369
010188c6
RM
323702012-10-03 Roland McGrath <roland@hack.frob.com>
32371
32372 * sysdeps/unix/bsd/confstr.h: File removed.
32373
b6c5ec07
AO
323742012-10-02 Alexandre Oliva <aoliva@redhat.com>
32375
32376 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32377 sys/sdt-config.h.
32378
408223d4
RM
323792012-10-02 Roland McGrath <roland@hack.frob.com>
32380
32381 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32382 Make 'mapoff' field ElfW(Off) rather than off_t.
32383
bb9510dc
DL
323842012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32385
fc997c6e
DL
32386 * nscd/Makefile: Remove nscd-cflags and all its users.
32387 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32388 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32389
bb9510dc
DL
32390 [BZ #10631]
32391 * malloc.c (malloc_printerr): Clarify error message.
32392
05699367
L
323932012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32394
32395 [BZ #14648]
32396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32397 Set bit_FMA_Usable if FMA is supported.
32398 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32399 macro.
32400 (bit_FMA4_Usable): Updated.
32401 (index_FMA_Usable): New macro.
32402 (CPUID_FMA): Likewise
32403 (HAS_FMA): Defined with bit_FMA_Usable.
32404
51367701
RM
324052012-10-01 Roland McGrath <roland@hack.frob.com>
32406
32407 * bits/types.h (__swblk_t): Type removed.
32408 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32409 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32411 (__SWBLK_T_TYPE): Likewise.
32412 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32413 (__SWBLK_T_TYPE): Likewise.
32414 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32415 (__SWBLK_T_TYPE): Likewise.
32416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32417 (__SWBLK_T_TYPE): Likewise.
32418
4d57bf63 324192012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32420 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32421
32422 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32423 (xdr_mapname): Use YPMAXMAP as maxsize.
32424 (xdr_peername): Use YPMAXPEER as maxsize.
32425 (xdr_keydat): Use YPAXRECORD as maxsize.
32426 (xdr_valdat): Use YPMAXRECORD as maxsize.
32427
93c65d43
RM
324282012-10-01 Roland McGrath <roland@hack.frob.com>
32429
497a03d6
RM
32430 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32431
93c65d43
RM
32432 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32433 * csu/init-first.c: ... here.
32434 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32435 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32436 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32437 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32438 * sysdeps/i386/init-first.c: File removed.
32439 * sysdeps/sh/init-first.c: File removed.
32440
bec749fd
JM
324412012-10-01 Joseph Myers <joseph@codesourcery.com>
32442
32443 [BZ #14645]
32444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32445 if x * y might underflow to zero and z is zero.
32446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32448 * math/libm-test.inc (min_subnorm_value): New variable.
32449 (fma_test): Add more tests.
32450 (fma_test_towardzero): Likewise.
32451 (fma_test_downward): Likewise
32452 (fma_test_upward): Likewise.
32453 (initialize): Set min_subnorm_value.
32454
8ec5b013
JM
324552012-09-29 Joseph Myers <joseph@codesourcery.com>
32456
32457 [BZ #14638]
32458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32459 0 + 0.
32460 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32461 mode for addition resulting in exact zero.
32462 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32464 exact 0 + 0.
32465 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32466 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32467 * math/libm-test.inc (fma_test): Add more tests.
32468 (fma_test_towardzero): New function.
32469 (fma_test_downward): Likewise.
32470 (fma_test_upward): Likewise.
32471 (main): Call the new functions.
32472
b1fa802e
DM
324732012-09-28 David S. Miller <davem@davemloft.net>
32474
32475 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32476
d3b9fd9e
RM
324772012-09-28 Roland McGrath <roland@hack.frob.com>
32478
ea4d37b3
RM
32479 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32480 instead of SIGALRM.
32481
ac51c949
RM
32482 * sysdeps/gnu/_G_config.h: Moved to ...
32483 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32484 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32485 * sysdeps/generic/_G_config.h: ... here.
32486
28c195f7
RM
32487 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32488
848917f9
RM
32489 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32490
6bacf05b
RM
32491 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32492 Conditionalize target on [libnss_test1.so-version].
32493
91363dbb
RM
32494 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32495
cc87f7d8
RM
32496 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32497 (elfobjdir): Move out of conditionals.
32498
b1c608fe
RM
32499 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32500 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32501 (__nss_lookup_function): Conditionalize label remove_from_tree on
32502 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32503
1d9a6d96
DM
325042012-09-28 David S. Miller <davem@davemloft.net>
32505
32506 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32507 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32508 file.
32509 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32510 sysdep_routines.
32511 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32513 when HWCAP_SPARC_CRYPTO is present.
32514
72581615
PT
325152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32516
32517 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32518
715a900c
JL
325192012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32520
32521 [BZ #6530]
32522 * stdio-common/vfprintf.c (process_string_arg): Revert
32523 2000-07-22 change.
32524
325252011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32526
32527 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32528 for testcase.
32529 * stdio-common/tst-sprintf.c: Include <locale.h>
32530 (main): Test sprintf's handling of incomplete multibyte
32531 characters.
32532
9bac1d86
L
325332012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32534
32535 * elf/dl-runtime.c (VERSYMIDX): Removed.
32536 * elf/dl-version.c (VERSYMIDX): Likewise.
32537 * elf/do-rel.h (VERSYMIDX): Likewise.
32538 (VALIDX): Likewise.
32539 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32540 * elf/rtld.c (VALIDX): Likewise.
32541 (ADDRIDX): Likewise.
9bac1d86
L
32542 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32543 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32544 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32545 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32546 (VALIDX): Likewise.
32547 (ADDRIDX): Likewise.
9bac1d86 32548
b31606c0
PT
325492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32550
32551 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32552
11541177
JL
325532012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32554
32555 [BZ #11438]
32556 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32557 to global scope.
32558 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32559 addresses are in the same scope as 192.0.2/24.
32560 * posix/gai.conf: Document new scope table defaults.
32561
adb26fae
SP
325622012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32563
32564 [BZ #5298]
32565 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32566 for ftell. Compute offsets from write pointers instead.
32567 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32568
4573c6b0
SP
325692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32570
32571 [BZ #14543]
32572 * libio/Makefile (tests): New test case tst-fseek.
32573 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32574 combination works in wide mode.
32575 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32576 state when the external buffer state changes.
32577
aa9bbfe6
DM
325782012-09-27 David S. Miller <davem@davemloft.net>
32579
32580 [BZ #14376]
32581 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32582 pass reloc->r_addend in as the 'high' argument to
32583 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32584
784421e7
DM
32585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32586
c39bc8b8
PT
325872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32588
32589 * rt/tst-aio2.c: Include <pthread.h>.
32590 * rt/tst-aio3.c: Likewise.
32591
1ccc2399
SE
325922012-09-27 Steve Ellcey <sellcey@mips.com>
32593
32594 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32595
31ed4153
L
325962012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32597
25f5f885
L
32598 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32599 contents on [SHARED].
31ed4153 32600
b7bfe116
MP
326012012-09-26 Marek Polacek <polacek@redhat.com>
32602
32603 [BZ #14530]
32604 [BZ #13741]
32605 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32606 for C++ and GCC <4.3 as well as for non GCC compilers.
32607
43c4edba
MT
326082012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32609
32610 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32611
6a1bf82f
RM
326122012-09-25 Roland McGrath <roland@hack.frob.com>
32613
32614 * Makefile.in (all, install): Declare with .PHONY.
32615 Reported by Michael Hope <michael.hope@linaro.org>.
32616
8ad11b9a
TMQMF
326172012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32618
32619 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32620 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32621 system header.
32622 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32623 Likewise.
32624 (sydep_routines): Add the new and the internal functions.
32625 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32626 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32628 (GLIBC_2.17): Add the new function.
32629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32630 (GLIBC_2.17): Likewise.
32631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32632 (GLIBC_2.17): Likewise.
32633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32634 (GLIBC_2.17): Likewise.
32635 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32636
7e2fca8d
AM
326372012-09-25 Alan Modra <amodra@gmail.com>
32638
32639 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32640 Add release barrier before setting once_control to say
32641 initialisation is done. Add hints on lwarx. Use macro in
32642 place of isync.
32643 (clear_once_control): Add release barrier.
32644
b87c4b24
JM
326452012-09-25 Joseph Myers <joseph@codesourcery.com>
32646
d032e0d2
JM
32647 [BZ #13629]
32648 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32649 specially.
32650 * math/s_clog10.c (__clog10): Likewise.
32651 * math/s_clog10f.c (__clog10f): Likewise.
32652 * math/s_clog10l.c (__clog10l): Likewise.
32653 * math/s_clogf.c (__clogf): Likewise.
32654 * math/s_clogl.c (__clogl): Likewise.
32655 * math/Makefile (libm-calls): Add x2y2m1.
32656 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32657 (__x2y2m1): Likewise.
32658 (__x2y2m1l): Likewise.
32659 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32660 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32663 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32664 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32665 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32666 * sysdeps/i386/fpu/libm-test-ulps: Update.
32667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32668
b87c4b24
JM
32669 [BZ #14621]
32670 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32671 int as type of variable DEPTH.
32672 (glob): Use size_t instead of int as type of variables NEWCOUNT
32673 and OLD_PATHC.
32674
6d3bf199
LD
326752012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32676
22bf5c17
LD
32677 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32678 Add s_sincosf-sse2.
32679 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32680 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32681 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32682 macros for using routine as __sincosf_ia32.
32683 Use macro for function declaration and weak_alias.
32684 * sysdeps/i386/fpu/libm-test-ulps: Update.
32685
32686 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32688
32689 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32690 subnormal argument.
32691 * math/s_cexpf.c (__cexpf): Likewise.
32692 * math/s_csinf.c (__csinf): Likewise.
32693 * math/s_csinhf.c (__csinhf): Likewise.
32694 * math/s_ctanf.c (__ctanf): Likewise.
32695 * math/s_ctanhf.c (__ctanhf): Likewise.
32696 * math/s_ccosh.c (__ccoshf): Likewise.
32697 * math/s_cexp.c (__cexpl): Likewise.
32698 * math/s_csin.c (__csin): Likewise.
32699 * math/s_csinh.c (__csinh): Likewise.
32700 * math/s_ctan.c (__ctan): Likewise.
32701 * math/s_ctanh.c (ctanh): Likewise.
32702 * math/s_ccoshl.c (__ccoshl): Likewise.
32703 * math/s_cexpl.c (__cexpl): Likewise.
32704 * math/s_csinl.c (__csinl): Likewise.
32705 * math/s_csinhl.c (__csinhl): Likewise.
32706 * math/s_ctanl.c (__ctanl): Likewise.
32707 * math/s_ctanhl.c (__ctanhl): Likewise.
32708
203e5603
JM
327092012-09-25 Joseph Myers <joseph@codesourcery.com>
32710
32711 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32712 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32713 (_IO_off_t): Define to __off_t, not _G_off_t.
32714 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32715 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32716 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32717 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32718 type of __dummy and __dummy2 fields.
32719 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32720 (_G_ssize_t): Likewise.
32721 (_G_off_t): Likewise.
32722 (_G_pid_t): Likewise.
32723 (_G_uid_t): Likewise.
32724 (_G_wchar_t): Likewise.
32725 (_G_wint_t): Likewise.
32726 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32727 (_G_ssize_t): Likewise.
32728 (_G_off_t): Likewise.
32729 (_G_pid_t): Likewise.
32730 (_G_uid_t): Likewise.
32731 (_G_wchar_t): Likewise.
32732 (_G_wint_t): Likewise.
32733 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32734 (_G_ssize_t): Likewise.
32735 (_G_off_t): Likewise.
32736 (_G_pid_t): Likewise.
32737 (_G_uid_t): Likewise.
32738 (_G_wchar_t): Likewise.
32739 (_G_wint_t): Likewise.
32740
9fab36eb
SP
327412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32742
32743 * malloc/arena.c: Include malloc-sysdep.h.
32744 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32745 is sufficient to shrink the heap or an unmap is needed.
32746 * sysdeps/generic/malloc-sysdep.h: New file. Define
32747 new function check_may_shrink_heap.
32748 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32749 new function check_may_shrink_heap.
32750
2b4f00d1
SP
327512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32752
32753 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32754 comments.
32755
9a9028b1
DL
327562012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32757
57c69bef
DL
32758 * catgets/test-gencat.sh: Add "set -e".
32759 * elf/tst-pathopt.sh: Likewise.
32760 * grp/tst_fgetgrent.sh: Likewise.
32761 * iconvdata/run-iconv-test.sh: Likewise.
32762 * intl/tst-gettext.sh: Likewise.
32763 * intl/tst-gettext2.sh: Likewise.
32764 * intl/tst-gettext4.sh: Likewise.
32765 * intl/tst-gettext6.sh: Likewise.
32766 * intl/tst-translit.sh: Likewise.
32767 * io/ftwtest-sh: Likewise.
32768 * libio/test-freopen.sh: Likewise.
32769 * malloc/tst-mtrace.sh: Likewise.
32770 * posix/globtest.sh: Likewise.
32771 * posix/tst-getconf.sh: Likewise.
32772 * posix/wordexp-tst.sh: Likewise.
32773 * stdio-common/tst-printf.sh: Likewise.
32774 * stdio-common/tst-unbputc.sh: Likewise.
32775 * stdlib/tst-fmtmsg.sh: Likewise.
32776 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32777 * catgets/Makefile: Do not specify -e option when running
32778 testsuite shell scripts.
32779 * elf/Makefile: Likewise.
32780 * grp/Makefile: Likewise.
32781 * iconvdata/Makefile: Likewise.
32782 * intl/Makefile: Likewise.
32783 * io/Makefile: Likewise.
32784 * libio/Makefile: Likewise.
32785 * malloc/Makefile: Likewise.
32786 * posix/Makefile: Likewise.
32787 * stdio-common/Makefile: Likewise.
32788 * stdlib/Makefile: Likewise.
32789 * sysdeps/x86_64/Makefile: Likewise.
32790
9a9028b1
DL
32791 * io/ftwtest-sh: Add copyright header.
32792 * posix/globtest.sh: Likewise.
32793 * posix/tst-getconf.sh: Likewise.
32794 * posix/wordexp-tst.sh: Likewise.
32795 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32796
ced6f16e
L
327972012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32798
94b32c39
L
32799 [BZ #13679]
32800 * Makeconfig (+link): Defined as $(+link-static) if
32801 $(build-shared) isn't yes.
32802 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32803 isn't yes.
32804 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32805
189e935b
L
32806 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32807
ced6f16e
L
32808 [BZ #14562]
32809 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32810 new chunk size with MALLOC_ALIGN_MASK.
32811
a9f8e53a
JM
328122012-09-24 Joseph Myers <joseph@codesourcery.com>
32813
32814 [BZ #5044]
32815 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32816 <rounding-mode.h>.
32817 (__printf_fphex): Determine rounding using get_rounding_mode and
32818 round_away.
32819 * stdio-common/tst-printf-round.c (struct hex_test): New
32820 structure.
32821 (hex_tests): New variable.
32822 (test_hex_in_one_mode): New function.
32823 (do_test): Also run tests for hex float output.
32824
43153109
JM
328252012-09-21 Joseph Myers <joseph@codesourcery.com>
32826
32827 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32828 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32829 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32830 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32831 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32832 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32833 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32834 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32835
8a26625d
JM
328362012-09-20 Joseph Myers <joseph@codesourcery.com>
32837
32838 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32839 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32840 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32841 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32842
f3fd569c
DL
328432012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32844
32845 [BZ #14579]
32846 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32847 mode only.
32848 * elf/tst-rtld-load-self.sh: New test.
32849 * elf/Makefile: Run it.
32850
63bbedd4
JM
328512012-09-18 Joseph Myers <joseph@codesourcery.com>
32852
32853 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32854 (tst-writev-ENV): Remove.
32855 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32856
626f8b6a
CM
328572012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32858
32859 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32860
b7aaa4d6
JM
328612012-09-17 Joseph Myers <joseph@codesourcery.com>
32862
32863 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32864 unconditional.
32865 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32866 Likewise.
32867 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32868 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32869 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32870 Likewise.
32871
65513990
L
328722012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32873
32874 [BZ #14587]
32875 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32876 * config.make.in (have-cpp-asm-debuginfo): Removed.
32877 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32878 * configure: Regenerated.
32879
784761be
JM
328802012-09-14 Joseph Myers <joseph@codesourcery.com>
32881
32882 [BZ #5044]
32883 * stdio-common/printf_fp.c: Include <stdbool.h> and
32884 <rounding-mode.h>.
32885 (___printf_fp): Determine rounding using get_rounding_mode and
32886 round_away.
32887 * stdio-common/tst-printf-round.c: New file.
32888 * stdio-common/Makefile (tests): Add tst-printf-round.
32889 (link-libm): New variable.
32890 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32891
9503345f
L
328922012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32893
32894 [BZ #14576]
32895 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32896 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32897 Likewise.
32898 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32899 Likewise.
32900
ad35fc00
JM
329012012-09-13 Joseph Myers <joseph@codesourcery.com>
32902
32903 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32904 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32905 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32906 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32907
6c9b0f68
JM
329082012-09-12 Joseph Myers <joseph@codesourcery.com>
32909
32910 [BZ #14518]
32911 * include/rounding-mode.h: New file.
32912 * sysdeps/generic/get-rounding-mode.h: Likewise.
32913 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32914 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32915 (MAX_VALUE): New macro.
32916 (MIN_VALUE): Likewise.
32917 (overflow_value): New function.
32918 (underflow_value): Likewise.
32919 (round_and_return): Use overflow_value and underflow_value to
32920 determine return values in overflow and underflow cases. Use
32921 round_away to determine rounding depending on rounding mode.
32922 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32923 determine return values in overflow and underflow cases.
32924 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32925 (struct test_results): New structure.
32926 (struct test): Use struct test_results to store expected results
32927 for all rounding modes.
32928 (TEST): Include expected results for all rounding modes.
32929 (test_in_one_mode): New function.
32930 (do_test): Use test_in_one_mode to compute and check results.
32931 Check results for all rounding modes.
32932 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32933 $(link-libm).
32934
19fcedd5
AM
329352012-12-09 Allan McRae <allan@archlinux.org>
32936
1e9d84cd 32937 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32938
8bbfd2f1
JM
329392012-09-11 Joseph Myers <joseph@codesourcery.com>
32940
32941 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32942 (_G_int32_t): Likewise.
32943 (_G_uint16_t): Likewise.
32944 (_G_uint32_t): Likewise.
32945 (_G_HAVE_BOOL): Likewise.
32946 (_G_HAVE_ATEXIT): Likewise.
32947 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32948 (_G_HAVE_IO_FILE_OPEN): Likewise.
32949 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32950 (_G_int32_t): Likewise.
32951 (_G_uint16_t): Likewise.
32952 (_G_uint32_t): Likewise.
32953 (_G_HAVE_BOOL): Likewise.
32954 (_G_HAVE_ATEXIT): Likewise.
32955 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32956 (_G_HAVE_IO_FILE_OPEN): Likewise.
32957 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32958 (_G_int32_t): Likewise.
32959 (_G_uint16_t): Likewise.
32960 (_G_uint32_t): Likewise.
32961 (_G_HAVE_BOOL): Likewise.
32962 (_G_HAVE_ATEXIT): Likewise.
32963 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32964 (_G_HAVE_IO_FILE_OPEN): Likewise.
32965
b1dc5912
L
329662012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32967
32968 * csu/libc-tls.c: Update copyright years.
32969
0e886ef9
JM
329702012-09-10 Joseph Myers <joseph@codesourcery.com>
32971
28361c5e
JM
32972 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32973 [!_G_USING_THUNKS]: Remove conditional code.
32974 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32975 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32976
0e886ef9
JM
32977 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32978 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32979 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32980 (_G_VTABLE_LABEL_PREFIX): Likewise.
32981 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32982 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32983 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32984 (_G_VTABLE_LABEL_PREFIX): Likewise.
32985 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32986 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32987 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32988 (_G_VTABLE_LABEL_PREFIX): Likewise.
32989 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32990
bcba7aa2
L
329912012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32992
32993 * libio/Makefile: Include ../Makeconfig before tests.
32994 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32995 only if $(build-shared) is yes.
32996
06585ee8
L
32997 * iconv/gconv_db.c: Update copyright years.
32998
80ccd52c
LD
329992012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33000
33001 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33002 unwind info if defined PIC. Fix special cases description.
33003 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33004
33005 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33006 DP_HI_MASK entry.
33007 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33008
691bc9c1
L
330092012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33010
3d9b46b3
L
33011 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33012
de2139a9
L
33013 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33014 is NULL.
33015
5ca78dd0
L
33016 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33017 (LDLIBS-tst-chk4): This.
33018 (LDFLAGS-tst-chk5): Renamed to ...
33019 (LDLIBS-tst-chk5): This.
33020 (LDFLAGS-tst-chk6): Renamed to ...
33021 (LDLIBS-tst-chk6): This.
33022 (LDFLAGS-tst-lfschk4): Renamed to ...
33023 (LDLIBS-tst-lfschk4): This.
33024 (LDFLAGS-tst-lfschk5): Renamed to ...
33025 (LDLIBS-tst-lfschk5): This.
33026 (LDFLAGS-tst-lfschk6): Renamed to ...
33027 (LDLIBS-tst-lfschk6): This.
33028
691bc9c1
L
33029 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33030 on $(common-objpfx)soversions.mk.
33031
65cafb1c
JM
330322012-09-07 Joseph Myers <joseph@codesourcery.com>
33033
33034 [BZ #10014]
33035 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33036 example host name.
33037
c78ab094
SP
330382012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33039
33040 * malloc/arena.c (arena_get_retry): New function that gets
33041 another arena for the caller to try its request on.
33042 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33043 current arena cannot fulfill the request.
33044 (__libc_memalign): Likewise.
33045 (__libc_memalign): Likewise.
33046 (__libc_pvalloc): Likewise.
33047 (__libc_calloc): Likewise.
33048
01f49f59
JT
330492012-09-05 John Tobey <john.tobey@gmail.com>
33050
33051 [BZ #13542]
33052 * manual/arith.texi (Operations on Complex): Fix description
33053 of carg branch cut.
33054
4c23fed5
JM
330552012-09-06 Joseph Myers <joseph@codesourcery.com>
33056
1d3c8572
JM
33057 [BZ #10014]
33058 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33059 host name.
33060
4c23fed5
JM
33061 [BZ #10038]
33062 * manual/memory.texi (Memory): Make order of menu items match
33063 order of sections.
33064
04570aaa
L
330652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33068 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33069 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33070
b80af2f4
L
330712012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33072
33073 * csu/libc-tls.c (static_dtv): Renamed to ...
33074 (_dl_static_dtv): This. Make it global.
33075 (_dl_initial_dtv): Removed.
33076 (__libc_setup_tls): Updated.
33077 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33078 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33079 DL_INITIAL_DTV.
33080
2abe9f15
PM
330812012-09-06 Petr Machata <pmachata@redhat.com>
33082
33083 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33084 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33085 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33086 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33087
0948c3af
L
330882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33089
33090 [BZ #14545]
33091 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33092 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33093 freeing dtv[-1].
33094
a5055ad1
L
330952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33096
33097 [BZ #14544]
33098 * Makeconfig (link-static-before-libc): Replace $(+prector)
33099 with $(+prectorT).
33100 (link-static-after-libc): Replace $(+postctor) with
33101 $(+postctorT).
33102 (link-bounded): Replace $(+prector)/$(+postctor) with
33103 $(+prectorT)/$(+postctorT).
33104 (+prectorT): New macro.
33105 (+postctorT): Likewise.
33106
ed8c2ecd
JM
331072012-09-06 Joseph Myers <joseph@codesourcery.com>
33108
33109 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33110 (round_str): Handle values above the maximum for IBM long double
33111 as inexact.
33112 * stdlib/tst-strtod-round.c (tests): Regenerated.
33113
14c996c8
AK
331142012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33115
33116 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33117 assembler flag.
33118 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33119 zarch_nohighgprs around the zarch optimized routines.
33120 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33121 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33122 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33123 for zarch.
33124
430d6ce6
DM
331252012-09-05 David S. Miller <davem@davemloft.net>
33126
33127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33128
57f41c40
AS
33129 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33130 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33131 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33132 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33133 entries.
33134
24d4e01b
AO
331352012-09-05 Alexandre Oliva <aoliva@redhat.com>
33136
33137 * malloc/arena.c: Fold copyright years.
33138 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33139
61d58174
AO
331402012-09-05 Alexandre Oliva <aoliva@redhat.com>
33141
33142 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33143
20196a5e
AO
331442012-09-05 Alexandre Oliva <aoliva@redhat.com>
33145
33146 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33147
5c447383
AO
331482012-09-05 Alexandre Oliva <aoliva@redhat.com>
33149
33150 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33151 change internal state upon failure.
33152
fad64255
AO
331532012-09-05 Alexandre Oliva <aoliva@redhat.com>
33154
33155 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33156 * malloc/memusage.c (mmap): Likewise.
33157 (mmap64, mremap): Likewise. Adjust name in comment.
33158
1ffb8c90
SP
331592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33160
33161 * libio/fileops.c: Fix typos in comments.
33162 * libio/oldfileops.c: Likewise.
33163 * libio/wfileops.c: Likewise.
33164
6ef9cc37
SP
331652012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33166
33167 [BZ #1349]
33168 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33169 (tst-malloc-usable-ENV): Set environment for test case.
33170 * malloc/hooks.c (malloc_check_get_size): New function to get
33171 requested size.
33172 * malloc/malloc.c (musable): Use malloc_check_get_size.
33173 * malloc/tst-malloc-usable.c: New test case.
33174
4d038ae3
AS
331752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33176
33177 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33178
c4e85184
AM
331792012-09-05 Allan McRae <allan@archlinux.org>
33180
b9dafc56 33181 [BZ #13966]
c4e85184
AM
33182 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33183 determine header location.
33184 * configure: Regenerated.
33185
e1343020
AS
331862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33187
33188 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33189 float format.
33190 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33191 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33192 format.
e1343020
AS
33193 (test): Regenerate.
33194
0a9f1987
DM
331952012-09-04 David S. Miller <davem@davemloft.net>
33196
33197 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33199 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33200
29237804
FW
332012012-09-04 Florian Weimer <fweimer@redhat.com>
33202
33203 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33204 failures.
33205
edb3cb88
FW
33206 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33207
60160d83
JM
332082012-09-04 Joseph Myers <joseph@codesourcery.com>
33209
33210 [BZ #9914]
33211 * libio/iogetdelim.c: Include <limits.h>.
33212 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33213 + len + 1 would overflow.
33214
bcd6c8dc
AJ
332152012-09-03 Andreas Jaeger <aj@suse.de>
33216
33217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33218 * sysdeps/i386/fpu/libm-test-ulps: Update.
33219
4ffffbd2
LD
332202012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33221
33222 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33223 Add s_sinf-sse2, s_conf-sse2.
33224
33225 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33226 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33227 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33228 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33229
33230 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33231 for using routine as __sinf_ia32.
33232 Use macro for function declaration and weak_alias.
33233 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33234 for using routine as __cosf_ia32.
33235 Use macro for function declaration and weak_alias.
33236
33237 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33238 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33239
33240 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33241 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33243
33244 * math/libm-test.inc (cos_test): Add more test cases.
33245 (sin_test): Likewise.
33246 (sincos_test): Likewise.
33247
511fa286
AK
332482012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33249
33250 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33251 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33252 hidden.
33253 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33254
5f30cfec
L
332552012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33256
33257 [BZ #14538]
33258 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33259 first element of the GOT.
33260 (elf_machine_load_address): Return the difference between
33261 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33262
0786794f
AM
332632012-09-01 Allan McRae <allan@archlinux.org>
33264
5f30cfec
L
33265 [BZ #13412]
33266 * configure.in (AWK): Require gawk version 3.0 or later.
33267 * configure: Regenerated.
0786794f 33268
26889eac
JM
332692012-09-01 Joseph Myers <joseph@codesourcery.com>
33270
33271 * sysdeps/unix/sysv/linux/kernel-features.h
33272 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33273 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33274 [__NR_clock_getres]: Make code unconditional.
33275 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33276 (clock_getcpuclockid): Remove code left unreachable by removal of
33277 conditionals.
33278 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33279 code unconditional.
33280 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33281 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33282 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33283 Make code unconditional.
33284 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33285 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33286 * sysdeps/unix/sysv/linux/clock_settime.c
33287 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33288 conditional code.
33289 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33290 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33291
d22e28b0
L
332922012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33293
33294 [BZ #14476]
33295 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33296 scripts/test-installation.pl.
33297
33298 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33299 and $ld_so_version if it is set.
33300
050af9c4
SP
333012012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33302
33303 [BZ #14516]
33304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33305 failure if reading from procfs failed.
33306 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33307
ad845c0b
JM
333082012-08-27 Joseph Myers <joseph@codesourcery.com>
33309
33310 * sysdeps/unix/sysv/linux/kernel-features.h
33311 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33312 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33313 Remove conditional code.
33314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33315 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33316 Remove conditional code.
33317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33318 * sysdeps/unix/sysv/linux/i386/fxstat.c
33319 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33321 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33322 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33324 * sysdeps/unix/sysv/linux/i386/lxstat.c
33325 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33327 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33328 Remove conditional code.
33329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33330 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33331 Remove conditional code.
33332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33333 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33334 <kernel-features.h>.
33335 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33336 Remove.
33337 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33338 Remove conditional code.
33339 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33340 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33341 Remove conditional.
33342
5dbf56af
MF
333432012-08-27 Mike Frysinger <vapier@gentoo.org>
33344
33345 [BZ #5400]
33346 * NEWS: Add fixed bug number.
33347
d6e70f43
JM
333482012-08-27 Joseph Myers <joseph@codesourcery.com>
33349
7efb4737
JM
33350 [BZ #14519]
33351 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33352 underflowing exponent in case of negative sign.
33353 * stdlib/tst-strtod-round-data: Add more tests.
33354 * stdlib/tst-strtod-round.c (tests): Regenerated.
33355
af92131a
JM
33356 [BZ #3479]
33357 * stdlib/strtod_l.c (NDIG): Remove.
33358 (HEXNDIG): Likewise.
33359 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33360 smallest representable value.
33361 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33362 lie within an exact representation of 1/2 ulp of the result.
33363 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33364 unconditionally.
33365 (TENS_P9_IDX): Define unconditionally.
33366 (TENS_P9_SIZE): Likewise.
33367 (TENS_P10_IDX): Likewise.
33368 (TENS_P10_SIZE): Likewise.
33369 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33370 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33371 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33372 entries for 10^2^13 and 10^2^14.
33373 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33374 (TENS_P13_IDX): Define.
33375 (TENS_P13_SIZE): Likewise.
33376 (TENS_P14_IDX): Likewise.
33377 (TENS_P14_SIZE): Likewise.
33378 (_fpioconst_pow10): Change array size to
33379 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33380 unconditional.
33381 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33382 1024]: Add entries for 10^2^13 and 10^2^14.
33383 [LAST_POW10 > _LAST_POW10]: Remove #error.
33384 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33385 (_fpioconst_pow10): Change array size to
33386 FPIOCONST_POW10_ARRAY_SIZE.
33387 * stdlib/gen-fpioconst.c: New file.
33388 * stdlib/gen-tst-strtod-round.c: Likewise.
33389 * stdlib/tst-strtod-round-data: Likewise.
33390 * stdlib/tst-strtod-round.c: Likewise.
33391 * stdlib/Makefile (tests): Add tst-strtod-round.
33392
d6e70f43
JM
33393 [BZ #14459]
33394 * stdlib/strtod_l.c: Include <stdint.h>.
33395 (NDEBUG): Do not define.
33396 (round_and_return): Change EXPONENT parameter to type intmax_t.
33397 Rearrange calculations to avoid internal overflow possibilities.
33398 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33399 Rearrange calculations to avoid internal overflow possibilities.
33400 Assert that number fits inside MPNSIZE limbs.
33401 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33402 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33403 calculations and add assertions to avoid internal overflow
33404 possibilities. Add casts to avoid signed/unsigned operations.
33405 * stdlib/tst-strtod-overflow.c: New file.
33406 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33407
1f529f7d
MP
334082012-08-25 Marek Polacek <polacek@redhat.com>
33409
33410 * time/time.h: Fix some typos in comments.
33411
59a629f1
RM
334122012-08-23 Roland McGrath <roland@hack.frob.com>
33413
33414 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33415 * posix/tst-rfc3484-2.c: Likewise.
33416 * posix/tst-rfc3484-3.c: Likewise.
33417
d3bafbc9
SM
334182012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33419
33420 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33421 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33422
4efcc022
JM
334232012-08-23 Joseph Myers <joseph@codesourcery.com>
33424
33425 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33426 #include of fxstatat64.c.
33427
3cc3ef96
RM
334282012-08-22 Roland McGrath <roland@hack.frob.com>
33429
f04e2132
RM
33430 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33431 * shadow/getspent_r.c: Likewise.
33432 * shadow/getspnam.c: Likewise.
33433 * shadow/getspnam_r.c: Likewise.
33434 * gshadow/getsgent.c: Likewise.
33435 * gshadow/getsgent_r.c: Likewise.
33436 * gshadow/getsgnam.c: Likewise.
33437 * gshadow/getsgnam_r.c: Likewise.
33438 * inet/getnetbyad.c: Likewise.
33439 * inet/getnetbyad_r.c: Likewise.
33440 * inet/getnetbynm.c: Likewise.
33441 * inet/getnetbynm_r.c: Likewise.
33442 * inet/getnetent.c: Likewise.
33443 * inet/getnetent_r.c: Likewise.
33444 * inet/getproto.c: Likewise.
33445 * inet/getproto_r.c: Likewise.
33446 * inet/getprtent.c: Likewise.
33447 * inet/getprtent_r.c: Likewise.
33448 * inet/getprtname.c: Likewise.
33449 * inet/getprtname_r.c: Likewise.
33450 * inet/getrpcbyname.c: Likewise.
33451 * inet/getrpcbyname_r.c: Likewise.
33452 * inet/getrpcbynumber.c: Likewise.
33453 * inet/getrpcbynumber_r.c: Likewise.
33454 * inet/getrpcent.c: Likewise.
33455 * inet/getrpcent_r.c: Likewise.
33456 * inet/getaliasent.c: Likewise.
33457 * inet/getaliasent_r.c: Likewise.
33458 * inet/getaliasname.c: Likewise.
33459 * inet/getaliasname_r.c: Likewise.
33460 * nscd/getgrgid_r.c: Likewise.
33461 * nscd/getgrnam_r.c: Likewise.
33462 * nscd/gethstbyad_r.c: Likewise.
33463 * nscd/gethstbynm3_r.c: Likewise.
33464 * nscd/getpwnam_r.c: Likewise.
33465 * nscd/getpwuid_r.c: Likewise.
33466 * nscd/getsrvbynm_r.c: Likewise.
33467 * nscd/getsrvbypt_r.c: Likewise.
33468 * nscd/gai.c: Likewise.
33469
c53d909c
RM
33470 * configure.in (build_nscd): New substituted variable, set
33471 by --disable-build-nscd and defaults to $use_nscd.
33472 * configure: Regenerated.
33473 * config.make.in (build-nscd): New substituted variable.
33474 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33475 Change conditional to require [$(build-nscd) = yes] as well.
33476 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33477
3cc3ef96
RM
33478 [BZ# 13696]
33479 * configure.in (use_nscd): New substituted variable, set by
33480 --disable-nscd. If enabled, define USE_NSCD.
33481 * configure: Regenerated.
33482 * config.h.in: Add USE_NSCD.
33483 * config.make.in (use-nscd): New substituted variable.
33484 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33485 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33486 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33487 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33488 (CFLAGS-getgrnam_r.c): Likewise.
33489 (CFLAGS-initgroups.c): Likewise.
33490 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33491 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33492 Variables removed.
33493 * inet/getnetgrent_r.c
33494 (nscd_setnetgrent): New function, broken out of ...
33495 (setnetgrent): ... here. Call it.
33496 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33497 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33498 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33499 * nscd/Makefile (routines, aux): Move definitions after include of
33500 Makeconfig. Conditionalize on [$(use-nscd) != no].
33501 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33502 Conditionalize on [USE_NSCD].
33503 (is_nscd, nscd_init_cb): Likewise.
33504 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33505 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33506 * nss/nss_db/db-init.c: Likewise.
33507 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33508 [USE_NSCD].
33509 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33510 (make_request): Use it.
33511 (cache_valid_p): New function.
33512 (__check_pf): Use it.
33513 * NEWS: Add item for --disable-nscd.
33514
07e51550
DL
335152012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33516
33517 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33518 to support sed >= 4.2.1-20-ga9bf076.
33519 * configure: Regenerated.
33520
35a5b08b
RM
335212012-08-22 Roland McGrath <roland@hack.frob.com>
33522
33523 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33524 Conditionalize whole body on [IREL].
33525
8479f23a
JL
335262012-08-22 Jeff Law <law@redhat.com>
33527
33528 [BZ #14505]
33529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33530 if the family is PF_UNSPEC.
33531
48da0b21
MF
335322012-08-22 Mike Frysinger <vapier@gentoo.org>
33533
33534 * Makerules (lib-version): Rename from V.
33535 (install-lib-nosubdir): Change V to lib-version.
33536
15d0da8c
WS
335372012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33538
33539 [BZ #14252]
33540 * powerpc32/power6/wcschr.c: New file.
33541 * powerpc32/power6/wcscpy.c: New file.
33542 * powerpc32/power6/wcsrchr.c: New file.
33543 * powerpc64/power6/wcschr.c: New file.
33544 * powerpc64/power6/wcscpy.c: New file.
33545 * powerpc64/power6/wcsrchr.c: New file.
33546
bcca0895
MK
335472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33548
33549 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33550 (two_way_short_needle): Use it.
5a4aaa33
RM
33551 * string/strstr.c (AVAILABLE1_USES_J): Define.
33552 * string/strcasestr.c: Likewise.
99677e57
MK
33553
33554 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33555 array references.
33556 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33557
400726de
MK
33558 [BZ #11607]
33559 * NEWS: Add an entry.
33560 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33561 define their defaults.
33562 (two_way_short_needle): Detect end-of-string on-the-fly.
33563 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33564 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33565 * string/bug-strcasestr1.c: New test.
33566 * string/Makefile: Run it.
33567
20a71f2c
MK
335682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33569
33570 [BZ #11607]
33571 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33572 the first character.
33573
21ad0558
RM
335742012-08-21 Roland McGrath <roland@hack.frob.com>
33575
33576 * csu/elf-init.c (__libc_csu_irel): Function removed.
33577 * csu/libc-start.c (apply_irel): New function.
33578 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33579
0e1d9911
JM
335802012-08-21 Joseph Myers <joseph@codesourcery.com>
33581
33582 * sysdeps/unix/sysv/linux/kernel-features.h
33583 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33584 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33585 <kernel-features.h>.
33586 [__NR_fadvise64_64]: Make code unconditional.
33587 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33588 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33589 !__NR_fadvise64_64)]: Likewise.
33590 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33591 !__NR_fadvise64_64))]: Likewise.
33592 [__NR_fadvise64]: Make code unconditional.
33593 [!__NR_fadvise64]: Remove conditional code.
33594 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33595 <kernel-features.h>.
33596 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33597 unconditional.
33598 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33599 conditional code.
33600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33601 not include <kernel-features.h>.
33602 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33603 unconditional.
33604 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33605 conditional code.
33606 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33607 include <kernel-features.h>.
33608 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33609 unconditional.
33610 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33611 conditional code.
33612
14a50c9d
WS
336132012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33614
33615 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33616 slight instruction rearrangements per scrollpipe analysis.
33617 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33618
c0f4faf0
RM
336192012-08-20 Roland McGrath <roland@hack.frob.com>
33620
696da859
RM
33621 * manual/syslog.texi (syslog; vsyslog, closelog):
33622 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33623 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33624
c0f4faf0
RM
33625 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33626 DSOCAPS to match condition on defining it.
33627
348363b2
JM
336282012-08-20 Joseph Myers <joseph@codesourcery.com>
33629
a35cbf28
JM
33630 * sysdeps/unix/sysv/linux/kernel-features.h
33631 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33633 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33634 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33636 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33637 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33639 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33640 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33641
445f7ecd
JM
33642 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33643 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33644
348363b2
JM
33645 * sysdeps/unix/sysv/linux/kernel-features.h
33646 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33647 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33648 unconditional.
33649 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33650 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33651 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33652 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33653 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33654 Make code unconditional.
33655 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33656 (__mmap64) [!__NR_mmap2]: Likewise.
33657 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33658 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33659 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33660 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33661 [__NR_mmap2]: Make code unconditional.
33662 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33663 (__mmap64) [!__NR_mmap2]: Likewise.
33664
bc5bc0e5
AK
336652012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33666
33667 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33668
88d506de
AJ
336692012-08-18 Andreas Jaeger <aj@suse.de>
33670
33671 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33672
493387d2
MF
336732012-08-18 Mike Frysinger <vapier@gentoo.org>
33674
33675 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33676 * include/unistd.h (__have_sock_cloexec): Likewise.
33677 (__have_pipe2): Likewise.
33678 (__have_dup3): Likewise.
33679
a277af22
MF
336802012-08-18 Mike Frysinger <vapier@gentoo.org>
33681
33682 [BZ #9685]
33683 * include/unistd.h (__have_pipe2): Change define into an extern int.
33684 (__have_dup3): Likewise.
33685 * socket/have_sock_cloexec.c: Include fcntl.h.
33686 (__have_pipe2): New variable.
33687 (__have_dup3): Likewise.
33688
fdab8fd3
MF
336892012-08-17 Mike Frysinger <vapier@gentoo.org>
33690
33691 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33692
31035e80
MP
336932012-08-17 Marek Polacek <polacek@redhat.com>
33694
33695 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33696 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33697
3bd9e993
RM
336982012-08-17 Roland McGrath <roland@hack.frob.com>
33699
c91c505f
RM
33700 * configure.in: Add AC_SUBST for sysheaders.
33701 * configure: Regenerated.
33702 * config.make.in (sysheaders): New substituted variable.
33703
7c6f9d53
RM
33704 * sysdeps/unix/mkfifo.c: Moved ...
33705 * sysdeps/posix/mkfifo.c: ... here.
33706 * sysdeps/unix/mkfifoat.c: Moved ...
33707 * sysdeps/posix/mkfifoat.c: ... here.
33708
33709 * sysdeps/unix/utime.c: Moved ...
33710 * sysdeps/posix/utime.c: ... here.
33711
33712 * sysdeps/unix/time.c: Moved ...
33713 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33714 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33715 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33716
33717 * sysdeps/unix/nice.c: Moved ...
33718 * sysdeps/posix/nice.c: ... here.
33719
33720 * sysdeps/unix/alarm.c: Moved ...
33721 * sysdeps/posix/alarm.c: ... here.
33722
3bd9e993
RM
33723 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33724
d1f09384
JL
337252012-08-17 Jeff Law <law@redhat.com>
33726
33727 * intl/Makefile (codeset_mo): New variable.
33728 ($(codeset_mo)): New target.
33729 (tst-codeset.out): Depend on that. Remove explicit rule.
33730 (tst-gettext3.out, tst-gettext5.out): Likewise.
33731 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33732 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33733 * intl/tst-codeset.sh: Remove.
33734 * intl/tst-gettext3.sh: Likewise.
33735 * intl/tst-gettext5.sh: Likewise.
33736
2ae1ae5c
RM
337372012-08-17 Roland McGrath <roland@hack.frob.com>
33738
c31fdb83
RM
33739 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33740 * sysdeps/unix/syscalls.list: ... here.
33741
a0844057
RM
33742 * sysdeps/posix/getaddrinfo.c
33743 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33744 (gaiconf_init, gaiconf_reload): Use them.
33745 [!_STATBUF_ST_NSEC]
33746 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33747 Define using time_t rather than struct timespec.
33748
750c1f2a
RM
33749 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33750 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33751 Macros removed.
33752 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33753 [!NO_THREADS].
33754 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33755 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33756 Likewise.
33757
2ae1ae5c
RM
33758 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33759 __libc_cleanup_push argument.
33760
e66a42f5
RM
33761 * bits/param.h: New file.
33762 * misc/sys/param.h: New file.
33763 * include/sys/param.h: New file.
33764 * misc/Makefile (headers): Add bits/param.h.
33765 * sysdeps/generic/sys/param.h: File removed.
33766 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33767 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33768 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33769 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33770
b7c08a66
RM
33771 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33772 last change.
33773
b2e1c562
RM
33774 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33775 [_IO_MTSAFE_IO].
33776 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33777 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33778 New macros.
33779
c75ccd4c
RM
33780 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33781 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33782 rather than -D_IO_MTSAFE_IO conditionally.
33783 * stdio-common/Makefile (CPPFLAGS): Likewise.
33784 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33785 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33786 Use $(libio-mtsafe).
33787 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33788 of -D_IO_MTSAFE_IO.
33789 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33790 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33791 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33792 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33793 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33794 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33795 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33796 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33797 (CFLAGS-fread_u_chk.c): Likewise.
33798 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33799 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33800 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33801 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33802 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33803 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33804 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33805 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33806 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33807
33808 * libio/Makefile: Test [$(libc-reentrant) = yes]
33809 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33810
33811 * Makeconfig
33812 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33813 * sysdeps/pthread/configure: File removed.
33814 * sysdeps/pthread/Makeconfig: New file.
33815 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33816 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33817
d9195db8
GB
338182012-08-16 Gary Benson <gbenson@redhat.com>
33819
33820 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33821 unmapping the first object in a namespace.
33822
86466cd9
RM
338232012-08-16 Roland McGrath <roland@hack.frob.com>
33824
33825 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33826 (__internal_setnetgrent): ... this. Add internal_function to
33827 definition. Add libc_hidden_def.
33828 (setnetgrent): Update caller.
33829 (internal_endnetgrent): Renamed to ...
33830 (__internal_endnetgrent): ... this. Add internal_function to
33831 definition. Add libc_hidden_def.
33832 (endnetgrent): Update caller.
33833 (internal_getnetgrent_r): Renamed to ...
33834 (__internal_getnetgrent_r): ... this. Add internal_function to
33835 definition. Add libc_hidden_def.
33836 (__getnetgrent_r): Update caller.
33837 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33838
c3c8283c
JM
338392012-08-16 Joseph Myers <joseph@codesourcery.com>
33840
33841 * stdlib/longlong.h: Update from GCC.
33842
db1ee0a8
RM
338432012-08-16 Roland McGrath <roland@hack.frob.com>
33844
33845 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33846 on _QL, which is set by umul_ppmm but never used.
33847 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33848 variables, which are set by GMP macros but never used.
33849 * stdio-common/_itowa.c (_itowa): Likewise.
33850 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33851 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33852
30f69637
CD
338532012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33854
33855 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33856 struct La_sh_regs is not constant.
33857 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33858 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33859 and struct La_sparc64_regs are not constant.
33860
93a78ac4
JM
338612012-08-16 Joseph Myers <joseph@codesourcery.com>
33862
33863 * sysdeps/unix/sysv/linux/kernel-features.h
33864 (__ASSUME_POSIX_TIMERS): Remove.
33865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33866 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33867 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33868 Make code unconditional.
33869 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33870 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33871 Make code unconditional.
33872 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33873 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33874 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33875 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33876 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33877 Make code unconditional.
33878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33879 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33880 (__libc_missing_posix_timers): Remove.
33881
dd924cd7
RM
338822012-08-15 Roland McGrath <roland@hack.frob.com>
33883
4b4f2771
RM
33884 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33885 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33886
601c888b
RM
33887 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33888
176790a7
RM
33889 * elf/dl-sym.c: Include <stdlib.h>.
33890
329bc018
RM
33891 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33892 constants, which avoids warnings in 32-bit builds.
33893
e04e272d
RM
33894 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33895 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33896
952bf94a
RM
33897 * misc/lseek.c: File moved to ...
33898 * io/lseek.c: ... here.
33899
7c99b50a
RM
33900 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33901
dd924cd7
RM
33902 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33903 shifting LEN more than 31 bits at once.
33904
b3f479a8
LD
339052012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33906
33907 [BZ #14195]
8c4ae0d4
RM
33908 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33909 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33910 * string/test-strncasecmp.c (check1): Renamed to...
33911 (bz12205): ...this.
33912 (bz14195): Add new testcase for two empty input strings and N > 0.
33913 (test_main): Call new testcase, adapt for renamed function.
33914
9c55864e
AJ
339152012-08-15 Andreas Jaeger <aj@suse.de>
33916
33917 [BZ #14090]
33918 * crypt/md5test2.c: New test, based on test supplied by Serge
33919 Belyshev <belyshev@depni.sinp.msu.ru>.
33920 * crypt/Makefile (xtests): Add md5test-giant..
33921 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33922
02dcb6c5
PE
339232012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33924
33925 [BZ #14090]
33926 * crypt/md5.c (md5_process_block): Don't assume the buffer
33927 length is less than 2**32.
33928 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33929 length is less than 2**64.
33930
a3f95dcc
RM
339312012-08-15 Roland McGrath <roland@hack.frob.com>
33932
be75d758
RM
33933 * string/str-two-way.h: Include <sys/param.h>.
33934 (MAX): Macro removed.
33935
7312ca90
RM
33936 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33937 Move #define and #undef of memmove to just before and after
33938 including <string.h>.
33939
9a0a5486
RM
33940 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33941 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33942 and after including <string.h>. Move declarations of
33943 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33944 to before #include "string/memmove.c".
33945
67cc348d
RM
33946 * include/dirent.h: Declare __getdirentries.
33947
a3f95dcc
RM
33948 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33949 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33950
ca98e171
MF
339512012-08-14 Mike Frysinger <vapier@gentoo.org>
33952
33953 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33954 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33955 * sysdeps/i386/configure: Regenerated.
33956 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33957 STABS_CURRENT_FILE, and STABS_FUN.
33958 (END): Remove call to STABS_FUN_END.
33959 (STABS_CURRENT_FILE1): Delete.
33960 (STABS_CURRENT_FILE): Likewise.
33961 (STABS_FUN): Likewise.
33962 (STABS_FUN_END): Likewise.
33963 (STABS_FUN2): Likewise.
33964 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33965 * sysdeps/x86_64/configure: Regenerated.
33966
5908bf46
RM
339672012-08-14 Roland McGrath <roland@hack.frob.com>
33968
33969 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 33970 * elf/dl-lookup.c: Likewise.
5908bf46 33971
f2c05b9e
JM
339722012-08-14 Joseph Myers <joseph@codesourcery.com>
33973
33974 * sysdeps/unix/sysv/linux/kernel-features.h
33975 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33976 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33977 unconditionally.
33978 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33979 unconditionally.
33980 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33981 condition on __ASSUME_CLONE_THREAD_FLAGS.
33982
e11f5155
AJ
339832012-08-14 Andreas Jaeger <aj@suse.de>
33984
33985 * sysdeps/i386/fpu/libm-test-ulps: Update.
33986
51a9ba86
MK
339872012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33988
2fdd4f78
AJ
33989 * include/atomic.h (atomic_exchange_and_add): Split into ...
33990 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33991 New atomic macros.
51a9ba86 33992
ba6cba9e
MT
339932012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33994
33995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33996
42443a47
JL
339972012-08-13 Jeff Law <law@redhat.com>
33998
33999 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34000 null byte in the output string.
34001
121dce05
JM
340022012-08-10 Joseph Myers <joseph@codesourcery.com>
34003
34004 * sysdeps/unix/sysv/linux/kernel-features.h
34005 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34006 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34007 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34008 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34009 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34010 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34011 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34012
bf51f568
JL
340132012-08-09 Jeff Law <law@redhat.com>
34014
34015 [BZ #13939]
34016 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34017 When avoid_arena is set, don't retry in the that arena. Pick the
34018 next one, whatever it might be.
34019 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34020 (arena_lock): Pass in new parameter to arena_get2.
34021 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34022 arena_get2.
34023 (__libc_malloc): Unify retrying after main arena failure with
34024 __libc_memalign version.
34025 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34026
f85fa270
L
340272012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34028
34029 [BZ #14166]
34030 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34031 to __redirect_strstr.
34032 (__strstr_sse42): Use typeof __redirect_strstr.
34033 (__strstr_ia32): Likewise.
34034 (__libc_strstr): New prototype.
34035 (strstr): Renamed to ...
34036 (__libc_strstr): This.
34037 (strstr): New strong alias of __libc_strstr.
34038 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34039 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34040 __redirect_time.
34041 Include <time.h>.
34042 (__libc_time): New prototype.
34043 (time_ifunc): Replace time with __libc_time.
34044 (time): New strong alias and hidden definition of __libc_time.
34045 (__GI_time): Remove strong alias.
34046 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34047 Include <stddef.h>.
34048 (memmove): Redefined to __redirect_memmove.
34049 (__memmove_sse2): Use typeof __redirect_memmove.
34050 (__memmove_ssse3): Likewise.
34051 (__memmove_ssse3_back): Likewise.
34052 (__libc_memmove): New prototype.
34053 (memmove): Renamed to ...
34054 (__libc_memmove): This.
34055 (memmove): New strong alias of __libc_memmove.
34056
33b4a91e
MS
340572012-08-08 Mark Salter <msalter@redhat.com>
34058
34059 * elf/elf.h
34060 (R_MN10300_TLS_GD): Define.
34061 (R_MN10300_TLS_LD): Likewise.
34062 (R_MN10300_TLS_LDO): Likewise.
34063 (R_MN10300_TLS_GOTIE): Likewise.
34064 (R_MN10300_TLS_IE): Likewise.
34065 (R_MN10300_TLS_LE): Likewise.
34066 (R_MN10300_TLS_DTPMOD): Likewise.
34067 (R_MN10300_TLS_DTPOFF): Likewise.
34068 (R_MN10300_TLS_TPOFF): Likewise.
34069 (R_MN10300_SYM_DIFF): Likewise.
34070 (R_MN10300_ALIGN): Likewise.
34071 (R_MN10300_NUM): Update.
34072
b36137f1
JM
340732012-08-08 Joseph Myers <joseph@codesourcery.com>
34074
34075 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34076 Remove.
34077
cdd915fd
RM
340782012-08-08 Roland McGrath <roland@hack.frob.com>
34079
a2433aac
RM
34080 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34081
cdd915fd
RM
34082 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34083 sysdeps/unix -> sysdeps/posix move.
34084 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34085
bf9b740a
AM
340862012-08-07 Allan McRae <allan@archlinux.org>
34087
34088 [BZ #14303]
34089 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34090 (SUNOS_CPP): Likewise.
34091 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34092 not found.
34093 (open_input): Call CPP using execvp.
34094
93df14ee
JM
340952012-08-07 Joseph Myers <joseph@codesourcery.com>
34096
34097 * sysdeps/unix/sysv/linux/kernel-features.h
34098 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34099 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34100 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34101 (__ASSUME_WAITID_SYSCALL): Likewise.
34102 * sysdeps/unix/sysv/linux/dl-execstack.c
34103 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34104 code unconditional.
34105 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34106 conditional code.
34107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34108 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34109 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34110 code.
34111 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34112 unconditional.
34113 [__ASSUME_WAITID_SYSCALL]: Likewise.
34114 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34115
d34689de
RM
341162012-08-07 Roland McGrath <roland@hack.frob.com>
34117
a281decc
RM
34118 * sysdeps/unix/closedir.c: Renamed to ...
34119 * sysdeps/posix/closedir.c: ... here.
34120 * sysdeps/unix/dirfd.c: Renamed to ...
34121 * sysdeps/posix/dirfd.c: ... here.
34122 * sysdeps/unix/dirstream.h: Renamed to ...
34123 * sysdeps/posix/dirstream.h: ... here.
34124 * sysdeps/unix/fdopendir.c: Renamed to ...
34125 * sysdeps/posix/fdopendir.c: ... here.
34126 * sysdeps/unix/opendir.c: Renamed to ...
34127 * sysdeps/posix/opendir.c: ... here.
34128 * sysdeps/unix/readdir.c: Renamed to ...
34129 * sysdeps/posix/readdir.c: ... here.
34130 * sysdeps/unix/readdir_r.c: Renamed to ...
34131 * sysdeps/posix/readdir_r.c: ... here.
34132 * sysdeps/unix/rewinddir.c: Renamed to ...
34133 * sysdeps/posix/rewinddir.c: ... here.
34134 * sysdeps/unix/seekdir.c: Renamed to ...
34135 * sysdeps/posix/seekdir.c: ... here.
34136 * sysdeps/unix/telldir.c: Renamed to ...
34137 * sysdeps/posix/telldir.c: ... here.
34138 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34139 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34140 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34141 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34142
22895b47
RM
34143 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34144 * bits/fcntl.h: ... here.
34145
707a53b6
RM
34146 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34147 not 0.
34148 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34149 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34150 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34151 (struct flock): Move l_start, l_len to the beginning.
34152 Use __pid_t for l_pid.
34153 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34154 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34155 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34156 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34157 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34158 [__USE_LARGEFILE64] (struct flock64): New type.
34159 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34160
f0bd3e25
RM
34161 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34162 * bits/dirent.h: ... here.
34163
d34689de
RM
34164 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34165 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34166
6dad2c06
JM
341672012-08-07 Joseph Myers <joseph@codesourcery.com>
34168
34169 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34170 Change from 2.6.0 to 2.6.16.
34171 * sysdeps/unix/sysv/linux/configure: Regenerated.
34172 * sysdeps/unix/sysv/linux/kernel-features.h
34173 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34174 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34175 version.
34176 (__ASSUME_UTIMES): Likewise.
34177 (__ASSUME_CLONE_STOPPED): Remove.
34178 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34179 architectures, not kernel version.
34180 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34181 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34182 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34183 (__ASSUME_WAITID_SYSCALL): Likewise.
34184 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34185 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34186 * README: State 2.6.16 as minimum Linux kernel version. Do not
34187 refer to older versions.
34188
03af9520
RM
341892012-08-06 Roland McGrath <roland@hack.frob.com>
34190
8e49df1d
RM
34191 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34192 Define alphasort64 as an alias.
34193 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34194 Define versionsort64 as an alias.
34195 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34196 Define scandir64 as an alias.
34197 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34198 Define scandirat64 as an alias.
34199 * dirent/alphasort64.c (alphasort64):
34200 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34201 * dirent/versionsort64.c: Likewise.
34202 * dirent/scandir64.c: Likewise.
34203 * dirent/scandirat64.c: Likewise.
34204 * sysdeps/wordsize-64/alphasort.c: File removed.
34205 * sysdeps/wordsize-64/alphasort64.c: File removed.
34206 * sysdeps/wordsize-64/scandir.c: File removed.
34207 * sysdeps/wordsize-64/scandir64.c: File removed.
34208 * sysdeps/wordsize-64/scandirat.c: File removed.
34209 * sysdeps/wordsize-64/scandirat64.c: File removed.
34210 * sysdeps/wordsize-64/versionsort.c: File removed.
34211 * sysdeps/wordsize-64/versionsort64.c: File removed.
34212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34214 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34215 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34216 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34217 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34218 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34219 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34220
34221 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34223 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34225 [defined __arch64__ || defined __sparcv9]
34226 (__INO_T_MATCHES_INO64_T): New macro.
34227 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34228 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34229 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34230 * sysdeps/unix/sysv/linux/bits/dirent.h
34231 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34232 (_DIRENT_MATCHES_DIRENT64): New macro.
34233
03af9520
RM
34234 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34235 Define lockf64 as an alias.
34236 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34237 Define fseeko64 as an alias.
34238 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34239 Define ftello64 as an alias.
34240 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34241 Define _IO_fgetpos64 and fgetpos64 as aliases.
34242 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34243 Define _IO_fsetpos64 and fsetpos64 as aliases.
34244 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34245 Conditionalize body on this.
34246 * libio/fseeko64.c: Likewise.
34247 * libio/ftello64.c: Likewise.
34248 * libio/iofgetpos64.c: Likewise.
34249 * libio/iofsetpos64.c: Likewise.
34250 * sysdeps/wordsize-64/lockf.c: File removed.
34251 * sysdeps/wordsize-64/lockf64.c: File removed.
34252 * sysdeps/wordsize-64/fseeko.c: File removed.
34253 * sysdeps/wordsize-64/fseeko64.c: File removed.
34254 * sysdeps/wordsize-64/ftello.c: File removed.
34255 * sysdeps/wordsize-64/ftello64.c: File removed.
34256 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34257 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34258 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34259 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34260 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34261 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34262 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34263 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34264 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34265 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34266 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34267 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34269 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34270
34271 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34272 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34273 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34275 [defined __arch64__ || defined __sparcv9]
34276 (__OFF_T_MATCHES_OFF64_T): New macro.
34277 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34278 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34279 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34280 (__OFF_T_MATCHES_OFF64_T): New macro.
34281
c5757acd
L
342822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 * stdlib/secure-getenv.c (__secure_getenv): Replace
34285 GLIBC_2_16 with GLIBC_2_17.
34286
3a31811e
L
342872012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34288
34289 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34290 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34291
faa2bccb
DM
342922012-08-03 David S. Miller <davem@davemloft.net>
34293
34294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34295
85fe1997
JM
342962012-08-03 Joseph Myers <joseph@codesourcery.com>
34297
34298 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34299 Remove.
34300 (__ASSUME_CORRECT_SI_PID): Likewise.
34301 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34302 (__ASSUME_TMPFS_NAME): Likewise.
34303 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34304 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34305 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34306 (HAVE_AUX_SECURE): Make definition unconditional.
34307 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34308 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34309
4f75b7a0
RM
343102012-08-03 Roland McGrath <roland@hack.frob.com>
34311
34312 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34313 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34314 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34315 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34316 __eloop_threshold instead of SYMLOOP_MAX.
34317
34318 * sysdeps/generic/eloop-threshold.h: New file.
34319 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34320 of MAXSYMLINKS.
34321 * elf/chroot_canon.c (chroot_canon): Likewise.
34322
7aab07e4
JM
343232012-08-03 Joseph Myers <joseph@codesourcery.com>
34324
34325 [BZ #13717]
34326 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34327 Change to 2.6.0 everywhere.
34328 * sysdeps/unix/sysv/linux/configure: Regenerated.
34329 * sysdeps/unix/sysv/linux/kernel-features.h
34330 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34331 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34332 kernel versions.
34333 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34334 (__ASSUME_FUTEX_REQUEUE): Remove.
34335 (__ASSUME_STATFS64): Define unconditionally.
34336 (__ASSUME_AT_SECURE): Likewise.
34337 (__ASSUME_CORRECT_SI_PID): Likewise.
34338 (__ASSUME_TGKILL): Define without depending on kernel version for
34339 i386.
34340 (__ASSUME_UTIMES): Likewise.
34341 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34342 kernel version.
34343 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34344 (__ASSUME_TMPFS_NAME): Likewise.
34345 * README: Update reference to Linux kernel versions.
34346
b67e9372
MP
343472012-08-02 Marek Polacek <polacek@redhat.com>
34348
1f529f7d 34349 [BZ# 14150]
b67e9372
MP
34350 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34351 libc_cv_asm_type_prefix with %.
34352 * configure: Regenerated.
d2441631
RM
34353 * include/libc-symbols.h: Remove comment about
34354 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34355 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34356 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34357 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34358 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34359 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34360 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34361 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34362 * elf/tst-unique2mod1.c: Likewise.
34363 * elf/tst-unique1mod2.c: Likewise.
34364 * elf/tst-unique1mod1.c: Likewise.
34365 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34366 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34367 Replace ASM_TYPE_DIRECTIVE with .type.
34368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34369 * sysdeps/i386/sysdep.h: Likewise.
34370 * sysdeps/x86_64/sysdep.h: Likewise.
34371 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34373 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34374 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34375 * sysdeps/powerpc/powerpc32/sysdep.h:
34376 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34377 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34378 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34379 * sysdeps/i386/fpu/e_powf.S: Likewise.
34380 * sysdeps/i386/fpu/e_expl.S: Likewise.
34381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34382 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34383 * sysdeps/i386/fpu/e_pow.S: Likewise.
34384 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34385 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34386 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34387 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34388 * sysdeps/i386/fpu/e_log2.S: Likewise.
34389 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34390 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34391 * sysdeps/i386/fpu/e_powl.S: Likewise.
34392 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34393 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34394 * sysdeps/i386/fpu/e_logl.S: Likewise.
34395 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34396 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34397 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34398 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34399 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34400 * sysdeps/i386/fpu/e_log.S: Likewise.
34401 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34402 * sysdeps/i386/fpu/e_logf.S: Likewise.
34403 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34405 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34406 * sysdeps/i386/fpu/e_log10.S: Likewise.
34407 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34408 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34409 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34410 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34411 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34412 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34413 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34414 * sysdeps/i386/i686/strtok.S: Likewise.
34415 * sysdeps/i386/i386-mcount.S: Likewise.
34416 * sysdeps/i386/strtok.S: Likewise.
34417 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34418 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34419 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34420 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34421 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34422 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34423 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34424 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34425 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34426 * sysdeps/x86_64/_mcount.S: Likewise.
34427 * sysdeps/x86_64/strtok.S: Likewise.
34428 * sysdeps/sh/_mcount.S: Likewise.
34429
2747bf9a
RM
344302012-08-01 Roland McGrath <roland@hack.frob.com>
34431
34432 * libio/iofopen.c: Include <fcntl.h>.
34433 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34434 (_IO_fopen64, fopen64): Define as aliases.
34435 * libio/iofopen64.c: Include <fcntl.h>.
34436 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34437 Conditionalize body on this.
34438 * sysdeps/wordsize-64/iofopen.c: File removed.
34439 * sysdeps/wordsize-64/iofopen64.c: File removed.
34440
3fb791b8
MP
344412012-08-01 Marek Polacek <polacek@redhat.com>
34442
34443 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34444 Use dlfcn directly instead of a variable.
34445 (binfmt-subdir): Do not define.
34446 (dlfcn): Likewise.
34447
a9f1039f
JM
344482012-08-01 Joseph Myers <joseph@codesourcery.com>
34449
23bddc06
JM
34450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34451 Remove all definitions.
34452 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34453 <kernel-features.h>.
34454 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34455 (miss_F_GETOWN_EX): Remove all definitions.
34456 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34457 macro definition.
34458 [!__ASSUME_FCNTL64]: Remove conditional code.
34459 [__ASSUME_FCNTL64]: Make code unconditional.
34460 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34461 <kernel-features.h>.
34462 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34463 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34464 (lockf64) [__NR_fcntl64]: Make code unconditional.
34465 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34466
a9f1039f
JM
34467 * sysdeps/unix/sysv/linux/kernel-features.h
34468 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34469 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34470 Make code unconditional.
34471 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34472 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34474 [__NR_vfork]: Make code unconditional.
34475 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34476 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34478 [__NR_vfork]: Make code unconditional.
34479 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34480 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34481
09c0ee5f
RM
344822012-08-01 Roland McGrath <roland@hack.frob.com>
34483
48aec5b9
RM
34484 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34485 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34486
cd97c966
RM
34487 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34488 Define mkstemp64 as an alias.
3f55550c
RM
34489 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34490 Define mkstemps64 as an alias.
cd97c966
RM
34491 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34492 Define mkostemp64 as an alias.
b8625cfc
RM
34493 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34494 Define mkostemps64 as an alias.
cd97c966
RM
34495 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34496 Conditionalize body on this.
34497 * misc/mkostemp64.c: Likewise.
b8625cfc 34498 * misc/mkostemps64.c: Likewise.
3f55550c 34499 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34500 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34501 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34502 * sysdeps/wordsize-64/mkostemp.c: File removed.
34503 * sysdeps/wordsize-64/mkstemp.c: File removed.
34504 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34505 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34506 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34507 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34508
09c0ee5f
RM
34509 [BZ #14138]
34510 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34511 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34512 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34513 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34514
34515 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34516 compat_symbol macros from <shlib-compat.h> rather than the underlying
34517 default_symbol_version and symbol_version macros, so that DEFAULT
34518 lines in shlib-versions are respected.
34519 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34520
7e66ee51
FW
345212012-08-01 Florian Weimer <fweimer@redhat.com>
34522
34523 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34524 Declare with warn_unused_result.
34525 (setgid, setregid, setegid, setresgid): Likewise.
34526 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34527 Likewise.
34528 * WUR-REPORT: Remove set*id functions.
34529
d2a54255
PT
345302012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34531
34532 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34533
7ecdb005
RM
345342012-07-31 Roland McGrath <roland@hack.frob.com>
34535
b4180a5e 34536 [BZ #10191]
789bd351
RM
34537 * include/sys/socket.h (__libc_accept, __libc_accept4):
34538 Add attribute_hidden.
34539 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34540
40ce302d
RM
34541 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34542 use of PTR_MANGLE.
34543 * inet/getnetgrent_r.c (setup): Likewise.
34544
7ecdb005
RM
34545 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34546
e2eabb2c
DM
345472012-07-31 David S. Miller <davem@davemloft.net>
34548
34549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34550
d0419dbf
JM
345512012-07-31 Joseph Myers <joseph@codesourcery.com>
34552
34553 [BZ #13629]
34554 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34555 value between 1.0 and 2.0 and smaller part has absolute value less
34556 than 1.0.
34557 * math/s_clog10.c (__clog10): Likewise.
34558 * math/s_clog10f.c (__clog10f): Likewise.
34559 * math/s_clog10l.c (__clog10l): Likewise.
34560 * math/s_clogf.c (__clogf): Likewise.
34561 * math/s_clogl.c (__clogl): Likewise.
34562 * math/libm-test.inc (clog_test): Add more tests.
34563 (clog10_test): Likewise.
34564 * sysdeps/i386/fpu/libm-test-ulps: Update.
34565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34566
2bc13872
FW
345672012-07-31 Florian Weimer <fweimer@redhat.com>
34568
34569 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34570 Exit with zero in case no suitable GID is found, and write a
34571 message to standard error.
34572
bea9b193
RM
345732012-07-30 Roland McGrath <roland@hack.frob.com>
34574
34575 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34576 rather than to 1.
34577 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34578 (MAXPATHLEN): Removed.
34579 (NOGROUP, NODEV): New macros.
34580 (setbit, clrbit, isset, isclr): New macros.
34581 (howmany, roundup, powerof2): New macros.
34582 (DEV_BSIZE): New macro.
34583
34584 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34585 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34586
34587 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34588 definition on [!__NO_LONG_DOUBLE_MATH].
34589
34590 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34591 PTR_MANGLE and PTR_DEMANGLE.
34592
34593 * socket/accept4.c (accept4): Rename to __libc_accept4.
34594 Define accept4 as a weak alias.
34595
34596 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34597 on [_DIRENT_HAVE_D_TYPE].
34598 * io/ftw.c (ftw_dir): Likewise.
34599
34600 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34601
34602 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34603
34604 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34605 Use the BSD numbers rather than the arbitrary ones we had.
34606 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34607 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34608 (SIGXCPU, SIGXFSZ): New macros.
34609 (_NSIG): Now 32.
34610
34611 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34612 initializer on [_LIBC_REENTRANT].
34613
34614 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34615 definitions inside [_POSIX_MAPPED_FILES].
34616
34617 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34618
34619 * dirent/opendir.c: Include <fcntl.h>.
34620
34621 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34622 (__libc_getspecific): Likewise.
34623 (__libc_key_create): Likewise.
34624
34625 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34626 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34627 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34628 (tmpfile64): Define as alias.
34629 * sysdeps/wordsize-64/tmpfile.c: File removed.
34630 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34632 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34633
34634 * stdio-common/vfscanf.c: Include <stdbool.h>.
34635 * nss/makedb.c: Likewise.
34636 * stdio-common/_i18n_number.h: Likewise.
34637 * argp/argp-help.c: Likewise.
34638 * posix/wordexp.c: Likewise.
34639 * sysdeps/posix/spawni.c: Likewise.
34640 * nss/nss_files/files-initgroups.c: Likewise.
34641 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34642 * nss/nss_files/files-initgroups.c: Likewise.
34643 * nss/nss_db/db-netgrp.c: Likewise.
34644 * nss/nss_db/db-initgroups.c: Likewise.
34645 * io/fchmodat.c: Include <sys/stat.h>.
34646
34647 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34648 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34649
34650 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34651 [HAVE_MMAP].
34652
34653 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34654 Add multiple inclusion protection.
34655
e5abc686
DM
346562012-07-27 David S. Miller <davem@davemloft.net>
34657
34658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34659
815e6fa3
GB
346602012-07-27 Gary Benson <gbenson@redhat.com>
34661
34662 [BZ #14298]
34663 * elf/rtld.c: Include <stap-probe.h>.
34664 (dl_main): Added static probes "init_start" and "init_complete".
34665 * elf/dl-load.c: Include <stap-probe.h>.
34666 (lose): Take new parameter "nsid".
34667 Added static probe "map_failed".
34668 (_dl_map_object_from_fd): Pass namespace id to lose.
34669 Added static probe "map_start".
34670 (open_verify): Pass namespace id to lose.
34671 * elf/dl-open.c: Include <stap-probe.h>.
34672 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34673 and "reloc_complete".
34674 * elf/dl-close.c: Include <stap-probe.h>.
34675 (_dl_close_worker): Added static probes "unmap_start" and
34676 "unmap_complete".
34677 * elf/rtld-debugger-interface.txt: New file documenting the above.
34678
9f98c16c
RM
346792012-07-26 Roland McGrath <roland@hack.frob.com>
34680
34681 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34682 rather than a string variable.
34683 * sunrpc/rpc_main.c (h_output): Likewise.
34684 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34685
f3c22df3
PT
346862012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34687
34688 * inet/check_native.c: New file.
34689
3129cfc6
JM
346902012-07-26 Joseph Myers <joseph@codesourcery.com>
34691
da865e95
JM
34692 [BZ #13629]
34693 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34694 if larger part has absolute value 1.0.
34695 * math/s_clog10.c (__clog10): Likewise.
34696 * math/s_clog10f.c (__clog10f): Likewise.
34697 * math/s_clog10l.c (__clog10l): Likewise.
34698 * math/s_clogf.c (__clogf): Likewise.
34699 * math/s_clogl.c (__clogl): Likewise.
34700 * math/libm-test.inc (clog_test): Add more tests.
34701 (clog10_test): Likewise.
34702 * sysdeps/i386/fpu/libm-test-ulps: Update.
34703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34704
3129cfc6
JM
34705 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34706 (pltexit): Likewise.
34707 (La_regs): Likewise.
34708 (La_retval): Likewise.
34709 (int_retval): Likewise.
34710 Update #error for removed macros to refer only to definitions in
34711 tst-audit.h.
34712 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34713 macro.
34714 (pltexit): Likewise.
34715 (La_regs): Likewise.
34716 (La_retval): Likewise.
34717 (int_retval): Likewise.
34718 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34719 macro.
34720 (pltexit): Likewise.
34721 (La_regs): Likewise.
34722 (La_retval): Likewise.
34723 (int_retval): Likewise.
34724 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34725 macro.
34726 (pltexit): Likewise.
34727 (La_regs): Likewise.
34728 (La_retval): Likewise.
34729 (int_retval): Likewise.
34730 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34731 macro.
34732 (pltexit): Likewise.
34733 (La_regs): Likewise.
34734 (La_retval): Likewise.
34735 (int_retval): Likewise.
34736 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34737 macro.
34738 (pltexit): Likewise.
34739 (La_regs): Likewise.
34740 (La_retval): Likewise.
34741 (int_retval): Likewise.
34742 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34743 macro.
34744 (pltexit): Likewise.
34745 (La_regs): Likewise.
34746 (La_retval): Likewise.
34747 (int_retval): Likewise.
34748 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34749 macro definitions in tst-audit.h.
34750 * sysdeps/i386/tst-audit.h: New file.
34751 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34752 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34753 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34754 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34755 * sysdeps/sh/tst-audit.h: Likewise.
34756 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34757 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34758 * sysdeps/x86_64/tst-audit.h: Likewise.
34759
bfc07087
AJ
347602012-07-26 Andreas Jaeger <aj@suse.de>
34761
b1b2aaf8
AJ
34762 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34763 ptrace.
34764
34765 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34766 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34767 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34768 PTRACE_O_MASK.
34769 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34770 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34771 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34772
bfc07087
AJ
34773 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34774 value.
34775
34776 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34777 _sigsys.
34778 (si_call_addr, si_syscall, si_arch): Define new macro.
34779 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34780 _sigsys.
34781 (si_call_addr, si_syscall, si_arch): Define new marcro.
34782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34783 _sigsys.
34784 (si_call_addr, si_syscall, si_arch): Define new macro.
34785 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34786 _sigsys.
34787 (si_call_addr, si_syscall, si_arch): Define new macro.
34788
89b4b02f
JM
347892012-07-25 Joseph Myers <joseph@codesourcery.com>
34790
34791 [BZ #13717]
34792 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34793 Change to 2.4.21 where previously 2.4.1.
34794 * sysdeps/unix/sysv/linux/configure: Regenerated.
34795 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34796 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34797 Linux kernel version.
34798 (__ASSUME_STD_AUXV): Remove.
34799 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34800 kernel version.
34801 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34802 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34803 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34804 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34805 (__ASSUME_NETLINK_SUPPORT): Likewise.
34806 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34807 (__no_netlink_support): Remove conditional definition.
34808 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34809 Remove.
34810 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34811 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34812 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34813 (if_nameindex_ioctl): Remove.
34814 (if_nameindex_netlink): Do not handle __no_netlink_support.
34815 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34816 code.
34817 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34818 Remove conditional code.
34819 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34820 code.
34821 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34822 unconditional.
34823 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34824 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34825 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34826 Remove.
34827 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34828 [!__ASSUME_STD_AUXV]: Remove conditional code.
34829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34830 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34831 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34833 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34834 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34835 code.
34836 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34838 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34839 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34840 conditional code.
34841 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34844 code.
34845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34846 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34847 conditional code.
34848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34849 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34850 code unconditional.
34851 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34852 conditional code.
34853 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34854 unconditional.
34855 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34856 conditional code.
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34858 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34859 unconditional.
34860 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34861 conditional code.
34862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34863 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34864 code unconditional.
34865 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34866 conditional code.
34867 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34868 unconditional.
34869 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34870 conditional code.
34871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34872 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34873 code unconditional.
34874 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34875 conditional code.
34876 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34877 unconditional.
34878 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34879 conditional code.
34880
842a39cd
AS
348812012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34882
34883 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34884 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34885 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34886 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34887 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34888 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34889 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34890 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34891 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34892 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34893 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34894 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34895 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34896 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34897 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34898 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34899 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34900 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34901 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34903 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34904 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34905 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34906
84b3fd84
FW
349072012-07-25 Florian Weimer <fweimer@redhat.com>
34908
34909 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34910 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34911 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34912 Introduce __libc_secure_getenv.
0c7936d5
FW
34913 * stdlib/Versions (2.17): Add secure_getenv
34914 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34915 * stdlib/secure-getenv.c: Rename __secure_getenv to
34916 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34917 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34918 * stdlib/tst-secure-getenv.c: New.
34919 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34920 * manual/startup.texi (Environment Access): Document
34921 secure_getenv.
84b3fd84
FW
34922 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34923 __libc_secure_getenv.
34924 * inet/ruserpass.c (ruserpass): Likewise.
34925 * malloc/mtrace.c (mtrace): Likewise.
34926 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34927 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34928 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34929 * sysdeps/posix/tempname.c: Likewise. Evaluate
34930 HAVE_SECURE_GETENV.
34931 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34932 __secure_getenv to __libc_secure_getenv.
84b3fd84 34933 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34935 Likewise.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34937 Likewise.
34938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34945
56e49b71
JM
349462012-07-25 Joseph Myers <joseph@codesourcery.com>
34947
34948 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34949 (struct La_i86_retval): Likewise.
34950 (struct La_x86_64_regs): Likewise.
34951 (struct La_x86_64_retval): Likewise.
34952 (struct La_x32_regs): Likewise.
34953 (struct La_x32_retval): Likewise.
34954 (struct La_ppc32_regs): Likewise.
34955 (struct La_ppc32_retval): Likewise.
34956 (struct La_ppc64_regs): Likewise.
34957 (struct La_ppc64_retval): Likewise.
34958 (struct La_sh_regs): Likewise.
34959 (struct La_sh_retval): Likewise.
34960 (struct La_s390_32_regs): Likewise.
34961 (struct La_s390_32_retval): Likewise.
34962 (struct La_s390_64_regs): Likewise.
34963 (struct La_s390_64_retval): Likewise.
34964 (struct La_sparc32_regs): Likewise.
34965 (struct La_sparc32_retval): Likewise.
34966 (struct La_sparc64_regs): Likewise.
34967 (struct La_sparc64_retval): Likewise.
34968 (struct audit_ifaces): Remove architecture-specific pltenter and
34969 pltexit members.
34970 * sysdeps/i386/ldsodefs.h: New file.
34971 * sysdeps/powerpc/ldsodefs.h: Likewise.
34972 * sysdeps/s390/ldsodefs.h: Likewise.
34973 * sysdeps/sh/ldsodefs.h: Likewise.
34974 * sysdeps/sparc/ldsodefs.h: Likewise.
34975 * sysdeps/x86_64/ldsodefs.h: Likewise.
34976
354691b7
MP
349772012-07-25 Marek Polacek <polacek@redhat.com>
34978
34979 [BZ #6808]
34980 * math/libm-test.inc (yn_test): Add another test.
34981 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34982 to ERANGE when the result is +-Inf.
34983 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34984 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34985 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34986 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34987
bf9e2071
JM
349882012-07-24 Joseph Myers <joseph@codesourcery.com>
34989
34990 * conform/data/time.h-data (NULL): Use macro-constant. Require
34991 equal to 0.
34992 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34993 clock_t.
34994 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34995
57633811
TS
349962012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34997
34998 * configure.in <sysdeps resolving>: Correct printing
34999 Implies_before.
35000 * configure: Regenerate.
35001
c23c33b0
TS
350022012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35003
35004 * math/w_ilogb.c: Include <limits.h>.
35005 * math/w_ilogbl.c: Likewise.
35006
b5982523
JM
350072012-07-20 Joseph Myers <joseph@codesourcery.com>
35008
35009 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35010 va_copy. Document allowing for unavailable va_copy only as
35011 pre-C99 compatibility.
35012 * manual/string.texi (Copying and Concatenation): Use va_copy
35013 instead of __va_copy in concat example.
35014
ac4ea442
PT
350152012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35016
35017 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35018 (__sendto): Use create_address_port. Initialize APORT and deallocate
35019 it if not null.
35020
f98eafbd
PT
35021 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35022 with O_NOLINK passed to __file_name_lookup.
35023
898c7aab
PT
35024 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35025 with O_NOLINK passed to __file_name_lookup.
35026
0ced335a
PT
35027 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35028 negative N or less than NGIDS.
35029
b3404dbd
PT
35030 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35031 type to string_t. Set ERANGE as errno and return it if NAME is not big
35032 enough. Use memcpy instead of strncpy.
35033
0f48659e
JM
350342012-07-20 Joseph Myers <joseph@codesourcery.com>
35035
35036 * elf/Makefile (check-data): Remove.
35037 (localplt.data): New vpath directive.
35038 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35039 instead of $(check-data).
35040 * scripts/data/localplt-generic.data: Move to ...
35041 * sysdeps/generic/localplt.data: ... here.
35042 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35043 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35044 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35046 ... here.
35047 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35049 ... here.
35050 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35052 ... here.
35053 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35055 ... here.
35056 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35058 ... here.
35059 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35061 ... here.
35062
d37cbdaa
AZ
350632012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35064
35065 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35066 PPC32 and PPC64 files.
35067 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35068 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35069
46f85fc2
AK
350702012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35071
35072 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35073 __makecontext_ret to ...
35074 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35075 ... here and call exit if uc_link is NULL. New file.
35076 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35077 __makecontext_ret.S.
35078 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35079 __makecontext_ret to ...
35080 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35081 ... here and call exit if uc_link is NULL. New file.
35082 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35083 __makecontext_ret.S.
35084
08f43f9b
AK
350852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35086
35087 * elf/elf.h (R_390_IRELATIVE): New definition.
35088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35089 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35090 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35091 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35092 (elf_machine_lazy_rel): Likewise.
35093 * sysdeps/s390/dl-irel.h: New file.
35094 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35095 * sysdeps/s390/s390-64/memset.S: New asm code.
35096 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35097 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35098 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35099 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35100 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35101 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35103 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35104 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35105 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35106 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35107 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35108 * sysdeps/s390/s390-32/memset.S: New asm code.
35109 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35110
3b05db33
MP
351112012-07-17 Marek Polacek <polacek@redhat.com>
35112
35113 [BZ #14349]
35114 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35115 * sysdeps/s390/s390-64/configure.in: Likewise.
35116 * sysdeps/sparc/configure.in: Likewise.
35117 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35118 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35119 * sysdeps/i386/configure.in: Likewise.
35120 * sysdeps/x86_64/configure.in: Likewise.
35121 * sysdeps/sh/configure.in: Likewise.
35122 * sysdeps/s390/s390-32/configure: Regenerated.
35123 * sysdeps/s390/s390-64/configure: Likewise.
35124 * sysdeps/x86_64/configure: Likewise.
35125 * sysdeps/sh/configure: Likewise.
35126 * sysdeps/powerpc/powerpc64/configure: Likewise.
35127 * sysdeps/powerpc/powerpc32/configure: Likewise.
35128 * sysdeps/sparc/configure: Likwise.
35129 * sysdeps/i386/configure: Likewise.
35130
a66877c6
MP
35131 * elf/dl-open.c: Comment fixes.
35132
cfc82fd8
JM
351332012-07-17 Joseph Myers <joseph@codesourcery.com>
35134
bd29910a
JM
35135 * Makefile [CXX] (check-data): Remove.
35136 [CXX] (c++-types.data): New vpath directive.
35137 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35138 vpath. Do not allow for C++ type data being missing.
35139 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35140 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35141 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35142 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35143 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35144 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35145 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35147 ... here.
35148 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35150 ... here.
35151 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35153 ... here.
35154 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35156 ... here.
35157 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35159 ... here.
35160 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35162 ... here.
35163 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35165 ... here.
35166 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35168
cfc82fd8
JM
35169 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35170 definitions to architecture-specific files.
35171 (TLS_IE): Likewise.
35172 (TLS_LD): Likewise.
35173 (TLS_GD): Likewise.
35174 * sysdeps/i386/tls-macros.h: New file.
35175 * sysdeps/powerpc/tls-macros.h: Likewise.
35176 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35177 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35178 * sysdeps/sh/tls-macros.h: Likewise.
35179 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35180 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35181 * sysdeps/x86_64/tls-macros.h: Likewise.
35182
f7db3170
TS
351832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35184
07cbfc23
TS
35185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35186 zero value for regular exit case.
35187
f7db3170
TS
35188 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35189 (__start_context): Preserve zero value for regular exit case.
35190
dc97c227
TS
351912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35192 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35193
35194 * manual/setjmp.texi (setcontext): Clarify normal process
35195 termination when uc_link is the null pointer.
35196 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35197 exit call.
35198
d0cd7d02
AS
351992012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35200
35201 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35202 preprocessor. Test for each exception mask separately.
35203
dd318934
AJ
352042012-07-16 Andreas Jaeger <aj@suse.de>
35205
35206 * po/ru.po: Update from translation team.
35207
8048311a
JM
352082012-07-15 Joseph Myers <joseph@codesourcery.com>
35209
35210 * conform/data/string.h-data (NULL): Use macro-constant. Require
35211 equal to 0.
35212 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35213 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35214 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35215 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35216 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35217
b637d46e
AJ
352182012-07-13 Andreas Jaeger <aj@suse.de>
35219
35220 * po/fr.po: Update from translation team.
35221
541428fe
MP
352222012-07-12 Marek Polacek <polacek@redhat.com>
35223
35224 [BZ #14173]
35225 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35226 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35227 loop condition.
35228
ec332e94
JM
352292012-07-12 Joseph Myers <joseph@codesourcery.com>
35230
35231 [BZ #13717]
35232 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35233 Change to 2.4.1 where previously 2.4.0.
35234 * sysdeps/unix/sysv/linux/configure: Regenerated.
35235 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35236 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35237 version.
35238 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35239 (__ASSUME_AT_CLKTCK): Remove.
35240 (__ASSUME_AT_PAGESIZE): Likewise.
35241 (__ASSUME_AT_XID): Likewise.
35242 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35243 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35244 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35245 unconditionally.
35246 (HAVE_AUX_PAGESIZE): Likewise.
35247 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35248 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35249 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35250
7b6e99be
JB
352512012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35252
35253 [BZ #14307]
35254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35255 the temporary buffer used to invoke __gethostbyname2_r,
35256 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35257 host_data / struct gaih_addrtuple.
35258 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35259 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35260 header file nss/nsswitch.h.
35261 * nss/nsswitch.h (global scope): Add definition of implementation
35262 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35263 resolv/nss_dns/dns-host.c).
35264
608404eb
AJ
352652012-07-11 Andreas Jaeger <aj@suse.de>
35266
35267 * po/fr.po: Update from translation team.
35268
71220aca
AJ
35269 * po/sv.po: Update from translation team
35270 * po/fr.po: Another update from translation team.
35271
28cfe843
AZ
352722012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35273
35274 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35275 for subnormals or multiply small sinh result by itself.
35276 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35278
6b90f981
DM
352792012-07-11 David S. Miller <davem@davemloft.net>
35280
35281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35282
c6825772
AS
352832012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35284
35285 [BZ #14347]
35286 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35287 (INTERNAL_MARK): Shift it here.
35288
7b8e0d49
MP
352892012-07-10 Marek Polacek <polacek@redhat.com>
35290
35291 [BZ #14151]
35292 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35293 libc_cv_asm_global_directive with .globl.
35294 * configure: Regenerated.
35295 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35296 with .globl.
35297 * sysdeps/i386/configure: Regenerated.
35298 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35299 with .globl.
35300 * sysdeps/x86_64/configure: Regenerated.
35301 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35302 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35303 * elf/tst-unique2mod2.c: Likewise.
35304 * elf/tst-unique2mod1.c: Likewise.
35305 * elf/tst-unique1mod2.c: Likewise.
35306 * elf/tst-unique1mod1.c: Likewise.
35307 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35308 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35309 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35310 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35311 * sysdeps/mach/sysdep.h: Likewise.
35312 * sysdeps/i386/sysdep.h: Likewise.
35313 * sysdeps/i386/i386-mcount.S: Likewise.
35314 * sysdeps/x86_64/_mcount.S: Likewise.
35315 * sysdeps/x86_64/sysdep.h: Likewise.
35316 * sysdeps/sh/_mcount.S: Likewise.
35317 * sysdeps/sh/sysdep.h: Likewise.
35318 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35319 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35320 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35321 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35322 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35323 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35324 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35325 * locale/localeinfo.h: Likewise.
35326 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35327 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35328
6c55cda3
RM
353292012-07-09 Roland McGrath <roland@hack.frob.com>
35330
35331 [BZ #14336]
35332 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35333 system".
35334 * manual/message.texi (The Uniforum approach): Likewise.
35335 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35336 (glibc iconv Implementation): Likewise.
35337
638a572e
JM
353382012-07-09 Joseph Myers <joseph@codesourcery.com>
35339
35340 [BZ #14337]
35341 * math/s_clog.c (__clog): Avoid scaling a value down where that
35342 could result in underflow.
35343 * math/s_clog10.c (__clog10): Likewise.
35344 * math/s_clog10f.c (__clog10f): Likewise.
35345 * math/s_clog10l.c (__clog10l): Likewise.
35346 * math/s_clogf.c (__clogf): Likewise.
35347 * math/s_clogl.c (__clogl): Likewise.
35348 * math/libm-test.inc (clog_test): Add more tests.
35349 (clog10_test): Likewise.
35350 * sysdeps/i386/fpu/libm-test-ulps: Update.
35351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35352
261f4859
AS
353532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35354
0abaf3e4
AS
35355 [BZ #14283]
35356 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35357 by 7 not 8 to examine high bit of fractional part.
35358
261f4859
AS
35359 [BZ #14042]
35360 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35361 for call to __mcount_internal.
35362 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35363 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35364 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35365
f17ac40d
JM
353662012-07-06 Joseph Myers <joseph@codesourcery.com>
35367
9ad63c23
JM
35368 [BZ #14154]
35369 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35370 approximation for values within 0x1p-13f of an odd multiple of
35371 pi/4.
35372 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35373 exception. Add more tests.
35374 * sysdeps/i386/fpu/libm-test-ulps: Update.
35375
f17ac40d
JM
35376 [BZ #6778]
35377 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35378 inputs and return -1 for them. Do not check for +Inf in case not
35379 reachable for +Inf.
35380 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35381 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35382 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35383 and return -1 for them. Do not check for +Inf in case not
35384 reachable for +Inf.
35385 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35386 define.
35387 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35388 and return -1 for them. Do not check for +Inf in case not
35389 reachable for +Inf.
35390 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35391 spurious underflow.
35392 * sysdeps/i386/fpu/libm-test-ulps: Update.
35393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35394
fb21f89b
MF
353952012-07-06 Mike Frysinger <vapier@gentoo.org>
35396
35397 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35398
cdfe2c5e
JM
353992012-07-05 Joseph Myers <joseph@codesourcery.com>
35400
35401 [BZ #14157]
35402 [BZ #14331]
35403 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35404 could result in spurious underflow. Scale down values above
35405 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35406 * math/s_csqrtf.c (__csqrtf): Likewise.
35407 * math/s_csqrtl.c (__csqrtl): Likewise.
35408 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35409 spurious underflow.
35410 * sysdeps/i386/fpu/libm-test-ulps: Update.
35411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35412
70d35b67
AS
354132012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35414
704bc459
AS
35415 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35416 xopen-msg.sed.
35417 * catgets/xopen-msg.awk: New file.
35418 * catgets/xopen-msg.sed: Removed.
35419
70d35b67
AS
35420 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35421 po2text.sed.
35422 * intl/po2test.awk: New file.
35423 * intl/po2test.sed: Removed.
35424
ca61cf32
JM
354252012-07-04 Joseph Myers <joseph@codesourcery.com>
35426
35427 [BZ #14328]
35428 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35429 or multiply small sinh result by itself.
35430 * math/s_ctanf.c (__ctanf): Likewise.
35431 * math/s_ctanh.c (__ctanh): Likewise.
35432 * math/s_ctanhf.c (__ctanhf): Likewise.
35433 * math/s_ctanhl.c (__ctanhl): Likewise.
35434 * math/s_ctanl.c (__ctanl): Likewise.
35435 * math/libm-test.inc (ctan_test_tonearest): New function.
35436 (ctan_test_towardzero): Likewise.
35437 (ctan_test_downward): Likewise.
35438 (ctan_test_upward): Likewise.
35439 (ctanh_test_tonearest): Likewise.
35440 (ctanh_test_towardzero): Likewise.
35441 (ctanh_test_downward): Likewise.
35442 (ctanh_test_upward): Likewise.
35443 (main): Call these new functions.
35444 * sysdeps/i386/fpu/libm-test-ulps: Update.
35445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35446
ca48a46a
MF
354472012-07-03 Mike Frysinger <vapier@gentoo.org>
35448
35449 * .gitignore: Delete /ports entry.
35450
9d63d37d
AJ
354512012-07-03 Andreas Jaeger <aj@suse.de>
35452
35453 * po/bg.po: Update from translation team.
35454 * po/cs.po: Likewise.
35455 * po/de.po: Likewise.
35456 * po/hr.po: Likewise.
35457 * po/nl.pl: Likewise.
35458 * po/pl.po: Likewise.
35459 * po/vi.po: Likewise.
35460
370ca3d2
JM
354612012-07-03 Joseph Myers <joseph@codesourcery.com>
35462
95f5a9a8
JM
35463 * Makeconfig [!+link] (+link-before-libc): New variable.
35464 [!+link] (+link-after-libc): Likewise.
35465 [!+link] (+link-tests): Likewise.
35466 [!+link] (+link): Define in terms of $(+link-before-libc) and
35467 $(+link-after-libc).
35468 [!+link-static] (+link-static-before-libc): New variable.
35469 [!+link-static] (+link-static-after-libc): Likewise.
35470 [!+link-static] (+link-static-tests): Likewise.
35471 [!+link-static] (+link-static): Define in terms of
35472 $(+link-static-before-libc) and $(+link-static-after-libc).
35473 [build-shared] (link-libc-before-gnulib): New variable.
35474 [build-shared] (link-libc-tests): Likewise.
35475 [build-shared] (link-libc): Define in terms of
35476 $(link-libc-before-gnulib).
35477 [!build-shared] (link-libc-tests): New variable.
35478 (link-libc-static-tests): New variable.
35479 [!gnulib] (gnulib-arch): New variable.
35480 [!gnulib] (gnulib-tests): Likewise.
35481 [!gnulib] (static-gnulib-arch): Likewise.
35482 [!gnulib] (static-gnulib-tests): Likewise.
35483 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35484 Define with "=" instead of ":=".
35485 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35486 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35487 * Rules (binaries-all-notests): New variable.
35488 (binaries-all-tests): Likewise.
35489 (binaries-static-notests): Likewise.
35490 (binaries-static-tests): Likewise.
35491 (binaries-all): Define using $(binaries-all-notests) and
35492 $(binaries-all-tests).
35493 (binaries-static): Define using $(binaries-static-notests) and
35494 $(binaries-static-tests).
35495 (binaries-shared-tests): New variable.
35496 (binaries-shared-notests): Likewise.
35497 (binaries-shared): Remove variable.
35498 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35499 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35500 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35501 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35502 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35503 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35504 * elf/Makefile (sln-modules): New variable.
35505 (extra-objs): Add $(sln-modules:=.o).
35506 (ldconfig-modules): Add static-stubs.
35507 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35508 * elf/static-stubs.c: New file.
35509
7a845b2c
JM
35510 [BZ #14283]
35511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35512 by 7 not 8 to examine high bit of fractional part. Use volatile
35513 variables when splitting into final array of floats if
35514 __FLT_EVAL_METHOD__ != 0.
35515 * math/libm-test.inc (cos_test): Add another test.
35516 (sin_test): Likewise.
35517 * sysdeps/i386/fpu/libm-test-ulps: Update.
35518
e2283f38
JM
35519 [BZ #14273]
35520 * math/libm-test.inc (cosh_test): Add more tests.
35521
370ca3d2
JM
35522 * version.h (RELEASE): Set to "development".
35523 (VERSION): Set to "2.16.90".
35524
ee9247c3
CD
355252012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35526
35527 * NEWS: Update copyright. Remove last-updated date.
35528 Mention math library bug fixes and timezone data changes.
35529 * README: Mention GNU/Hurd, x32, and HPPA support status.
35530
4648c381
TS
355312012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35532
35533 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35534
aac78a43
AJ
355352012-06-27 Andreas Jaeger <aj@suse.de>
35536
35537 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35538
ed3dbfad
AJ
355392012-06-25 Andreas Jaeger <aj@suse.de>
35540
35541 * sysdeps/s390/fpu/libm-test-ulps: Update.
35542
4d0ee855
AS
355432012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35544 Thomas Schwinge <thomas@codesourcery.com>
35545
35546 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35547 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35549 fanotify_mark.
35550
af1bce34
TS
355512012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35552
a9fa33ba
TS
35553 * sysdeps/mach/start.c: Remove file.
35554 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35555 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35556 * sysdeps/sh/init-first.c: Likewise.
35557
58f902b8
TS
35558 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35559 registers for frame unwinding purposes, add CFI directives.
35560 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35561 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35562 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35563 Likewise.
35564
1518f58b
TS
35565 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35566 __fortify_fail returning.
35567 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35568
db9b5059
TS
35569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35570 sysdeps/sh/____longjmp_chk.S.
35571 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35572 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35573 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35574 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35575
967705fe
TS
35576 * sysdeps/sh/abort-instr.h: New file.
35577 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35578 process in case exit returns.
35579
a9def8c4
TS
35580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35581 initialize the GOT register before use.
35582
2a649725
TS
35583 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35584 calculation of ARGC > 4.
35585
af1bce34
TS
35586 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35587 meaningful names to some local labels.
35588
d230f50a
KK
355892012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35590 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35591
35592 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35593 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35594 (__arch_compare_and_exchange_val_16_acq): Likewise.
35595 (__arch_compare_and_exchange_val_32_acq): Likewise.
35596 (atomic_exchange_and_add): Fix gUSA sequence.
35597 (atomic_add): Likewise.
35598 (atomic_add_negative): Likewise.
35599 (atomic_add_zero): Likewise.
35600 (atomic_bit_test_set): Likewise.
35601
0479b305
AS
356022012-06-22 Andreas Schwab <schwab@redhat.com>
35603
35604 [BZ #13579]
35605 * include/link.h (struct link_map): Add l_free_initfini.
35606 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35607 l_initfini.
35608 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35609 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35610 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35611 set.
35612
0e3933b9
CD
356132012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35614
35615 * configure.in: Use AC_LANG_SOURCE.
35616 * configure: Regenerate.
35617
4248b1b1
RM
356182012-06-22 Roland McGrath <roland@hack.frob.com>
35619
35620 * configure.in (libc_cv_localstatedir): New substituted variable.
35621 * configure: Regenerated.
35622 * config.make.in (localstatedir): New variable, substituted from
35623 libc_cv_localstatedir.
35624 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35625 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35626 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35627 * sysdeps/gnu/configure: Regenerated.
35628
006dd861
JL
356292012-06-21 Jeff Law <law@redhat.com>
35630
35631 [BZ #14277]
35632 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35633 free. Simplify list management for _LIBC case.
35634
79662d42
JM
356352012-06-21 Joseph Myers <joseph@codesourcery.com>
35636
b7abb4bf
JM
35637 [BZ #14273]
35638 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35639 Clear sign bit of 64-bit integer value before comparing against
35640 overflow value.
35641
79662d42
JM
35642 * sysdeps/mach/configure: Regenerated.
35643
1f150908
L
356442012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35645
35646 [BZ #14278]
35647 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35648
28363bbf
JL
356492012-06-21 Jeff Law <law@redhat.com>
35650
35651 [BZ #13882]
35652 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35653 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35654 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35655 * elf/dl-open.c (dl_open_worker): Likewise.
35656
09615db4
CD
356572012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35658
35659 * scripts/list-sources.sh: Scan PORTS for translations.
35660 * po/libc.pot: Regenerated.
35661
2174c6dd
AJ
356622012-06-21 Andreas Jaeger <aj@suse.de>
35663
35664 [BZ #12194]
35665 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35666 warning.
35667 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35668 * bits/byteswap-16.h (__bswap_16): Likewise.
35669 * bits/byteswap.h (__bswap_constant_16): Likewise.
35670
3ee947b1
L
356712012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35672
35673 [BZ #14117]
a2f34833
L
35674 * sysdeps/i386/fpu_control.h: Removed.
35675 * sysdeps/x86_64/fpu_control.h: Moved to ...
35676 * sysdeps/x86/fpu_control.h: Here.
35677
3ee947b1
L
35678 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35679 (_FPU_SETCW): Likewise.
35680
ed1825f8
L
356812012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35682
25f1282a
L
35683 [BZ #14117]
35684 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35685 * sysdeps/x86/fpu/bits/mathinline.h: This.
35686 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35687
ed1825f8
L
35688 [BZ #14050]
35689 [BZ #14117]
35690 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35691 functions if __x86_64__ is defined.
35692
36d54b74
CLT
356932012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35694
35695 * string/endian.h: Add !__ASSEMBLER__ condition for including
35696 conversion interfaces.
35697
10285c21
JM
356982012-06-15 Joseph Myers <joseph@codesourcery.com>
35699
35700 [BZ #14241]
35701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35702 of ABS(x) in calculating zero to negative powers other than odd
35703 integers.
35704 * math/libm-test.inc (pow_test): Add more tests.
35705
06c5abbd
AJ
357062012-06-15 Andreas Jaeger <aj@suse.de>
35707
35708 * manual/contrib.texi (Contributors): Update entry of Liubov
35709 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35710 Machado Filho.
35711
a3aeac40
CH
357122012-06-15 Cyril Hrubis <metan@ucw.cz>
35713
35714 * string/string.h: Add __wur to GNU version of strerror_r.
35715
49bdf4c1
L
357162012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35717
35718 [BZ #14229]
35719 * string/Makefile (tests): Add tst-strtok_r.
35720 * string/tst-strtok_r.c: New file.
35721 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35722 RAX_LP/RDX_LP on SAVE_PTR.
35723
834f9b8d
RM
357242012-06-14 Roland McGrath <roland@hack.frob.com>
35725
35726 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35727
75fa1921
JM
357282012-06-14 Joseph Myers <joseph@codesourcery.com>
35729
35730 * libm_test.inc (csqrt_test): Allow more spurious underflow
35731 exceptions.
35732 (j0_test): Likewise.
35733 (j1_test): Likewise.
35734 (y0_test): Likewise.
35735 (y1_test): Likewise.
35736
771766df
CD
357372012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35738
35739 * po/Makefile (libc.pot): Use UTF-8 charset.
35740
ceb9e56b
PP
357412012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35742
35743 [BZ #14210]
35744 Suppress sign-conversion warning from FD_SET.
35745 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35746 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35747 not unsigned long int.
35748 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35749
ddb28975
L
357502012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35751
35752 [BZ #14050]
35753 [BZ #14117]
35754 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35755 __extern_always_inline instead of __extern_inline.
35756 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35757 (__signbit): Likewise.
35758 (__signbitl): Support C++ namespace.
35759 (lrintf): New inline function.
35760 (lrint): Likewise.
35761 (llrintf): Likewise.
35762 (llrint): Likewise.
35763 (fmaxf): Likewise.
35764 (fmax): Likewise.
35765 (fminf): Likewise.
35766 (fmin): Likewise.
35767 (rint): Likewise.
35768 (rintf): Likewise.
35769 (ceil): Likewise.
35770 (ceilf): Likewise.
35771 (floor): Likewise.
35772 (floorf): Likewise.
35773 (nearbyint): Likewise.
35774 (nearbyintf): Likewise.
35775
d7b4fb26
TS
357762012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35777
35778 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35779 non-default versions.
35780
eb55f5c2
RM
357812012-06-11 Roland McGrath <roland@hack.frob.com>
35782
35783 [BZ #14218]
35784 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35785
366af02c
TS
357862012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35787
99ff6e5c
TS
35788 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35789 (FE_UPWARD, FE_DOWNWARD): Don't define.
35790 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35792
366af02c
TS
35793 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35794 reading it.
35795 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35796 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35797
793ea851
KK
357982012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35799
35800 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35801 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35803 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35804
a728a38f
L
358052012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35806
35807 [BZ #14117]
c08010c7
L
35808 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35809 * sysdeps/i386/fpu/Implies: New file.
35810 * sysdeps/x86_64/fpu/Implies: Likewise.
35811 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35812 * sysdeps/x86/fpu/bits/fenv.h: This.
35813
a728a38f
L
35814 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35815 __SSE_MATH__.
35816
6e230d11
SP
358172012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35818
35819 [BZ #14134]
35820 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35821 character 0xffff that matches the last element of the
35822 conversion table.
35823
1b671feb
AZ
358242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35825
35826 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35827 fmodl commit.
35828
6043738b
AZ
358292012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35830
35831 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35832 values higher than 25.6283.
35833
34ae0b32
AZ
358342012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35835
35836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35837 subnormal exponent extraction and add some __builtin_expect.
35838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35839 Fix for subnormal mantissa calculation.
35840
1214ec8f
MF
358412012-06-04 Mike Frysinger <vapier@gentoo.org>
35842
35843 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35844 cpu2 is -1 and errno is not ENOSYS.
35845
f3d1f93c
L
358462012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35847
35848 [BZ #14117]
0e4a3cd7
L
35849 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35850 * sysdeps/x86/bits/string.h: This.
35851 * sysdeps/x86_64/bits/string.h: Removed.
35852
6704c645
L
35853 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35854 if not compiling for x86-64, but compiling for >= i486.
35855
48495318
L
35856 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35857 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35858
14adcbfc
L
35859 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35860 New macro from Linux kernel 3.4.0.
35861 (FP_XSTATE_MAGIC2): Likewise.
35862 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35863 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35864 (struct _fpx_sw_bytes): New struct.
35865 (struct _xsave_hdr): Likewise.
35866 (struct _ymmh_state): Likewise.
35867 (struct _xstate): Likewise.
35868
68e408ab
L
35869 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35870 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35871 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35872 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35873 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35874 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35875
f3d1f93c
L
35876 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35877 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35878 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35879 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35880 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35881 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35882
d9dc34cd
TMQMF
358832012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35884
35885 [BZ #13743]
35886 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35887 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35888 (sysdep_headers): Include sys/platform/ppc.h.
35889 * sysdeps/powerpc/test-gettimebase.c: Test for
35890 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35891 * manual/Makefile (appendices): Include platform.texi.
35892 * manual/contrib.texi (Contributors): Update @node pointers.
35893 * manual/maint.texi (Maintenance): Likewise.
35894 (Platform): New node.
35895 * manual/platform.texi: New file. Document the new features.
35896
4af3879c
SP
358972012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35898 Jakub Jelinek <jakub@redhat.com>
35899
35900 [BZ #14188]
35901 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35902 where __builtin_expect is unavailable.
35903
2fd6ff13
DM
359042012-06-03 David S. Miller <davem@davemloft.net>
35905
35906 * stdlib/longlong.h: Updated from GCC.
35907
173f7220
AS
359082012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35909
35910 [BZ #14042]
35911 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35912 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35913 __mcount_internal.
35914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35915 (GLIBC_2.16): Likewise.
35916
f34a1c6f
L
359172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35918
35919 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35920
88a4576f
JM
359212012-06-01 Joseph Myers <joseph@codesourcery.com>
35922
ea32bcdd
JM
35923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35924 (default-abi): New variable.
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35926 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35927 variable.
35928 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35929 Likewise.
35930 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35931 Likewise.
35932 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35933 Likewise.
35934
88a4576f
JM
35935 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35936 definition. Document in comment.
35937
402fe938
DM
359382012-06-01 David S. Miller <davem@davemloft.net>
35939
35940 * stdlib/longlong.h: Updated from GCC.
35941
3553723f
L
359422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35943
35944 [BZ #14117]
3bd872c4
L
35945 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35946 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35947 sys/debugreg.h sys/io.h here.
35948 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35949 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35950 sys/io.h.
35951 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35952 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35953 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35954 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35955 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35956 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35957
3553723f
L
35958 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35959 Define only if __x86_64__ is defined.
35960
4842e4fe
JM
359612012-06-01 Joseph Myers <joseph@codesourcery.com>
35962
c5bfe3d5
JM
35963 [BZ #14048]
35964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35965 Use int64_t for variable i.
35966 * math/libm-test.inc (fmod_test): Add more tests.
35967
4842e4fe
JM
35968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35969 z computation is not scheduled after fetestexcept.
35970 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35971 Use math_force_eval instead of asm to ensure calculation scheduled
35972 before exception test.
35973 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35974 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35975
efb73488
AJ
359762012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35977
35978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35979 computation is not scheduled after fetestexcept.
35980
29bcce7c
L
359812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35982
35983 [BZ #14117]
35984 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35985 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35986
73a68f94
AZ
359872012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35988
35989 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35990 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35991
67b6df78
L
359922012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35993
edf2933a 35994 [BZ #14117]
ebc64a18
L
35995 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35996 <bits/wordsize.h>.
35997 (__WCHAR_MIN): Support __WORDSIZE == 64.
35998 (__WCHAR_MAX): Likewise.
35999
edf2933a
L
36000 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36001 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36002
57c6cf40
L
36003 [BZ #14183]
36004 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36005 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36006
67b6df78 36007 [BZ #14117]
8eb6281e
L
36008 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36009 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36010
aac639f4
L
36011 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36012 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36013
67b6df78
L
36014 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36015 Defined to 1 if __x86_64__ isn't defined.
36016 (_STAT_VER_LINUX_OLD): New.
36017 (st_atime): Remove duplicate.
36018 (st_mtime): Likewise.
36019 (st_ctime): Likewise.
36020
1c2cfe81
DM
360212012-05-31 David S. Miller <davem@davemloft.net>
36022
36023 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36024 entries.
36025
5be8418c
AS
360262012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36027
e7725326
AS
36028 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36029 gen-libm-test.pl.
36030
5be8418c
AS
36031 [BZ #14132]
36032 * elf/dl-reloc.c: Include <_itoa.h>.
36033 (_dl_reloc_bad_type): Remove use of INTUSE.
36034 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36035 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36036 * stdio-common/psiginfo.c (psiginfo): Likewise.
36037 * stdio-common/psignal.c (psignal): Likewise.
36038 * string/strsignal.c (strsignal): Likewise.
36039 * include/signal.h (_sys_siglist): Declare hidden proto.
36040 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36041 INTVARDEF with libc_hidden_data_def.
36042 * stdio-common/itoa-udigits.c: Likewise.
36043 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36044 (_itoa_lower_digits_internal): Remove declaration.
36045 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36046 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36047 (_sys_sigabbrev_internal): Remove aliases.
36048 (_sys_siglist): Define hidden alias.
36049
507352f1
MT
360502012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36051
36052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36053 bits/sysctl.h.
36054
42bbb1c3
L
360552012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36056
36057 [BZ #14117]
6bd784b6
L
36058 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36059 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36060
8bca20f0
L
36061 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36062 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36063 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36064 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36065 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36066 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36067
f9e890a9
L
36068 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36070 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36071
471101a1
L
36072 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36073 with __addr.
36074 (insw): Likewise.
36075 (insl): Likewise.
36076 (outsb): Likewise.
36077 (outsw): Likewise.
36078 (outsl): Likewise.
36079
6451c862
L
36080 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36081 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36082 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36083
a254b8c9
L
36084 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36085 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36086 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36087 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36088 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36089 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36090
b8dfdd92
L
36091 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36092 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36093
578cd270
L
36094 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36095 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36096
de662f5f
L
36097 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36098 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36099 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36100
25653439
L
36101 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36102 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36103 to ...
36104 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36105
6bad24a0
L
36106 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36107 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36108 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36109
42bbb1c3
L
36110 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36111 for x86-64.
36112 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36113
2d10d547
JM
361142012-05-31 Joseph Myers <joseph@codesourcery.com>
36115
36116 * math/math.h (M_El): Use two more decimal places.
36117 (M_LOG2El): Likewise.
36118 (M_LOG10El): Likewise.
36119 (M_LN2l): Likewise.
36120 (M_LN10l): Likewise.
36121 (M_PIl): Likewise.
36122 (M_PI_2l): Likewise.
36123 (M_PI_4l): Likewise.
36124 (M_1_PIl): Likewise.
36125 (M_2_PIl): Likewise.
36126 (M_2_SQRTPIl): Likewise.
36127 (M_SQRT2l): Likewise.
36128 (M_SQRT1_2l): Likewise.
36129
f230c29b
DM
361302012-05-31 David S. Miller <davem@davemloft.net>
36131
36132 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36133 values between float registers.
36134 * sysdeps/sparc/sparc64/memset.S: Likewise.
36135 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36136
fed806c3
MF
361372012-05-31 Mike Frysinger <vapier@gentoo.org>
36138
36139 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36140 -D_FORTIFY_SOURCE=1.
36141 (CPPFLAGS-tst-longjmp_chk.c): Define.
36142 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36143 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36144 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36145 CFLAGS-tst-wchar-h.c.
36146
30917259
MP
361472012-05-31 Marek Polacek <polacek@redhat.com>
36148
36149 [BZ #14132]
36150 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36151 __endmntent_internal): Remove declaration.
36152 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36153 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36154 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36155
1c58d5dc
DM
361562012-05-30 David S. Miller <davem@davemloft.net>
36157
36158 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36159 (___Q_simulate_exceptions): Use real FP ops rather than writing
36160 into the %fsr.
36161 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36162 Likewise.
36163
7dc00e0d
L
361642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36165
36166 [BZ #14117]
0bd53985
L
36167 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36168 * sysdeps/x86/bits/xtitypes.h: This.
36169
3a257e66
L
36170 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36171 * sysdeps/x86/bits/wordsize.h: This.
36172
62f62904
L
36173 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36174 * sysdeps/x86/bits/huge_vall.h: This.
36175
404fe9d9
L
36176 * sysdeps/i386/bits/select.h: Removed.
36177 * sysdeps/x86_64/bits/select.h: Renamed to ...
36178 * sysdeps/x86/bits/select.h: This.
36179
d48d0446
L
36180 * sysdeps/i386/bits/setjmp.h: Removed.
36181 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36182 * sysdeps/x86/bits/setjmp.h: This.
36183
7dc00e0d
L
36184 * sysdeps/i386/bits/mathdef.h: Removed.
36185 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36186 * sysdeps/x86/bits/mathdef.h: This.
36187
03277f8f
AS
361882012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36189
36190 [BZ #14132]
36191 * include/sys/socket.h (__connect_internal)
36192 (__libc_sa_len_internal): Remove declaration.
36193 (__connect, __libc_sa_len): Declare hidden_proto.
36194 (SA_LEN): Remove use of INTUSE.
36195 * socket/connect.c: Add libc_hidden_def.
36196 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36197 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36198 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36199 alias.
36200 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36201 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36202 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36203 of adding _internal alias.
36204
13764867
L
362052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36206
36207 [BZ #14117]
6bd97696
L
36208 * sysdeps/i386/bits/link.h: Removed.
36209 * sysdeps/i386/bits/linkmap.h: Likewise.
36210 * sysdeps/x86_64/bits/link.h: Renamed to ...
36211 * sysdeps/x86/bits/link.h: This.
36212 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36213 * sysdeps/x86/bits/linkmap.h: This.
36214
f726f0bb
L
36215 * sysdeps/i386/bits/endian.h: Removed.
36216 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36217 * sysdeps/x86/bits/endian.h: This.
36218
13764867
L
36219 * sysdeps/i386/bits/byteswap.h: Removed.
36220 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36221 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36222 * sysdeps/x86/bits/byteswap.h: This.
36223 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36224 * sysdeps/x86/bits/byteswap-16.h: This.
36225 * sysdeps/i386/Implies: Add x86.
36226 * sysdeps/x86_64/Implies: Likewise.
36227
ae251b0b
DM
362282012-05-30 David S. Miller <davem@davemloft.net>
36229
36230 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36231 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36232 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36233 (FP_TRAPPING_EXCEPTIONS): Define.
36234 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36235 (FP_TRAPPING_EXCEPTIONS): Define.
36236 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36237 subnormals only when inexact has been signalled or underflow
36238 exceptions are enabled.
36239 (_FP_PACK_CANONICAL): Likewise.
36240
d5c90867
L
362412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36242
36243 [BZ #14183]
36244 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36245 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36246
63f1549e
RH
362472012-05-30 Richard Henderson <rth@twiddle.net>
36248
8d8f2279
RH
36249 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36250 with #ifndef NOT_IN_libc.
36251
63f1549e
RH
36252 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36253 marked to avoid plt entry.
36254
0ab0291b
L
362552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36256
36257 [BZ #14112]
36258 * Makeconfig (default-abi): New macro.
36259 (abi-includes): Likewise.
36260 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36261 $(abi-$(default-abi)-lib-soname) for soname if defined.
36262 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36263 abi-variants.
36264 * Makefile (installed-stubs): Likewise.
36265 * include/stubs-biarch.h: Removed.
36266 * scripts/lib-names.awk: Only handle one library at a time.
36267 * scripts/soversions.awk: Remove WORDSIZE support.
36268 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36269 entries.
36270 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36271 Removed.
36272 (syscall-list-default-condition): Likewise.
36273 (syscall-list-default-condition): Likewise.
36274 (syscall-list-includes): Likewise.
36275 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36276 syscall-list-* with abi-*. Handle undefined abi-variants.
36277 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36278 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36279 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36280 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36281 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36282 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36283 Removed.
36284 (syscall-list-32-options): Likewise.
36285 (syscall-list-32-condition): Likewise.
36286 (syscall-list-64-options): Likewise.
36287 (syscall-list-64-condition): Likewise.
36288 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36289 macro.
36290 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36291 Renamed to ...
36292 (abi-*): This.
36293 (abi-64-ld-soname): New macro.
36294 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36295 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36296 Renamed to ...
36297 (abi-*): This.
36298 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36299 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36300
4da0431d
JM
363012012-05-30 Joseph Myers <joseph@codesourcery.com>
36302
3a85279c
JM
36303 * sysdeps/unix/sysv/linux/kernel-features.h
36304 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36305 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36306 include <kernel-features.h>.
36307 [!__NR_ftruncate64]: Remove conditional code.
36308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36309 [__NR_ftruncate64]: Make code unconditional.
36310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36311 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36312 include <kernel-features.h>.
36313 [!__NR_ftruncate64]: Remove conditional code.
36314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36315 [__NR_ftruncate64]: Make code unconditional.
36316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36318 include <kernel-features.h>.
36319 [!__NR_ftruncate64]: Remove conditional code.
36320 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36321 [__NR_ftruncate64]: Make code unconditional.
36322 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36324 include <kernel-features.h>.
36325 [!__NR_ftruncate64]: Remove conditional code.
36326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36327 [__NR_ftruncate64]: Make code unconditional.
36328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36329
4da0431d
JM
36330 * configure.in (libc_cv_fpie): Weaken to a compile test using
36331 LIBC_TRY_CC_OPTION.
36332 * configure: Regenerated.
36333
11ef492c
AK
363342012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36335
36336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36340 Refreshed.
36341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36347 Refreshed.
36348
d66ef399
DM
363492012-05-27 David S. Miller <davem@davemloft.net>
36350
36351 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36352 (___Q_zero): New.
36353 (__Q_simulate_exceptions): Return void. Change to simulate
36354 exceptions by writing into the %fsr.
36355 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36356 (__Qp_handle_exceptions): Likewise.
36357 (numbers): Delete.
36358 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36359 __Qp_handle_exceptions.
36360 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36361 __Qp_handle_exceptions.
36362 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36363 as unused and give dummy FP_RND_NEAREST initializer.
36364 (FP_INHIBIT_RESULTS): Define.
36365 (___Q_simulate_exceptions): Update declaration.
36366 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36367 formatting.
36368 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36369 as unused and give dummy FP_RND_NEAREST initializer.
36370 (__Qp_handle_exceptions): Update declaration.
36371 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36372 formatting.
36373
04fb54b5
TS
363742012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36375
36376 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36377 the temporary FPU control word.
36378 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36379 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36380 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36381 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36382 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36383 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36384 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36385 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36386 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36387 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36388 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36389
3f99608f
KK
363902012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36391
36392 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36393 fields.
36394
65a4de4e
CLT
363952012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36396
36397 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36398 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36399 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36400 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36401 Likewise.
36402 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36403 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36404 Likewise.
36405
15749d40
UD
364062012-05-27 Ulrich Drepper <drepper@gmail.com>
36407
36408 * po/h.po: Update from translation team.
36409
25dbcb27
AS
364102012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36411
3d3f8e55
AS
36412 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36413
25dbcb27
AS
36414 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36415 handling of denormals.
36416 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36417 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36418 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36419 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36420 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36422 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36423 Likewise.
36424
7ad47a80 364252012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36426
36427 [BZ #14152]
36428 * math/libm-test.inc (fma_test): Don't always expect underflow
36429 exception.
36430
9c6ea9fa
SP
364312012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36432
36433 [BZ #12416]
36434 * elf/tst-execstack.c: Include stackinfo.h.
36435 (do_test): Adjust test case to ensure that pthread_getattr_np
36436 behaviour remains the same after marking stack executable.
36437
a8239222
JM
364382012-05-25 Joseph Myers <joseph@codesourcery.com>
36439
36440 * sysdeps/unix/sysv/linux/kernel-features.h
36441 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36442 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36443 kernel-features.h.
36444 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36445 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36446 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36447 kernel-features.h.
36448 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36449 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36450
918b5606
L
364512012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36452
36453 * configure.in: Define the default includes to being none.
36454 * configure: Regenerated.
36455
3a097cc7
RM
364562012-05-25 Roland McGrath <roland@hack.frob.com>
36457
8422c9a5
RM
36458 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36459 * sysdeps/x86_64/setjmp.S: Likewise.
36460 * sysdeps/i386/bsd-setjmp.S: Likewise.
36461 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36462 * sysdeps/i386/setjmp.S: Likewise.
36463 * sysdeps/i386/__longjmp.S: Likewise.
36464 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36465 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36466
3a097cc7
RM
36467 * include/stap-probe.h: New file.
36468 * configure.in: Handle --enable-systemtap.
36469 * configure: Regenerated.
36470 * config.h.in (USE_STAP_PROBE): New #undef.
36471 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36472 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36473 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36474
21708942
JM
364752012-05-25 Joseph Myers <joseph@codesourcery.com>
36476
36477 [BZ #13717]
36478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36479 to 2.4.0 where earlier.
36480 * sysdeps/unix/sysv/linux/configure: Regenerated.
36481 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36482 <kernel-features.h>.
36483 [__ASSUME_32BITUIDS]: Make code unconditional.
36484 [!__ASSUME_32BITUIDS]: Remove conditional code.
36485 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36486 <kernel-features.h>.
36487 [__ASSUME_32BITUIDS]: Make code unconditional.
36488 [!__ASSUME_32BITUIDS]: Remove conditional code.
36489 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36490 [__ASSUME_32BITUIDS]: Make code unconditional.
36491 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36492 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.c: Do not include
36501 <kernel-features.h>.
36502 [__ASSUME_32BITUIDS]: Make code unconditional.
36503 [!__ASSUME_32BITUIDS]: Remove conditional code.
36504 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36505 <kernel-features.h>.
36506 [__ASSUME_32BITUIDS]: Make code unconditional.
36507 [!__ASSUME_32BITUIDS]: Remove conditional code.
36508 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36509 <kernel-features.h>.
36510 [__ASSUME_32BITUIDS]: Make code unconditional.
36511 [!__ASSUME_32BITUIDS]: Remove conditional code.
36512 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36513 <kernel-features.h>.
36514 [__ASSUME_32BITUIDS]: Make code unconditional.
36515 [!__ASSUME_32BITUIDS]: Remove conditional code.
36516 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36517 <kernel-features.h>.
36518 [__ASSUME_32BITUIDS]: Make code unconditional.
36519 [!__ASSUME_32BITUIDS]: Remove conditional code.
36520 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36521 <kernel-features.h>.
36522 [__ASSUME_32BITUIDS]: Make code unconditional.
36523 [!__ASSUME_32BITUIDS]: Remove conditional code.
36524 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36525 <kernel-features.h>.
36526 [__ASSUME_32BITUIDS]: Make code unconditional.
36527 [!__ASSUME_32BITUIDS]: Remove conditional code.
36528 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36529 <kernel-features.h>.
36530 [__ASSUME_32BITUIDS]: Make code unconditional.
36531 [!__ASSUME_32BITUIDS]: Remove conditional code.
36532 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36533 <kernel-features.h>.
36534 [__NR_setresgid] (__setresgid): Do not declare.
36535 [__ASSUME_32BITUIDS]: Make code unconditional.
36536 [!__ASSUME_32BITUIDS]: Remove conditional code.
36537 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36538 <kernel-features.h>.
36539 [__NR_setresuid] (__setresuid): Do not declare.
36540 [__ASSUME_32BITUIDS]: Make code unconditional.
36541 [!__ASSUME_32BITUIDS]: Remove conditional code.
36542 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/i386/setgid.c: Do not include
36551 <kernel-features.h>.
36552 [__ASSUME_32BITUIDS]: Make code unconditional.
36553 [!__ASSUME_32BITUIDS]: Remove conditional code.
36554 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36555 <kernel-features.h>.
36556 [__ASSUME_32BITUIDS]: Make code unconditional.
36557 [!__ASSUME_32BITUIDS]: Remove conditional code.
36558 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36559 <kernel-features.h>.
36560 [__ASSUME_32BITUIDS]: Make code unconditional.
36561 [!__ASSUME_32BITUIDS]: Remove conditional code.
36562 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36563 <kernel-features.h>.
36564 [__ASSUME_32BITUIDS]: Make code unconditional.
36565 [!__ASSUME_32BITUIDS]: Remove conditional code.
36566 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36567 <kernel-features.h>.
36568 [__ASSUME_32BITUIDS]: Make code unconditional.
36569 [!__ASSUME_32BITUIDS]: Remove conditional code.
36570 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36571 <kernel-features.h>.
36572 [__ASSUME_32BITUIDS]: Make code unconditional.
36573 [!__ASSUME_32BITUIDS]: Remove conditional code.
36574 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36575 <kernel-features.h>.
36576 [__ASSUME_32BITUIDS]: Make code unconditional.
36577 [!__ASSUME_32BITUIDS]: Remove conditional code.
36578 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36579 <kernel-features.h>.
36580 [__ASSUME_32BITUIDS]: Make code unconditional.
36581 [!__ASSUME_32BITUIDS]: Remove conditional code.
36582 * sysdeps/unix/sysv/linux/kernel-features.h
36583 (__ASSUME_SETRESUID_SYSCALL): Remove.
36584 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36585 (__ASSUME_32BITUIDS): Likewise.
36586 (__ASSUME_LDT_WORKS): Likewise.
36587 (__ASSUME_O_DIRECTORY): Likewise.
36588 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36589 architecture but not kernel version.
36590 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36591 (__ASSUME_MMAP2_SYSCALL): Likewise.
36592 (__ASSUME_STAT64_SYSCALL): Likewise.
36593 (__ASSUME_IPC64): Likewise.
36594 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36595 <kernel-features.h>.
36596 [__ASSUME_32BITUIDS]: Make code unconditional.
36597 [!__ASSUME_32BITUIDS]: Remove conditional code.
36598 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36599 <kernel-features.h>.
36600 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36601 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36602 132096]: Remove conditional code.
36603 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36604 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36605 <kernel-features.h>.
36606 [__ASSUME_32BITUIDS]: Make code unconditional.
36607 [!__ASSUME_32BITUIDS]: Remove conditional code.
36608 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36609 <kernel-features.h>.
36610 [__ASSUME_32BITUIDS]: Make code unconditional.
36611 [!__ASSUME_32BITUIDS]: Remove conditional code.
36612 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36613 <kernel-features.h>.
36614 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36615 unconditional.
36616 (__setresgid): Do not declare.
36617 [__ASSUME_32BITUIDS]: Make code unconditional.
36618 [!__ASSUME_32BITUIDS]: Remove conditional code.
36619 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36620 <kernel-features.h>.
36621 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36622 unconditional.
36623 (__setresuid): Do not declare.
36624 [__ASSUME_32BITUIDS]: Make code unconditional.
36625 [!__ASSUME_32BITUIDS]: Remove conditional code.
36626 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36627 <kernel-features.h>.
36628 [__ASSUME_32BITUIDS]: Make code unconditional.
36629 [!__ASSUME_32BITUIDS]: Remove conditional code.
36630 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36631 <kernel-features.h>.
36632 [__ASSUME_32BITUIDS]: Make code unconditional.
36633 [!__ASSUME_32BITUIDS]: Remove conditional code.
36634
a386f1cc
RH
366352012-05-25 Richard Henderson <rth@twiddle.net>
36636
36637 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36638 dl_hwcap to ifunc resolver.
36639 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36640 elf_ifunc_invoke.
36641 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36642 dl_hwcap to ifunc resolver.
36643 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36644
b6550497
JM
366452012-05-24 Joseph Myers <joseph@codesourcery.com>
36646
36647 [BZ #14153]
36648 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36649 for |x| <= 2**-26, not 2**-57.
36650 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36651 exception.
36652
b0bc23a1
JL
366532012-05-24 Jeff Law <law@redhat.com>
36654
36655 * stdio-common/Makefile (tests): Add bug25.
36656 * stdio-common/bug25.c: New test.
36657
347c92e9
L
366582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36659
36660 [BZ #13576]
36661 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36662 multiple of MALLOC_ALIGNMENT in size.
36663 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36664
6bcc8b3f
JM
366652012-05-24 Joseph Myers <joseph@codesourcery.com>
36666
36667 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36668 Require >= 256.
36669 (FILENAME_MAX): Use macro-int-constant.
36670 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36671 (_IOFBF): Use macro-int-constant.
36672 (_IOLBF): Likewise.
36673 (_IONBF): Likewise.
36674 (SEEK_CUR): Likewise.
36675 (SEEK_END): Likewise.
36676 (SEEK_SET): Likewise.
36677 (TMP_MAX): Likewise.
36678 (EOF): Use macro-int-constant. Require < 0.
36679 (NULL): Use macro-constant. Require == 0.
36680 (stdin): Require type to be FILE *.
36681 (stdout): Likewise.
36682 (stderr): Likewise.
36683 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36684 macro-int-constant.
36685 (EXIT_SUCCESS): Likewise.
36686 (NULL): Use macro-constant. Require == 0.
36687 (RAND_MAX): Use macro-int-constant.
36688 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36689 [C99-based standards] (strtof): Require function.
36690 [C99-based standards] (strtold): Likewise.
36691 [C99-based standards] (strtoll): Likewise.
36692 [C99-based standards] (strtoull): Likewise.
36693 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36694 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36695 [ISO || ISO99 || ISO11] (math.h): Likewise.
36696 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36697 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36698 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36699
d18ea0c5
AS
367002012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36701
36702 [BZ #14132]
56d25bb8
AS
36703 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36704 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36705 * intl/dgettext.c (DCGETTEXT): Likewise.
36706 * intl/gettext.c (DCGETTEXT): Likewise.
36707 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36708 * posix/regex_internal.h (gettext): Likewise.
36709 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36710 Remove declaration.
36711 * include/argz.h (__argz_count_internal)
36712 (__argz_stringify_internal): Remove declaration.
36713 (__argz_count, __argz_stringify): Declare hidden proto.
36714 * intl/dcgettext.c: Remove use of INTDEF.
36715 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36716 * string/argz-stringify.c: Likewise.
36717 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36718 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36719 Declare hidden proto.
d18ea0c5
AS
36720 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36721 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36722 Declare hidden proto.
36723 * include/stdio.h (__asprintf_internal): Don't declare.
36724 (__asprintf): Don't define as macro. Declare hidden proto.
36725 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36726 (__fsetlocking): Declare hidden proto.
36727 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36728 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36729 hidden proto.
36730 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36731 (_IO_setlinebuf): Remove use of INTUSE.
36732 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36733 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36734 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36735 Remove declaration.
36736 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36737 (_IO_do_flush): Remove use of INTUSE.
36738 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36739 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36740 (_IO_adjust_column, _IO_least_wmarker)
36741 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36742 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36743 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36744 (_IO_default_doallocate, _IO_wdefault_doallocate)
36745 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36746 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36747 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36748 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36749 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36750 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36751 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36752 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36753 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36754 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36755 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36756 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36757 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36758 proto.
36759 (_IO_flush_all_internal, _IO_adjust_column_internal)
36760 (_IO_default_uflow_internal, _IO_default_finish_internal)
36761 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36762 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36763 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36764 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36765 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36766 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36767 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36768 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36769 (_IO_file_close_internal, _IO_file_close_it_internal)
36770 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36771 (_IO_file_init_internal, _IO_file_attach_internal)
36772 (_IO_file_fopen_internal, _IO_file_read_internal)
36773 (_IO_file_sync_internal, _IO_file_seek_internal)
36774 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36775 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36776 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36777 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36778 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36779 (_IO_list_all_internal, _IO_link_in_internal)
36780 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36781 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36782 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36783 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36784 (_IO_do_write_internal, _IO_padn_internal)
36785 (_IO_getline_info_internal, _IO_getline_internal)
36786 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36787 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36788 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36789 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36790 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36791 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36792 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36793 with libc_hidden_ver, remove use of INTUSE.
36794 * libio/genops.c: Likewise.
36795 * libio/freopen.c: Likewise.
36796 * libio/freopen64.c: Likewise.
36797 * libio/iofclose.c: Likewise.
36798 * libio/iofdopen.c: Likewise.
36799 * libio/iofflush.c: Likewise.
36800 * libio/iofflush_u.c: Likewise.
36801 * libio/iofgets.c: Likewise.
36802 * libio/iofgets_u.c: Likewise.
36803 * libio/iofopen.c: Likewise.
36804 * libio/iofopncook.c: Likewise.
36805 * libio/iofread.c: Likewise.
36806 * libio/iofread_u.c: Likewise.
36807 * libio/ioftell.c: Likewise.
36808 * libio/iofwrite.c: Likewise.
36809 * libio/iogetline.c: Likewise.
36810 * libio/iogets.c: Likewise.
36811 * libio/iogetwline.c: Likewise.
36812 * libio/iopadn.c: Likewise.
36813 * libio/iopopen.c: Likewise.
36814 * libio/ioseekoff.c: Likewise.
36815 * libio/ioseekpos.c: Likewise.
36816 * libio/iosetbuffer.c: Likewise.
36817 * libio/iosetvbuf.c: Likewise.
36818 * libio/ioungetc.c: Likewise.
36819 * libio/ioungetwc.c: Likewise.
36820 * libio/iovdprintf.c: Likewise.
36821 * libio/iovsprintf.c: Likewise.
36822 * libio/iovsscanf.c: Likewise.
36823 * libio/memstream.c: Likewise.
36824 * libio/obprintf.c: Likewise.
36825 * libio/oldfileops.c: Likewise.
36826 * libio/oldiofclose.c: Likewise.
36827 * libio/oldiofdopen.c: Likewise.
36828 * libio/oldiofopen.c: Likewise.
36829 * libio/oldiopopen.c: Likewise.
36830 * libio/oldstdfiles.c: Likewise.
36831 * libio/putc.c: Likewise.
36832 * libio/setbuf.c: Likewise.
36833 * libio/setlinebuf.c: Likewise.
36834 * libio/stdfiles.c: Likewise.
36835 * libio/strops.c: Likewise.
36836 * libio/vasprintf.c: Likewise.
36837 * libio/vscanf.c: Likewise.
36838 * libio/vsnprintf.c: Likewise.
36839 * libio/vswprintf.c: Likewise.
36840 * libio/wfiledoalloc.c: Likewise.
36841 * libio/wfileops.c: Likewise.
36842 * libio/wgenops.c: Likewise.
36843 * libio/wmemstream.c: Likewise.
36844 * libio/wstrops.c: Likewise.
36845 * libio/__fpurge.c: Likewise.
36846 * libio/__fsetlocking.c: Likewise.
36847 * assert/assert.c: Likewise.
36848 * debug/fgets_chk.c: Likewise.
36849 * debug/fgets_u_chk.c: Likewise.
36850 * debug/fread_chk.c: Likewise.
36851 * debug/fread_u_chk.c: Likewise.
36852 * debug/gets_chk.c: Likewise.
36853 * debug/obprintf_chk.c: Likewise.
36854 * debug/vasprintf_chk.c: Likewise.
36855 * debug/vdprintf_chk.c: Likewise.
36856 * debug/vsnprintf_chk.c: Likewise.
36857 * debug/vsprintf_chk.c: Likewise.
36858 * malloc/mtrace.c: Likewise.
36859 * misc/error.c: Likewise.
36860 * misc/syslog.c: Likewise.
36861 * stdio-common/asprintf.c: Likewise.
36862 * stdio-common/fxprintf.c: Likewise.
36863 * stdio-common/getw.c: Likewise.
36864 * stdio-common/isoc99_fscanf.c: Likewise.
36865 * stdio-common/isoc99_scanf.c: Likewise.
36866 * stdio-common/isoc99_vfscanf.c: Likewise.
36867 * stdio-common/isoc99_vscanf.c: Likewise.
36868 * stdio-common/isoc99_vsscanf.c: Likewise.
36869 * stdio-common/printf-prs.c: Likewise.
36870 * stdio-common/printf_fp.c: Likewise.
36871 * stdio-common/printf_fphex.c: Likewise.
36872 * stdio-common/printf_size.c: Likewise.
36873 * stdio-common/putw.c: Likewise.
36874 * stdio-common/scanf.c: Likewise.
36875 * stdio-common/sprintf.c: Likewise.
36876 * stdio-common/tmpfile.c: Likewise.
36877 * stdio-common/vfprintf.c: Likewise.
36878 * stdio-common/vfscanf.c: Likewise.
36879 * stdlib/strfmon_l.c: Likewise.
36880 * sunrpc/openchild.c: Likewise.
36881 * sunrpc/xdr_stdio.c: Likewise.
36882 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36883 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36884
d6c33fda
RM
368852012-05-24 Roland McGrath <roland@hack.frob.com>
36886
c1487492
RM
36887 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36888
36889 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36890 in the third column, to generate for the shared library an IFUNC
36891 that uses _dl_vdso_vsym.
36892 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36893 * Makeconfig (object-suffixes-noshared): New variable.
36894
36895 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36896 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36897 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36898 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36899
d6c33fda
RM
36900 [BZ #14132]
36901 * include/sys/time.h (__gettimeofday): Remove macro.
36902 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36903 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36904 Remove INTDEF.
36905 (__gettimeofday): Add libc_hidden_def.
36906 (gettimeofday): Add libc_hidden_weak.
36907 * sysdeps/mach/gettimeofday.c: Likewise.
36908 * sysdeps/posix/gettimeofday.c: Likewise.
36909 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36910 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36911 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36912 (__gettimeofday_internal): Remove strong_alias.
36913 (__gettimeofday): Add libc_hidden_def.
36914 (gettimeofday): Add libc_hidden_weak.
36915 * sysdeps/unix/syscalls.list (gettimeofday):
36916 Remove __gettimeofday_internal alias.
36917
b5a2bbe6
L
369182012-05-24 Daniel Jacobowitz <drow@false.org>
36919 H.J. Lu <hongjiu.lu@intel.com>
36920
36921 [BZ #12495]
36922 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36923 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36924 (largebin_index_32_big): New.
36925 (largebin_index): Use it for 16-byte alignment.
36926 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36927 correction with front_misalign.
36928
cfba4fda
L
369292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36930
7f907421
L
36931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36933 Likewise.
36934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36935 Likewise.
36936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36937 Likewise.
36938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36939 Likewise.
36940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36941 Likewise.
36942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36943 Likewise.
36944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36945 Likewise.
36946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36947 Likewise.
36948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36949 Likewise.
36950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36951 Likewise.
36952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36953 Likewise.
36954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36955 Likewise.
36956
cfba4fda
L
36957 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36958 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36959
80bad0cc
JM
369602012-05-24 Joseph Myers <joseph@codesourcery.com>
36961
7a25eb06
JM
36962 [BZ #10846]
36963 [BZ #14036]
36964 * math/libm-test.inc (exp_test): Add test from bug 14036.
36965 (pow_test): Add test from bug 10846.
36966
795405f9
JM
36967 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36968 and other flags.
36969 (special_function): Do not include flags in test name.
36970 (parse_args): Likewise.
36971 * sysdeps/i386/fpu/libm-test-ulps: Update.
36972 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36973 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36974 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36976
80bad0cc
JM
36977 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36978 exceptions.
36979 * math/libm-test.inc ("Philosophy"): Update comment about
36980 exception testing.
36981 (UNDERFLOW_EXCEPTION): New macro.
36982 (UNDERFLOW_EXCEPTION_OK): Likewise.
36983 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36984 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36985 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36986 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36987 (INVALID_EXCEPTION_OK): Update value.
36988 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36989 (OVERFLOW_EXCEPTION_OK): Likewise.
36990 (IGNORE_ZERO_INF_SIGN): Likewise.
36991 (test_exceptions): Handle underflow exceptions.
36992 (acos_test): Update for underflow exception expectations.
36993 (cexp_test): Likewise.
36994 (clog_test): Likewise.
36995 (clog10_test): Likewise.
36996 (csqrt_test): Likewise.
36997 (ctan_test): Likewise.
36998 (ctanh_test): Likewise.
36999 (exp_test): Likewise.
37000 (exp10_test): Likewise.
37001 (exp2_test): Likewise.
37002 (expm1_test): Likewise.
37003 (fma_test): Likewise.
37004 (j0_test): Likewise.
37005 (jn_test): Likewise.
37006 (nexttoward_test): Likewise.
37007 (pow_test): Likewise.
37008 (scalbn_test): Likewise.
37009 (scalbln_test): Likewise.
37010 (tan_test): Likewise.
37011 (y1_test): Likewise.
37012 * sysdeps/i386/fpu/libm-test-ulps: Update.
37013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37014
9e0e3d0b
DM
370152012-05-23 David S. Miller <davem@davemloft.net>
37016
37017 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37018 (__libc_sigaction): Remove unused local variables.
37019
ccd0a08f
L
370202012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37021
37022 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37023
62bdf9a6
PE
370242012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37025
f8591f80
PE
37026 mktime: avoid signed integer overflow
37027 * time/mktime.c (__mktime_internal): Do not mishandle the case
37028 where diff == INT_MIN.
37029
94c7d826
PE
37030 mktime: simplify computation of average
37031 * time/mktime.c (ranged_convert): Use new time_t_avg function
37032 instead of rolling our own (probably-slower) code.
37033
ce73d683
PE
37034 mktime: do not assume signed right shift propagates sign bit
37035 * time/mktime.c (isdst_differ): New static function.
37036 (__mktime_internal): No need to normalize tm_isdst now.
37037 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37038 tm_isdst values.
37039
72a22e59
PE
37040 mktime: merge another wrapv change from gnulib
37041 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37042 from some compilers.
37043
68605433
PE
37044 mktime: remove incorrect attempt at unusual arithmetics
37045 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37046 The code didn't really work on such machines anyway.
37047 (TYPE_MINIMUM): Assume two's complement.
37048 (twos_complement_arithmetic): Verify that long_int and time_t
37049 are two's complement (or unsigned, in the latter case).
37050
03cf7fe3
PE
37051 mktime: check signed shifts on long_int and time_t, too
37052 * time/mktime.c (SHR): Check that shifts work as desired
37053 on the types long_int and time_t too, as SHR is used on
37054 such types.
37055
f04dfbc2
PE
37056 mktime: do not assume 'long' is wide enough
37057 * time/mktime.c (verify): Move decl up.
37058 (long_int): New type.
37059 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37060 to remove assumption in the code that 'long' is wide enough to
37061 store year values. This assumption is not true on x32 and on
37062 some non-glibc platforms.
37063
62bdf9a6
PE
37064 mktime: merge wrapv change from gnulib
37065 * time/mktime.c (WRAPV): New macro.
37066 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37067 (guess_time_tm, __mktime_internal): Do not assume that signed
37068 integer overflow wraps around; modern compilers generate code
37069 where this assumption is no longer valid.
37070
5e292e4f
L
370712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37072
37073 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37074 Replace "jmp L(pseudo_end)" with "ret".
37075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37076 Likewise.
37077
8caf8c87
AJ
370782012-05-23 Andreas Jaeger <aj@suse.de>
37079
37080 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37081 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37082
1a09dc56
AJ
370832012-05-23 Andreas Jaeger <aj@suse.de>
37084 Maximilian Attems <max@stro.at>
37085
37086 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37087 New macros.
37088
1c87aba0
L
370892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37090
37091 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37092 code so that pseudo_end is just ret and the stack pointer is
37093 correct also for static library in error case.
37094
40e45bd5
JM
370952012-05-23 Joseph Myers <joseph@codesourcery.com>
37096
c2670533
JM
37097 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37098 move to syscalls.list.
37099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37103
40e45bd5
JM
37104 * manual/install.texi (Running make install): Do not mention Linux
37105 kernel version for which pt_chown is not needed.
37106 (Linux): Do not mention problems with nscd with 2.0 kernels.
37107 * INSTALL: Regenerated.
37108
be08eda5
AJ
371092012-05-23 Andreas Jaeger <aj@suse.de>
37110
37111 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37112 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37113 macro.
37114 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37116 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37118 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37120 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37124 * sysdeps/unix/sysv/linux/bits/in.h
37125 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37126
a6a056bb
RM
371272012-05-22 Roland McGrath <roland@hack.frob.com>
37128
37129 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37130 (PREPARE_VERSION): Just use assert instead, it will be elided
37131 under [NDEBUG] anyway.
37132
c9009328
L
371332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37134
37135 * sysdeps/unix/sysv/linux/Makefile: Include
37136 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37137 (sysdep_routines): Remove sysctl.
c9009328
L
37138 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37139 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37140 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37141 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37142 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37143
73338355
AJ
371442012-05-22 Andreas Jaeger <aj@suse.de>
37145
37146 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37147 that pseudo_end is just ret and the stack pointer is correct also
37148 for static library in error case.
37149
d44638b0
PP
371502012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37151
37152 [BZ #14122]
37153 * nss/nsswitch.c (defconfig_entries): New variable.
37154 (__nss_database_lookup): Don't leak defconfig entries.
37155 (nss_parse_service_list): Don't leak on error paths.
37156 (free_database_entries): New function.
37157 (free_defconfig): New function.
37158 (free_mem): Move common code to free_database_entries.
37159
31a39bd8
L
371602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37161
da0331a8
L
37162 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37163 Add arch_prctl.
37164 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37165
31a39bd8
L
37166 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37167 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37169 New macro.
37170 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37171 (INTERNAL_SYSCALL_TYPES): Likewise.
37172 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37173 (LOAD_REGS_TYPES_[1-6]): Likewise.
37174 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37175 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37176
45470df3
AZ
371772012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37178
37179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37180 copysignl for GLIBC_2_0.
37181 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37182 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37183 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37184 logbl for GLIBC_2_0.
37185 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37186 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37187
98a61bcb
L
371882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37189
a4f6e481
L
37190 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37191 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37192
f63d5db6
L
37193 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37194 Use "neg %eax".
37195
98a61bcb
L
37196 * time/mktime.c: Update copyright years.
37197
95770f14
PE
371982012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37199
6226efbd
PE
37200 mktime: merge comment-quoting-style change from gnulib
37201 * time/mktime.c: Quote 'like this' in comments.
37202 The GNU coding standards suggest that we no longer quote `like this',
37203 as "`" and "'" are typically rendered asymmetrically nowadays.
37204 The typical gnulib style is to quote 'like this' when quoting
37205 code, and "like this" when quoting English.
37206
b99e4f78
PE
37207 * time/mktime.c (compile-command): Add "-I.".
37208
643e01e6
PE
37209 mktime: merge mktime-internal.h change from gnulib
37210 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37211
2554247d
PE
37212 mktime: merge time_r change from gnulib
37213 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37214
826dd0ab
PE
37215 mktime: merge DEBUG change from gnulib
37216 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37217 case system <time.h> has a #define.
37218
bd83aabe
PE
37219 mktime: merge <sys/types.h> change from gnulib
37220 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37221 since <time.t> is now guaranteed to define time_t.
37222
95770f14
PE
37223 mktime: merge HAVE_CONFIG_H change from gnulib
37224 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37225
5e1a27a9
L
372262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37227
0e44a77e
L
37228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37229 Use "neg %eax".
37230
5e1a27a9
L
37231 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37232 __rlim_t cast.
37233 (struct rusage): Use anonymous union to pad each field to
37234 __syscall_slong_t.
37235
46259bec
DM
372362012-05-21 David S. Miller <davem@davemloft.net>
37237
37238 * Makefules (o-iterator): Remove .s cases.
37239 (compile-command.s): Delete.
37240 (COMPILE.s): Delete.
37241 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37242
59f0c22e
JM
372432012-05-21 Joseph Myers <joseph@codesourcery.com>
37244
37245 * configure.in (libc_cv_predef_stack_protector): Only consider
37246 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37247 * configure: Regenerated.
37248
20c07380
L
372492012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37250
bbb3154b
L
37251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37252 New macro. Use R*LP on int and pointer.
37253 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37254 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37255 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37256 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37257
20c07380
L
37258 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37259 [__WORDSIZE_TIME64_COMPAT32] instead of
37260 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37261 (struct utmp): Likewise.
37262 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37263 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37264 Renamed to ...
37265 (__WORDSIZE_TIME64_COMPAT32): This.
37266 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37267 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37268 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37269 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37270 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37271 (__WORDSIZE_TIME64_COMPAT32): New macro.
37272
d8d1017e
AJ
372732012-05-21 Andreas Jaeger <aj@suse.de>
37274
37275 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37276 only if [SHARED]. Add prototype for __wcschr_ia32.
37277
6c7fb145
RM
372782012-05-21 Roland McGrath <roland@hack.frob.com>
37279
37280 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37281 of %rbp unmolested in the jmp_buf while mangling the low bits.
37282 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37283 unmolested high bits of %rbp while demangling the low bits.
37284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37285
66274218
AJ
372862012-05-21 Andreas Jaeger <aj@suse.de>
37287
07c58f8f
AJ
37288 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37289 * sunrpc/svc_simple.c: Use it for registerrpc.
37290 * sunrpc/xcrypt.c: Use it for passwd2des.
37291
66274218
AJ
37292 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37293
61f65140
L
372942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37297 Don't define if [__SYSCALL_WORDSIZE != 32].
37298 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37299 New macro.
37300
5fefb436
AJ
373012012-05-21 Bruno Haible <bruno@clisp.org>
37302 Andreas Jaeger <aj@suse.de>
37303
37304 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37305 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37306 inptr and inend for must_buffer_ch.
37307 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37308 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37309 * stdio-common/Makefile (tests): Remove bug15.
37310 (bug15-ENV): Remove macro.
37311 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37312 anymore.
37313
d8e272ab
AJ
373142012-05-19 Andreas Jaeger <aj@suse.de>
37315 Roland McGrath <roland@hack.frob.com>
37316
37317 * manual/contrib.texi: Completely rewritten. It contains now an
37318 alphabetical list of contributors and their contributions.
37319
4a56a162
RH
373202012-05-21 Richard Henderson <rth@twiddle.net>
37321
37322 * misc/getauxval.c (__getauxval): Use unsigned long int.
37323 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37324 (getauxval): Use unsigned long int.
37325
d024d23c
L
373262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37327
37328 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37329
cbc00a03
RM
373302012-05-21 Roland McGrath <roland@hack.frob.com>
37331
37332 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37333 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37334 __alignof__ (long double).
37335
478143fa
AZ
373362012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37337
37338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37339
c7683a6d
RH
373402012-05-20 Richard Henderson <rth@twiddle.net>
37341
37342 * misc/getauxval.c: New file.
37343 * misc/sys/auxv.h: New file.
37344 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37345 (routines): Add getauxval.
37346 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37347 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37348 * elf/dl-sysdep.c (_dl_auxv): Remove.
37349 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37350 * elf/dl-support.c (_dl_auxv): New variable.
37351 (_dl_aux_init): Initialize it.
37352 * manual/startup.texi (Auxiliary Vector): New node.
37353 * sysdeps/generic/bits/hwcap.h: New file.
37354 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37355 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37356 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37357 * sysdeps/sparc/sysdep.h: ... here. Include it.
37358 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37359 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37361 Update.
c7683a6d
RH
37362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37365 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37367 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37370
a6f1845d
AZ
373712012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37372
37373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37374
cbcbe830
DM
373752012-05-19 David S. Miller <davem@davemloft.net>
37376
37377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37378
e0b16cc2
JM
373792012-05-19 Joseph Myers <joseph@codesourcery.com>
37380
37381 [BZ #14123]
37382 * math/s_ccosh.c: Include <float.h>
37383 (__ccosh): Avoid internal overflow calculating sinh and cosh
37384 values before multiplying by sin and cos values.
37385 * math/s_ccoshf.c: Likewise.
37386 * math/s_ccoshl.c: Likewise.
37387 * math/s_csin.c: Likewise.
37388 * math/s_csinf.c: Likewise.
37389 * math/s_csinl.c: Likewise.
37390 * math/s_csinh.c: Likewise.
37391 * math/s_csinhf.c: Likewise.
37392 * math/s_csinhl.c: Likewise.
37393 * math/libm-test.inc (ccos_test): Add more tests.
37394 (ccosh_test): Likewise.
37395 (csin_test): Likewise.
37396 (csinh_test): Likewise.
37397 * sysdeps/i386/fpu/libm-test-ulps: Update.
37398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37399
6ad13e08
L
374002012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37401
f66f0ce8
L
37402 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37403 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37404
6ad13e08
L
37405 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37406
b1d072a7
JM
374072012-05-19 Joseph Myers <joseph@codesourcery.com>
37408
37409 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37410 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37411 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37412 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37413 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37414 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37415 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37416 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37417 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37418 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37419 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37420 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37421 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37422 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37423 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37424 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37425 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37426 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37427 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37428 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37429 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37430 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37431 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37432 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37433 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37434 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37435 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37436 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37437 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37438 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37439 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37440
9eae47cb
AJ
374412012-05-18 Andreas Jaeger <aj@suse.de>
37442
37443 * csu/.gitignore: Delete.
37444
bb07f69f
L
374452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37446
37447 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37448 (timex): Use __syscall_slong_t.
37449
e6bdb741
AJ
374502012-05-18 Andreas Jaeger <aj@suse.de>
37451 Carlos O'Donell <carlos_odonell@mentor.com>
37452
37453 * manual/install.texi (Configuring and compiling): Update
37454 description about files modified in the source directory.
d6c33fda 37455 * INSTALL: Regenerated.
e6bdb741 37456
1b74487e
L
374572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37458
37459 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37460 value. Use "or" to set return value to -1.
37461 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37462 negate return value.
37463
a88b64b9
TMQMF
374642012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37465
57f41c40
AS
37466 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37467 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37468 failure if the compiler has Graphite support disabled.
37469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37470 Likewise.
57f41c40
AS
37471 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37472 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37473 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37474 Likewise.
37475
3707636e
L
374762012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37477
610b8622
L
37478 * sysdeps/x86_64/x32/_itoa.h: New file.
37479
7cd195df
L
37480 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37481 getdents system call only if kernel and user dirents have the
37482 same d_ino and d_off.
37483
94b07d20
L
37484 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37485 LLONG_MAX != LONG_MAX.
37486 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37487 (_fitoa_word): Likewise.
37488
18298070
L
37489 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37490 years.
37491 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37492 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37493 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37494
553c7ea4
L
37495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37496 include <bits/wordsize.h>. Check __x86_64__ instead of
37497 __WORDSIZE.
37498 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37499 if __x86_64__ is defined. Use anonymous union on fpstate.
37500
3707636e
L
37501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37502 anonymous union.
37503
b53ef01a
AS
375042012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37505
37fb1dc0
AS
37506 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37507 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37508 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37509 Refer to _rtld_local_ro instead of _rtld_global_ro.
37510 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37511 Likewise.
37512 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37513 Likewise.
37514 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37515 Likewise.
37516 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37517 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37518 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37519
b53ef01a
AS
37520 * sysdeps/powerpc/powerpc32/dl-machine.c
37521 (__elf_machine_runtime_setup) [PROF]: Don't reference
37522 _dl_prof_resolve.
37523
7a185db2
AJ
375242012-05-18 Andreas Jaeger <aj@suse.de>
37525
37526 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37527 function only available for GCCs before 3.4 since GCC 3.4
37528 introduced a builtin.
37529 (lrint): Likewise.
37530 (llrintf): Likewise.
37531 (llrint): Likewise.
37532 (fmaxf): Likewise.
37533 (fmax): Likewise.
37534 (fminf): Likewise.
37535 (fmin): Likewise.
37536 (rint): Likewise.
37537 (rintf): Likewise.
37538 (nearbyint): Likewise.
37539 (nearbyintf): Likewise.
37540 (ceil): Likewise.
37541 (ceilf): Likewise.
37542 (floor): Likewise.
37543 (floorf): Likewise.
37544
3e5aef87
L
375452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37546
428bd707
L
37547 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37548 on both fields and cast pointer to __syscall_ulong_t.
37549
3e5aef87
L
37550 * bits/types.h (__fsword_t): New type.
37551 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37552 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37553 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37554 (__FSWORD_T_TYPE): Likewise.
37555 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37556 (__FSWORD_T_TYPE): Likewise.
37557 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37558 (__FSWORD_T_TYPE): Likewise.
37559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37560 (__FSWORD_T_TYPE): Likewise.
37561 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37562 __SWORD_TYPE with __fsword_t.
37563 (statfs64): Likewise.
37564
1ba7c3dc
DM
375652012-05-17 David S. Miller <davem@davemloft.net>
37566
37567 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37568
59910343
AJ
375692012-05-17 Andreas Jaeger <aj@suse.de>
37570
37571 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37572 warning.
37573
2e4c1e9e
L
375742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37575
37576 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37577
de7f5ce7
AJ
375782012-05-17 Andreas Jaeger <aj@suse.de>
37579
37580 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37581 when it is used.
37582
286abc3d
CM
375832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37584
37585 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37586
477cc68e
L
375872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37588
37589 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37590 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37591
1a0994f5
CD
375922012-05-17 Andreas Jaeger <aj@suse.de>
37593 Carlos O'Donell <carlos_odonell@mentor.com>
37594
37595 [BZ #14059]
37596 * sysdeps/x86_64/multiarch/init-arch.h
37597 (bit_YMM_Usable): Rename to...
37598 (bit_AVX_Usable): ... this.
37599 (bit_FMA4_Usable): New macro.
37600 (bit_XMM_state): New macro.
37601 (bit_YMM_state): New macro.
37602 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37603 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37604 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37605 (CPUID_OSXSAVE): New macro.
37606 (CPUID_AVX): New macro.
37607 (CPUID_FMA4): New macro.
37608 (index_YMM_Usable): Rename to...
37609 (index_AVX_Usable): ... this.
37610 (HAS_AVX): Use HAS_ARCH_FEATURE.
37611 (HAS_FMA4): Likewise.
37612 (HAS_YMM_USABLE): Remove.
37613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37614 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37615 are present.
37616 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37617 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37618 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37619 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37620 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37621
0af797de
CM
376222012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37623
37624 * math/libm-test.c: Support platforms without multiple rounding modes.
37625 * math/bug-nextafter.c: Support platforms without FP exceptions.
37626 * math/bug-nexttoward.c: Likewise.
37627 * math/test-fenv.c: Likewise.
37628 * math/test-misc.c: Likewise.
37629 * stdlib/bug-getcontext.c: Likewise.
37630
e39745ff
AJ
376312012-05-17 Andreas Jaeger <aj@suse.de>
37632
37633 * manual/examples/search.c (critter_cmp): Change signature to
37634 avoid warnings.
37635 * manual/string.texi (Collation Functions): Likewise.
37636
48970aba
L
376372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37638
37639 * bits/types.h: Fold copyright years.
37640 * bits/typesizes.h: Likewise.
37641 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37642 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37645 * time/time.h: Likewise.
37646
bedee953
PP
376472012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37648
37649 [BZ #208]
37650 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37651 in instead of returning them. Return void.
37652 (__libc_mallinfo): Accumulate over all arenas.
37653 (__malloc_stats): Adjust for change in int_mallinfo interface.
37654
61653dfb
RM
376552012-05-16 Roland McGrath <roland@hack.frob.com>
37656
30b99d79
RM
37657 [BZ #10375]
37658 * configure.in (NM): Add AC_CHECK_TOOL for it.
37659 (libc_extra_cflags): New substituted variable.
37660 Check for -fstack-protector being used implicitly.
37661 * configure: Regenerated.
37662 * config.make.in (config-extra-cflags): New variable,
37663 gets @libc_extra_cflags@.
37664 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37665
61653dfb
RM
37666 [BZ #10375]
37667 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37668 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37669 * configure: Regenerated.
37670 * config.make.in (CPPUNDEFS): New substituted variable.
37671 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37672 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37673 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37674
661768bb
L
376752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37676
37677 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37678 (mq_attr): Use __syscall_slong_t.
37679
d4261567
L
376802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37681
37682 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37683 Check __x86_64__ instead of __WORDSIZE.
37684 (_STAT_VER_LINUX): Likewise.
37685 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37686 __syscall_ulong_t and __syscall_slong_t.
37687 (stat64): Likewise.
37688
cf3ff365
L
376892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37690
37691 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37692
76cf3e4d
L
376932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37694
37695 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37696
a637753a
L
376972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37698
37699 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37700 __syscall_ulong_t.
37701
d5e05119
L
37702 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37703 include <bits/wordsize.h>. Check __x86_64__ instead of
37704 __WORDSIZE.
37705 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37706 defined.
37707 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37708
f62ee380
L
37709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37710 include <bits/wordsize.h>. Check __x86_64__ instead of
37711 __WORDSIZE.
37712 (user_regs_struct): Use "__extension__ unsigned long long"
37713 instead of "unsigned long" if __x86_64__ is defined.
37714 (user): Likewise. Pad after pointer field if __ILP32__ is
37715 defined.
37716
4e124ced
JM
377172012-05-16 Joseph Myers <joseph@codesourcery.com>
37718
6a3951a0
JM
37719 * configure.in (makeinfo): Require version 4.5 or later. Allow
37720 versions 5 to 9.
37721 * configure: Regenerated.
37722 * manual/install.texi (texinfo): Increase version requirement to
37723 4.5 or later.
37724 * INSTALL: Regenerated.
37725
4e124ced
JM
37726 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37727
953ca31a
L
377282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37729
37730 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37731
617aca05
L
37732 * sysdeps/x86_64/x32/ffs.c: New file.
37733
5762f7ae
L
37734 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37735 __syscall_ulong_t.
37736 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37737 defined. Use __syscall_ulong_t.
37738 (shminfo): Use __syscall_ulong_t.
37739 (shm_info): Likewise.
37740
a26b6856
L
37741 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37742 __syscall_ulong_t.
37743
cb2b9ef7
L
37744 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37745 <bits/wordsize.h>.
37746 (msgqnum_t): Use __syscall_ulong_t.
37747 (msglen_t): Likewise.
37748 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37749 __syscall_ulong_t.
37750
34683bb0
L
37751 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37752 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37753
84a68786
L
37754 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37755
48baa5f1
L
37756 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37757 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37758
180be88b
L
37759 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37760 __syscall_slong_t.
37761
5e90c8ad
L
37762 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37763 include <bits/wordsize.h>. Check __x86_64__ instead of
37764 __WORDSIZE.
37765
23dfb58b
L
37766 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37767 "unsigned long long int" if __x86_64__ is defined.
37768 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37769
ce5d54b0
L
37770 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37771 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37772 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37773
13dc9eac
L
37774 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37775 <stdint.h>.
37776 (GET_PC): Cast to uintptr_t first.
37777 (GET_FRAME): Likewise.
37778 (GET_STACK): Likewise.
37779
a7895d15
L
37780 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37781 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37782 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37783 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37784 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37785 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37786 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37787 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37788 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37789 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37790 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37791 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37792 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37793 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37794 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37795 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37796 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37797 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37798 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37800 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37801 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37802 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37803 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37804 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37805 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37806 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37807 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37808 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37809
656416c9
AS
378102012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37811
5bd66283
AS
37812 * Makerules (+depfiles): Also collect depfiles from .oS in
37813 $(extra-objs).
37814 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37815 .oS, $(libnldbl-routines)).
37816
656416c9
AS
37817 * Makerules (native-compile-mkdep-flags): Define.
37818 * sunrpc/Makefile (extra-objs): Add $(addprefix
37819 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37820 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37821 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37822 calling $(make-target-directory).
37823
a46f2169
L
378242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37825
37826 * bits/types.h (__snseconds_t): Removed.
37827 * time/time.h (struct timespec): Replace __snseconds_t with
37828 __syscall_slong_t.
37829 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37830 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37831 Likewise.
37832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37833 (__SNSECONDS_T_TYPE): Likewise.
37834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37835 (__SNSECONDS_T_TYPE): Likewise.
37836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37837 (__SNSECONDS_T_TYPE): Likewise.
37838
6af6528b
L
378392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37840
37841 * sysdeps/mach/hurd/bits/typesizes.h
37842 (__SYSCALL_SLONG_TYPE): New macro.
37843 (__SYSCALL_ULONG_TYPE): Likewise.
37844
de986b56
L
378452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37846
37847 * bits/types.h (__syscall_slong_t): New type.
37848 (__syscall_ulong_t): Likewise.
37849
37850 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37851 (__SYSCALL_ULONG_TYPE): Likewise.
37852 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37853 (__SYSCALL_SLONG_TYPE): Likewise.
37854 (__SYSCALL_ULONG_TYPE): Likewise.
37855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37856 (__SYSCALL_SLONG_TYPE): Likewise.
37857 (__SYSCALL_ULONG_TYPE): Likewise.
37858 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37859 (__SYSCALL_SLONG_TYPE): Likewise.
37860 (__SYSCALL_ULONG_TYPE): Likewise.
37861
85736dc7
L
378622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37863
37864 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37865 Add sigaltstack-offsets.sym.
37866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37867 <sigaltstack-offsets.h>.
37868 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37869 longjmp_msg pointer.
37870 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37871 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37872 signal stack.
37873 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37874
cc03b296
JM
378752012-05-15 Joseph Myers <joseph@codesourcery.com>
37876
a9538892
JM
37877 * elf/stackguard-macros.h: Remove file.
37878 * sysdeps/generic/stackguard-macros.h: New file.
37879 * sysdeps/i386/stackguard-macros.h: Likewise.
37880 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37881 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37882 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37883 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37884 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37885 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37886 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37887 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37888 <elf/stackguard-macros.h>.
37889
cc03b296
JM
37890 [BZ #14109]
37891 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37892 __aligned__ in attribute.
37893 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37894 (gregset_t): Likewise.
37895
93171016
L
378962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37897
37898 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37899 * sysdeps/x86_64/64/Implies-after: Here. New file.
37900 * sysdeps/x86_64/x32/Implies-after: New file.
37901
d86813a0
L
379022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37903
37904 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37905 and access return value for _dl_profile_fixup. Use R10_LP to
37906 load frame size.
37907
2953ec75
L
379082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37909
37910 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37911
3b550e9e
L
379122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37913
37914 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37915 * sysdeps/x86_64/x32/sysdep.h: New file.
37916
eda41706
L
379172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37918
37919 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37920 * sysdeps/x86_64/setjmp.S: Likewise.
37921
9ea01d93
AZ
379222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37923
37924 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37925 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37926 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37928 remove unused global constant.
37929
02a91938
CM
379302012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37931
37932 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37933 include of <not-cancel.h>.
37934
6540185f
RM
379352012-05-15 Roland McGrath <roland@hack.frob.com>
37936
37937 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37938
509072a0
AJ
379392012-05-15 Jeff Law <law@redhat.com>
37940 Andreas Jaeger <aj@suse.de>
37941
37942 [BZ #13594]
37943 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37944 out from...
37945 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37946 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37947 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37948 code changing __hst_map_handle.map.
37949
ba75122d
RM
379502012-05-15 Roland McGrath <roland@hack.frob.com>
37951
37952 * configure.in (sysnames): Look for Implies-before and Implies-after
37953 files.
37954 * configure: Regenerated.
37955
890d8bd8
L
379562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37957
37958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37959 8-byte data alignment with LP_SIZE alignment.
37960
f6ee6623
L
379612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37962
37963 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37964 into R10_LP.
37965
ea2626f6
L
379662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37967
37968 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37969
085f715e
L
379702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37971
37972 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37973 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37975 Likewise.
37976 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37977
be8498fc
L
379782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37979
37980 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37981 (stackinfo_sub_sp): Likewise.
37982
70bc83b9
L
379832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37984
37985 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37986 RAX_LP.
37987
9bc0b730
L
379882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37989
37990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37991 into R*_LP.
37992
6d2850e7
L
379932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37994
37995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37996 sizes into R*_LP.
37997
3cb84561
L
379982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37999
38000 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38001
54e2ed81
L
380022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38003
38004 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38005 into R11_LP and load __x86_64_shared_cache_size_half into
38006 R8_LP.
38007
8a17f349
L
380082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38009
38010 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38011 R8_LP.
38012
777b1eea
AZ
380132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38014
38015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38016 logb for POWER7.
38017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38018 logbf for POWER7.
38019 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38020 logbl for POWER7.
38021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38022 powerpc32/power7/fpu/s_logb.c via #include.
38023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38024 powerpc32/power7/fpu/s_logbf.c via #include.
38025 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38026 powerpc32/power7/fpu/s_logbl.c via #include.
38027
d20d4ac2
JM
380282012-05-15 Joseph Myers <joseph@codesourcery.com>
38029
38030 * README.libm: Remove file.
38031
6cdef1ab
L
380322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38033
38034 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38035 count for x32. Use R*_LP and omit operand-size suffix.
38036
0b254d8f
L
380372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38038
38039 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38040 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38041 * sysdeps/x86_64/x32/shlib-versions: New file.
38042
ceb809dc
RM
380432012-05-14 Roland McGrath <roland@hack.frob.com>
38044
38045 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38046 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38047 Use _dl_fatal_printf instead.
38048
37f1abd4
JM
380492012-05-14 Joseph Myers <joseph@codesourcery.com>
38050
38051 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38052 set if not set by the user. Do not allow for being unset.
38053 * sysdeps/unix/sysv/linux/configure: Regenerated.
38054
11de3a33
L
380552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38056
38057 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38058 the `q' suffix from lea and replace .quad with ASM_ADDR.
38059
e02f153a
L
380602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38061
38062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38063 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38064 instead of $17.
38065 (PTR_DEMANGLE): Likewise.
38066
520ae0fd
L
380672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38068
38069 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38070 (LP_OP): Likewise.
38071 (ASM_ADDR): Likewise.
38072 (RAX_LP): Likewise.
38073 (RBP_LP): Likewise.
38074 (RBX_LP): Likewise.
38075 (RCX_LP): Likewise.
38076 (RDI_LP): Likewise.
38077 (RSI_LP): Likewise.
38078 (RSP_LP): Likewise.
38079 (R8_LP): Likewise.
38080 (R9_LP): Likewise.
38081 (R10_LP): Likewise.
38082 (R10_LP): Likewise.
38083 (R11_LP): Likewise.
38084 (R12_LP): Likewise.
38085 (R13_LP): Likewise.
38086 (R14_LP): Likewise.
38087 (R15_LP): Likewise.
38088
b985be81
L
380892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38090
38091 * sysdeps/x86_64/x32/dl-machine.h: New file.
38092
6a4888ff
AJ
380932012-05-14 Andreas Jaeger <aj@suse.de>
38094
38095 * manual/Makefile (subdir): Remove export of subdir.
38096 (all): Remove target.
38097 (.PHONY): Remove all from list.
38098 (mkinstalldirs): Remove.
38099 (.PHONY): Remove installdirs from list.
38100 ($(inst_infodir)/libc.info): Use make-target-directory.
38101 (installdirs): Remove.
38102 (subdir_%): Remove.
38103 (glibc-targets): Remove.
38104 (lib): Remove.
38105 (stubs): Remove.
38106 ($(objpfx)stubs ../po/manual.pot): Remove.
38107 ($(objpfx)stamp%): Remove.
38108 (make-target-directory): Remove.
38109 (subdir_install): Remove.
38110 (routines): Remove.
38111 (aux): Remove.
38112 (sources): Remove.
38113 (objects): Remove.
38114 (headers): Remove.
38115
38116 [BZ #13750]
38117 * manual/.gitignore: Remove, it's not needed anymore.
38118 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38119 all files in it.
38120 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38121 directory.
38122 (texis): Renamed to $(objpfx)texis.
38123 (texis-path): New, contains path to generated files.
38124 (chapters.%): Use texis-path for complete path, add extra argument
38125 libc-texinfo.sh.
38126 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38127 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38128 (summary,texi, stamp-summary): Use complete path of
38129 files. Generate files in build dir.
38130 (dir-add.texi): Build in build dir.
38131 (libm-err.texi,stamp-libm-err): Likewise.
38132 (version.texi, stamp-version): Likewise.
38133 (.%c.texi): Likewise.
38134 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38135 (mostlyclean): Remove target.
38136 (realclean): Remove target.
38137 (generated): Add new variable with contents from mostlyclean and
38138 realclean, remove entries duplicated in common-mostlyclean, add
38139 stamp-libm-err and stamp-version.
38140 (generated-dirs): Add libc directory.
38141 ($(inst_infodir)/libc.info): Install files from build dir.
38142
38143 * manual/install.texi (Configuring and compiling): Adjust since
38144 the info files are not part of the tar ball anymore.
38145
7ac77294
AJ
381462012-05-14 Andreas Jaeger <aj@suse.de>
38147
38148 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38149 variable.
38150
ffb7875d
JM
381512012-05-14 Joseph Myers <joseph@codesourcery.com>
38152
38153 [BZ #13717]
38154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38155 to 2.2.0 where earlier.
38156 * sysdeps/unix/sysv/linux/configure: Regenerated.
38157 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38158 Remove conditional code.
38159 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38160 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38161 Remove conditional code.
38162 [!__NR_lchown]: Likewise.
38163 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38164 [__NR_lchown]: Likewise.
38165 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38166 comment referencing __ASSUME_LCHOWN_SYSCALL.
38167 * sysdeps/unix/sysv/linux/i386/sigaction.c
38168 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38169 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38170 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38171 Remove conditional code.
38172 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38173 (__protocol_available): Remove #if 0 code.
38174 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38175 conditional code.
38176 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38177 * sysdeps/unix/sysv/linux/kernel-features.h
38178 (__ASSUME_GETCWD_SYSCALL): Don't define.
38179 (__ASSUME_REALTIME_SIGNALS): Likewise.
38180 (__ASSUME_PREAD_SYSCALL): Likewise.
38181 (__ASSUME_PWRITE_SYSCALL): Likewise.
38182 (__ASSUME_POLL_SYSCALL): Likewise.
38183 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38184 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38185 non-SPARC.
38186 (__ASSUME_SIOCGIFNAME): Don't define.
38187 (__ASSUME_MSG_NOSIGNAL): Likewise.
38188 (__ASSUME_SENDFILE): Define unconditionally.
38189 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38190 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38191 conditional code.
38192 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38193 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38194 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38195 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38196 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38197 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38198 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38223 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38224 Remove conditional code.
38225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38226 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38227 Remove conditional code.
38228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38229 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38230 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38231 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38232 Remove conditional code.
38233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38234 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38235 Remove conditional code.
38236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38237 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38238 Remove conditional code.
38239 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38240 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38241 Remove conditional code.
38242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38243 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38244 Remove conditional code.
38245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38246 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38249 * sysdeps/unix/sysv/linux/sigaction.c
38250 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38251 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38252 * sysdeps/unix/sysv/linux/sigpending.c
38253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38255 * sysdeps/unix/sysv/linux/sigprocmask.c
38256 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38257 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38258 * sysdeps/unix/sysv/linux/sigsuspend.c
38259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38261 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38262 (__libc_missing_rt_sigs): Remove.
38263 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38264 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38265 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38266 Remove conditional code.
38267 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38268 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38269 return 1.
38270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38271 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38272 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38273 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38274
1bfb7291
AJ
382752012-05-14 Andreas Jaeger <aj@suse.de>
38276
caae5a81
AJ
38277 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38278 it's not used in glibc.
38279 (__coshm1): Likewise.
38280 (__acosh1p): Likewise.
38281 (__sgn): Likewise.
38282
1bfb7291
AJ
38283 * manual/string.texi (Copying and Concatenation): Add missing
38284 variable in concat example.
38285 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38286
c044d724
L
382872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38288
144c5467 38289 [BZ #14103]
c044d724
L
38290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38291 __builtin_clzl with __builtin_clzll.
38292
2523c62b
L
382932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38294
38295 [BZ #14104]
38296 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38297 libc_freeres_ptr.
38298
d7bb4c42
LD
382992012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38300
38301 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38302 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38303 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38305
9dc4e1fb
MF
383062012-05-14 Mike Frysinger <vapier@gentoo.org>
38307
38308 * NEWS: Update ia64 info.
38309
c7df0112
AS
383102012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38311
38312 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38313 used as bcopy.
38314
dc70356c
TS
383152012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38316
38317 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38318 * sysdeps/unix/syscalls.list (dup3): Likewise.
38319 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38320 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38321
9fb1a21f
L
383222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38323
38324 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38325 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38326
4822a2a5
L
383272012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38328
38329 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38330 thread pointer.
38331 (TLS_IE): Use mov/add instead of movq/addq to load thread
38332 pointer.
38333 (TLS_GD_PREFIX): New.
38334 (TLS_GD): Use it.
38335
842b81d6
DM
383362012-05-11 David S. Miller <davem@davemloft.net>
38337
38338 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38339 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38340 (_FPU_SETCW): Likewise.
38341
1cf463cd
L
383422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38343
38344 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38345 is 32-byte aligned.
38346
60cc4a18
AS
383472012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38348
38349 [BZ #11837]
38350 * iconvdata/gb18030.c: Update tables.
38351 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38352 characters specially.
38353 (BODY for TO_LOOP): Add encoding of missing ranges.
38354
febb44a4
TS
383552012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38356
38357 [BZ #13673]
38358 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38359 * sysdeps/mach/hurd/dup3.c: Likewise.
38360 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38361 * sysdeps/powerpc/memmove.c:: Likewise.
38362
0a10fb9e
L
383632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38364
38365 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38366 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38367
df8a552f
L
383682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * elf/elf.h (R_X86_64_RELATIVE64): New.
38371 (R_X86_64_NUM): Updated.
38372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38373 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38374 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38375 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38376 tst-quad1pie tst-quad2pie
38377 (modules-names): Add tst-quadmod1 tst-quadmod2.
38378 ($(objpfx)tst-quad1): New dependency.
38379 ($(objpfx)tst-quad2): Likewise.
38380 ($(objpfx)tst-quad1pie): Likewise.
38381 ($(objpfx)tst-quad2pie): Likewise.
38382 * sysdeps/x86_64/tst-quad1.c: New file.
38383 * sysdeps/x86_64/tst-quad1pie.c: New file.
38384 * sysdeps/x86_64/tst-quad2.c: Likewise.
38385 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38386 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38387 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38388 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38389 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38390
f34d6f84
ST
383912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38392
f42d41d1
ST
38393 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38394 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38395 * streams/stropts.h (t_scalar_t): Define type.
38396
3c3571fc
ST
38397 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38398 (_PATH_PRESERVE): Set to "/var/lib".
38399 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38400
61f06bd3
ST
38401 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38402 instead of int.
38403
918d4d71
ST
38404 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38405 if __dir_mkfile succeeded.
38406
f34d6f84
ST
38407 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38408 checking for _hurd_dtablesize. Unlock it right after having
38409 finished _hurd_dtable allocation.
38410
10589b4a
TS
384112012-05-10 Thomas Schwinge <thomas@schwinge.name>
38412
674cdbc7
TS
38413 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38414 * sysdeps/mach/hurd/configure: Regenerated.
38415 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38416 special-casing to...
38417 * sysdeps/gnu/configure.in: ... this new file.
38418 * sysdeps/unix/sysv/linux/configure: Regenerated.
38419 * sysdeps/gnu/configure: New generated file.
38420
8e41b99f
TS
38421 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38422 for Linux: use nsec instead of usec, as well as:
38423 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38424 members of type struct timespec.
38425 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38426 New macros.
38427 (struct stat64): Likewise.
38428 (_STATBUF_ST_NSEC): New macro.
38429 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38430
10589b4a
TS
38431 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38432 __strtoul_internal rather than strtoul.
38433
63643c85
PT
384342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38435
38436 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38437 and reject them.
38438
3faebe6a
ST
384392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38440
38441 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38442 which preserves existing values.
38443 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38444
c6474b07
PT
384452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38446
38447 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38448 TIMEOUT values. Return EINVAL for NFDS values either negative or
38449 greater than FD_SETSIZE.
38450
1043890b
ST
384512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38452
38453 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38454 allocated, call __vm_protect to finish enabling the existing space, and
38455 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38456 allocate the remainder.
38457
37ed8b9b
PT
384582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38459
38460 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38461 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38462
db653660
ST
384632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38464
37ed8b9b
PT
38465 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38466 sysdeps/mach/hurd/readlink.c.
b29d4053 38467
db653660
ST
38468 * posix/tst-sysconf.c (posix_options): Only use
38469 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38470 _POSIX_SYNCHRONIZED_IO when they are defined
38471 * sysdeps/mach/hurd/bits/posix_opt.h:
38472 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38473 (_XOPEN_REALTIME): Undefine macro.
38474 (_XOPEN_REALTIME_THREADS): Undefine macro.
38475 (_XOPEN_SHM): Undefine macro.
38476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38477 macro to -1.
38478 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38479 macro to -1.
38480 (_POSIX_ASYNC_IO): Undefine macro.
38481 (_POSIX_PRIORITIZED_IO): Undefine macro.
38482 (_POSIX_SPIN_LOCKS): Define macro to -1.
38483
ee16e894
ST
38484 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38485 SA_NODEFER, SA_RESETHAND.
38486 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38487 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38488 F_DUPFD_CLOEXEC.
38489
6103ae3b
TS
384902012-05-10 Thomas Schwinge <thomas@schwinge.name>
38491
38492 * elf/Makefile (pldd-modules): Define unconditionally.
38493
80b4e5f3
TS
384942012-05-10 Thomas Schwinge <thomas@schwinge.name>
38495
38496 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38497
edadcbd6
ST
384982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38499
38500 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38501 Return ENOENT when name is empty.
38502 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38503
80694780
TS
385042012-05-10 Thomas Schwinge <thomas@schwinge.name>
38505
1792c087
TS
38506 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38507
80694780
TS
38508 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38509
6b645f0d
ST
385102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38511
80694780
TS
38512 Fix mlock in all cases except non-readable pages.
38513 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38514 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38515
6b645f0d
ST
38516 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38517 (__mkdir): When path is `/', just fail with EEXIST.
38518 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38519
e468f8a3
TS
385202012-05-10 Thomas Schwinge <thomas@schwinge.name>
38521
38522 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38523 <sys/uio.h> (for writev).
38524 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38525 and <sys/param.h> (for MIN).
38526
a4186cff
PT
385272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38528
38529 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38530 REQUESTED_TIME. Properly set the remaining time and return EINTR
38531 if interrupted.
38532
510bbf14
TS
385332012-05-10 Thomas Schwinge <thomas@schwinge.name>
38534
38535 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38536 Depend on against $(link-rpcuserlibs).
38537
5d5722e8
ST
385382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38539
a4186cff
PT
38540 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38541 (__libc_stack_end): Do not use attribute_relro.
38542 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38543 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38544 to libthread-provided value.
a4186cff
PT
38545 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38546 attribute_relro.
5d5722e8 38547
37233df9
TS
385482012-05-10 Thomas Schwinge <thomas@schwinge.name>
38549
be971a2b
TS
38550 [BZ #3748]
38551 * bits/libc-lock.h (__libc_once_get): New macro.
38552 * sysdeps/mach/bits/libc-lock.h: Likewise.
38553 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38555 instead of using implementation details.
38556
37233df9
TS
38557 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38558 * libio/freopen.c: Likewise.
38559 * libio/freopen64.c: Likewise.
38560 * misc/syslog.c: Likewise.
38561 * nscd/connections.c: Likewise.
38562 * nscd/netgroupcache.c: Likewise.
38563 * sysdeps/posix/getcwd.c: Likewise.
38564
38de94a5
RM
385652012-05-10 Roland McGrath <roland@hack.frob.com>
38566
38567 * math/w_ilogbf.c: Add #include <limits.h>.
38568
67530489
ST
385692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38570
a4186cff 38571 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38572 path instead of returning without unlocking.
38573
67530489
ST
38574 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38575 immediate-write ioctls.
38576 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38577
5aa3a74a
TS
385782012-05-10 Thomas Schwinge <thomas@schwinge.name>
38579
18bad2ae
TS
38580 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38581 __builtin_frame_address instead of making assumptions about the
38582 location of the return address relative to DATA. Force early load of
38583 the return address.
38584 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38585 __builtin_frame_address.
38586
5aa3a74a
TS
38587 dup3 for GNU Hurd.
38588 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38589 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38590 implement dup3 and do some further code clean-ups.
38591 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38592 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38593
ecd0de9a
ST
385942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38595
cd9fa985
ST
38596 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38597
a4186cff
PT
38598 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38599 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38600 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38601 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38602 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38603 d->port.lock.
802ca5a5 38604
a4186cff
PT
38605 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38606 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38607 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38608
bcf55240
TS
386092012-05-10 Thomas Schwinge <thomas@schwinge.name>
38610
6960eb42
TS
38611 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38612 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38613 definitions.
38614
eb43375f
TS
38615 accept4 for GNU Hurd.
38616 * include/sys/socket.h (__libc_accept4): New prototype.
38617 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38618 to implement __libc_accept4.
38619 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38620 __libc_accept4.
38621 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38622
bcf55240
TS
38623 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38624 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38625 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38626 signal-defines.sym.
38627
6178c55b
ST
386282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38629
a4186cff 38630 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38631
6f080c2f
TS
386322012-05-10 Thomas Schwinge <thomas@schwinge.name>
38633
38634 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38635 assertion on O_CLOEXEC flag.
38636 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38637 * hurd/intern-fd.c: Likewise.
38638 * hurd/port2fd.c: Likewise.
38639
bcfe3a54
ST
386402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38641
38642 [BZ #3906]
38643 * bits/in.h (IPV6_PKTINFO): Define new macro.
38644 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38645
89c9aa49
AZ
386462012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38647
38648 [BZ #13954]
38649 [BZ #13955]
38650 [BZ #13956]
38651 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38652 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38653 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38654 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38655 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38656 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38657 * math/libm-test.inc (logb_test) : Additional logb tests.
38658
021db4be
AJ
386592012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38660 Andreas Jaeger <aj@suse.de>
38661
38662 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38663 * configure: Regenerated.
38664 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38665 * config.make.in (link-obsolete-rpc): New substituted variable.
38666 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38667 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38668 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38669 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38670 so that libc.a contains the symbols.
38671 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38672 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38673 * sunrpc/auth_none.c: Likewise.
38674 * sunrpc/auth_unix.c: Likewise.
38675 * sunrpc/authdes_prot.c: Likewise.
38676 * sunrpc/authuxprot.c: Likewise.
38677 * sunrpc/clnt_gen.c: Likewise.
38678 * sunrpc/clnt_perr.c: Likewise.
38679 * sunrpc/clnt_raw.c: Likewise.
38680 * sunrpc/clnt_simp.c: Likewise.
38681 * sunrpc/clnt_tcp.c: Likewise.
38682 * sunrpc/clnt_udp.c: Likewise.
38683 * sunrpc/clnt_unix.c: Likewise.
38684 * sunrpc/des_crypt.c: Likewise.
38685 * sunrpc/des_soft.c: Likewise.
38686 * sunrpc/get_myaddr.c: Likewise.
38687 * sunrpc/key_call.c: Likewise.
38688 * sunrpc/key_prot.c: Likewise.
38689 * sunrpc/netname.c: Likewise.
38690 * sunrpc/pm_getmaps.c: Likewise.
38691 * sunrpc/pm_getport.c: Likewise.
38692 * sunrpc/pmap_clnt.c: Likewise.
38693 * sunrpc/pmap_prot.c: Likewise.
38694 * sunrpc/pmap_prot2.c: Likewise.
38695 * sunrpc/pmap_rmt.c: Likewise.
38696 * sunrpc/publickey.c: Likewise.
38697 * sunrpc/rpc_cmsg.c: Likewise.
38698 * sunrpc/rpc_common.c: Likewise.
38699 * sunrpc/rpc_dtable.c: Likewise.
38700 * sunrpc/rpc_prot.c: Likewise.
38701 * sunrpc/rpc_thread.c: Likewise.
38702 * sunrpc/rtime.c: Likewise.
38703 * sunrpc/svc.c: Likewise.
38704 * sunrpc/svc_auth.c: Likewise.
38705 * sunrpc/svc_raw.c: Likewise.
38706 * sunrpc/svc_run.c: Likewise.
38707 * sunrpc/svc_tcp.c: Likewise.
38708 * sunrpc/svc_udp.c: Likewise.
38709 * sunrpc/svc_unix.c: Likewise.
38710 * sunrpc/svcauth_des.c: Likewise.
38711 * sunrpc/xcrypt.c: Likewise.
38712 * sunrpc/xdr.c: Likewise.
38713 * sunrpc/xdr_array.c: Likewise.
38714 * sunrpc/xdr_float.c: Likewise.
38715 * sunrpc/xdr_intXX_t.c: Likewise.
38716 * sunrpc/xdr_mem.c: Likewise.
38717 * sunrpc/xdr_rec.c: Likewise.
38718 * sunrpc/xdr_ref.c: Likewise.
38719 * sunrpc/xdr_sizeof.c: Likewise.
38720 * sunrpc/xdr_stdio.c: Likewise.
38721
b5c086a2
RM
387222012-05-10 Roland McGrath <roland@hack.frob.com>
38723
38724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38725 change. Update copyright years.
38726
6d74dd09
JM
387272012-05-10 Joseph Myers <joseph@codesourcery.com>
38728
38729 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38730
28e72501
MK
387312012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38732 Joseph Myers <joseph@codesourcery.com>
38733 Paul Pluzhnikov <ppluzhnikov@google.com>
38734
38735 [BZ #14012]
38736 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38737 requiring rpcgen.
38738 [cross-compiling] (extra-libs): Likewise.
38739 [cross-compiling] (extra-libs-others): Likewise.
38740 [cross-compiling] (librpcsvc-routines): Likewise.
38741 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38742 [cross-compiling] (omit-deps): Likewise.
38743 (sunrpc-CPPFLAGS): New variable.
38744 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38745 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38746 (cross-rpcgen-objs): New variable.
38747 (extra-objs): Append $(cross-rpcgen-objs).
38748 ($(cross-rpcgen-objs)): New rule.
38749 ($(objpfx)cross-rpcgen): Likewise.
38750 (rpcgen-cmd): Define to use $(built-program-file). Expand
38751 comment.
38752 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38753 ($(objpfx)x%.stmp): Likewise.
38754 * sunrpc/proto.h [IS_IN_build] (_): Define.
38755 [IS_IN_build] (_libc_intl_domainname): Likewise.
38756
c8c59454
L
387572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38758
38759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38760 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38761 and R_X86_64_TPOFF64.
38762
6f27cd16
JM
387632012-05-10 Joseph Myers <joseph@codesourcery.com>
38764
38765 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38766 sysdeps/unix/sysv/syscalls.list.
38767 (stime): Likewise.
38768 (utime): Likewise.
38769 * sysdeps/unix/sysv/syscalls.list: Remove file.
38770
02467e1c
PE
387712012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38772
38773 [BZ #3440]
38774 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38775 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38776 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38777 (__LC_IDENTIFICATION): Make these macros useful in #if
38778 expressions, as required by C99.
38779
da392631
AS
387802012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38781
38782 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38783 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38784 after this.
38785
8115f29b
L
387862012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38787
38788 * stdlib/longlong.h: Updated from GCC.
38789
bdd74070
AJ
387902012-05-09 Andreas Jaeger <aj@suse.de>
38791
edfe0dbe
AJ
38792 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38793 default is first entry.
38794 (run_mode): Set type.
38795 (main): Remove informal message about syslog.
38796 (options): Fix typo.
38797
bcfe3a54
ST
38798 [BZ #14053]
38799 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38800 to asm.
bcfe3a54
ST
38801 (lrint): Likewise.
38802 (llrintf): Likewise.
38803 (llrint): Likewise.
38804 (rint): Likewise.
38805 (rintf): Likewise.
38806 (nearbyint): Likewise.
38807 (nearbyintf): Likewise.
bdd74070 38808
91d8d69e
AJ
388092012-05-09 Andreas Jaeger <aj@suse.de>
38810 Pedro Alves <palves@redhat.com>
38811
38812 * nscd/nscd.c (run_mode): Use enum.
38813 (main): Cleanup coding style issue.
38814
bb90b80b
AJ
388152012-05-09 Alexandre Oliva <aoliva@redhat.com>
38816 Andreas Jaeger <aj@suse.de>
38817
bcfe3a54
ST
38818 * nscd/nscd.c (go_background): Replaced with...
38819 (run_mode): ... this.
bb90b80b 38820 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38821 (options): Add -F --foreground.
38822 (main): Implement it.
38823 (parse_opt): Parse it.
bb90b80b 38824
1a4b75a1
AJ
388252012-05-09 Andreas Jaeger <aj@suse.de>
38826
38827 [BZ #14083]
38828 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38829 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38830 -Wconversion warning.
38831 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38832 Likewise.
38833
b1cc2472
JM
388342012-05-09 Joseph Myers <joseph@codesourcery.com>
38835
38836 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38837 == 0.
38838 (LC_ALL): Use macro-int-constant.
38839 (LC_COLLATE): Likewise.
38840 (LC_CTYPE): Likewise.
38841 (LC_MESSAGES): Likewise.
38842 (LC_MONETARY): Likewise.
38843 (LC_NUMERIC): Likewise.
38844 (LC_TIME): Likewise.
38845 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38846 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38848 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38849 Specify type.
38850 [C99-based standards] (float_t): Expect type.
38851 [C99-based standards] (double_t): Expect type.
38852 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38853 type.
38854 [C99-based standards] (HUGE_VALL): Likewise.
38855 [C99-based standards] (INFINITY): Likewise.
38856 [C99-based standards] (NAN): Likewise.
38857 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38858 [C99-based standards] (FP_NAN): Likewise.
38859 [C99-based standards] (FP_NORMAL): Likewise.
38860 [C99-based standards] (FP_SUBNORMAL): Likewise.
38861 [C99-based standards] (FP_ZERO): Likewise.
38862 [C99-based standards] (FP_FAST_FMA): Use
38863 optional-macro-int-constant. Specify type. Require == 1.
38864 [C99-based standards] (FP_FAST_FMAF): Likewise.
38865 [C99-based standards] (FP_FAST_FMAL): Likewise.
38866 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38867 [C99-based standards] (FP_ILOGBNAN): Likewise.
38868 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38869 Specify type.
38870 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38871 [C99-based standards] (math_errhandling): Specify type.
38872 [ISO99 || ISO11] (signgam): Do not allow.
38873 [non-C99-based standards] (copysignf): Do not allow.
38874 [non-C99-based standards] (exp2f): Likewise.
38875 [non-C99-based standards] (log2f): Likewise.
38876 [non-C99-based standards] (modff): Allow.
38877 [non-C99-based standards] (erff): Do not allow.
38878 [non-C99-based standards] (erfcf): Likewise.
38879 [non-C99-based standards] (gammaf): Likewise.
38880 [non-C99-based standards] (hypotf): Likewise.
38881 [non-C99-based standards] (j0f): Likewise.
38882 [non-C99-based standards] (j1f): Likewise.
38883 [non-C99-based standards] (jnf): Likewise.
38884 [non-C99-based standards] (lgammaf): Likewise.
38885 [non-C99-based standards] (tgammaf): Likewise.
38886 [non-C99-based standards] (y0f): Likewise.
38887 [non-C99-based standards] (y1f): Likewise.
38888 [non-C99-based standards] (ynf): Likewise.
38889 [non-C99-based standards] (isnanf): Likewise.
38890 [non-C99-based standards] (acoshf): Likewise.
38891 [non-C99-based standards] (asinhf): Likewise.
38892 [non-C99-based standards] (atanhf): Likewise.
38893 [non-C99-based standards] (cbrtf): Likewise.
38894 [non-C99-based standards] (expm1f): Likewise.
38895 [non-C99-based standards] (ilogbf): Likewise.
38896 [non-C99-based standards] (log1pf): Likewise.
38897 [non-C99-based standards] (logbf): Likewise.
38898 [non-C99-based standards] (nextafterf): Likewise.
38899 [non-C99-based standards] (remainderf): Likewise.
38900 [non-C99-based standards] (rintf): Likewise.
38901 [non-C99-based standards] (scalbf): Likewise.
38902 [non-C99-based standards] (copysignl): Likewise.
38903 [non-C99-based standards] (exp2l): Likewise.
38904 [non-C99-based standards] (log2l): Likewise.
38905 [non-C99-based standards] (modfl): Allow.
38906 [non-C99-based standards] (erfl): Do not allow.
38907 [non-C99-based standards] (erfcl): Likewise.
38908 [non-C99-based standards] (gammal): Likewise.
38909 [non-C99-based standards] (hypotl): Likewise.
38910 [non-C99-based standards] (j0l): Likewise.
38911 [non-C99-based standards] (j1l): Likewise.
38912 [non-C99-based standards] (jnl): Likewise.
38913 [non-C99-based standards] (lgammal): Likewise.
38914 [non-C99-based standards] (tgammal): Likewise.
38915 [non-C99-based standards] (y0l): Likewise.
38916 [non-C99-based standards] (y1l): Likewise.
38917 [non-C99-based standards] (ynl): Likewise.
38918 [non-C99-based standards] (isnanl): Likewise.
38919 [non-C99-based standards] (acoshl): Likewise.
38920 [non-C99-based standards] (asinhl): Likewise.
38921 [non-C99-based standards] (atanhl): Likewise.
38922 [non-C99-based standards] (cbrtl): Likewise.
38923 [non-C99-based standards] (expm1l): Likewise.
38924 [non-C99-based standards] (ilogbl): Likewise.
38925 [non-C99-based standards] (log1pl): Likewise.
38926 [non-C99-based standards] (logbl): Likewise.
38927 [non-C99-based standards] (nextafterl): Likewise.
38928 [non-C99-based standards] (remainderl): Likewise.
38929 [non-C99-based standards] (rintl): Likewise.
38930 [non-C99-based standards] (scalbl): Likewise.
38931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38932 [non-C99-based standards] (FP_*): Do not allow.
38933 [C99-based standards] (FP_*): Change to
38934 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38935 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38936 allow.
38937 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38938 (SIG_ERR): Likewise.
38939 [X/Open-based standards] (SIG_HOLD): Likewise.
38940 (SIG_IGN): Likewise.
38941 (SIGABRT): Use macro-int-constant. Specify type. Require
38942 positive value.
38943 (SIGFPE): Likewise.
38944 (SIGILL): Likewise.
38945 (SIGINT): Likewise.
38946 (SIGSEGV): Likewise.
38947 (SIGTER): Likewise.
38948 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38949 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38950 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38951 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38952 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38953 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38954 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38955 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38956 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38957 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38958 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38959 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38960 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38961 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38962 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38963 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38964 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38965 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38966 [X/Open-based standards] (SIGTRAP): Likewise.
38967 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38968 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38969 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38970 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38971 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38972 allow.
38973
b9f1922d
IW
389742012-05-08 Ian Wienand <ianw@vmware.com>
38975
38976 [BZ #14080]
38977 * time/tzset.c (__tzset_parse_tz): Update default rules for
38978 daylight time changes in the Energy Policy Act of 2005.
38979
1db86e88
AJ
389802012-05-09 Andreas Jaeger <aj@suse.de>
38981
38982 [BZ #13983]
38983 * elf/ldconfig.c (parse_conf): Change string to make clear that
38984 ldconfig only issued a warning if ld.so.conf does not exist.
38985
dee4a4e3
DM
389862012-05-08 David S. Miller <davem@davemloft.net>
38987
ee0db190
DM
38988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38989 movxtod instead of popping the value on the stack.
38990
dee4a4e3
DM
38991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38992
6a43ec98
CD
389932012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38994
38995 * config.h.in: Add HAVE_ARM_PCS_VFP.
38996
05c2c961
RMG
389972012-05-08 Roland Mc Grath <roland@hack.frob.com>
38998
bcfe3a54
ST
38999 [BZ #13979]
39000 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39001 checking but the checks are disabled for any reason.
05c2c961 39002
4b30f61a
L
390032012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39004
39005 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39006 and ELF64_R_TYPE with ELFW(R_TYPE).
39007
eee2bc67
JM
390082012-05-08 Joseph Myers <joseph@codesourcery.com>
39009
7ea5391a
JM
39010 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39011 (ulimit): Likewise.
39012
eee2bc67
JM
39013 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39014 (settimeofday): Likewise.
39015
abb66a67
MF
390162012-05-08 Mike Frysinger <vapier@gentoo.org>
39017
39018 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39019 a struct th_u2 inside the union, and move tu_block/tu_code into
39020 a new th_u3 union of tu_block/tu_code inside of that. Move
39021 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39022 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39023 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39024 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39025 (th_stuff): Change to th_u1.tu_stuff.
39026 (th_data): Define.
39027 (th_msg): Change to th_u1.th_u2.tu_data.
39028
7f18b530
DM
390292012-05-07 David S. Miller <davem@davemloft.net>
39030
05760585
DM
39031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39032
7f18b530
DM
39033 [BZ #14074]
39034 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39035 (SETUP_PIC_REG): Use it.
39036 (SETUP_PIC_REG_LEAF): Use it.
39037
495fd99f
JM
390382012-05-07 Joseph Myers <joseph@codesourcery.com>
39039
39040 [BZ #13885]
39041 [BZ #13923]
39042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39043 USE_AS_EXPM1L.
39044 (EXPL_FINITE): Likewise.
39045 (FLDLOG): Likewise.
39046 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39047 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39048 e_expl.S.
39049 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39050 USE_AS_EXPM1L.
39051 (EXPL_FINITE): Likewise.
39052 (FLDLOG): Likewise.
39053 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39054 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39055 e_expl.S.
39056 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39057 test of -max_value argument for long double.
39058 * sysdeps/i386/fpu/libm-test-ulps: Update.
39059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39060
6693d694
DM
390612012-05-06 David S. Miller <davem@davemloft.net>
39062
39063 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39064 quad soft-float symbols whose references which are compiler
39065 generated.
39066 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39067
6c23e11c
JM
390682012-05-06 Joseph Myers <joseph@codesourcery.com>
39069
d8b82cad
JM
39070 [BZ #13884]
39071 [BZ #13914]
39072 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39073 USE_AS_EXP10L.
39074 (EXPL_FINITE): Likewise.
39075 (FLDLOG): Likewise.
39076 (c0): Likewise.
39077 (c1): Likewise.
39078 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39079 Adjust comments for base varying.
39080 (__expl_finite): Change alias to EXPL_FINITE.
39081 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39082 e_expl.S.
39083 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39084 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39085 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39086 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39087 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39088 USE_AS_EXP10L.
39089 (EXPL_FINITE): Likewise.
39090 (FLDLOG): Likewise.
39091 (c0): Likewise.
39092 (c1): Likewise.
39093 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39094 Adjust comments for base varying.
39095 (__expl_finite): Change alias to EXPL_FINITE.
39096 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39097 tests for bugs.
39098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39099
6c23e11c
JM
39100 [BZ #14064]
39101 * math/libm-test.inc (check_float_internal): Correct ulp
39102 calculation for subnormal expected results.
39103
29ba805c
AJ
391042012-05-06 Andreas Jaeger <aj@suse.de>
39105
39106 * Makeconfig (+math-flags): New, set to -frounding-math.
39107 (+cflags): Add +math-flags so that all of glibc gets compiled with
39108 it.
39109
39110 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39111
7b17aeda
JM
391122012-05-05 Joseph Myers <joseph@codesourcery.com>
39113
5779f134
JM
39114 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39115 Disable one test.
39116
41498f4d
JM
39117 [BZ #13787]
39118 [BZ #13922]
39119 [BZ #14036]
39120 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39121 (__ieee754_expl): Allow for and saturate large arguments.
39122 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39123 (u_threshold): Likewise.
39124 (__exp): Call __ieee754_exp before checking for overflow and
39125 underflow.
39126 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39127 (u_threshold): Likewise.
39128 (__expf): Call __ieee754_expf before checking for overflow and
39129 underflow.
39130 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39131 (u_threshold): Likewise.
39132 (__expl): Call __ieee754_expl before checking for overflow and
39133 underflow.
39134 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39135 (__ieee754_expl): Allow for and saturate large arguments.
39136 * math/libm-test.inc (exp_test): Add another test. Do not allow
39137 missing overflow exception on overflow.
39138 (expm1_test): Do not allow missing overflow exception on overflow.
39139
6698b8bf
JM
39140 * sysdeps/i386/fpu/e_expl.c: Move to ...
39141 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39142 rather than using inline asm.
39143 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39144 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39145 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39146
7b17aeda
JM
39147 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39148 (nice): Likewise.
39149 (poll): Likewise.
39150 (signal): Likewise.
39151 (time): Likewise.
39152 (times): Likewise.
39153
f7c85819
JM
391542012-05-04 Joseph Myers <joseph@codesourcery.com>
39155
39156 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39157 sysdeps/unix/common/syscalls.list.
39158 (fchmod): Likewise.
39159 (fchown): Likewise.
39160 (ftruncate): Likewise.
39161 (getrusage): Likewise.
39162 (gettimeofday): Likewise.
39163 (setpgid): Likewise.
39164 (setregid): Likewise.
39165 (setreuid): Likewise.
39166 (sigaction): Likewise.
39167 (truncate): Likewise.
39168 (vhangup): Likewise.
39169 * sysdeps/unix/common/syscalls.list: Remove file.
39170 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39171 * sysdeps/unix/sysv/linux/Implies: Likewise.
39172
336270d0
L
391732012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39174
39175 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39177 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39178 Moved to ...
39179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39180 Here.
39181 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39182 to ...
39183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39184 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39185 to ...
39186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39187 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39188 to ...
39189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39190 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39191 to ...
39192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39193 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39194 to ...
39195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39196 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39197 to ...
39198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39199 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39200 to ...
39201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39202 Here.
39203 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39204 to ...
39205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39206 Here.
39207 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39208 to ...
39209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39210 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39211 Moved to ...
39212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39213 Here.
39214 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39215 to ...
39216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39217
d128e450
JM
392182012-05-04 Joseph Myers <joseph@codesourcery.com>
39219
fa8ee516
JM
39220 * sysdeps/unix/common/bits/dirent.h: Remove file.
39221 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39222
d128e450
JM
39223 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39224 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39225 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39226 * sysdeps/unix/bsd/isatty.c: Likewise.
39227 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39228 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39229 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39230
ff8faaf0 392312012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39232
62881be4 39233 [BZ #13563]
31dc8730
AZ
39234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39235 long double comparison inaccuracies.
39236 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39238
6fef930c
AS
392392012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39240
39241 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39242 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39243
8f203e6c
JM
392442012-05-04 Joseph Myers <joseph@codesourcery.com>
39245
39246 [BZ #14049]
39247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39248 nonzero digits before rounding a hex value.
39249 * stdlib/tst-strtod.c (tests): Add another test.
39250
5197d9c2
AK
392512012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39252
39253 * sysdeps/s390/fpu/libm-test-ulps: Update.
39254
f0c1dedf
AJ
392552012-05-03 Andreas Jaeger <aj@suse.de>
39256
39257 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39258 does not get optimized out.
39259 (malloc_opt_barrier): New.
39260
a65ef2ae 392612012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39262 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39263
2b942cb7 39264 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39265 intermediate file deletion.
2b942cb7 39266 (generated): Add .symlist files.
a65ef2ae 39267
54b71e02
JM
392682012-05-03 Joseph Myers <joseph@codesourcery.com>
39269
39270 [BZ #13775]
39271 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39272 Redirect under this condition.
39273 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39274 [__USE_GNU] (__dprintf_chk): Not under this condition.
39275 [__USE_GNU] (__vdprintf_chk): Likewise.
39276 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39277 under this condition.
39278 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39279 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39280 [__USE_XOPEN2K8] (vdprintf): Likewise.
39281 [__USE_GNU] (__dprintf_chk): Not under this condition.
39282 [__USE_GNU] (__vdprintf_chk): Likewise.
39283 [__USE_GNU] (dprintf): Likewise.
39284 [__USE_GNU] (vdprintf): Likewise.
39285
d3dfcc41
RM
392862012-05-03 Roland McGrath <roland@hack.frob.com>
39287
39288 * elf/Makefile (common-generated): Set this instead of generated for
39289 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39290 $(all-built-dso)-derived lists.
39291
7ac30cc5
AJ
392922012-05-03 Andreas Jaeger <aj@suse.de>
39293
0c51e550
AJ
39294 * sysdeps/i386/fpu/libm-test-ulps: Update.
39295
7ac30cc5
AJ
39296 * FAQ: Removed.
39297 * FAQ.in: Likewise.
39298 * scripts/gen-FAQ.pl: Likewise.
39299 * manual/install.texi (Installation): Point to online location of
39300 FAQ.
39301 * Makefile (files-for-dist): Remove FAQ.
39302 (FAQ): Remove.
39303
d4c2917f
AM
393042012-05-02 Allan McRae <allan@archlinux.org>
39305
39306 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39307 (LDFLAGS-reldepmod5.so): Likewise.
39308 (LDFLAGS-reldep6mod1.so): Likewise.
39309 (LDFLAGS-reldep6mod4.so): Likewise.
39310 (LDFLAGS-reldep8mod3.so): Likewise.
39311 (LDFLAGS-unload4mod1.so): Likewise.
39312 (LDFLAGS-unload4mod2.so): Likewise.
39313 (LDFLAGS-tst-initorder): Likewise.
39314 (LDFLAGS-tst-initordera2.so): Likewise.
39315 (LDFLAGS-tst-initordera3.so): Likewise.
39316 (LDFLAGS-tst-initordera4.so): Likewise.
39317 (LDFLAGS-tst-initorderb2.so): Likewise.
39318 (LDFLAGS-noload): Likewise.
39319 (LDFLAGS-next): Likewise.
39320 (LDFLAGS-order2mod1.so): Likewise.
39321 (LDFLAGS-order2mod2.so): Likewise.
39322 (LDFLAGS-tst-initorder2): Likewise.
39323 (LDFLAGS-tst-initorder2a.so): Likewise.
39324 (LDFLAGS-tst-initorder2b.so): Likewise.
39325 (LDFLAGS-tst-initorder2c.so): Likewise.
39326 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39327
d77f993f
DM
393282012-05-02 David S. Miller <davem@davemloft.net>
39329
39330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39331
171a70b4
PP
393322012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39333
39334 [BZ #14055]
39335 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39336
0be196ad
AJ
393372012-05-02 Andreas Jaeger <aj@suse.de>
39338
39339 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39340 since we manipulate rounding mode.
39341 (CPPFLAGS-test-idouble.c): Likewise.
39342 (CPPFLAGS-test-ifloat.c): Likewise.
39343 (CFLAGS-test-ldouble.c): Likewise.
39344 (CFLAGS-test-double.c): Likewise.
39345 (CFLAGS-test-float.c): Likewise.
39346 (CFLAGS-test-misc.c): Likewise.
39347 (CFLAGS-test-test-fenv.c): Likewise.
39348
4f9d04aa
AZ
393492012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39350
2b942cb7
RM
39351 [BZ #2550]
39352 [BZ #2570]
39353 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39354 comparisons to determine direction to adjust input.
4f9d04aa 39355
82a79e7d
RM
393562012-05-01 Roland McGrath <roland@hack.frob.com>
39357
f5a01ca9
RM
39358 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39359 output to the target.
39360
90fe4186
RM
39361 * scripts/localplt.awk: New file.
39362 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39363 (check-localplt-CFLAGS): Variable removed.
39364 ($(all-built-dso:=.jmprel)): New static pattern rule.
39365 (generated): Add those targets.
39366 (localplt-built-dso): New variable.
39367 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39368
39369 * elf/check-localplt.c: File removed.
39370
82397ed6
RM
39371 * scripts/check-execstack.awk: New file.
39372 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39373 (check-execstack-CFLAGS): Variable removed.
39374 ($(objpfx)check-execstack.h): Target removed.
39375 ($(objpfx)execstack-default): New target.
39376 (generated): Add that instead of check-execstack.h.
39377 ($(all-built-dso:=.phdr)): New static pattern rule.
39378 (generated): Add those targets.
39379 * elf/check-execstack.c: File removed.
39380
82a79e7d
RM
39381 * scripts/check-textrel.awk: New file.
39382 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39383 (check-textrel-CFLAGS): Variable removed.
39384 (all-built-dso): Use := to define.o
39385 ($(all-built-dso:=.dyn)): New static pattern rule.
39386 (generated): Add those targets.
39387 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39388 * config.make.in (READELF): New substituted variable.
39389 * elf/check-textrel.c: File removed.
39390
62fde54f 393912012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39392
615605c9
JM
39393 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39394 allow.
39395 * conform/data/ctype.h-data [C99-based standards] (isblank):
39396 Expect function.
39397 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39398 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39399 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39400 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39401 Specify type. Require positive value.
39402 (EILSEQ): Likewise.
39403 (ERANGE): Likewise.
39404 [ISO || POSIX] (EILSEQ): Do not expect.
39405 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39406 Specify type. Require positive value.
39407 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39408 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39409 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39410 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39411 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39412 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39413 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39414 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39415 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39416 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39417 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39418 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39419 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39420 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39421 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39422 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39423 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39424 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39425 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39426 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39427 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39428 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39429 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39430 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39431 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39432 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39433 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39434 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39435 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39436 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39437 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39438 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39439 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39440 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39441 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39442 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39443 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39444 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39445 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39446 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39447 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39448 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39449 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39450 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39451 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39452 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39453 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39454 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39455 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39456 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39457 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39458 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39459 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39460 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39461 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39462 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39463 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39464 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39465 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39466 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39467 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39468 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39469 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39470 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39471 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39472 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39473 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39474 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39475 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39476 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39477 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39478 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39479 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39480 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39481 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39482 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39483 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39484 Require >= 2.
39485 (FLT_ROUNDS): Expect as macro, not constant.
39486 (FLT_MANT_DIG): Use macro-int-constant.
39487 (DBL_MANT_DIG): Likewise.
39488 (LDBL_MANT_DIG): Likewise.
39489 (FLT_DIG): Likewise.
39490 (DBL_DIG): Likewise.
39491 (LDBL_DIG): Likewise.
39492 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39493 (DBL_MIN_EXP): Likewise.
39494 (LDBL_MIN_EXP): Likewise.
39495 (FLT_MAX_EXP): Use macro-int-constant.
39496 (DBL_MAX_EXP): Likewise.
39497 (LDBL_MAX_EXP): Likewise.
39498 (FLT_MAX_10_EXP): Likewise.
39499 (DBL_MAX_10_EXP): Likewise.
39500 (LDBL_MAX_10_EXP): Likewise.
39501 (FLT_MAX): Use macro-constant.
39502 (DBL_MAX): Likewise.
39503 (LDBL_MAX): Likewise.
39504 (FLT_EPSILON): Use macro-constant. Give upper bound.
39505 (DBL_EPSILON): Likewise.
39506 (LDBL_EPSILON): Likewise.
39507 (FLT_MIN): Likewise.
39508 (DBL_MIN): Likewise.
39509 (LDBL_MIN): Likewise.
39510 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39511 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39512 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39513 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39514 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39515 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39516 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39517 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39518 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39519 [ISO11] (FLT_TRUE_MIN): Likewise.
39520 [ISO11] (LDBL_TRUE_MIN): Likewise.
39521 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39522 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39523 (SCHAR_MIN): Use macro-int-constant. Specify type.
39524 (SCHAR_MAX): Likewise.
39525 (UCHAR_MAX): Likewise.
39526 (CHAR_MIN): Likewise.
39527 (CHAR_MAX): Likewise.
39528 (MB_LEN_MAX): Use macro-int-constant.
39529 (SHRT_MIN): Use macro-int-constant. Specify type.
39530 (SHRT_MAX): Likewise.
39531 (USHRT_MAX): Likewise.
39532 (INT_MAX): Likewise.
39533 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39534 bound negative.
39535 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39536 bound with "U".
39537 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39538 bound with "L".
39539 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39540 bound negative. Suffix upper bound with "L".
39541 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39542 bound with "UL".
39543 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39544 Specify type.
39545 [C99-based standards] (LLONG_MAX): Likewise.
39546 [C99-based standards] (ULLONG_MAX): Likewise.
39547 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39548 == 0.
39549 [ISO11] (max_align_t): Require type.
39550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39551
c9140a62
JM
39552 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39553 from $CFLAGS, without defining away __attribute__ calls.
39554 (checknamespace): Use $CFLAGS_namespace.
39555
9af0bf29
JM
39556 * conform/conformtest.pl (@keywords): Only include C99 keywords
39557 for standards based on C99 or C11.
39558
343222a2
JM
39559 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39560 Disable tests.
39561 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39562 UNIX98]: Likewise.
39563
661f8cf0
JM
39564 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39565 usability of symbols in #if.
39566
ee74b9cb
JM
39567 * conform/conformtest.pl: If macro or constant types start
39568 "promoted:", expect the symbol to be of the following type
39569 promoted by the integer promotions.
62fde54f 39570
aafc49b3
JM
39571 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39572 in one place. Also handle "macro-constant".
39573
fefdf574
JM
39574 * conform/conformtest.pl: Only accept expected macro values with
39575 "==". Parse all "macro" lines in one place.
39576 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39577
f2d922fe
JM
39578 * conform/conformtest.pl: Handle braced types on "constant" lines
39579 instead of handling "typed-constant".
39580 * conform/data/signal.h-data: Use "constant" instead of
39581 "typed-constant".
39582
d22956c9
JM
39583 * conform/conformtest.pl: Handle "optional-" at start of lines in
39584 one place rather than duplicating several cases. Handle each
39585 format of "macro" line with initial "optional-".
39586
028e2e38
JM
39587 * conform/conformtest.pl: Only accept expected constant or
39588 optional-constant values with "==". Parse all "constant" lines in
39589 one place. Parse all "optional-constant" lines in one place.
39590 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39591 * conform/data/fmtmsg.h-data: Likewise.
39592 * conform/data/netinet/in.h-data: Likewise.
39593 * conform/data/tar.h-data: Likewise.
39594 * conform/data/limits.h-data: Use "==" form on "constant" and
39595 "optional-constant" lines.
39596
1b8f2850
JM
39597 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39598 Use -std=c99 for XOPEN2K.
39599 (@knownproblems): Remove.
39600 (newtoken): Don't check %isknown.
39601
a05a144b
JM
39602 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39603 Do not expect macro.
39604 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39605 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39606 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39607 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39608 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39609 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39610 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39611 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39612 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39613 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39614 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39615 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39616 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39617 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39618 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39619 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39620 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39621 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39622 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39623 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39624 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39625 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39626 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39627 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39628 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39629 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39630 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39631 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39632 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39633 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39634 [XPG3] (acosh): Likewise.
39635 [XPG3] (asinh): Likewise.
39636 [XPG3] (atanh): Likewise.
39637 [XPG3] (cbrt): Likewise.
39638 [XPG3] (expm1): Likewise.
39639 [XPG3] (ilogb): Likewise.
39640 [XPG3] (log1p): Likewise.
39641 [XPG3] (logb): Likewise.
39642 [XPG3] (nextafter): Likewise.
39643 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39644 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39645 [XPG3] (remainder): Likewise.
39646 [XPG3] (rint): Likewise.
39647 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39648 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39649 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39650 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39651 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39652 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39653 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39654 [UNIX98 || XOPEN2K] (scalb): Expect.
39655 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39656 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39657 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39658 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39659 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39660 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39661 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39662 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39663 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39664 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39665 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39666 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39667 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39668 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39669 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39670 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39671 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39672 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39673 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39674 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39675 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39676 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39677 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39678 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39679 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39680 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39681 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39682 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39683 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39684 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39685 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39686 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39687 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39688 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39689 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39690 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39691 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39692 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39693 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39694 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39695 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39696 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39697 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39698 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39699 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39700 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39701 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39702 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39703 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39704 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39705 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39706 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39707 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39708 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39709 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39710 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39711 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39712 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39713 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39714 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39715 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39716 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39717 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39718 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39719 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39720 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39721 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39722 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39723 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39724 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39725 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39726 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39727 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39728 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39729 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39730 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39731 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39732 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39733 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39734 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39735 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39736 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39737 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39738 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39739 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39740 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39741 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39742 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39743 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39744 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39745 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39746 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39747 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39748 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39749 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39750 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39751 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39752 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39753 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39754 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39755 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39756 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39757 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39758 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39759 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39760 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39761 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39762 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39763 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39764 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39765 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39766 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39767 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39768 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39769 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39770 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39771 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39772 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39773 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39774 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39775 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39776 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39777 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39778 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39779 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39780 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39781 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39782 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39783 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39784 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39785 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39786 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39787 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39788 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39789 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39790 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39791 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39792
73c5ebe3
JM
39793 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39794 _XOPEN_SOURCE_EXTENDED for XPG4.
39795
39c33b6c
JM
39796 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39797
62fde54f
JM
39798 * Makeconfig (localtime): Remove variable.
39799 (inst_localtime-file): Likewise.
39800
0741d64c
AS
398012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39802
39803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39804 Update.
39805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39806 Update.
39807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39808 Update.
39809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39810 Update.
39811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39812 Update.
39813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39814 Update.
39815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39816 Update.
39817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39818 Update.
39819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39820 Update.
39821
7cb029ee
JM
398222012-05-01 Joseph Myers <joseph@codesourcery.com>
39823
39824 [BZ #2550]
39825 [BZ #2570]
39826 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39827 comparisons to determine direction to adjust input.
39828 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39829 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39831 Likewise.
39832 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39833 Likewise.
39834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39835 Likewise.
39836 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39837 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39838 Likewise.
39839 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39840 Likewise.
39841 * math/libm-test.inc (nexttoward_test): Add more tests.
39842
412bd966
AS
398432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39844
39845 [BZ #14040]
39846 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39847 in version GLIBC_2.1, not GLIBC_2.0.
39848 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39849 Likewise.
39850
9568c0c2
JM
398512012-04-30 Joseph Myers <joseph@codesourcery.com>
39852
adfbc8ac
JM
39853 [BZ #13942]
39854 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39855 (1 - x) * (1 + x).
39856 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39857 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39858 * math/libm-test.inc (acos_test): Add more tests.
39859 (asin_test): Likewise.
39860 * sysdeps/i386/fpu/libm-test-ulps: Update.
39861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39862
5ba3cc69
JM
39863 [BZ #14034]
39864 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39865 of square root.
39866 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39867 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39868 * math/libm-test.inc (acos_test_tonearest): New function.
39869 (acos_test_towardzero): Likewise.
39870 (acos_test_downward): Likewise.
39871 (acos_test_upward): Likewise.
39872 (asin_test_tonearest): Likewise.
39873 (asin_test_towardzero): Likewise.
39874 (asin_test_downward): Likewise.
39875 (asin_test_upward): Likewise.
39876 (main): Call the new functions.
39877 * sysdeps/i386/fpu/libm-test-ulps: Update.
39878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39879
9568c0c2
JM
39880 [BZ #13884]
39881 [BZ #13924]
39882 * math/e_exp10.c: Include <float.h>.
39883 (__ieee754_exp10): Handle underflow here rather than multiplying
39884 large negative argument by M_LN10.
39885 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39886 of __ieee754_expf.
39887 * math/e_exp10l.c: Include <float.h>.
39888 (__ieee754_exp10l): Handle underflow here rather than multiplying
39889 large negative argument by M_LN10l.
39890 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39891 spurious overflow exception on underflow.
39892
5ac3ea17
MP
398932012-04-29 Marek Polacek <polacek@redhat.com>
39894
39895 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39896 (__fortify_function): New macro.
39897 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39898 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39899 __extern_always_inline.
39900 * libio/bits/stdio2.h: Likewise.
39901 * libio/bits/stdio.h: Likewise.
39902 * string/string.h: Likewise.
39903 * string/bits/string3.h: Likewise.
39904 * include/stdio.h: Likewise.
39905 * stdlib/bits/stdlib.h: Likewise.
39906 * stdlib/stdlib.h: Likewise.
39907 * rt/bits/mqueue2.h: Likewise.
39908 * rt/mqueue.h: Likewise.
39909 * posix/bits/unistd.h: Likewise.
39910 * posix/unistd.h: Likewise.
39911 * io/bits/poll2.h: Likewise.
39912 * io/bits/fcntl2.h: Likewise.
39913 * io/fcntl.h: Likewise.
39914 * io/sys/poll.h: Likewise.
39915 * misc/bits/syslog.h: Likewise.
39916 * misc/bits/syslog-ldbl.h: Likewise.
39917 * misc/sys/syslog.h: Likewise.
39918 * socket/bits/socket2.h: Likewise.
39919 * socket/sys/socket.h: Likewise.
39920 * debug/tst-chk1.c: Likewise.
39921 * wcsmbs/bits/wchar2.h: Likewise.
39922 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39923 * wcsmbs/wchar.h: Likewise.
39924
ecf0ebfb
AJ
399252012-04-29 Andreas Jaeger <aj@suse.de>
39926
39927 * Makerules (tests): Remove enable-check-abi protection.
39928 (check-abi-warn): Remove.
39929 (check-abi-%): Remove check-abi-warn usage.
39930
39931 * configure.in: Remove check-abi configure option.
39932 * configure: Regenerated.
39933 * config.make.in (enable-check-abi): Remove.
39934
6d5c57fa
AS
399352012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39936
24c5d07e 39937 [BZ #14033]
ded5180a
AS
39938 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39939 double functions to double *_finite functions.
39940
7e0d315d
AS
39941 [BZ #13941]
39942 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39943 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39944 LDBL_MIN_EXP.
39945 * stdio-common/Makefile (tests): Add tst-sprintf3.
39946 * stdio-common/tst-sprintf3.c: New file.
39947
6d5c57fa
AS
39948 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39949 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39950
0749ff8b
JM
399512012-04-28 Joseph Myers <joseph@codesourcery.com>
39952
39953 * conform/conformtest.pl: Remove duplicate typed-constant
39954 handling.
39955
8dbd5d7b
DM
399562012-04-28 David S. Miller <davem@davemloft.net>
39957
39958 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39959 (check-abi-%): Remove AWK script prerequisite and explicit
39960 abilist directory.
39961 (check-abi): Rewrite to just diff the symlist with the abilist.
39962 (config-tls, config-abi-config): Delete, no longer used.
39963 (update-abi-%): Remove AWK script and explicit abilist directory.
39964 (update-abi): Rewrite to simply compare and conditionally copy the
39965 symlist and the sysdep abilist file. Remove update-abi-config
39966 checks.
39967 * abilist/ld.abilist: Remove.
39968 * abilist/libBrokenLocale.abilist: Remove.
39969 * abilist/libanl.abilist: Remove.
39970 * abilist/libcrypt.abilist: Remove.
39971 * abilist/libdl.abilist: Remove.
39972 * abilist/librt.abilist: Remove.
39973 * abilist/libthread_db.abilist: Remove.
39974 * abilist/libutil.abilist: Remove.
39975 * scripts/extract-abilist.awk: Remove.
39976 * scripts/merge-abilist.awk: Remove.
39977 * sysdeps/generic/libcidn.abilist: New file.
39978 * sysdeps/generic/libnss_compat.abilist: New file.
39979 * sysdeps/generic/libnss_db.abilist: New file.
39980 * sysdeps/generic/libnss_dns.abilist: New file.
39981 * sysdeps/generic/libnss_files.abilist: New file.
39982 * sysdeps/generic/libnss_hesiod.abilist: New file.
39983 * sysdeps/generic/libnss_nis.abilist: New file.
39984 * sysdeps/generic/libnss_nisplus.abilist: New file.
39985 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39986 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39987 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39988 file.
39989 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39990 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39991 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39992 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39993 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39994 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39995 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39996 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39997 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39998 file.
39999 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40000 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40001 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40002 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40003 file.
40004 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40005 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40006 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40007 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40008 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40009 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40010 file.
40011 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40012 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40013 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40014 file.
40015 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40017 New file.
40018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40019 New file.
40020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40021 New file.
40022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40023 New file.
40024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40025 New file.
40026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40027 New file.
40028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40029 New file.
40030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40031 New file.
40032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40033 New file.
40034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40035 New file.
40036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40037 New file.
40038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40039 New file.
40040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40041 New file.
40042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40043 file.
40044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40045 New file.
40046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40047 New file.
40048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40049 file.
40050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40051 New file.
40052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40053 New file.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40055 file.
40056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40057 New file.
40058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40059 New file.
40060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40061 New file.
40062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40063 New file.
40064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40065 New file.
40066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40067 New file.
40068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40070 file.
40071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40072 New file.
40073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40074 file.
40075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40076 file.
40077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40078 file.
40079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40080 file.
40081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40082 file.
40083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40084 New file.
40085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40086 file.
40087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40088 file.
40089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40090 New file.
40091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40092 file.
40093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40095 file.
40096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40097 New file.
40098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40099 file.
40100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40101 file.
40102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40103 file.
40104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40105 file.
40106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40107 file.
40108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40109 New file.
40110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40111 file.
40112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40113 file.
40114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40115 New file.
40116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40117 file.
40118 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40119 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40120 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40121 file.
40122 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40123 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40124 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40125 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40126 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40127 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40128 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40129 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40130 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40131 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40134 file.
40135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40136 New file.
40137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40138 file.
40139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40140 file.
40141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40142 file.
40143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40144 file.
40145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40146 file.
40147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40148 New file.
40149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40150 New file.
40151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40152 file.
40153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40154 New file.
40155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40156 file.
40157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40159 file.
40160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40161 New file.
40162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40163 file.
40164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40165 file.
40166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40167 file.
40168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40169 file.
40170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40171 file.
40172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40173 New file.
40174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40175 New file.
40176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40177 file.
40178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40179 New file.
40180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40181 file.
40182
41d73a1b
JM
401832012-04-28 Joseph Myers <joseph@codesourcery.com>
40184
40185 * conform/conformtest.pl: Fix typo in handling typed-constant from
40186 allow-header.
40187
28aeeda4
JM
401882012-04-27 Joseph Myers <joseph@codesourcery.com>
40189
adae8f5e
JM
40190 * README: Cut down references to pre-2.6 Linux kernels and
40191 Linuxthreads. Update lists of configurations in libc and ports
40192 and sort alphabetically. Say "or newer" with Linux kernel version
40193 requirements.
40194
28aeeda4
JM
40195 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40196
a462cb63
RA
401972012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40198
40199 [BZ #887]
40200 * math/libm-test.inc (logb_test_downward): New test to expose
40201 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40202 rounding mode.
40203
6ad3493e
JM
402042012-04-27 Joseph Myers <joseph@codesourcery.com>
40205
40206 [BZ #14027]
40207 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40208 to be done.
40209 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40210 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40211
2ce4f015
JM
402122012-04-26 Joseph Myers <joseph@codesourcery.com>
40213
5aeb141a
JM
40214 * sysdeps/unix/i386/brk.S: Remove file.
40215 * sysdeps/unix/i386/dl-brk.S: Likewise.
40216 * sysdeps/unix/i386/pipe.S: Likewise.
40217 * sysdeps/unix/i386/sigreturn.S: Likewise.
40218 * sysdeps/unix/i386/syscall.S: Likewise.
40219 * sysdeps/unix/i386/vfork.S: Likewise.
40220 * sysdeps/unix/i386/wait.S: Likewise.
40221
7143acae
JM
40222 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40223 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40224
2ce4f015
JM
40225 * configure.in (arm*-none*): Do not allow without
40226 --enable-hacker-mode.
40227 (netbsd*): Remove case setting base_os.
40228 (386bsd*): Likewise.
40229 (freebsd*): Likewise.
40230 (bsdi*): Likewise.
40231 (osf*): Likewise.
40232 (sunos*): Likewise.
40233 (ultrix*): Likewise.
40234 (newsos*): Likewise.
40235 (dynix*): Likewise.
40236 (*bsd*): Likewise.
40237 (sysv*): Likewise.
40238 (isc*): Likewise.
40239 (esix*): Likewise.
40240 (sco*): Likewise.
40241 (minix*): Likewise.
40242 (irix4*): Likewise.
40243 (irix6*): Likewise.
40244 (solaris[2-9]*): Likewise.
40245 (none): Likewise.
40246 * configure: Regenerated.
40247
0ac229c8
AZ
402482012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40249
40250 [BZ #11521]
40251 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40252 overflow or cancellation in calculating denominator.
40253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40254 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40255 down expression to avoid unexpected rounding in newer GCCs.
40256 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40257
33f244f4
DM
402582012-04-26 David S. Miller <davem@davemloft.net>
40259
40260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40261 long-double compat symbols.
40262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40275
cfa1f3e8
DM
402762012-04-25 David S. Miller <davem@davemloft.net>
40277
40278 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40279 HWCAP_* values only after the memory barriers have been defined.
40280 (atomic_full_barrier): Define.
40281 (atomic_read_barrier): Define.
40282 (atomic_write_barrier): Define.
40283
6e236b92
SP
402842012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40285
40286 * shlib-versions: Add libgcc_s version information.
40287 * sysdeps/generic/libgcc_s.h: Remove.
40288 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40289 libgcc_s.h.
40290 * sysdeps/gnu/unwind-resume.c: Likewise.
40291 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40292
aab39a09
DM
402932012-04-25 David S. Miller <davem@davemloft.net>
40294
40295 * sysdeps/unix/sparc/brk.S: Delete.
40296 * sysdeps/unix/sparc/dl-brk.S: Delete.
40297 * sysdeps/unix/sparc/pipe.S: Delete.
40298 * sysdeps/unix/sparc/sysdep.S: Delete.
40299 * sysdeps/unix/sparc/sysdep.h: Delete.
40300 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40301 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40302 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40303 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40304 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40305 (JUMPTARGET): Remove.
40306 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40307 sysdeps/unix/sparc/sysdep.h
40308 (ENTRY, END): Remove.
40309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40310
a3cc4f48
JM
403112012-04-25 Joseph Myers <joseph@codesourcery.com>
40312
2ed8cda2
JM
40313 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40314 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40315 -DIS_IN_build.
40316
35d76d59
JM
40317 * timezone/README: Update upstream location and email address for
40318 tzcode and tzdata.
40319 * timezone/zdump.c: Update from tzcode 2012b.
40320 * timezone/zic.c: Likewise.
40321
a3cc4f48
JM
40322 * configure.in (libc_cv_as_needed): Remove test.
40323 * configure: Regenerated.
40324 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40325 conditional definition.
40326 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40327 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40328 * config.make.in (have-as-needed): Remove variable.
40329
ceab42c3
SP
403302012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40331 Paul Pluzhnikov <ppluzhnikov@google.com>
40332
40333 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40334 strings correctly.
40335
3ce2865f
CLT
403362012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40337
40338 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40339 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40340 * sysdeps/sh/strlen.S: Likewise.
40341
f37e0d68
JM
403422012-04-24 Joseph Myers <joseph@codesourcery.com>
40343
ae186e9a
JM
40344 * sysdeps/unix/fork.S: Remove file.
40345 * sysdeps/unix/i386/fork.S: Likewise.
40346 * sysdeps/unix/sparc/fork.S: Likewise.
40347
b96914af
JM
40348 * sysdeps/unix/system.c: Remove file.
40349 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40350
f37e0d68
JM
40351 * sysdeps/unix/getegid.S: Remove file.
40352 * sysdeps/unix/geteuid.S: Likewise.
40353
87ef29ca
RM
403542012-04-24 Roland McGrath <roland@hack.frob.com>
40355
83bcd236
RM
40356 * scripts/check-localplt.awk: New file.
40357 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40358 of diff.
40359 * scripts/data/localplt-generic.data: Add a comment.
40360
87ef29ca
RM
40361 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40362 NODE when __dir_mkfile failed.
40363 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40364 Reported by Ludovic Courtès <ludo@gnu.org>.
40365
e5a6e567
AJ
403662012-04-24 Andreas Jaeger <aj@suse.de>
40367
40368 * Makerules (common-clean): Also remove gen-as-const-headers
40369 files.
40370
c1820385
JM
403712012-04-24 Joseph Myers <joseph@codesourcery.com>
40372
40373 * Makerules (native-compile): Do not change working directory for
40374 build. Use $(OUTPUT_OPTION) in command.
40375 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40376
94e02fc4
AZ
403772012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40378
40379 [BZ #13886]
40380 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40381 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40382 * math/libm-test.inc (floor_test): Add more tests.
40383 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40384
3a533ca3
JM
403852012-04-24 Joseph Myers <joseph@codesourcery.com>
40386
940ab4b3
JM
40387 * sysdeps/unix/getdents.c: Remove file.
40388 * sysdeps/unix/sysv/getdents.c: Likewise.
40389 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40390
90e037bd
JM
40391 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40392 sysdeps/unix/mman/syscalls.list.
40393 (mmap): Likewise.
40394 (mprotect): Likewise.
40395 (msync): Likewise.
40396 (munmap): Likewise.
40397 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40398 * sysdeps/unix/mman/syscalls.list: Remove.
40399 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40400
3a533ca3
JM
40401 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40402 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40403 * configure: Regenerated.
40404 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40405 $(libgcc_s_suffix).
40406 * config.make.in (libgcc_s_suffix): Remove variable.
40407
1ad743de
JM
404082012-04-23 Joseph Myers <joseph@codesourcery.com>
40409
4ad451e2
JM
40410 * sysdeps/unix/sysv/gethostname.c: Move to ...
40411 * sysdeps/posix/gethostname.c: ... here.
40412
5e37ce39
JM
40413 * sysdeps/unix/execve.S: Remove file.
40414
1ad743de
JM
40415 * sysdeps/unix/_exit.S: Remove file.
40416
4e681b5b
AJ
404172012-04-23 Andreas Jaeger <aj@suse.de>
40418
40419 [BZ #13739]
40420 * manual/Makefile: Remove make dist support, there's no
40421 need for a stand-alone documentation tar ball.
40422 (TEXI2DVI): Define always, it's not in Makeconfig.
40423 (dist): Removed.
40424 (tar-it): Removed.
40425 (edition): Removed.
40426 (glibc-doc-$(edition).tar): Removed
40427 (%.Z): Removed.
40428 (%.gz): Removed.
40429 (%.uu): Removed.
40430 (ETAGS): Remove, it's in Makeconfig.
40431 (move-if-change): Remove, it's in Makeconfig.
40432
38686a03 404332012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40434
40435 [BZ #13970]
40436 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40437 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40438 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40439 (strtod_l, strtof_l, strtold_l): Remove __wur.
40440 It is not necessarily an error to ignore strtol's return value.
40441 One can reliably look at the stored endptr to decide whether
40442 the number had valid syntax.
40443
7c0616fa
AJ
404442012-04-21 Andreas Jaeger <aj@suse.de>
40445
803cb6b7 40446 [BZ #13739]
7c0616fa
AJ
40447 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40448
b0fe253f
JM
404492012-04-21 Joseph Myers <joseph@codesourcery.com>
40450
40451 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40452 * sysdeps/unix/sysv/Versions: Remove file.
40453
8280f22d
MT
404542012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40455
40456 [BZ #13927]
40457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40458
75ce411f 404592012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40460
40461 [BZ #7064]
40462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40463 version from __vm86.
40464
097d59fa
JM
404652012-04-20 Joseph Myers <joseph@codesourcery.com>
40466
a90f3bcb
JM
40467 * sysdeps/unix/common/lxstat.c: Remove file.
40468 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40469
edc7ea78
JM
40470 * sysdeps/unix/sysv/Makefile: Remove file.
40471
cb78c221
JM
40472 * sysdeps/unix/sysv/direct.h: Remove file.
40473
efa6a45f
JM
40474 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40475 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40476 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40477 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40478 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40479 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40480 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40481
9c9f2d0c
JM
40482 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40483
4541c83b
JM
40484 * sysdeps/unix/xmknod.c: Remove file.
40485 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40486
f5d153a0
JM
40487 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40488
aa746595
JM
40489 * sysdeps/unix/sysv/i386/time.S: Remove file.
40490
cce5905e
JM
40491 * sysdeps/unix/fxstat.c: Remove file.
40492 * sysdeps/unix/xstat.c: Likewise.
40493 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40494
37fa3841
JM
40495 * sysdeps/unix/sysv/sigaction.c: Remove file.
40496
ff1962a3
JM
40497 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40498 (sysdep_headers): Remove variable.
40499 [termio.h not in sysdep_headers] (generated): Likewise.
40500 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40501 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40502 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40503 * sysdeps/unix/sysv/tcflow.c: Likewise.
40504 * sysdeps/unix/sysv/tcflush.c: Likewise.
40505 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40506 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40507 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40508 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40509 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40510
e7740d31
JM
40511 * sysdeps/unix/siglist.c: Remove file.
40512
ee06f18b
JM
40513 * sysdeps/unix/getppid.S: Remove file.
40514
097d59fa
JM
40515 * sysdeps/unix/mkdir.c: Remove file.
40516 * sysdeps/unix/rmdir.c: Likewise.
40517
ff3d51ec
AS
405182012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40519
40520 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40521 ERR_MAX value.
40522 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40523 errlist-compat value.
40524
50f81fd7
DM
405252012-04-18 David S. Miller <davem@davemloft.net>
40526
40527 * sysdeps/generic/memcopy.h (reg_char): Delete.
40528 * debug/strcat_chk.c: Use char, not reg_char.
40529 * debug/strcpy_chk.c: Likewise.
40530 * debug/strncat_chk.c: Likewise.
40531 * debug/strncpy_chk.c: Likewise.
40532 * string/memchr.c: Likewise.
40533 * string/memrchr.c: Likewise.
40534 * string/rawmemchr.c: Likewise.
40535 * string/strcat.c: Likewise.
40536 * string/strchr.c: Likewise.
40537 * string/strchrnul.c: Likewise.
40538 * string/strcmp.c: Likewise.
40539 * string/strcpy.c: Likewise.
40540 * string/strncat.c: Likewise.
40541 * string/strncmp.c: Likewise.
40542 * string/strncpy.c: Likewise.
40543
8ff41c46
WS
405442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40545
40546 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40547 __builtin_memcopy is called when src and dest ranges are known to not
40548 overlap.
40549
6b652f46
WS
405502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40551
40552 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40553 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40554 fwd_align_merge macro call.
40555 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40556 bwd_align_merge macro call.
40557 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40558
b282631e
WS
405592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40560
40561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40562 bwd_align_merge macros.
40563 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40564 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40566
95aa737c
DM
405672012-04-18 David S. Miller <davem@davemloft.net>
40568
40569 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40570
7a99a614
AJ
405712012-04-18 Andreas Jaeger <aj@suse.de>
40572
40573 [BZ# 6794]
40574 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40575 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40577
40578 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40579 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40580 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40581
40582 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40583 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40584 Adjust for changed ldbl-128 files.
40585
40586 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40587 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40589
e5270c23
DM
405902012-04-17 David S. Miller <davem@davemloft.net>
40591
40592 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40593
fb5e92c9
AS
405942012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40595
40596 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40597 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40598 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40599 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40600 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40601 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40602
76da7265
AZ
406032012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40604
40605 [BZ #6794]
40606 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40607 * math/libm-test.inc: Add ilogb errno and exception tests.
40608 * math/w_ilogb.c: New file: ilogb wrapper.
40609 * math/w_ilogbf.c: New file: ilogbf wrapper.
40610 * math/w_ilogbl.c: New file: ilogbl wrapper.
40611 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40612 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40613 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40614 exception being thrown with 0.0 as argument.
40615 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40616 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40617 exception being thrown with 0.0 as argument.
40618 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40619 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40620 exception being thrown with 0.0 as argument.
40621 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40622 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40623 exception being thrown with 0.0 as argument.
40624 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40625 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40627 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40628 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40629 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40630 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40631 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40632 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40633
0396e69d
PB
406342012-04-17 Petr Baudis <pasky@ucw.cz>
40635
40636 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40637 with altivec.
40638
750b5926
MP
406392012-04-16 Marek Polacek <polacek@redhat.com>
40640
40641 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40642
751728a1
MP
406432012-04-16 Marek Polacek <polacek@redhat.com>
40644
40645 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40646 operands of fdivp instruction.
40647
34a27407
L
406482012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40649
40650 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40651 * elf/tst-auditmod3b.c: Likewise.
40652 * elf/tst-auditmod4b.c: Likewise.
40653 * elf/tst-auditmod5b.c: Likewise.
40654 * elf/tst-auditmod6b.c: Likewise.
40655 * elf/tst-auditmod6c.c: Likewise.
40656 * elf/tst-auditmod7b.c: Likewise.
40657 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40658 * sysdeps/x86_64/preconfigure.in: Likewise.
40659 * sysdeps/x86_64/preconfigure: Regenerated.
40660
7e73e17d
L
406612012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40662
40663 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40664 __ILP32__.
40665
c7a6ab72
AB
406662012-04-13 Antoine Balestrat <merkil33@gmail.com>
40667
40668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40669 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40670
a9e8e0e0
CL
406712012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40672
40673 [BZ #13973]
40674 * locale/iso-639.def: Fix gl language name. Spotted by
40675 Yaron Shahrabani.
40676
ec98af7d
RM
406772012-04-12 Roland McGrath <roland@hack.frob.com>
40678
40679 [BZ #2074]
40680 * libio/libio.h (__io_write_fn): Update comment.
40681
247c3ede
PB
406822012-04-12 Petr Baudis <pasky@ucw.cz>
40683
40684 [BZ #2074]
40685 * stdio.texi (Hook Functions): The user provided writer function
40686 is not allowed to return -1.
40687
55939d6d
DM
406882012-04-11 David S. Miller <davem@davemloft.net>
40689
40690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40691
90020f5a
MF
406922012-04-11 Mike Frysinger <vapier@gentoo.org>
40693
40694 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40695 Add a leading slash to rtkaio.
40696
288f9098
JM
406972012-04-11 Jim Meyering <meyering@redhat.com>
40698
90020f5a
MF
40699 [BZ #11959]
40700 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40701 It is not necessarily an error to ignore fwrite's return
40702 value. One can reliably use ferror to test for errors after
40703 the fact.
288f9098 40704
4be2b570
L
407052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40706
40707 * bits/types.h (__snseconds_t): New type.
40708 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40709
40710 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40712 (__SNSECONDS_T_TYPE): Likewise.
40713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40714 (__SNSECONDS_T_TYPE): Likewise.
40715 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40716 (__SNSECONDS_T_TYPE): Likewise.
40717
288f9098 407182012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40719
40720 [BZ #2636]
40721 * manual/time.texi (Processor Time): Return type of times is
40722 elapsed real time since an arbitrary point in the past.
40723 (CPU Time): Move CLK_TCK from here...
40724 (Processor Time): ...to here. Correct description.
40725 * manual/conf.texi (Constants for Sysconf): Correct description of
40726 _SC_CLK_TCK.
40727
d7dd4413
DM
407282012-04-10 David S. Miller <davem@davemloft.net>
40729
40730 [BZ #13967]
40731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40732 where the is a gap between DT_REL(A) and DT_JMPREL.
40733
b46068fc
L
407342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40735
40736 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40737 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40738 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40739
73d65cc3
SP
407402012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40741
40742 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40743 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40744 (dl_main): Handle --inhibit-cache.
40745 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40746 _dl_inhibit_cache.
40747 * elf/dl-load.c (_dl_map_object): Use it.
40748 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40749
bcc8d661
JM
407502012-04-09 Joseph Myers <joseph@codesourcery.com>
40751
8f9a2fae
JM
40752 [BZ #13872]
40753 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40754 (__ieee754_powl): Saturate large exponents rather than testing for
40755 overflow of y*log2(x).
40756 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40757 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40758 exceptions.
40759
bcc8d661
JM
40760 [BZ #11521]
40761 * math/s_ctan.c: Include <float.h>.
40762 (__ctan): Avoid internal overflow or cancellation in calculating
40763 denominator.
40764 * math/s_ctanf.c: Likewise.
40765 * math/s_ctanl.c: Likewise.
40766 * math/s_ctanh.c: Likewise.
40767 * math/s_ctanhf.c: Likewise.
40768 * math/s_ctanhl.c: Likewise.
40769 * math/libm-test.inc (ctan_test): Add more tests.
40770 (ctanh_test): Likewise.
40771 * sysdeps/i386/fpu/libm-test-ulps: Update.
40772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40773
823fbbb4
AJ
407742012-04-09 Andreas Jaeger <aj@suse.de>
40775
03879793
AJ
40776 [BZ #6894]
40777 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40778 is an optional BSD extension.
40779
823fbbb4
AJ
40780 [BZ #10254]
40781 * manual/stdio.texi (Opening Streams): Document additional fopen
40782 parameters.
40783
8de131cb
RM
407842012-04-09 Roland McGrath <roland@hack.frob.com>
40785
40786 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40787 %eax without telling the compiler.
40788
c0ed9d7d
CD
407892012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40790
40791 [BZ # 13963]
40792 * manual/install.texi: Use sourceware.org.
40793
c483f6b4
JM
407942012-04-09 Joseph Myers <joseph@codesourcery.com>
40795
d7dd9453
JM
40796 [BZ #13873]
40797 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40798 (__ieee754_pow): Generate overflow and underflow using huge*huge
40799 and tiny*tiny rather than just returning constant infinity or zero
40800 for large exponents.
40801 * math/libm-test.inc (pow_test): Require overflow exceptions for
40802 applicable cases of large exponents.
40803
c483f6b4
JM
40804 [BZ #706]
40805 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40806 (__ieee754_pow): Use iterative multiplication algorithm only for
40807 integer exponents with absolute value below 1024. Check for odd
40808 integer exponents when using algorithm for real exponents.
40809 * math/libm-test.inc (pow_test): Add more tests.
40810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40811
d2de7579
JM
408122012-04-08 Joseph Myers <joseph@codesourcery.com>
40813
40814 [BZ #13705]
40815 * math/libm-test.inc (exp_test): Do not allow overflow exception
40816 on underflow test.
40817
f77f1232
AJ
408182012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40819
40820 [BZ #13705]
40821 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40822 instead of __kernel_standard_f.
40823
3884932b
MF
408242012-04-08 Mike Frysinger <vapier@gentoo.org>
40825
40826 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40827 * sysdeps/x86_64/memset_chk.S: Likewise.
40828
54472e9c
AJ
408292012-04-08 Andreas Jaeger <aj@suse.de>
40830
6ab0fbfc
AJ
40831 [BZ #10153]
40832 * manual/startup.texi (Environment Access): Describe return value
40833 for putenv and setenv.
40834
61efba8c
AJ
40835 [BZ #6895]
40836 * manual/filesys.texi (Directory Entries): Add description for
40837 DT_LNK.
40838
95c3f29a
AJ
40839 [BZ #6890]
40840 * manual/filesys.texi (Directory Entries): Clarify that it's file
40841 system not operating system in the description of DT_UNKNOWN.
40842
54472e9c
AJ
40843 [BZ #6578]
40844 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40845
624254b1
SC
408462012-04-08 Stephen Compall <s11@member.fsf.org>
40847
40848 [BZ #6649]
40849 * manual/llio.texi (Opening and Closing Files): Add cross
40850 reference to explain mode argument.
40851
1e4920e0
MF
408522012-04-07 Mike Frysinger <vapier@gentoo.org>
40853
40854 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40855 * sysdeps/x86_64/memset_chk.S: Likewise.
40856
5ed848f3
DM
408572012-04-07 David S. Miller <davem@davemloft.net>
40858
40859 * elf/elf.h (R_SPARC_WDISP10): Define.
40860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40861 R_SPARC_SIZE32.
40862 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40863 R_SPARC_SIZE64 and R_SPARC_H34.
40864
96154cd8
CD
408652012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40866
40867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40868 conditions and remove no longer applicable assertion.
40869
9904dc47
L
408702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40871
40872 * bits/byteswap.h: Include <features.h>.
40873 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40874 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40875
f8887d0a
L
408762012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40877
40878 * bits/byteswap.h (__bswap_16): Removed.
40879 Include <bits/byteswap-16.h> to get __bswap_16.
40880 * sysdeps/i386/bits/byteswap.h: Likewise.
40881 * sysdeps/s390/bits/byteswap.h: Likewise.
40882 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40883 * bits/byteswap-16.h: New file.
40884 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40885 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40886 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40887 * string/Makefile (headers): Add bits/byteswap-16.h.
40888
62470f60
PP
408892012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40890
40891 [BZ #13895]
40892 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40893 extra indirection.
40894 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40895 * nss/tst-nss-static.c: New.
40896
4dad7bab
RM
408972012-04-06 Robert Millan <rmh@gnu.org>
40898
40899 [BZ #6486]
40900 * manual/llio.texi (File Position Primitive): lseek
40901 refers to WHENCE when it really means OFFSET.
40902
e9142a17
AJ
409032012-04-06 Andreas Jaeger <aj@suse.de>
40904
2c040eff
AJ
40905 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40906 strncmp declarations.
40907
e9142a17
AJ
40908 * abilist/libc.abilist: Add __poll and __ppoll.
40909
ff9f1c5f
DM
409102012-04-05 David S. Miller <davem@davemloft.net>
40911
dcd2ae90
DM
40912 * scripts/check-local-headers.sh: Accept a host triplet in the
40913 path matched by the exclude regexp.
40914
993eb054
DM
40915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40916 definition.
40917 * sysdeps/powerpc/powerpc32/dl-machine.h
40918 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40919 * sysdeps/s390/s390-32/dl-machine.h
40920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40921 * sysdeps/sparc/sparc32/dl-machine.h
40922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40923 * sysdeps/sparc/sparc64/dl-machine.h
40924 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40925
ff9f1c5f
DM
40926 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40927 lazy binding.
48e2e132 40928 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40929 undefined symbol errors.
40930
48e2e132 40931 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40932 DT_NEEDED entries.
40933
e80d6f94
MM
409342012-04-05 Michael Matz <matz@suse.de>
40935
40936 [BZ #13592]
40937 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40938
349fa79f
AJ
409392012-04-05 Andreas Jaeger <aj@suse.de>
40940
40941 [BZ #13908]
40942 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40943 comment.
40944
f402708f
KK
409452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40946
40947 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40948 which ROUND is no valid rounding mode.
40949
2ecccfc9
KK
409502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40951
40952 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40953 read again.
40954 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40955
8a53f50f
KK
409562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40957
40958 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40959 an exception using FPU order intentionally.
40960
409612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40962
40963 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40964 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40965 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40966 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40967
d653abb7
SJ
409682012-04-05 Simon Josefsson <simon@josefsson.org>
40969
40970 [BZ #12340]
40971 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40972 EINVAL when BUFLEN is too smal.
40973
c3b1bf7d
TS
409742012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40975
40976 [BZ #13553]
40977 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40978 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40979
b1aa60f3
AJ
409802012-04-03 Andreas Jaeger <aj@suse.de>
40981
c3b1bf7d 40982 [BZ #13938]
67f60a26
AJ
40983 * manual/setjmp.texi (System V contexts): Fix sentence.
40984
b1aa60f3
AJ
40985 [BZ #13926]
40986 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40987 New macro for this case.
40988 [!__GNUC__] (__bswap_64): New inline function for this case.
40989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40990 * bits/byteswap.h: Likewise.
40991 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40992 ull, guard with __GLIBC_HAVE_LONG_LONG.
40993
40994 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40995 __GLIBC_HAVE_LONG_LONG.
40996
40997 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40998 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40999
39c59c35
TMQMF
410002012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41001
41002 [BZ #13691]
41003 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41004 inptr and inend, rather than using last_ch.
41005
135ffda8
DM
410062012-04-02 David S. Miller <davem@davemloft.net>
41007
41008 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41009 * stdio-common/printf-parse.h (read_int): Change return type to
41010 'int', return -1 on INT_MAX overflow.
41011 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41012 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41013 overflows INT_MAX. Check for overflow of in-format-string precision
41014 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41015 SIZE_MAX not INT_MAX for integer overflow test.
41016 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41017 skip the construct in the format string but do not record anything.
41018 * stdio-common/bug22.c: Adjust to test both width/prevision
41019 INT_MAX overflow as well as total length INT_MAX overflow. Check
41020 explicitly for proper errno values.
41021
228c019e
TS
410222012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41023
302cadd3
TS
41024 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41025 CHAR_MAX.
41026 * string/test-strcmp.c [! WIDE]: Likewise.
41027 * time/tst-mktime2.c: Likewise for INT_MAX.
41028 * string/test-string.h: #include <sys/param.h> for MIN.
41029
228c019e
TS
41030 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41031 * sysdeps/i386/init-first.c (init): Likewise.
41032 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41033 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41034 * sysdeps/sh/init-first.c (init): Likewise.
41035
cfa633f5
UD
410362012-04-01 Ulrich Drepper <drepper@gmail.com>
41037
41038 * po/ru.po: Update from translation team.
d1635ef8 41039 * po/vi.po: Likewise.
cfa633f5 41040
6cd0a5ea
SP
410412012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41042
41043 * resolv/nss_dns/dns-host.c: Merge copyright years.
41044
4b43400f
LD
410452012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41046
41047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41048 Optimize memcpy with prefetch if
41049 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41050 src, dst pointers have unequal 16 byte alignments.
41051
48c41d04
SP
410522012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41053
41054 [BZ #13928]
41055 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41056 from a CNAME entry and return the minimum ttl for the query.
41057 (gaih_getanswer_slice): Likewise.
41058
b8dc394d
JL
410592012-03-30 Jeff Law <law@redhat.com>
41060
41061 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41062 due to long keys.
41063 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41064 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41065
2f5a5ed0
JL
41066 * resolv/nss_dns/dns-host.c: Update copyright year.
41067
1d39e359
UD
410682012-03-30 Ulrich Drepper <drepper@gmail.com>
41069
c030f70c 41070 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41071 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41072
1d39e359
UD
41073 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41074 comments for sendmmsg.
41075
410762012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41077
41078 [BZ #13691]
41079 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41080 with only 1 character between 0x0041 and 0x01b0.
41081 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41082 * wcsmbs/tst-mbsnrtowcs.c: New file.
41083
20fde227
DM
410842012-03-29 David S. Miller <davem@davemloft.net>
41085
41086 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41087 small copies by hand.
41088
984a4237
JL
410892012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41090
41091 [BZ #13761]
57f41c40
AS
41092 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41093 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41094 group memberships.
984a4237 41095
18c9d62b
DM
410962012-03-28 David S. Miller <davem@davemloft.net>
41097
88d85d4f
DM
41098 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41099 that branches into memcpy.
41100 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41102 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41103 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41105 bits.
41106 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41107 implementation too.
41108 * sysdeps/sparc/mempcpy.S: New file.
41109
e5aa83e1
DM
41110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41111 the IFUNC routine in the libc case.
41112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41113
88570753
DM
41114 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41115 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41116 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41117 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41118 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41119 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41120 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41121 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41122
249d7567
DM
41123 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41124 loop to 256 bytes instead of 64 bytes and fix test signedness.
41125
18c9d62b
DM
41126 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41127 * sysdeps/sparc/sparc32/Makefile: rather than here...
41128 * sysdeps/sparc/sparc64/Makefile: and here.
41129
05f3d1f6
UD
411302012-03-28 Ulrich Drepper <drepper@gmail.com>
41131
41132 * malloc/mallocbug.c: Avoid warnings about unused variables.
41133
86ae07a8
JL
411342012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41135
41136 [BZ #13760]
41137 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41138 in the right place. Discard and retry query if response is
41139 larger than input buffer size.
41140
41bf21a1
JM
411412012-03-28 Joseph Myers <joseph@codesourcery.com>
41142
d6270972
JM
41143 [BZ #369]
41144 [BZ #2678]
41145 [BZ #3866]
41146 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41147 x for large integer exponent.
41148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41149 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41150 sign of result as needed afterwards.
41151 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41152 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41153 result for underflowing pow the same as for overflow.
41154 (__kernel_standard_l): Handle powl overflow and underflow here
41155 rather than calling __kernel_standard.
41156 * math/libm-test.inc (pow_test): Add more tests.
41157
414fca03 41158 [BZ #3868]
41bf21a1
JM
41159 [BZ #13879]
41160 [BZ #13910]
41161 [BZ #13911]
41162 [BZ #13912]
41163 [BZ #13913]
41164 [BZ #13915]
41165 [BZ #13916]
41166 [BZ #13917]
41167 [BZ #13918]
41168 [BZ #13919]
41169 [BZ #13920]
41170 [BZ #13921]
41171 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41172 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41173 (__kernel_standard_l): New function.
41174 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41175 __kernel_standard.
41176 * math/w_acosl.c (__acosl): Likewise.
41177 * math/w_asinl.c (__asinl): Likewise.
41178 * math/w_atan2l.c (__atan2l): Likewise.
41179 * math/w_atanhl.c (__atanhl): Likewise.
41180 * math/w_coshl.c (__coshl): Likewise.
41181 * math/w_exp10l.c (__exp10l): Likewise.
41182 * math/w_exp2l.c (__exp2l): Likewise.
41183 * math/w_fmodl.c (__fmodl): Likewise.
41184 * math/w_hypotl.c (__hypotl): Likewise.
41185 * math/w_j0l.c (__j0l, __y0l): Likewise.
41186 * math/w_j1l.c (__j1l, __y1l): Likewise.
41187 * math/w_jnl.c (__jnl, __ynl): Likewise.
41188 * math/w_lgammal.c (__lgammal): Likewise.
41189 * math/w_log10l.c (__log10l): Likewise.
41190 * math/w_log2l.c (__log2l): Likewise.
41191 * math/w_logl.c (__logl): Likewise.
41192 * math/w_powl.c (__powl): Likewise.
41193 * math/w_remainderl.c (__remainderl): Likewise.
41194 * math/w_scalbl.c (sysv_scalbl): Likewise.
41195 * math/w_sinhl.c (__sinhl): Likewise.
41196 * math/w_sqrtl.c (__sqrtl): Likewise.
41197 * math/w_tgammal.c (__tgammal): Likewise.
41198 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41199 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41200 * math/libm-test.inc (acos_test): Add more tests.
41201 (acosh_test): Likewise.
41202 (asin_test): Likewise.
41203 (atanh_test): Likewise.
41204 (exp_test): Likewise.
41205 (exp10_test): Likewise.
41206 (exp2_test): Likewise.
41207 (expm1_test): Likewise.
41208 (lgamma_test): Likewise.
41209 (log_test): Likewise.
41210 (log10_test): Likewise.
41211 (log1p_test): Likewise.
41212 (log2_test): Likewise.
41213 (pow_test): Do not allow some spurious overflow exceptions.
41214 (sqrt_test): Add more tests.
41215 (tgamma_test): Likewise.
41216 (y0_test): Likewise.
41217 (y1_test): Likewise.
41218 (yn_test): Likewise.
41219
dd62fda6
AB
412202012-03-27 Anton Blanchard <anton@samba.org>
41221
41222 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41223 MAP_HUGETLB.
41224 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41225 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41226 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41227
1e3cdfda
AJ
412282012-03-27 David S. Miller <davem@davemloft.net>
41229
b855ab85
DM
41230 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41231
1e3cdfda
AJ
41232 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41233 have-as-vis3 check.
41234
412352012-03-27 Andreas Jaeger <aj@suse.de>
41236
41237 * sysdeps/x86_64/elf/configure.in: Moved to ...
41238 * sysdeps/x86_64/configure.in: ... here.
41239 * sysdeps/x86_64/elf/start.S: Moved to ...
41240 * sysdeps/x86_64/start.S: ... here.
41241 * sysdeps/x86_64/elf/configure: Delete.
41242
41243 * sysdeps/x86_64/configure.in: Merge contents from
41244 sysdeps/i386/configure.in (without i686 check).
41245
41246 * sysdeps/i386/elf/Versions: Merge into ...
41247 * sysdeps/i386/Versions: ... this.
41248 * sysdeps/i386/elf/Versions: Delete file.
41249 * sysdeps/i386/elf/start.S: Moved to ...
41250 * sysdeps/i386/start.S: ...here.
41251 * sysdeps/i386/elf/configure.in: Merge into...
41252 * sysdeps/i386/configure.in: ...here.
41253 * sysdeps/i386/elf/configure.in: Delete file.
41254 * sysdeps/i386/elf/configure: Delete file.
41255
41256 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41257 * debug/backtracesyms.c: ... here.
41258 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41259 * debug/backtracesymsfd.c: ... here.
41260 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41261 * sysdeps/generic/ifunc-sel.h: ... here.
41262
41263 * sysdeps/unix/i386/start.c: Delete file.
41264 * sysdeps/unix/sparc/start.c: Delete file.
41265 * sysdeps/unix/start.c: Delete file.
41266
41267 * sysdeps/sh/elf/configure.in: Moved to ...
41268 * sysdeps/sh/configure.in: ... here.
41269 * sysdeps/sh/elf/start.S: Moved to ...
41270 * sysdeps/sh/start.S: ... here.
41271 * sysdeps/sh/elf/configure: Delete file.
41272
41273 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41274 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41275 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41276 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41277 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41278 * sysdeps/powerpc/powerpc64/start.S: here.
41279 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41280 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41281 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41282 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41283 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41284
41285 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41286 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41287 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41288 * sysdeps/powerpc/powerpc32/start.S: ... here.
41289 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41290 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41291 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41292
41293 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41294 * sysdeps/powerpc/ifunc-sel.h: ... here.
41295 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41296 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41297
41298 * sysdeps/sparc/elf/configure.in: Moved to ...
41299 * sysdeps/sparc/configure.in: ... here.
41300 * sysdeps/sparc/elf/configure: Delete file.
41301 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41302 * sysdeps/sparc/sparc32/start.S: ... here.
41303 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41304 * sysdeps/sparc/sparc64/start.S: ... here.
41305 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41306 * sysdeps/sparc/sparc32/Makefile: ... this.
41307 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41308 * sysdeps/sparc/sparc64/Makefile: ... this.
41309
41310 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41311 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41312 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41313 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41314 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41315 * sysdeps/s390/s390-32/setjmp.S: ... here.
41316 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41317 * sysdeps/s390/s390-32/configure.in: ... here.
41318 * sysdeps/s390/s390-32/elf/configure: Delete file.
41319 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41320 * sysdeps/s390/s390-32/start.S: ... here.
41321
41322 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41323 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41324 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41325 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41326 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41327 * sysdeps/s390/s390-64/setjmp.S: ... here.
41328 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41329 * sysdeps/s390/s390-64/configure.in: ... here
41330 * sysdeps/s390/s390-64/elf/configure: Delete file.
41331 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41332 * sysdeps/s390/s390-64/start.S: ... here.
41333 * sysdeps/s390/s390-64/elf/configure: Delete.
41334
41335 * configure.in: Remove support for elf directories in sysdeps.
41336
41337 * configure: Regenerated.
41338 * sysdeps/i386/configure: Regenerated.
41339 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41340 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41341 * sysdeps/s390/s390-32/configure: Regenerated.
41342 * sysdeps/s390/s390-64/configure: Regenerated.
41343 * sysdeps/sh/configure: Regenerated.
41344 * sysdeps/sparc/configure: Regenerated.
41345 * sysdeps/x86_64/configure: Regenerated.
41346
a3f61311
AS
413472012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41348
c876e002
AS
41349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41350
a3f61311
AS
41351 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41352 denormal result into account.
41353
ac4c54f0
RM
413542012-03-25 Roland McGrath <roland@hack.frob.com>
41355
41356 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41357 Reported by Allan McRae <allan@archlinux.org>.
41358
6a9b9c02
JL
413592012-03-23 Jeff Law <law@redhat.com>
41360
41361 * nss/getnssent.c (__nss_getent): Fix typo.
41362
4c42a0c1
DM
413632012-03-23 David S. Miller <davem@davemloft.net>
41364
41365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41366
1532c7ac
L
413672012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41368
41369 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41370 to pad to uint64_t for each field.
41371 (dl_tls_index): Replace unsigned long with uint64_t.
41372
3ff42526
PP
413732012-03-23 Daniel Jacobowitz <dmj@google.com>
41374 Paul Pluzhnikov <ppluzhnikov@google.com>
41375
41376 [BZ #6528]
41377 * grp/Makefile (otherlibs): Don't set it.
41378 * inet/Makefile (otherlibs): Likewise.
41379 * login/Makefile (otherlibs): Likewise.
41380 * nscd/Makefile (otherlibs): Likewise.
41381 * posix/Makefile (otherlibs): Likewise.
41382 * pwd/Makefile (otherlibs): Likewise.
41383 * rt/Makefile (otherlibs): Likewise.
41384 * sunrpc/Makefile (otherlibs): Likewise.
41385 * nss/Makefile (otherlibs): Likewise.
41386 Add libnss_files to routines and static-only-routines.
41387 ($(objpfx)getent): Remove rule.
41388 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41389 static-only-routines.
41390
7c69cd14
JM
413912012-03-22 Joseph Myers <joseph@codesourcery.com>
41392
41393 [BZ #13892]
41394 * math/s_cexp.c: Include <float.h>.
41395 (__cexp): Handle exp result overflowing not necessarily
41396 overflowing both real and imaginary parts of result.
41397 * math/s_cexpf.c: Likewise.
41398 * math/s_cexpl.c: Likewise.
41399 * math/libm-test.inc (cexp_test): Add more tests.
41400 * sysdeps/i386/fpu/libm-test-ulps: Update.
41401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41402
81b035fe
L
414032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41404
41405 * include/link.h (ELFW): New macro.
41406 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41407 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41408
1da7940c
L
414092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41410
41411 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41412 with uint64_t.
41413
b749dbb9
L
414142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41415
41416 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41417 declaration.
41418 (struct La_x32_retval): Likewise.
41419
2ff87f3f
L
414202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41421
41422 * sysdeps/x86_64/preconfigure.in: New file.
41423 * sysdeps/x86_64/preconfigure: New generated file.
41424
c0df8e69
JM
414252012-03-22 Joseph Myers <joseph@codesourcery.com>
41426
48e44791
JM
41427 [BZ #13824]
41428 * math/e_exp2l.c: Include <float.h>.
41429 (__ieee754_exp2l): Handle overflow and underflow cases
41430 separately. Only pass fractional part of argument to
41431 __ieee754_expl.
41432 * math/libm-test.inc (exp2_test): Add more tests.
41433
c0df8e69
JM
41434 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41435 negating x to take absolute value.
41436 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41437 Likewise.
41438 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41439 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41440 Likewise.
41441 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41442 computing low part if x was negated.
41443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41444
c8e43ba7
L
414452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41446
41447 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41448 la_x32_gnu_pltexit.
41449 (pltexit): Cast int_retval to ptrdiff_t.
41450 * elf/tst-auditmod3b.c: Likewise.
41451 * elf/tst-auditmod4b.c: Likewise.
41452 * elf/tst-auditmod5b.c: Likewise.
41453 * elf/tst-auditmod6b.c: Likewise.
41454 * elf/tst-auditmod6c.c: Likewise.
41455 * elf/tst-auditmod7b.c: Likewise.
41456
41457 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41458 and x32_gnu_pltexit.
41459
41460 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41461 __ELF_NATIVE_CLASS.
41462 (La_x32_regs): New macro.
41463 (La_x32_retval): Likewise.
41464 (la_x32_gnu_pltenter): New function prototype.
41465 (la_x32_gnu_pltexit): Likewise.
41466
7998fa78
AS
414672012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41468
dcb33988
AS
41469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41470 exponent.
41471
233fc563
AS
41472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41473
7998fa78
AS
41474 * configure.in (libc_cv_cc_nofma): Check for option to disable
41475 generation of FMA instructions.
41476 * configure: Regenerate.
41477 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41478 * sysdeps/ieee754/dbl-64/Makefile: New file.
41479 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41480 Remove brandred-fma4.
41481 (CFLAGS-brandred-fma4.c): Remove.
41482 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41483 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41484 define.
41485 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41486 define.
41487
8e95c99a
L
414882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41489
41490 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41491 LLONG_MAX != LONG_MAX.
41492 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41493 (_fitoa_word): Likewise.
41494 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41495 LLONG_MAX != LONG_MAX.
41496 * stdio-common/_itowa.h: Include <_itoa.h>.
41497 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41498 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41499 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41500 only if not defined.
41501 (_ITOA_WORD_TYPE): Likewise.
41502 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41503 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41504
6f4db457
DM
415052012-03-21 David S. Miller <davem@davemloft.net>
41506
41507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41508
7785fe5a
L
415092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41510
41511 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41512 of x86_64 when setting libc_cv_slibdir, libdir and
41513 libc_cv_localedir.
41514 * sysdeps/unix/sysv/linux/configure: Regenerated.
41515
4535cd55
JM
415162012-03-21 Joseph Myers <joseph@codesourcery.com>
41517
41518 * manual/lang.texi (Old Varargs): Remove section.
41519 (How Variadic): Update menu.
41520 (va_start): Do not mention varargs.h.
41521
17228132
TS
415222012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41523 Joseph Myers <joseph@codesourcery.com>
41524
41525 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41526 link test.
41527 * configure: Regenerated.
41528
8149f976
TS
415292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41530
05f3d1f6
UD
41531 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41532 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41533 conformtest.pl
8149f976 41534
1a4ac776
JM
415352012-03-21 Joseph Myers <joseph@codesourcery.com>
41536
be22ce65
JM
41537 * NOTES: Remove.
41538 * Makefile (files-for-dist): Remove NOTES.
41539 (NOTES): Remove rule.
41540 * README: Don't refer to NOTES.
41541 * manual/creature.texi: Don't include macros.texi.
41542 * manual/intro.texi (creature.texi): Remove comment referring to
41543 NOTES.
41544
40b601fb
JM
41545 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41546 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41547 * configure: Regenerated.
41548 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41549 LIBC_TRY_CC_OPTION.
41550 (libc_cv_as_i686): Likewise.
41551 (libc_cv_cc_avx): Likewise.
41552 (libc_cv_cc_sse2avx): Likewise.
41553 (libc_cv_cc_fma4): Likewise.
41554 (libc_cv_cc_novzeroupper): Likewise.
41555 * sysdeps/i386/configure: Regenerated.
41556
1a4ac776
JM
41557 [BZ #13883]
41558 * sysdeps/i386/fpu/s_cexp.S: Remove.
41559 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41560 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41561 * math/libm-test.inc (cexp_test): Add more tests.
41562 * sysdeps/i386/fpu/libm-test-ulps: Update.
41563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41564
a458e7fe
AM
415652012-03-21 Allan McRae <allan@archlinux.org>
41566
41567 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41568
0cb7efc5
JM
415692012-03-21 Joseph Myers <joseph@codesourcery.com>
41570
41571 [BZ #13871]
41572 * math/w_exp2.c: Do not include <float.h>.
41573 (o_threshold, u_threshold): Remove.
41574 (__exp2): Calculate result before checking finiteness and calling
41575 __kernel_standard.
41576 * math/w_exp2f.c: Likewise.
41577 * math/w_exp2l.c: Likewise.
41578 * math/libm-test.inc (exp2_test): Require overflow exception for
41579 1e6 input.
2460d3aa
JM
41580
41581 [BZ #3866]
41582 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41583 range of signed 64-bit integers before using fistpll. Remove
41584 checks for whether integers fit in mantissa bits.
41585 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41586 the range of signed 32-bit integers before using fistpl. Remove
41587 checks for whether integers fit in mantissa bits.
41588 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41589 (__ieee754_powl): Test for y outside the range of signed 64-bit
41590 integers before using fistpll. Reduce 64-bit values to 63-bit
41591 ones as needed.
41592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41593 divide-by-zero is raised for zero to large negative powers.
41594 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41595 (__ieee754_powl): Test for y outside the range of signed 64-bit
41596 integers before using fistpll. Reduce 64-bit values to 63-bit
41597 ones as needed.
41598 * math/libm-test.inc (pow_test): Add more tests.
41599
eb96ffb0
L
416002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41601
41602 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41603 <stdio-common/_itoa.h>.
41604 * debug/segfault.c: Likewise.
41605 * elf/dl-cache.c: Likewise.
41606 * elf/dl-minimal.c: Likewise.
41607 * elf/dl-misc.c: Likewise.
41608 * elf/dl-sysdep.c: Likewise.
41609 * elf/dl-version.c: Likewise.
41610 * elf/rtld.c: Likewise.
41611 * hurd/hurdsock.c: Likewise.
41612 * hurd/lookup-retry.c: Likewise.
41613 * malloc/malloc.c: Likewise.
41614 * malloc/mtrace.c: Likewise.
41615 * nscd/nscd_getgr_r.c: Likewise.
41616 * nscd/nscd_getpw_r.c: Likewise.
41617 * nscd/nscd_getserv_r.c: Likewise.
41618 * posix/getopt_init.c: Likewise.
41619 * posix/wordexp.c: Likewise.
41620 * stdio-common/_itoa.c: Likewise.
41621 * stdio-common/printf_fphex.c: Likewise.
41622 * stdio-common/vfprintf.c: Likewise.
41623 * string/_strerror.c: Likewise.
41624 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41625 * sysdeps/i386/i686/hp-timing.h: Likewise.
41626 * sysdeps/mach/_strerror.c: Likewise.
41627 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41628 * sysdeps/mach/hurd/sethostid.c: Likewise.
41629 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41630 * sysdeps/mach/xpg-strerror.c: Likewise.
41631 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41632 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41633 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41634 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41635 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41636 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41637 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41638 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41639 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41640 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41641 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41642 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41643 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41644 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41645 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41646 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41647 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41648 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41649 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41650 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41651 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41652
41653 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41654
41655 * stdio-common/_itoa.h: Moved to ...
41656 * sysdeps/generic/_itoa.h: Here.
41657
41658 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41659
41660 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41661 instead of "_itoa.h" and "_itowa.h".
41662 * stdio-common/vfprintf.: Likewise.
41663
d1af992d
L
416642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41665
41666 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41667 <bits/wordsize.h>.
41668 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41669 (__signbit): Likwise.
41670 (llrintf): Likwise.
41671 (llrint): Likwise.
41672
114883e0
L
416732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41676 __WORDSIZE != 64.
41677
c135cc1b
JM
416782012-03-20 Joseph Myers <joseph@codesourcery.com>
41679
41680 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41681 OVERFLOW_EXCEPTION_OK.
41682 * math/libm-test.inc ("Philosophy"): Update comment about
41683 exception testing.
41684 (OVERFLOW_EXCEPTION): Define.
41685 (OVERFLOW_EXCEPTION_OK): Likewise.
41686 (INVALID_EXCEPTION_OK): Renumber.
41687 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41688 (IGNORE_ZERO_INF_SIGN): Likewise.
41689 (test_exceptions): Handle FE_OVERFLOW.
41690 (exp10_test): Expect overflow exceptions.
41691 (exp2_test): Likewise.
41692 (expm1_test): Likewise.
41693 (nextafter_test): Likewise.
41694 (pow_test): Likewise.
41695 (scalbn_test): Likewise.
41696 (scalbln_test): Likewise.
41697
95443d88
L
416982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41699
41700 * sysdeps/x86_64/bits/atomic.h
41701 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41702 64bit integer.
41703 (atomic_exchange_acq): Likewise.
41704 (__arch_exchange_and_add_body): Likewise.
41705 (__arch_add_body): Likewise.
41706 (atomic_add_negative): Likewise.
41707 (atomic_add_zero): Likewise.
41708
490df6c4
L
417092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41710
c2722551 41711 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41712 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41713
5e52b189
L
417142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41715
41716 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41717 Check __x86_64__ instead of __WORDSIZE.
41718
a9879d4c
L
417192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41720
41721 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41722
5df98260
DM
417232012-03-19 David S. Miller <davem@davemloft.net>
41724
e1497744
DM
41725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41726
5df98260
DM
41727 * sysdeps/sparc/fpu/fenv_private.h: New file.
41728 * sysdeps/sparc/fpu/math_private.h: Use it.
41729 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41730 Remove.
57f41c40 41731 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41732 (libc_feholdexcept_setroundl): Remove.
41733 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41734 Remove.
41735 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41736 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41737
b4c35121
L
417382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41739
41740 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41741 int64_t instead of long int.
41742 (INSERT_WORDS64): Likwise.
41743
56965fd7
L
417442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41745
41746 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41747 _Unwind_GetCFA return to _Unwind_Ptr first.
41748
83d1aec8
JM
417492012-03-19 Joseph Myers <joseph@codesourcery.com>
41750
1897ad44
JM
41751 [BZ #13629]
41752 * math/s_clog.c: Include <float.h>.
41753 (__clog): Scale large or subnormal inputs.
41754 * math/s_clogf.c: Likewise.
41755 * math/s_clogl.c: Likewise.
41756 * math/s_clog10.c: Include <float.h>.
41757 (M_LOG10_2): Define.
41758 (__clog10): Scale large or subnormal inputs.
41759 * math/s_clog10f.c: Likewise.
41760 * math/s_clog10l.c: Likewise.
41761 * math/libm-test.inc (clog_test): Add more tests.
41762 (clog10_test): Likewise.
41763 * sysdeps/i386/fpu/libm-test-ulps: Update.
41764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41765
7726d6a9
JM
41766 [BZ #11451]
41767 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41768 x and y.
41769 * math/libm-test.inc (atan2_test): Add another test.
41770
83d1aec8
JM
41771 * Makerules (common-objdir-compile): Remove.
41772 * sysdeps/unix/Makefile (config-generated): Do not add
41773 $(unix-generated) to variable.
41774 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41775 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41776 Remove rule.
41777 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41778 Likewise.
41779 [generic bits/local_lim.h] (before-compile): Do not append to
41780 variable.
41781 [generic bits/local_lim.h] (common-generated): Likewise.
41782 [generic sys/param.h] (before-compile): Do not append to variable.
41783 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41784 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41785 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41786 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41787 include.
41788 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41789 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41790 [generic sys/param.h] ($(addprefix
41791 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41792 [generic sys/param.h] (common-generated): Do not append to
41793 variable.
41794 [generic sys/param.h] (sysdep_headers): Likewise.
41795 [generic bits/errno.h] (before-compile): Do not append to
41796 variable.
41797 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41798 rule.
41799 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41800 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41801 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41802 [generic bits/errno.h] (common-generated): Do not append to
41803 variable.
41804 [generic bits/ioctls.h] (before-compile): Do not append to
41805 variable.
41806 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41807 rule.
41808 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41809 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41810 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41811 rule.
41812 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41813 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41814 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41815 [generic bits/ioctls.h] (common-generated): Do not append to
41816 variable.
41817 [generic sys/syscall.h] (syscall.h): Remove variable.
41818 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41819 rule.
41820 [generic sys/syscall.h] (before-compile): Do not append to
41821 variable.
41822 [generic sys/syscall.h] (common-generated): Likewise.
41823 * sysdeps/unix/errnos-tmpl.c: Remove file.
41824 * sysdeps/unix/errnos.awk: Likewise.
41825 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41826 * sysdeps/unix/ioctls.awk: Likewise.
41827 * sysdeps/unix/mk-local_lim.c: Likewise.
41828 * sysdeps/unix/snarf-ioctls: Likewise.
41829
4851a949
RH
418302012-03-19 Richard Henderson <rth@twiddle.net>
41831
bd37f2ee
RH
41832 * sysdeps/i386/fpu/fenv_private.h: New file.
41833 * sysdeps/i386/fpu/math_private.h: Use it.
41834 (math_opt_barrier, math_force_eval): Remove.
41835 (libc_feholdexcept_setround_53bit): Remove.
41836 (libc_feupdateenv_53bit): Remove.
41837 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41838 (math_opt_barrier, math_force_eval): Remove.
41839 (libc_feholdexcept): Remove.
41840 (libc_feholdexcept_setround): Remove.
41841 (libc_fetestexcept, libc_fesetenv): Remove.
41842 (libc_feupdateenv_test): Remove.
41843 (libc_feupdateenv, libc_feholdsetround): Remove.
41844 (libc_feresetround): Remove.
41845
d0adc922
RH
41846 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41847 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41848
0fe0f1f8
RH
41849 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41850 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41851 (libc_feupdateenv_testl): New.
41852 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41853 (libc_feupdateenv_testf): New.
41854 (libc_feupdateenv): Use libc_feupdateenv_test.
41855 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41856 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41857
eb92c487
RH
41858 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41859 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41860 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41861 (libc_feresetround_noex): New.
41862 (libc_feresetround_noexf): New.
41863 (libc_feresetround_noexl): New.
41864 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41865 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41866 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41867 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41868 SET_RESTORE_ROUND.
41869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41871 (__cos): Likewise.
41872 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41873 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41874 SET_RESTORE_ROUND_NOEX.
41875 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41876 SET_RESTORE_ROUND_NOEXF.
41877 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41878 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41879 (libc_feholdsetroundf): New.
41880 (libc_feresetround, libc_feresetroundf): New.
41881
7d2e8012
RH
41882 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41883 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41884 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41885
b4dabbb4
RH
41886 * sysdeps/generic/math_private.h: Include <fenv.h>.
41887 (default_libc_feholdexcept): New.
41888 (default_libc_feholdexcept_setround): New.
41889 (default_libc_fesetenv, default_libc_feupdateenv): New.
41890 (libc_feholdexcept): Only define if undefined.
41891 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41892 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41893 (libc_feholdexcept_setroundl): Likewise.
41894 (libc_feholdexcept_setround_53bit): Likewise.
41895 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41896 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41897 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41898 (libc_feupdateenv_53bit): Likewise.
41899 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41900 (libc_feholdexcept): Convert from macro to inline function.
41901 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41902 (libc_fesetenv, libc_feupdateenv): Likewise.
41903
4851a949
RH
41904 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41905 not previously defined.
41906 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41907 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41908 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41909 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41910 * sysdeps/ieee754/flt-32/math_private.h: New file.
41911 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41912 math_private.h below SET_FLOAT_WORD.
41913 (__isnan, __isinf_ns, __finite): Remove.
41914 (__isnanf, __isinf_nsf, __finitef): Remove.
41915
e79d442e
AS
419162012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41917
41918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41919
90b80344
DM
419202012-03-17 David S. Miller <davem@davemloft.net>
41921
41922 [BZ #6471]
41923 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41924 for 2.16.
41925
edc21804
DM
419262012-03-16 David S. Miller <davem@davemloft.net>
41927
77e927af
DM
41928 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41929 warnings.
41930
374976dd
DM
41931 [BZ #6471]
41932 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41933 properly.
41934 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41935 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41936 sysdep_routines when subdir is sysvipc.
41937 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41938 __getshmlba helper.
41939
edc21804
DM
41940 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41941
473c3ef3
L
419422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41943
41944 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41945 [__LP64__].
41946
eb0f39b6
L
419472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41948
41949 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41950 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41951 (__lround): Renamed to ...
41952 (__llround): This. Replace long int with long long int.
41953 Define lround functions as aliases of llround functions.
41954 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41955
6b6cd74b
L
419562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41957
41958 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41959 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41960 adresses to uintptr_t. Replace "long int" and "unsigned long
41961 int" with "greg_t" on va_arg.
41962
f1a77b01
L
419632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41964
41965 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41966 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41967
41968 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41969 Move e_machine check before EI_CLASS check. Handle x32
41970 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41971 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41972 SKIP_EM_IA_64 and include
41973 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41974
41975 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41976 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41977 (add_system_dir): New macro.
41978
41979 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41980 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41981
11b90b9f
JM
419822012-03-16 Joseph Myers <joseph@codesourcery.com>
41983
c36e1d23
JM
41984 [BZ #2551]
41985 [BZ #2552]
41986 [BZ #2553]
41987 [BZ #2554]
41988 [BZ #2562]
41989 [BZ #2563]
41990 [BZ #2565]
41991 [BZ #2566]
41992 [BZ #2576]
41993 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41994 (y0): Likewise.
41995 * math/w_j0f.c (j0f): Likewise.
41996 (y0f): Likewise.
41997 * math/w_j0l.c (__j0l): Likewise.
41998 (__y0l): Likewise.
41999 * math/w_j1.c (j1): Likewise.
42000 (y1): Likewise.
42001 * math/w_j1f.c (j1f): Likewise.
42002 (y1f): Likewise.
42003 * math/w_j1l.c (__j1l): Likewise.
42004 (__y1l): Likewise.
42005 * math/w_jn.c (jn): Likewise.
42006 (yn): Likewise.
42007 * math/w_jnf.c (jnf): Likewise.
42008 (ynf): Likewise.
42009 * math/w_jnl.c (__jnl): Likewise.
42010 (__ynl): Likewise.
42011 * math/libm-test.inc (j0_test): Add more tests.
42012 (j1_test): Likewise.
42013 (jn_test): Likewise. Add trailing semicolon to existing test.
42014 (y0_test): Likewise.
42015 (y1_test): Likewise.
42016 * sysdeps/i386/fpu/libm-test-ulps: Update.
42017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42018
11b90b9f
JM
42019 [BZ #13851]
42020 [BZ #13854]
42021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42022 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42023 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42024 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42025 (__tanl): Set errno for infinite argument.
42026 * sysdeps/i386/fpu/mptan.c: Remove.
42027 * sysdeps/i386/fpu/s_tan.S: Likewise.
42028 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42029 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42030 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42031 * math/libm-test.inc (tan_test): Add more tests and enable more
42032 tests for double and long double.
42033 * sysdeps/i386/fpu/libm-test-ulps: Update.
42034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42035
6a1bd2a1
JK
420362012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42037
42038 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42039 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42040
10a803e0
RM
420412012-03-16 Roland McGrath <roland@hack.frob.com>
42042
42043 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42044 * configure.in: Use it for both main tree and add-ons.
42045 * configure: Regenerated.
42046
f196c7f7
L
420472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42048
42049 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42050
8848d99d
JM
420512012-03-16 Joseph Myers <joseph@codesourcery.com>
42052
96cbe7f4
JM
42053 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42054 in comment.
42055
8848d99d
JM
42056 [BZ #13851]
42057 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42058 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42059 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42060 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42061 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42062 infinite argument.
42063 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42065 != 0 for prec == 2.
42066 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42067 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42068 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42069 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42070 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42071 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42072 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42073 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42074 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42075 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42076 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42077 * math/libm-test.inc (cos_test): Add more tests and enable more
42078 tests for long double.
42079 (sin_test): Likewise.
42080 (sincos_test): Likewise.
42081 * sysdeps/i386/fpu/libm-test-ulps: Update.
42082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42083
dd7f4703
DM
420842012-03-16 David S. Miller <davem@davemloft.net>
42085
42086 * sysdeps/sparc/fpu/math_private.h: New file.
42087
006f1daa
DM
420882012-03-15 David S. Miller <davem@davemloft.net>
42089
c0c83bc8
DM
42090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42091 file.
e6a62e18 42092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42094 file.
e6a62e18
DM
42095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42100 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42101 sysdep routines.
42102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42103
88cb87d9
DM
42104 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42105 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42106
006f1daa 42107 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42109 sparc-ifunc.h
006f1daa 42110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42112 Likewise.
42113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42114 Likewise.
006f1daa
DM
42115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42119 Likewise.
006f1daa
DM
42120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42125 Likewise.
42126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42127 Likewise.
006f1daa
DM
42128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42140 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42146 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42147 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42148 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42149 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42152
11e0098e
AS
421532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42154
42155 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42156 scaling.
42157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42158
e85b09d0
AJ
421592012-03-15 Andreas Jaeger <aj@suse.de>
42160
42161 [BZ #13852]
42162 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42163 ieee754/flt-32 implementation for sin, cos and sincos.
42164 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42165 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42166 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42167 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42168 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42169 ieee754/flt-32 implementation for tan.
42170
42171 * math/libm-test.inc (cos_test): Enable some large input tests for
42172 float as well
42173 (sin_test): Likewise.
42174 (sincos_test): Likewise.
42175 (tan_test): Add tests for large input.
42176
42177 * sysdeps/i386/fpu/libm-test-ulps: Update.
42178
81c64153
AJ
421792012-03-15 Andreas Jaeger <aj@suse.de>
42180
42181 [BZ #13658]
42182 * math/libm-test.inc (cos_test): Add more test cases.
42183 (sin_test): Likewise.
42184 (sincos_test): Likewise.
42185
7bbfa5c6
AJ
421862012-03-15 Andreas Jaeger <aj@suse.de>
42187
42188 [BZ #13837]
42189 * math/libm-test.inc (cos_test): Add a test case for large input
42190 value.
42191 (sin_test): Likewise.
42192 (sincos_test): Likewise.
42193
57f41c40
AS
421942012-03-15 Andreas Jaeger <aj@suse.de>
42195 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42196
42197 [BZ #13658]
0671f479 42198 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42199 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42200 * sysdeps/i386/fpu/branred.c: Likewise.
42201 * sysdeps/i386/fpu/dosincos.c: Likewise.
42202 * sysdeps/i386/fpu/mpa.c: Likewise.
42203 * sysdeps/i386/fpu/s_cos.S: Likewise.
42204 * sysdeps/i386/fpu/s_sin.S: Likewise.
42205 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42206 * sysdeps/i386/fpu/sincos32.c: Likewise.
42207
42208 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42209 Define.
42210 (libc_feupdateenv_53bit): Define.
42211 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42212 Define.
42213 (libc_feupdateenv_53bit): Define.
42214
42215 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42216 53 bit (without extend i386 double precision).
42217
42218 * math/libm-test.inc (sincos_test): Add tests for large input.
42219 (sin): Likewise.
42220 (cos): Likewise.
42221
42222 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42223
9cad04ea
AS
422242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42225
42226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42227
f7062b9a
DM
422282012-03-15 David S. Miller <davem@davemloft.net>
42229
42230 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42231 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42232 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42233 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42246 file.
f7062b9a 42247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42249 file.
f7062b9a 42250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42252 file.
f7062b9a 42253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42255 file.
f7062b9a
DM
42256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42258 fmin/fmax sysdep routines.
42259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42260
7bd951ff
DM
422612012-03-14 David S. Miller <davem@davemloft.net>
42262
559398ab
DM
42263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42265 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42269 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42285 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42289 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42292 routines.
42293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42294 file.
559398ab 42295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42297 file.
559398ab 42298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42300 file.
559398ab 42301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42303 file.
559398ab 42304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42306 file.
559398ab 42307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42309 file.
42310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42311 file.
42312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42313 file.
42314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42315 file.
42316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42317 New file.
42318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42319 file.
42320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42321 file.
559398ab 42322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42324 file.
559398ab 42325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42327 file.
559398ab 42328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42330 file.
559398ab 42331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42333 VIS3 routines.
559398ab
DM
42334
42335 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42336 New file.
42337
5a1c1e32
DM
42338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42339
eae47a36
DM
42340 * sysdeps/sparc/configure.in: New file.
42341 * sysdeps/sparc/configure: Generate.
42342 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42343 * configure: Regenerate.
42344 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42345 * config.make.in (have-as-vis3): New.
42346 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42347 available use -Av9d instead of -Av9a.
42348 * sysdeps/sparc/sparc64/Makefile: Likewise.
42349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42351 New file.
42352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42353 file.
42354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42355 New file.
42356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42357 file.
eae47a36
DM
42358 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42363
c0c83bc8
DM
42364 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42365 fzeros/fnegs to load 0x80000000 into a float register instead of
42366 using the stack.
7bd951ff
DM
42367 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42368
bd951ccb
JM
423692012-03-14 Joseph Myers <joseph@codesourcery.com>
42370
42371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42372 bits/syscall.h.
42373 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42374 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42375 ($(inst_includedir)/bits/syscall.h): Remove rule.
42376 ($(objpfx)bits/syscall.d): Include instead of
42377 $(objpfx)syscall-list.d.
42378 (generated): Change syscall-list.h and syscall-list.d to
42379 bits/syscall.h and bits/syscall.d.
42380
bb4e6db2
RM
423812012-03-14 Roland McGrath <roland@hack.frob.com>
42382
42383 [BZ #13846]
42384 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42385
aa4a2ae1
JM
423862012-03-14 Joseph Myers <joseph@codesourcery.com>
42387
e456826d
JM
42388 [BZ #13841]
42389 * math/s_csqrt.c: Include <float.h>.
42390 (__csqrt): Scale large or subnormal inputs.
42391 * math/s_csqrtf.c: Likewise.
42392 * math/s_csqrtl.c: Likewise.
42393 * math/libm-test.inc (csqrt_test): Add more tests.
42394 * sysdeps/i386/fpu/libm-test-ulps: Update.
42395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42396
aa4a2ae1
JM
42397 [BZ #13840]
42398 * math/libm-test.inc (hypot_test): Add more tests.
42399
7c10fd35
DM
424002012-03-13 David S. Miller <davem@davemloft.net>
42401
42402 [BZ #13840]
42403 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42404 double-precision for the calculation instead of scaling.
42405
f453b98b
JM
424062012-03-13 Joseph Myers <joseph@codesourcery.com>
42407
42408 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42409 manipulate bits before adding and subtracting TWO52[sx].
42410 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42411 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42412 Likewise.
42413 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42414
09a3453f
DM
424152012-03-13 David S. Miller <davem@davemloft.net>
42416
8e59da90
DM
42417 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42418 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42420 rtld-global-offsets.h
42421 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42422
2a8ab7f2
DM
42423 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42424 large parameters.
42425
10f62770
DM
42426 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42427
5f0bdb18
DM
42428 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42429 'err' in the ifdef scope in which it is actually used.
42430
09a3453f
DM
42431 * nss/nss_db/db-init.c: Include string.h
42432
b4b2eb5e
DM
424332012-03-12 David S. Miller <davem@davemloft.net>
42434
98bb2f1c
DM
42435 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42436 masking out of the most significant byte of random value used.
42437 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42438 Fix coding style in previous change.
42439
b4b2eb5e
DM
42440 * sysdeps/unix/sysv/linux/kernel-features.h
42441 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42442 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42443 expression.
42444 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42445 later.
42446
6e226b09
DM
424472012-03-11 David S. Miller <davem@davemloft.net>
42448
a1bcbd40
DM
42449 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42450 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42451 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42452 for 'resultvar' otherwise things get truncated on 64-bit.
42453
cb9d6174
DM
42454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42455 Fix masking out of the most significant byte of random value used.
42456
6e226b09
DM
42457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42458
058c132d
AS
424592012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42460
42461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42462
2d2cd515
DM
424632012-03-09 David S. Miller <davem@davemloft.net>
42464
42465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42466 variables with appropriate CPP guards.
57f41c40
AS
42467 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42468 from the frame pointer, not the stack pointer. Correct layout
42469 comments. Fix test on resulting framesize and the management of
42470 the outregs buffer for pltexit. Preserve floating point return
42471 values across _dl_call_pltexit call.
2d2cd515
DM
42472 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42473 framesize and the management of the outregs buffer for pltexit.
42474 Preserve floating point return values across _dl_call_pltexit
42475 call.
57f41c40
AS
42476 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42477 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42478 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42479 (print_exit): Fix format string for return register value.
42480
9a07f9d0
JM
424812012-03-10 Joseph Myers <joseph@codesourcery.com>
42482
42483 * sunrpc/Makefile (others): Add rpcgen.
42484 ($(objpfx)rpcgen): Remove special build rule and dependency on
42485 libc.
42486 * sunrpc/rpcgen.c: New file.
42487
547b5e30
PE
424882012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42489
c524201a
PE
42490 [BZ #13673]
42491 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42492 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42493 * sysdeps/i386/crti.S: Likewise.
42494 * sysdeps/i386/crtn.S: Likewise.
42495 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42496 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42497 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42498 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42499 * sysdeps/sh/crti.S: Likewise.
42500 * sysdeps/sh/crtn.S: Likewise.
42501 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42502
7b6235f2
PE
42503 [BZ #13673]
42504 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42505 with URL.
42506 * locale/programs/locfile-kw.gperf: Likewise.
42507 * locale/programs/charmap-kw.h: Regenerated.
42508 * locale/programs/locfile-kw.h: Likewise.
42509
547b5e30
PE
42510 [BZ #13673]
42511 * intl/plural.y: Replace FSF snail mail address with URL.
42512 * intl/plural.c: Regenerated.
42513
5f0a5dae
RH
425142012-03-09 Richard Henderson <rth@twiddle.net>
42515
42516 * include/math_private.h: Remove file.
42517 * math/math_private.h: Move file ...
42518 * sysdeps/generic/math_private.h: ... here.
42519
b8c03620
RH
42520 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42521 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42522 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42523
4e234f5d 42524 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42525 and <math_private.h>.
42526 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42527 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42528 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42529 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42530 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42531 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42532 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42534 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42535 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42536 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42537 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42538 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42544 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42545 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42546 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42547 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42548 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42550 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42551 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42552 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42556 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42558 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42559 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42560 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42561 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42562 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42563 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42564 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42565 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42566 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42567 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42568 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42572 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42577 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42578 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42579 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42580 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42582 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42583 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42584 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42585 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42587 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42588 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42589 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42614 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42615 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42616 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42617 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42618 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42619 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42620 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42621 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42623 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42625 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42626 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42627 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42628 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42629 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42630 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42631 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42632 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42633 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42634 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42635 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42636 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42637 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42638 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42639 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42640 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42641 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42642 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42643 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42644 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42645 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42646 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42647 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42648 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42649 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42650 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42651 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42652 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42653 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42654 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42655 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42656 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42657 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42658 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42659 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42660 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42661 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42662 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42663 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42664 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42665 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42666 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42667 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42668 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42669 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42670 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42671 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42672 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42673 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42674 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42675 * sysdeps/ieee754/k_standard.c: Likewise.
42676 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42677 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42678 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42679 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42680 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42681 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42682 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42683 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42684 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42685 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42686 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42687 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42688 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42689 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42690 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42691 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42692 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42693 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42694 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42695 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42696 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42697 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42698 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42699 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42700 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42701 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42702 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42703 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42704 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42705 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42706 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42707 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42708 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42709 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42710 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42713 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42714 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42715 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42716 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42717 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42718 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42719 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42720 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42721 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42722 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42724 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42725 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42726 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42727 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42728 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42729 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42791 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42795 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42796 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42797 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42798 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42803 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42804 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42807 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42808 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42810 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42814 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42818 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42825 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42826 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42828 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42829 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42830 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42831 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42832 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42833 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42834 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42835 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42836 * sysdeps/ieee754/s_lib_version.c: Likewise.
42837 * sysdeps/ieee754/s_matherr.c: Likewise.
42838 * sysdeps/ieee754/s_signgam.c: Likewise.
42839 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42841 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42842 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42843 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42844 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42845 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42846 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42847 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42848 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42849 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42850 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42851 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42852 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42853 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42854 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42855 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42856 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42857 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42858 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42859 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42860
1991fa03
JM
428612012-03-09 Joseph Myers <joseph@codesourcery.com>
42862
42863 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42864 * sunrpc/rpc_main.c: Likewise.
42865 * sunrpc/rpc_svcout.c: Likewise.
42866
60d6f5a6
DM
428672012-03-09 David S. Miller <davem@davemloft.net>
42868
42869 * include/math_private.h: New file.
42870
4962050e
JM
428712012-03-09 Joseph Myers <joseph@codesourcery.com>
42872
02a6f887
JM
42873 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42874 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42875 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42876 from <bits/socket_type.h>.
42877 (enum __socket_type): Don't define here.
42878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42879 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42880 bits/socket_type.h.
42881
c6e013c1
JM
42882 [BZ #13566]
42883 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42884 checking __USE_GNU.
42885
4962050e
JM
42886 * Makerules ($(inst_includedir)/%.h): New rule.
42887 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42888 (install-others): Remove variable setting.
42889 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42890
38842f45
RH
428912012-03-08 Richard Henderson <rth@twiddle.net>
42892
67bb6da6
RH
42893 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42894 from macro to inline function; merge with the
42895 !__LIBC_INTERNAL_MATH_INLINES version.
42896 (__ieee754_sqrtf): Likewise.
42897
15194b4b
RH
42898 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42899 to inline function.
42900 (__rintf, __floor, __floorf): Likewise.
42901
64e21ede
RH
42902 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42903 macro to inline function.
42904 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42905
38842f45
RH
42906 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42907 not <math/math_private.h>.
42908
c64bf5fe
DM
429092012-03-08 David S. Miller <davem@davemloft.net>
42910
42911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42912 copyright year.
42913 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42914
82d86f28
TS
429152012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42916
42917 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42918 normalization.
42919 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42920 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42921
aea5d727
UD
429222012-03-08 Ulrich Drepper <drepper@gmail.com>
42923
42924 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42925 be defined individually, they must be defined as a block. Define
42926 S for printing a string instead of hidint the different by using a
42927 macro for adding the 'l'.
42928 * stdio-common/tst-fphex-wide.c: Adjust.
42929
70bca0a3
MP
429302012-03-07 Marek Polacek <polacek@redhat.com>
42931
42932 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42933
65b81130
MP
429342012-03-08 Marek Polacek <polacek@redhat.com>
42935
42936 [BZ #13806]
42937 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42938 * stdio-common/tst-fphex.c: Define a few macros to make the
42939 test reusable. Use them.
42940 * stdio-common/tst-fphex-wide.c: New file.
42941
07037eeb
JM
429422012-03-08 Joseph Myers <joseph@codesourcery.com>
42943
a7a93d50
JM
42944 [BZ #6911]
42945 * manual/macros.texi (gnusystems): New macro.
42946 (nongnusystems): Likewise.
42947 (gnulinuxhurdsystems): Likewise.
42948 (gnuhurdsystems): Likewise..
42949 (gnulinuxsystems): Likewise.
42950 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42951 variants of the GNU system, not "GNU system".
42952 * manual/conf.texi: Likewise.
42953 * manual/errno.texi: Likewise. Update example of errno macro
42954 expansion.
42955 * manual/filesys.texi: Likewise.
42956 (getumask): Document as specific to GNU/Hurd.
42957 * manual/install.texi: Likewise. Reword some references to
42958 GNU/Linux.
42959 * manual/intro.texi: Likewise.
42960 * manual/io.texi: Likewise.
42961 (File Name Portability): Detail which constraints are inapplicable
42962 to all GNU systems and which are only inapplicable to GNU/Hurd.
42963 * manual/job.texi: Likewise.
42964 * manual/llio.texi: Likewise.
42965 (O_NOCTTY): Document as present on GNU/Linux.
42966 * manual/maint.texi: Likewise.
42967 * manual/memory.texi: Likewise.
42968 * manual/pattern.texi: Likewise.
42969 * manual/pipe.texi: Likewise.
42970 * manual/process.texi: Likewise.
42971 * manual/resource.texi: Likewise.
42972 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42973 child on GNU/Hurd.
42974 * manual/setjmp.texi: Likewise.
42975 * manual/signal.texi: Likewise.
42976 * manual/startup.texi: Likewise.
42977 * manual/stdio.texi: Likewise.
42978 * manual/terminal.texi: Likewise.
42979 (ONLCR): Document as POSIX.
42980 (OXTABS): Document availability on GNU/Linux as XTABS.
42981 (ONOEOT): Document availability separately from other bits.
42982 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42983 * manual/time.texi: Likewise.
42984 * manual/users.texi: Likewise.
42985 * INSTALL: Regenerated.
42986 * sysdeps/gnu/errlist.c: Regenerated.
42987
07037eeb
JM
42988 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42989 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42990 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42991 puts.
42992 * configure: Regenerated.
42993
d1d3431a
JM
429942012-03-07 Joseph Myers <joseph@codesourcery.com>
42995
af6a1e37
JM
42996 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42997 default includes instead of AC_HEADER_CHECK.
42998 * sysdeps/i386/configure: Regenerated.
42999
d1d3431a
JM
43000 [BZ #10716]
43001 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43002 * math/s_cacoshf.c (__cacoshf): Likewise.
43003 * math/s_cacoshl.c (__cacoshl): Likewise.
43004 * math/s_casinh.c (__casinh): Set signs of result from argument.
43005 * math/s_casinhf.c (__casinhf): Likewise.
43006 * math/s_casinhl.c (__casinhl): Likewise.
43007 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43008 (casinh_test): Add more tests.
43009 * sysdeps/i386/fpu/libm-test-ulps: Update.
43010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43011
482ff4da
UD
430122012-03-07 Ulrich Drepper <drepper@gmail.com>
43013
872fda05
UD
43014 * po/zh_TW.po: Update from translation team.
43015
a4300c7a
UD
43016 * login/Makefile (distribute): Remove variable.
43017 * catgets/Makefile: Likewise.
43018 * mach/Makefile: Likewise.
43019 * malloc/Makefile: Likewise.
43020 * misc/Makefile: Likewise.
43021 * iconv/Makefile: Likewise.
43022 * nscd/Makefile: Likewise.
43023 * hurd/Makefile: Likewise.
43024 * manual/Makefile: Likewise.
43025 * locale/Makefile: Likewise.
43026 * intl/Makefile: Likewise.
43027 * conform/Makefile: Likewise.
43028 * nss/Makefile: Likewise.
43029 * time/Makefile: Likewise.
43030 * soft-fp/Makefile: Likewise.
43031 * dirent/Makefile: Likewise.
43032 * gmon/Makefile: Likewise.
43033 * po/Makefile: Likewise.
43034 * rt/Makefile: Likewise.
43035 * socket/Makefile: Likewise.
43036 * math/Makefile: Likewise.
43037 * signal/Makefile: Likewise.
43038 * debug/Makefile: Likewise.
43039 * elf/Makefile: Likewise.
43040 * timezone/Makefile: Likewise.
43041 * stdlib/Makefile: Likewise.
43042 * iconvdata/Makefile: Likewise.
43043 * sunrpc/Makefile: Likewise.
43044 * io/Makefile: Likewise.
43045 * argp/Makefile: Likewise.
43046 * inet/Makefile: Likewise.
43047 * hesiod/Makefile: Likewise.
43048 * grp/Makefile: Likewise.
43049 * csu/Makefile: Likewise.
43050 * wctype/Makefile: Likewise.
43051 * crypt/Makefile: Likewise.
43052 * libio/Makefile: Likewise.
43053 * string/Makefile: Likewise.
43054 * nis/Makefile: Likewise.
43055 * resolv/Makefile: Likewise.
43056 * stdio-common/Makefile: Likewise.
43057 * wcsmbs/Makefile: Likewise.
43058 * dlfcn/Makefile: Likewise.
43059 * posix/Makefile: Likewise.
43060
3b7c4e74 43061 [BZ #6959]
482ff4da
UD
43062 * timezone/Makefile: Don't install timezone files, just the programs
43063 and scripts.
43064
f72ed77d
UD
430652012-03-06 Ulrich Drepper <drepper@gmail.com>
43066
a000466f
UD
43067 * nss/databases.def: Add missing gshadow entry.
43068
f72ed77d
UD
43069 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43070
a53b7a4e
MP
430712012-03-06 Marek Polacek <polacek@redhat.com>
43072
43073 [BZ #13726]
43074 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43075 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43076 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43077 * stdio-common/tst-long-dbl-fphex.c: New file.
43078
e9258400
DM
430792012-03-06 David S. Miller <davem@davemloft.net>
43080
43081 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43082 (set_obp_int): New function.
43083 (get_obp_int): New function.
43084 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43085 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43086 Avoid unused variable warnings on 'val' and use builtin_expect.
43087 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43088 __builtin_expect.
e9258400
DM
43089 (INLINE_CLONE_SYSCALL): Likewise.
43090
3bd2c723
DM
430912012-03-05 David S. Miller <davem@davemloft.net>
43092
43093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43094
bbb78d03
AS
430952012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43096
884c5db4
AS
43097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43098
bbb78d03
AS
43099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43100 only for |x| >= 40.
43101 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43102
1c9f702a 431032012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43104
43105 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43106 Replace gettimeofday with __vdso_gettimeofday.
43107
7be16f82
RM
43108 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43109 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43110 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43111
43112 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43113 time with __vdso_time.
43114
ed58a00f
JM
431152012-03-05 Joseph Myers <joseph@codesourcery.com>
43116
43117 * manual/lang.texi (size_t): Note types to which size_t may be
43118 equivalent with the GNU C Library, but do not describe when
43119 differences between them are significant.
43120
30ee4ced
AJ
431212012-03-05 Andreas Jaeger <aj@suse.de>
43122
43123 * sysdeps/i386/fpu/libm-test-ulps: Update.
43124
b7cd39e8
JM
431252012-03-05 Joseph Myers <joseph@codesourcery.com>
43126
43127 [BZ #3976]
43128 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43129 (__ieee754_pow): Save and restore rounding mode and use
43130 round-to-nearest for main computations.
43131 * math/libm-test.inc (pow_test_tonearest): New function.
43132 (pow_test_towardzero): Likewise.
43133 (pow_test_downward): Likewise.
43134 (pow_test_upward): Likewise.
43135 (main): Call the new functions.
43136 * sysdeps/i386/fpu/libm-test-ulps: Update.
43137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43138
43139 [BZ #3976]
43140 * math/libm-test.inc (cosh_test_tonearest): New function.
43141 (cosh_test_towardzero): Likewise.
43142 (cosh_test_downward): Likewise.
43143 (cosh_test_upward): Likewise.
43144 (sinh_test_tonearest): Likewise.
43145 (sinh_test_towardzero): Likewise.
43146 (sinh_test_downward): Likewise.
43147 (sinh_test_upward): Likewise.
43148 (main): Call the new functions.
43149 * sysdeps/i386/fpu/libm-test-ulps: Update.
43150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43151
6c6a98c9
TV
431522012-03-05 Tom de Vries <tom@codesourcery.com>
43153
43154 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43155 default stack guard is set in last bytes.
43156 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43157
21bb2d2e 431582012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43159
21bb2d2e 43160 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43161
21bb2d2e
AJ
43162 [BZ #13656]
43163 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43164 possibly allocate from heap instead of stack.
43165 * stdio-common/bug-vfprintf-nargs.c: New file.
43166 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43167
c6922934
AS
431682012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43169
43170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43171
bc957d53
MP
431722012-03-03 Marek Polacek <polacek@redhat.com>
43173
43174 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43175 * math/math_private.h: Likewise.
43176 * stdlib/tst-strtod.c: Likewise.
43177 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43178 * sysdeps/x86_64/bits/atomic.h: Likewise.
43179
6358490d
DM
431802012-03-02 David S. Miller <davem@davemloft.net>
43181
43182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43186 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43187 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43188 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43189 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43190
01ae168d
RM
431912012-03-02 Roland McGrath <roland@hack.frob.com>
43192
d9a17c07
RM
43193 [BZ #13792]
43194 * manual/examples/README: New file, says the example source files
43195 can be used under GPL>=2.
43196 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43197 line containing just "*/".
43198 * manual/examples/add.c: Add copyright header (GPL>=2).
43199 * manual/examples/argp-ex1.c: Likewise.
43200 * manual/examples/argp-ex2.c: Likewise.
43201 * manual/examples/argp-ex3.c: Likewise.
43202 * manual/examples/argp-ex4.c: Likewise.
43203 * manual/examples/atexit.c: Likewise.
43204 * manual/examples/db.c: Likewise.
43205 * manual/examples/dir.c: Likewise.
43206 * manual/examples/dir2.c: Likewise.
43207 * manual/examples/execinfo.c: Likewise.
43208 * manual/examples/filecli.c: Likewise.
43209 * manual/examples/filesrv.c: Likewise.
43210 * manual/examples/fmtmsgexpl.c: Likewise.
43211 * manual/examples/genpass.c: Likewise.
43212 * manual/examples/inetcli.c: Likewise.
43213 * manual/examples/inetsrv.c: Likewise.
43214 * manual/examples/isockad.c: Likewise.
43215 * manual/examples/longopt.c: Likewise.
43216 * manual/examples/memopen.c: Likewise.
43217 * manual/examples/memstrm.c: Likewise.
43218 * manual/examples/mkfsock.c: Likewise.
43219 * manual/examples/mkisock.c: Likewise.
43220 * manual/examples/mygetpass.c: Likewise.
43221 * manual/examples/pipe.c: Likewise.
43222 * manual/examples/popen.c: Likewise.
43223 * manual/examples/rprintf.c: Likewise.
43224 * manual/examples/search.c: Likewise.
43225 * manual/examples/select.c: Likewise.
43226 * manual/examples/setjmp.c: Likewise.
43227 * manual/examples/sigh1.c: Likewise.
43228 * manual/examples/sigusr.c: Likewise.
43229 * manual/examples/stpcpy.c: Likewise.
43230 * manual/examples/strdupa.c: Likewise.
43231 * manual/examples/strftim.c: Likewise.
43232 * manual/examples/strncat.c: Likewise.
43233 * manual/examples/subopt.c: Likewise.
43234 * manual/examples/swapcontext.c: Likewise.
43235 * manual/examples/termios.c: Likewise.
43236 * manual/examples/testopt.c: Likewise.
43237 * manual/examples/testpass.c: Likewise.
43238 * manual/examples/timeval_subtract.c: Likewise.
43239
01ae168d
RM
43240 [BZ #13792]
43241 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43242 function to ...
43243 * manual/timeval_subtract.c.texi: ... here, new file.
43244
49efa33d
DM
432452012-03-02 David S. Miller <davem@davemloft.net>
43246
43247 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43248
28afd92d
JM
432492012-03-02 Joseph Myers <joseph@codesourcery.com>
43250
804360ed
JM
43251 [BZ #3976]
43252 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43253 (__sin): Save and restore rounding mode and use round-to-nearest
43254 for all computations.
43255 (__cos): Save and restore rounding mode and use round-to-nearest
43256 for all computations.
43257 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43258 <fenv.h>.
43259 (tan): Save and restore rounding mode and use round-to-nearest for
43260 all computations.
43261 * math/libm-test.inc (cos_test_tonearest): New function.
43262 (cos_test_towardzero): Likewise.
43263 (cos_test_downward): Likewise.
43264 (cos_test_upward): Likewise.
43265 (sin_test_tonearest): Likewise.
43266 (sin_test_towardzero): Likewise.
43267 (sin_test_downward): Likewise.
43268 (sin_test_upward): Likewise.
43269 (tan_test_tonearest): Likewise.
43270 (tan_test_towardzero): Likewise.
43271 (tan_test_downward): Likewise.
43272 (tan_test_upward): Likewise.
43273 (main): Call the new functions.
43274 * sysdeps/i386/fpu/libm-test-ulps: Update.
43275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43276
a6d06d7b
JM
43277 [BZ #10135]
43278 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43279 small n, then large n, before computing and testing k+n.
43280 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43281 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43282 Likewise.
43283 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43284 Likewise.
43285 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43286 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43287 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43288 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43291 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43292 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43293 * math/libm-test.inc (scalbn_test): Add more tests.
43294 (scalbln_test): Likewise.
43295
07e12bb3
JM
43296 * manual/filesys.texi (mode_t): Describe constraints on size and
43297 signedness, not exact equivalence to a particular type.
43298 (ino_t): Likewise.
43299 (ino64_t): Likewise.
43300 (dev_t): Likewise.
43301 (nlink_t): Likewise.
43302 (blkcnt_t): Likewise.
43303 (blkcnt64_t): Likewise.
43304 * manual/llio.texi (off_t): Likewise.
43305
28afd92d
JM
43306 [BZ #3976]
43307 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43308 (__ieee754_exp): Save and restore rounding mode and use
43309 round-to-nearest for all computations.
43310 * math/libm-test.inc (exp_test_tonearest): New function.
43311 (exp_test_towardzero): Likewise.
43312 (exp_test_downward): Likewise.
43313 (exp_test_upward): Likewise.
43314 (main): Call the new functions.
43315 * sysdeps/i386/fpu/libm-test-ulps: Update.
43316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43317
b1eeb65d
CD
433182012-03-01 Chris Demetriou <cgd@google.com>
43319
43320 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43321 have predictable order.
43322
53362a4b
DM
433232012-03-01 David S. Miller <davem@davemloft.net>
43324
3c969083
DM
43325 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43326
759707de
DM
43327 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43328 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43329 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43330 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43331
dfdb8ff2
DM
43332 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43333 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43334 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43336 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43337 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43338 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43339 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43340 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43341
ead89f96
DM
43342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43343
7f66bd07
DM
43344 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43345 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43346 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43347
53362a4b
DM
43348 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43349 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43350 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43351 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43352 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43353 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43354 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43355 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43356 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43357 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43358 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43359 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43361 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43362 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43364 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43365 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43366 * sysdeps/sparc/elf/configure: Regenerated.
43367
7b1902cb
JM
433682012-03-01 Joseph Myers <joseph@codesourcery.com>
43369
bec039bc
JM
43370 * configure.in (AS, LD): Require binutils 2.20 or later.
43371 * configure: Regenerated.
43372 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43373 as required minimum version.
43374 * INSTALL: Regenerated.
43375
7b1902cb
JM
43376 [BZ #2541]
43377 [BZ #4108]
43378 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43379 before squaring exponent.
43380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43381 bottom long double and 27 bits of top long double before squaring
43382 exponent.
43383 * math/libm-test.inc (erfc_test): Add more tests.
43384 * sysdeps/i386/fpu/libm-test-ulps: Update.
43385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43387
f775c276
KT
433882012-03-01 Kai Tietz <ktietz@redhat.com>
43389
43390 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43391 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43392 containing bit-fields.
43393 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43394 * soft-fp/single.h (_FP_UNION_S): Likewise.
43395 * soft-fp/double.h (_FP_UNION_D): Likewise.
43396
5b8a4d4a
JM
433972012-02-29 Joseph Myers <joseph@codesourcery.com>
43398
0bab47b6
JM
43399 [BZ #13786]
43400 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43401 not include ../strcmp.S.
43402 [USE_AS_STRNCASECMP_L]: Likewise.
43403 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43404 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43405 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43406 (__strncasecmp_l_ia32): Define as alias to
43407 __strncasecmp_l_nonascii.
43408
0fcad3e2
JM
43409 [BZ #5794]
43410 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43411 * sysdeps/i386/fpu/libm-test-ulps: Update.
43412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43413
5b8a4d4a
JM
43414 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43416
8fdceb2e
JL
434172012-02-29 Jeff Law <law@redhat.com>
43418
43419 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43420 out of bounds read.
43421
1f393a11
MP
434222012-02-29 Marek Polacek <polacek@redhat.com>
43423
43424 [BZ #13706]
43425 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43426 * elf/Makefile: Add rules to run tst-unused-dep.out.
43427
8847f037
DM
434282012-02-28 David S. Miller <davem@davemloft.net>
43429
43430 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43431 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43432 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43434 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43435 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43436
169d7f11
JM
434372012-02-29 Joseph Myers <joseph@codesourcery.com>
43438
43439 * math/libm-test.inc (llround_test): Move one test from
43440 lround_test. Use TEST_f_L in moved test.
43441 (lround_test): Move misplaced test to llround_test. Add testcase
43442 from bug 2561.
43443
39adf059
UD
434442012-02-28 Ulrich Drepper <drepper@gmail.com>
43445
43446 * sysdeps/x86_64/fpu/e_expf.S: New file.
43447 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43448
71b5d1c5
SB
434492012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43450
43451 [BZ #13637]
43452 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43453 of remain_len that may cause incomplete multi-byte character and
43454 false match.
43455 * posix/bug-regex33.c: New file.
43456 * posix/Makefile (tests): Add bug-regex33.
43457
1f77f049
JM
434582012-02-28 Joseph Myers <joseph@codesourcery.com>
43459
43460 * manual/macros.texi: New file.
43461 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43462 * manual/libc.texinfo: Include macros.texi.
43463 * manual/creatute.texi: Likewise.
43464 * manual/install.texi: Likewise.
43465 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43466 @glibcadj{} in references to the GNU C Library.
43467 * manual/charset.texi: Likewise.
43468 * manual/conf.texi: Likewise.
43469 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43470 when not using those macros.
43471 * manual/creature.texi: Likewise.
43472 * manual/crypt.texi: Likewise.
43473 * manual/errno.texi: Likewise.
43474 * manual/filesys.texi: Likewise.
43475 * manual/header.texi: Likewise.
43476 * manual/install.texi: Likewise.
43477 * manual/intro.texi: Likewise.
43478 * manual/io.texi: Likewise.
43479 * manual/job.texi: Likewise.
43480 * manual/lang.texi: Likewise.
43481 * manual/libc.texiinfo: Likewise.
43482 * manual/llio.texi: Likewise.
43483 * manual/locale.texi: Likewise.
43484 * manual/maint.texi: Likewise.
43485 * manual/math.texi: Likewise.
43486 * manual/memory.texi: Likewise.
43487 * manual/message.texi: Likewise.
43488 * manual/nss.texi: Likewise.
43489 * manual/pattern.texi: Likewise.
43490 * manual/process.texi: Likewise.
43491 * manual/resource.texi: Likewise.
43492 * manual/search.texi: Likewise.
43493 * manual/setjmp.texi: Likewise.
43494 * manual/signal.texi: Likewise.
43495 * manual/socket.texi: Likewise.
43496 * manual/startup.texi: Likewise.
43497 * manual/stdio.texi: Likewise.
43498 * manual/string.texi: Likewise.
43499 * manual/sysinfo.texi: Likewise.
43500 * manual/syslog.texi: Likewise.
43501 * manual/terminal.texi: Likewise.
43502 * manual/time.texi: Likewise.
43503 * manual/users.texi: Likewise.
43504 * INSTALL: Regenerated.
43505 * NOTES: Regenerated.
d40c5d54 43506 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43507
450bf206
AS
435082012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43509
43510 * include/dirent.h: Include <dirstream.h> before
43511 <dirent/dirent.h>.
43512
741a235b
DM
435132012-02-28 David S. Miller <davem@davemloft.net>
43514
43515 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43516 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43517 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43518 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43519
d6b5aa58
DM
435202012-02-27 David S. Miller <davem@davemloft.net>
43521
1aff59a3
DM
43522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43524 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43525 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43526
d6b5aa58
DM
43527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43528 frame pointer instead of stack pointer relative arg slot.
43529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43532
433f48bf
CD
435332012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43534
43535 [BZ #3992]
43536 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43537
d674b76d
DM
435382012-02-27 David S. Miller <davem@davemloft.net>
43539
43540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43544 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43545 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43546 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43547 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43548
0e7727f7
JM
435492012-02-27 Joseph Myers <joseph@codesourcery.com>
43550
43551 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43552 later. Allow versions 5-9.
43be4ca2 43553 * configure: Regenerated.
0e7727f7
JM
43554 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43555 required minimum version and 4.6 as recommended version. Do not
43556 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43557 * INSTALL: Regenerated.
0e7727f7 43558
a78bc654
DM
435592012-02-27 David S. Miller <davem@davemloft.net>
43560
428d5830
DM
43561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43565 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43566 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43567 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43568 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43569
a78bc654
DM
43570 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43571 manipulate bits before adding and subtracting TWO112[sx].
43572 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43573
4579f81c
RM
435742012-02-27 Roland McGrath <roland@hack.frob.com>
43575
36c8acb4
RM
43576 [BZ #13775]
43577 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43578 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43579 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43580 being in POSIX, because they are in 1003.1-2008.
43581
84ad622b
RM
43582 * rt/tst-aio.c: Include <fcntl.h>.
43583 * rt/tst-aio7.c: Likewise.
43584 * rt/tst-aio64.c: Likewise.
43585
4579f81c
RM
43586 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43587
abd923db
JM
435882012-02-27 Joseph Myers <joseph@codesourcery.com>
43589
43590 * manual/install.texi (--with-headers): Describe headers as
43591 interface headers, not private headers.
43592 (Specific advice for GNU/Linux systems): Describe use of headers
43593 from "make headers_install", not private headers from older
43594 kernels.
43be4ca2 43595 * INSTALL: Regenerated.
abd923db
JM
43596 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43597 Change to 2.6.19.
43598 * sysdeps/unix/sysv/linux/configure: Regenerated.
43599
6664049b
JM
43600 * manual/llio.texi (fclean): Remove documentation.
43601
bb8b6697
JM
43602 * manual/Makefile (libc-texi-generated): New variable. Include
43603 version.texi.
43604 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43605 $(libc-texi-generated), not duplicated list of files.
43606 (version.texi, stamp-version): New rules.
43607 (realclean): Remove $(libc-texi-generated), not individual files
43608 from that list. Do not remove dir-add.texinfo.
43609 * manual/libc.texinfo: Comment out uses of edition numbers and
43610 references to printed manual. Remove last-updated dates.
43611 (EDITION): Comment out.
43612 (ISBN): Likewise.
43613 (VERSION, UPDATED): Remove.
43614 (version.texi): Include.
43615
12e5c3b9
AS
436162012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43617
43618 * sysdeps/posix/spawni.c: Include <signal.h>.
43619 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43620 * sysdeps/pthread/aio_fsync.c: Likewise.
43621
4efeffc1 436222012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43623
ba63ba08
UD
43624 * conform/Makefile (tests): Run only when not cross-compiling and
43625 when fast-check is not defined.
43626
d94a4670
UD
43627 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43628 * conform/data/limits.h-data: Fixes for POSIX2008.
43629 * conform/run-conformtest.sh: Run all tests.
43630 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43631 headers.
43632 * include/bits/dlfcn.h: Likewise.
43633 * include/langinfo.h: Likewise.
43634 * include/monetary.h: Likewise.
43635 * include/sys/poll.h: Likewise.
43636
43637 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43638 for __USE_GNU.
43639 * posix/spawn.h: Define __need_sigset_t.
43640 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43641 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43642 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43643 to get sigevent_t only.
43644 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43645 only for __USE_GNU.
43646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43647 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43648 process_vm_writev only for __USE_GNU.
43649 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43650
43651 * conform/Makefile: For now ignore errors from run-conformtest.
43652 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43653 POSIX to avoid namespace pollution. Don't prepend headers.
43654 * conform/data/aio.h-data: Fixes for POSIX testing.
43655 * conform/data/fcntl.h-data: Likewise.
43656 * conform/data/glob.h-data: Likewise.
43657 * conform/data/grp.h-data: Likewise.
43658 * conform/data/pthread.h-data: Likewise.
43659 * conform/data/pwd.h-data: Likewise.
43660 * conform/data/signal.h-data: Likewise.
43661 * conform/data/spawn.h-data: Likewise.
43662 * conform/data/stdio.h-data: Likewise.
43663 * conform/data/stdlib.h-data: Likewise.
43664 * conform/data/stropts.h-data: Likewise.
43665 * conform/data/sys/mman.h-data: Likewise.
43666 * conform/data/sys/stat.h-data: Likewise.
43667 * conform/data/sys/types.h-data: Likewise.
43668 * conform/data/sys/wait.h-data: Likewise.
43669 * conform/data/time.h-data: Likewise.
43670 * conform/data/unistd.h-data: Likewise.
43671 * conform/data/utime.h-data: Likewise.
43672
43673 * io/sys/stat.h: fchmod was always in POSIX.
43674 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43675 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43676 * rt/aio.h: Define __need_timespec before including <time.h>.
43677 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43678 struct. Add forward declaration of pthread_attr_t and use it in
43679 sigevent.
43680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43681 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43682 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43683 always remove CLK_TCK definition.
43684
c20105c3
AS
436852012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43686
43687 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43688
7a270350
UD
436892012-02-25 Ulrich Drepper <drepper@gmail.com>
43690
31341567
UD
43691 * conform/run-conformtest.sh: New file.
43692 * conform/Makefile: Run run-conformtest for tests.
43693 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43694 support.
43695
43696 * conform/data/uchar.h-data: New file.
43697 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43698 * conform/data/arpa/inet.h-data: Likewise.
43699 * conform/data/assert.h-data: Likewise.
43700 * conform/data/complex.h-data: Likewise.
43701 * conform/data/cpio.h-data: Likewise.
43702 * conform/data/ctype.h-data: Likewise.
43703 * conform/data/dirent.h-data: Likewise.
43704 * conform/data/dlfcn.h-data: Likewise.
43705 * conform/data/errno.h-data: Likewise.
43706 * conform/data/fcntl.h-data: Likewise.
43707 * conform/data/float.h-data: Likewise.
43708 * conform/data/fmtmsg.h-data: Likewise.
43709 * conform/data/fnmatch.h-data: Likewise.
43710 * conform/data/ftw.h-data: Likewise.
43711 * conform/data/glob.h-data: Likewise.
43712 * conform/data/grp.h-data: Likewise.
43713 * conform/data/iconv.h-data: Likewise.
43714 * conform/data/inttypes.h-data: Likewise.
43715 * conform/data/langinfo.h-data: Likewise.
43716 * conform/data/libgen.h-data: Likewise.
43717 * conform/data/limits.h-data: Likewise.
43718 * conform/data/locale.h-data: Likewise.
43719 * conform/data/math.h-data: Likewise.
43720 * conform/data/monetary.h-data: Likewise.
43721 * conform/data/mqueue.h-data: Likewise.
43722 * conform/data/ndbm.h-data: Likewise.
43723 * conform/data/net/if.h-data: Likewise.
43724 * conform/data/netdb.h-data: Likewise.
43725 * conform/data/netinet/in.h-data: Likewise.
43726 * conform/data/nl_types.h-data: Likewise.
43727 * conform/data/poll.h-data: Likewise.
43728 * conform/data/pthread.h-data: Likewise.
43729 * conform/data/pwd.h-data: Likewise.
43730 * conform/data/regex.h-data: Likewise.
43731 * conform/data/sched.h-data: Likewise.
43732 * conform/data/search.h-data: Likewise.
43733 * conform/data/semaphore.h-data: Likewise.
43734 * conform/data/setjmp.h-data: Likewise.
43735 * conform/data/signal.h-data: Likewise.
43736 * conform/data/spawn.h-data: Likewise.
43737 * conform/data/stdarg.h-data: Likewise.
43738 * conform/data/stdio.h-data: Likewise.
43739 * conform/data/stdlib.h-data: Likewise.
43740 * conform/data/string.h-data: Likewise.
43741 * conform/data/strings.h-data: Likewise.
43742 * conform/data/stropts.h-data: Likewise.
43743 * conform/data/sys/ipc.h-data: Likewise.
43744 * conform/data/sys/mman.h-data: Likewise.
43745 * conform/data/sys/msg.h-data: Likewise.
43746 * conform/data/sys/resource.h-data: Likewise.
43747 * conform/data/sys/select.h-data: Likewise.
43748 * conform/data/sys/sem.h-data: Likewise.
43749 * conform/data/sys/shm.h-data: Likewise.
43750 * conform/data/sys/socket.h-data: Likewise.
43751 * conform/data/sys/stat.h-data: Likewise.
43752 * conform/data/sys/statvfs.h-data: Likewise.
43753 * conform/data/sys/time.h-data: Likewise.
43754 * conform/data/sys/timeb.h-data: Likewise.
43755 * conform/data/sys/times.h-data: Likewise.
43756 * conform/data/sys/types.h-data: Likewise.
43757 * conform/data/sys/uio.h-data: Likewise.
43758 * conform/data/sys/un.h-data: Likewise.
43759 * conform/data/sys/utsname.h-data: Likewise.
43760 * conform/data/sys/wait.h-data: Likewise.
43761 * conform/data/syslog.h-data: Likewise.
43762 * conform/data/tar.h-data: Likewise.
43763 * conform/data/termios.h-data: Likewise.
43764 * conform/data/utime.h-data: Likewise.
43765 * conform/data/utmpx.h-data: Likewise.
43766 * conform/data/varargs.h-data: Likewise.
43767 * conform/data/wchar.h-data: Likewise.
43768 * conform/data/wctype.h-data: Likewise.
43769 * conform/data/wordexp.h-data: Likewise.
43770
43771 * include/stropts.h: New file.
43772 * include/uchar.h: New file.
43773 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43774 * include/assert.h: Likewise.
43775 * include/ctype.h: Likewise.
43776 * include/dirent.h: Likewise.
43777 * include/dlfcn.h: Likewise.
43778 * include/fcntl.h: Likewise.
43779 * include/fnmatch.h: Likewise.
43780 * include/glob.h: Likewise.
43781 * include/grp.h: Likewise.
43782 * include/libio.h: Likewise.
43783 * include/locale.h: Likewise.
43784 * include/math.h: Likewise.
43785 * include/net/if.h: Likewise.
43786 * include/netdb.h: Likewise.
43787 * include/netinet/in.h: Likewise.
43788 * include/pthread.h: Likewise.
43789 * include/pwd.h: Likewise.
43790 * include/regex.h: Likewise.
43791 * include/sched.h: Likewise.
43792 * include/search.h: Likewise.
43793 * include/setjmp.h: Likewise.
43794 * include/signal.h: Likewise.
43795 * include/stdio.h: Likewise.
43796 * include/stdlib.h: Likewise.
43797 * include/string.h: Likewise.
43798 * include/sys/cdefs.h: Likewise.
43799 * include/sys/mman.h: Likewise.
43800 * include/sys/msg.h: Likewise.
43801 * include/sys/resource.h: Likewise.
43802 * include/sys/select.h: Likewise.
43803 * include/sys/socket.h: Likewise.
43804 * include/sys/stat.h: Likewise.
43805 * include/sys/statvfs.h: Likewise.
43806 * include/sys/time.h: Likewise.
43807 * include/sys/times.h: Likewise.
43808 * include/sys/uio.h: Likewise.
43809 * include/sys/utsname.h: Likewise.
43810 * include/sys/wait.h: Likewise.
43811 * include/termios.h: Likewise.
43812 * include/time.h: Likewise.
43813 * include/ulimit.h: Likewise.
43814 * include/unistd.h: Likewise.
43815 * include/utime.h: Likewise.
43816 * include/wchar.h: Likewise.
43817 * include/wctype.h: Likewise.
43818 * include/wordexp.h: Likewise.
43819
43820 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43821
7a270350
UD
43822 * time/time.h: TIME_UTC must be a macro.
43823 Make timespec_get available for ISO C11 only as well.
43824
7724defc
UD
438252012-02-24 Ulrich Drepper <drepper@gmail.com>
43826
43827 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43828 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43829
6b1d1d46
JM
438302012-02-24 Joseph Myers <joseph@codesourcery.com>
43831
43832 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43833
0f8bbd69
JM
438342012-02-24 Joseph Myers <joseph@codesourcery.com>
43835
43836 * manual/texinfo.tex: Update to version 2012-01-19.16.
43837
66ab80bc
JM
438382012-02-24 Joseph Myers <joseph@codesourcery.com>
43839
43840 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43841
74981cc5
RM
438422012-02-24 Roland McGrath <roland@hack.frob.com>
43843
ee968201
RM
43844 [BZ #13738]
43845 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43846 * manual/fdl-1.3.texi: New file.
43847 * manual/fdl-1.1.texi: File removed.
43848
74981cc5
RM
43849 [BZ #13738]
43850 * manual/libc.texinfo (FDL_VERSION): New @set.
43851 Use it for mention of FDL in cover text.
43852 (Documentation License): Use it in @include file name.
43853
7bb764bc
JM
438542012-02-22 Joseph Myers <joseph@codesourcery.com>
43855 Roland McGrath <roland@hack.frob.com>
43856
43857 [BZ #5461]
57f41c40
AS
43858 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43859 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43860 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43861 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43862 name.
43863 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43864
6cbeae47
JM
438652012-02-22 Joseph Myers <joseph@codesourcery.com>
43866
43867 [BZ #2547]
43868 [BZ #11365]
43869 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43870 manipulate bits before adding and subtracting TWO23[sx].
43871 * math/libm-test.inc (nearbyint_test): Add more tests.
43872
fe45ce09
JM
438732012-02-22 Joseph Myers <joseph@codesourcery.com>
43874
43875 [BZ #2548]
43876 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43877 bits before adding and subtracting TWO23[sx].
43878 * math/libm-test.inc (rint_test): Add more tests.
43879 (rint_test_tonearest): Likewise.
43880 (rint_test_towardzero): Likewise.
43881 (rint_test_downward): Likewise.
43882 (rint_test_upward: Likewise.
43883
ff3b3d82
JM
438842012-02-22 Joseph Myers <joseph@codesourcery.com>
43885
43886 [BZ #10110]
43887 * include/stdc-predef.h: New file. Extracted from features.h.
43888 * include/features.h: Include stdc-predef.h.
43889 * Makefile (headers): Add stdc-predef.h.
43890 * CONFORMANCE (Compiler limitations): Update.
43891
ef0aab35
JM
438922012-02-22 Joseph Myers <joseph@codesourcery.com>
43893
43894 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43895
58639409
DM
438962012-02-21 David S. Miller <davem@davemloft.net>
43897
43898 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43899 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43900
c0e70b25
DM
439012012-02-20 David S. Miller <davem@davemloft.net>
43902
43903 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43904 using a normal save/restore sequence, rather than allocating a
43905 dummy stack frame just to store a frame pointer and restore.
43906 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43907
fb06851d
JM
439082012-02-21 Joseph Myers <joseph@codesourcery.com>
43909
43910 * manual/install.texi: Fix stray word in line-wrapped comment.
43911
7a8b71c3
DM
439122012-02-20 David S. Miller <davem@davemloft.net>
43913
d510c123
DM
43914 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43915 both binutils and gcc support GOTDATA.
43916
0722d7c2
DM
43917 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43918 "rd %pc" in the PIC register setup sequences.
43919
3d2b3019
DM
43920 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43921 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43922 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43923 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43924 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43926 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43929 (SYSCALL_ERROR_HANDLER): Likewise.
43930 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43931 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43933 (SYSCALL_ERROR_HANDLER): Likewise.
43934
c80098a9
DM
43935 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43936 (HAVE_GCC_GOTDATA): New.
43937 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43938 relocation support in both binutils and gcc.
43939 * sysdeps/sparc/elf/configure: Regenerate.
43940
3a2545a0
DM
43941 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43942 * sysdeps/sparc/sparc32/elf/configure: Delete.
43943 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43944 * sysdeps/sparc/sparc64/elf/configure: Delete.
43945 * sysdeps/sparc/elf/configure.in: New file.
43946 * sysdeps/sparc/elf/configure: Generate.
43947
7a8b71c3
DM
43948 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43949 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43950 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43951 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43952 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43953
f1e86fca
JM
439542012-02-21 Joseph Myers <joseph@codesourcery.com>
43955
43956 * manual/install.texi: Do not mention specific glibc version
43957 numbers.
43958 * manual/libc.texinfo (VERSION, UPDATED): Update.
43959 (@copying): Use @copyright{} and range of years.
43960
0e7dfaef
JM
439612012-02-21 Joseph Myers <joseph@codesourcery.com>
43962
43963 [BZ #13695]
43964 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43965 [crti.S not in sysdirs] (generated): Do not append.
43966 [crti.S not in sysdirs] (omit-deps): Likewise.
43967 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43968 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43969 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43970 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43971 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43972 Likewise.
43973 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43974 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43975 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43976 * csu/defs.awk: Remove file.
43977 * sysdeps/generic/initfini.c: Likewise.
43978 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43979 variable.
43980 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43981 Likewise.
43982
599af3ca
JM
439832012-02-20 Joseph Myers <joseph@codesourcery.com>
43984
43985 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43986 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43987 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43988 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43989 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43990 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43991 <bits/epoll.h>.
43992 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43993 (__EPOLL_PACKED): Define to empty if not defined by
43994 <bits/epoll.h>.
43995 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43997 bits/epoll.h.
43998
0e499750
JM
439992012-02-20 Joseph Myers <joseph@codesourcery.com>
44000
44001 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44002 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44003 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44004 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44005 <bits/timerfd.h>.
44006 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44008 bits/timerfd.h.
44009
5ad91f6e
JM
440102012-02-20 Joseph Myers <joseph@codesourcery.com>
44011
44012 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44013 in C locale.
44014 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44015 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44018
06b99b02
AJ
440192012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44020
44021 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44022 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44023
7638c0fd
AS
440242012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44025
44026 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44027 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44028 defined.
44029 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44030 Likewise.
44031 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44032 entry for 2.16.
44033
92221550
AJ
440342012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44035
44036 * math/w_acos.c: Use non-signaling floating-point comparisons.
44037 * math/w_acosf.c: Likewise.
44038 * math/w_acosh.c: Likewise.
44039 * math/w_acoshf.c: Likewise.
44040 * math/w_acoshl.c: Likewise.
44041 * math/w_acosl.c: Likewise.
44042 * math/w_asin.c: Likewise.
44043 * math/w_asinf.c: Likewise.
44044 * math/w_asinl.c: Likewise.
44045 * math/w_atanh.c: Likewise.
44046 * math/w_atanhf.c: Likewise.
44047 * math/w_atanhl.c: Likewise.
44048 * math/w_exp2.c: Likewise.
44049 * math/w_exp2f.c: Likewise.
44050 * math/w_exp2l.c: Likewise.
44051 * math/w_j0.c: Likewise.
44052 * math/w_j0f.c: Likewise.
44053 * math/w_j0l.c: Likewise.
44054 * math/w_j1.c: Likewise.
44055 * math/w_j1f.c: Likewise.
44056 * math/w_j1l.c: Likewise.
44057 * math/w_jn.c: Likewise.
44058 * math/w_jnf.c: Likewise.
44059 * math/w_log.c: Likewise.
44060 * math/w_log10.c: Likewise.
44061 * math/w_log10f.c: Likewise.
44062 * math/w_log10l.c: Likewise.
44063 * math/w_log2.c: Likewise.
44064 * math/w_log2f.c: Likewise.
44065 * math/w_log2l.c: Likewise.
44066 * math/w_logf.c: Likewise.
44067 * math/w_logl.c: Likewise.
44068 * math/w_sqrt.c: Likewise.
44069 * math/w_sqrtf.c: Likewise.
44070 * math/w_sqrtl.c: Likewise.
44071 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44072 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44073 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44074 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44075 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44076
ebaf36eb
JM
440772012-02-19 Joseph Myers <joseph@codesourcery.com>
44078
44079 [BZ #9739]
44080 * manual/string.texi (strnlen): Use correct parameter name in
44081 equivalent expression.
44082
71c254a6
JM
440832012-02-19 Joseph Myers <joseph@codesourcery.com>
44084
44085 [BZ #11174]
44086 * manual/users.texi (seteuid): Consistently use neweuid for
44087 argument name.
44088
16d2c631
JM
440892012-02-19 Joseph Myers <joseph@codesourcery.com>
44090
44091 [BZ #13704]
44092 * manual/nss.texi (Services in the NSS configuration): Correct
44093 list of services in example configuration file.
44094
cd837b09
NB
440952012-02-19 Nick Bowler <nbowler@draconx.ca>
44096
44097 [BZ #11322]
44098 * manual/arith.texi: Remove statements about negative zero
44099 behaving identically to zero.
44100
02c4bbad
JM
441012012-02-18 Joseph Myers <joseph@codesourcery.com>
44102
44103 [BZ #5993]
44104 * manual/install.texi: Do not document upgrading from libc5.
44105
366842e7
JM
441062012-02-18 Joseph Myers <joseph@codesourcery.com>
44107
44108 [BZ #4596]
44109 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44110
dd54084d
DM
441112012-02-18 David S. Miller <davem@davemloft.net>
44112
44113 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44114 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44115 %o7 across the call.
44116 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44117 instead.
44118 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44119 SETUP_PIC_REG_LEAF.
44120 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44121 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44122 * sysdeps/sparc/crtn.S: Likewise.
44123
2bcc53a3
UD
441242012-02-17 Ulrich Drepper <drepper@gmail.com>
44125
44126 * aout/Makefile: Remove.
44127
09c093b5
RK
441282012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44129
44130 [BZ #13058]
44131 * manual/examples/argp-ex1.c (main): Format definition in GNU
44132 style.
44133 * manual/examples/argp-ex2.c (main): Likewise.
44134 * manual/examples/argp-ex3.c (main): Likewise.
44135 * manual/examples/argp-ex4.c (main): Likewise.
44136 * manual/examples/longopt.c (main): Use new-style prototype
44137 definition.
44138 * manual/examples/strncat.c (main): Specify return type and use
44139 (void) for arguments.
44140 * manual/examples/subopt.c (main): Use char **argv argument.
44141
2ee633a2
JM
441422012-02-17 Joseph Myers <joseph@codesourcery.com>
44143
44144 [BZ #5077]
44145 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44146 rounding modes.
44147
0520adde
FB
441482012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44149
44150 [BZ #6907]
44151 * manual/string.texi (strchr): Change when strchrnul is
44152 recommended.
44153
3f4081cd
DGM
441542012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44155
44156 [BZ #174]
44157 * manual/locale.texi (setlocale): Document LOCPATH.
44158
d1b10e78
JM
441592012-02-17 Joseph Myers <joseph@codesourcery.com>
44160
44161 [BZ #10210]
44162 * manual/process.texi (execle): Move @dots{} before last argument.
44163
79c6869c
PB
441642012-02-17 Paul Bolle <pebolle@tiscali.nl>
44165
44166 [BZ #12047]
44167 * manual/charset.texi (Generic Charset Conversion): Fix typo
44168 (LC_TYPE -> LC_CTYPE).
44169
cc6e48bc
NB
441702012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44171
44172 [BZ #5805]
44173 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44174 (scalbnf): Likewise.
44175 (scalbnl): Likewise.
44176 (scalbln): Likewise.
44177 (scalblnf): Likewise.
44178 (scalblnl): Likewise.
44179 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44180 (vwarnx): Likewise.
44181 (verr): Likewise.
44182 (verrx): Likewise.
44183 * manual/filesys.texi (telldir): Use braces around return type.
44184 * manual/llio.texi (mmap): Add space after comma.
44185 (mmap64): Likewise.
44186 * manual/math.texi (jn): Use @var{} on parameter names.
44187 (jnf): Likewise.
44188 (jnl): Likewise.
44189 (yn): Likewise.
44190 (ynf): Likewise.
44191 (ynl): Likewise.
44192 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44193 line.
44194 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44195 "...".
44196 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44197 (sched_get_priority_max): Likewise.
44198 * manual/signal.texi (sigvec): Add space after comma.
44199 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44200 names.
44201 (if_indextoname): Likewise.
44202 (if_freenameindex): Likewise.
44203 (sendto): Use ',' instead of '.' in prototype.
44204 * manual/startup.texi (syscall): Use @dots{} instead of literal
44205 "...".
44206 * manual/stdio.texi (__fpending): Separate initial words of
44207 paragraph from @deftypefun line.
44208 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44209 "...".
44210 (vsyslog): Use @var{} on parameter names.
44211 * manual/terminal.texi (stty): Use @var{} on parameter names.
44212 * manual/users.texi (getutmp): Use @var{} on parameter names.
44213 (getutmpx): Likewise.
44214
5b23062f
JM
442152012-02-17 Joseph Myers <joseph@codesourcery.com>
44216
44217 [BZ #6884]
44218 * manual/stdio.texi (fopen): Fix typos in description of
44219 ",ccs=STRING".
44220
8dee4833
AJ
442212012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44222
44223 [BZ #4026]
44224 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44225 get clock_id definition.
44226
9078ce93
TS
442272012-02-17 Thomas Schwinge <thomas@schwinge.name>
44228
44229 [BZ #4822]
44230 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44231 (madvise): Cast every argument to void on its own.
44232
3835c55f
JM
442332012-02-17 Joseph Myers <joseph@codesourcery.com>
44234
44235 [BZ #9902]
44236 * manual/startup.texi (Exit Status): Fix typo.
44237
35c47e37
JM
442382012-02-17 Joseph Myers <joseph@codesourcery.com>
44239
44240 [BZ #10140]
44241 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44242 * manual/examples/argp-ex2.c: Likewise.
44243 * manual/examples/argp-ex3.c: Likewise.
44244
e3b69ca7
RH
442452012-02-16 Richard Henderson <rth@redhat.com>
44246
44247 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44248 * sysdeps/s390/s390-32/initfini.c: Remove.
44249 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44250 * sysdeps/s390/s390-64/initfini.c: Remove.
44251
df83af67
KK
442522012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44253
44254 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44255 compiler output for sysdeps/generic/initfini.c.
44256 * sysdeps/sh/elf/initfini.c: Remove file.
44257
f63f3380
DM
442582012-02-16 David S. Miller <davem@davemloft.net>
44259
fb59b3a4
DM
44260 [BZ #11494]
44261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44262
f63f3380
DM
44263 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44264 * sysdeps/sparc/crti.S: New file.
44265 * sysdeps/sparc/crtn.S: New file.
44266 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44267 * sysdeps/sparc/sparc64/Makefile: Likewise.
44268
df6a4a4a
MF
442692012-02-15 Mike Frysinger <vapier@gentoo.org>
44270
6dd8f3dc 44271 [BZ #3335]
df6a4a4a
MF
44272 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44273
1cac7236
RM
442742012-02-15 Roland McGrath <roland@hack.frob.com>
44275
d2c736f8
RM
44276 [BZ #4822]
44277 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44278
1cac7236
RM
44279 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44280 (write, read, close): Likewise.
44281 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44282
8e475601
JM
442832012-02-15 Joseph Myers <joseph@codesourcery.com>
44284
44285 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44286 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44287 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44288 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44289 <bits/signalfd.h>.
44290 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44292 bits/signalfd.h.
44293
ed656b40
MP
442942012-02-14 Marek Polacek <polacek@redhat.com>
44295
44296 * sysdeps/x86_64/crti.S: New file.
44297 * sysdeps/x86_64/crtn.S: New file.
44298 * sysdeps/x86_64/elf/initfini.c: Remove file.
44299
2a979d3a
JM
443002012-02-13 Joseph Myers <joseph@codesourcery.com>
44301
44302 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44303 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44304 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44305 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44306 <bits/inotify.h>.
44307 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44309 bits/inotify.h.
44310
2a418ac3
JM
443112012-02-13 Joseph Myers <joseph@codesourcery.com>
44312
44313 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44314 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44315 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44316 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44317 <bits/eventfd.h>.
44318 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44320 bits/eventfd.h.
44321
fb779be7
TS
443222012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44323
e19e83c5
RM
44324 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44325 __feraiseexcept instead of feraiseexcept.
7c35ffed 44326
fb779be7
TS
44327 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44328 nanosleep invocations.
44329 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44330 strings, and add error checking for a nanosleep invocations.
44331
59ba27a6
PE
443322012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44333
44334 Replace FSF snail mail address with URLs, as per GNU coding standards.
44335 Most of the snail mail addresses were wrong anyway, and omitting
44336 them makes the source code easier to maintain. Almost all of the
44337 changes are to license notices and to locale LC_IDENTIFICATION
44338 addresses, except for this one:
44339 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44340 not its snail mail address.
44341
57b957eb
RH
443422012-02-09 Richard Henderson <rth@twiddle.net>
44343
af850b1c
RH
44344 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44345 of kernel-features.h.
44346
57b957eb
RH
44347 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44348
6b73181a
MP
443492012-02-08 Marek Polacek <polacek@redhat.com>
44350
44351 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44352 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44353 * sysdeps/gnu/_G_config.h: Likewise.
44354 * sysdeps/generic/_G_config.h: Likewise.
44355
26ecc33a
AS
443562012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44357
6c6dbc63
AS
44358 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44359 tests.
44360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44361
e216c012
AS
44362 * sysdeps/powerpc/powerpc32/crti.S: New file.
44363 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44364 * sysdeps/powerpc/powerpc64/crti.S: New file.
44365 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44366
26ecc33a
AS
44367 * Makeconfig (have-initfini): Don't set.
44368 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44369 * configure.in (nopic_initfini): Don't substitute.
44370 * config.h.in (HAVE_INITFINI): Don't #undef.
44371 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44372 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44373
3add8e13
JM
443742012-02-08 Joseph Myers <joseph@codesourcery.com>
44375
44376 Support crti.S and crtn.S provided directly by architectures.
44377 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44378 [crti.S in sysdirs] (omit-deps): Likewise.
44379 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44380 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44381 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44382 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44383 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44384 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44385 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44386 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44387 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44388 compiler output for sysdeps/generic/initfini.c.
44389 * sysdeps/i386/elf/Makefile: Remove file.
44390 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44391
a22f12b4
MP
443922012-02-07 Marek Polacek <polacek@redhat.com>
44393
44394 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44395 * sysdeps/gnu/_G_config.h: Likewise.
44396 * sysdeps/mach/hurd/_G_config.h: Likewise.
44397
148cf100
MP
443982012-02-07 Marek Polacek <polacek@redhat.com>
44399
44400 * math/Makefile (tests): Add tst-CMPLX2.
44401 * math/tst-CMPLX2.c: New file.
44402
cfdc0dd7
AS
444032012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44404
84ba42c4
AS
44405 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44406
cfdc0dd7
AS
44407 * math/libm-test.inc (jn_test): Add missing L suffix.
44408
622c86f4
MP
444092012-02-06 Marek Polacek <polacek@redhat.com>
44410
44411 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44412 * sysdeps/i386/fpu/e_powf.S: Likewise.
44413 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44414 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44415 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44416 * sysdeps/i386/fpu/e_pow.S: Likewise.
44417 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44418 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44419 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44420 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44421 * sysdeps/i386/fpu/e_log2.S: Likewise.
44422 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44423 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44424 * sysdeps/i386/fpu/e_powl.S: Likewise.
44425 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44426 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44427 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44428 * sysdeps/i386/fpu/e_logl.S: Likewise.
44429 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44430 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44431 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44432 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44433 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44434 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44435 * sysdeps/i386/fpu/e_log.S: Likewise.
44436 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44437 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44438 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44439 * sysdeps/i386/fpu/e_logf.S: Likewise.
44440 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44441 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44442 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44443 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44444 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44445 * sysdeps/i386/fpu/e_log10.S: Likewise.
44446 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44447 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44448 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44449 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44450 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44451 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44452 * sysdeps/i386/asm-syntax.h: Likewise.
44453 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44454 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44455 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44456 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44457 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44458 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44459 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44460 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44461 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44462 * sysdeps/powerpc/sysdep.h: Likewise.
44463 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44464 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44465
d4a54ac6
JM
444662012-02-06 Joseph Myers <joseph@codesourcery.com>
44467
44468 [BZ #411]
44469 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44470
314054ea
JM
444712012-02-06 Joseph Myers <joseph@codesourcery.com>
44472
44473 * sysdeps/i386/sysdep.h: Include <features.h>.
44474 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44475 version.
44476
d8e0ca50
JM
444772012-02-05 Joseph Myers <joseph@codesourcery.com>
44478
44479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44480 Define.
44481 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44482 LOAD_PIC_REG_STR.
44483
b1da7dd9
JM
444842012-02-03 Joseph Myers <joseph@codesourcery.com>
44485
44486 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44487 (SETUP_PIC_REG): Use GET_PC_THUNK.
44488 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44489 macro.
44490
9a1d9254
JM
444912012-02-03 Joseph Myers <joseph@codesourcery.com>
44492
44493 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44494 for non-PIC compilation.
44495 (SETUP_PIC_REG): Add .p2align directive.
44496 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44497 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44498 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44499 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44500 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44501 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44502 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44503 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44504 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44505 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44506 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44507 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44508 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44509 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44510 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44511 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44512 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44513 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44514 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44515 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44516 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44518 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44519 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44520 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44522 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44523 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44524 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44525 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44526 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44527 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44528 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44529 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44530 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44531 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44532 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44533 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44534 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44535 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44536 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44537
65dc3b75
JM
445382012-02-03 Joseph Myers <joseph@codesourcery.com>
44539
44540 * math/tst-CMPLX.c: Include <stdio.h>.
44541
d55bf177
JM
445422012-01-31 Joseph Myers <joseph@codesourcery.com>
44543
44544 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44545 float.
44546 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44547 * sysdeps/sparc/bits/mathdef.h: Likewise.
44548
69db4f8f
MP
445492012-01-31 Marek Polacek <polacek@redhat.com>
44550
44551 * libio/libio.h: Don't define _PARAMS.
44552 * locale/programs/config.h: Don't define PARAMS.
44553 * stdlib/strtol_l.c: Likewise.
44554 (__strtol_l): Remove PARAMS from the prototype.
44555
41b81892
UD
445562012-01-31 Ulrich Drepper <drepper@gmail.com>
44557
3b49edc0
UD
44558 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44559 names. Just use the correct names. Remove unnecessary wrapper
44560 functions.
44561 * malloc/arena.c: Likewise.
44562 * malloc/hooks.c: Likewise.
44563
41b81892
UD
44564 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44565 ARENA_TEST says not to. Simplify test for creation of a new arena.
44566 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44567
27a25b6e
UD
445682012-01-30 Ulrich Drepper <drepper@gmail.com>
44569
44570 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44571 into tail calls.
44572 (update_get_addr): New function.
44573 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44574 GET_ADDR_MODULE parameter.
44575
c8a89e7d
JM
445762012-01-30 Joseph Myers <joseph@codesourcery.com>
44577
44578 * crypt/cert.c: Remove __STDC__ conditionals.
44579 * crypt/crypt-entry.c: Likewise.
44580 * crypt/crypt_util.c: Likewise.
44581 * libio/filedoalloc.c: Likewise.
44582 * libio/fileops.c: Likewise.
44583 * libio/genops.c: Likewise.
44584 * libio/iofclose.c: Likewise.
44585 * libio/iofdopen.c: Likewise.
44586 * libio/iofopen.c: Likewise.
44587 * libio/iofopen64.c: Likewise.
44588 * libio/iogetdelim.c: Likewise.
44589 * libio/iopopen.c: Likewise.
44590 * libio/obprintf.c: Likewise.
44591 * libio/oldfileops.c: Likewise.
44592 * libio/oldiofclose.c: Likewise.
44593 * libio/oldiofdopen.c: Likewise.
44594 * libio/oldiofopen.c: Likewise.
44595 * libio/oldiopopen.c: Likewise.
44596 * libio/wfiledoalloc.c: Likewise.
44597 * libio/wgenops.c: Likewise.
44598 * locale/programs/xmalloc.c: Likewise.
44599 * misc/syslog.c: Likewise.
44600 * stdio-common/xbug.c: Likewise.
44601 * string/memchr.c: Likewise.
44602 * string/memcmp.c: Likewise.
44603 * string/memrchr.c: Likewise.
44604 * string/rawmemchr.c: Likewise.
44605 * sysdeps/posix/getcwd.c: Likewise.
44606 * time/strftime_l.c: Likewise.
44607
3b100462
JM
446082012-01-30 Joseph Myers <joseph@codesourcery.com>
44609
44610 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44611 * config.make.in (config-cflags-sse2avx): Define.
44612 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44613 Fix typo.
44614
607998af
CM
446152012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44616
44617 * scripts/config.guess: Update from upstream config git repository.
44618 * scripts/config.sub: Likewise.
44619
3601428f
CM
446202012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44621
3ac8b282
CM
44622 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44623 (EM_NUM): Update.
44624 (R_TILEPRO_*, R_TILEGX_*): New macros.
44625
e034841e
CM
44626 * scripts/firstversions.awk: Fix bug in version range handling.
44627
540d7568
CM
44628 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44629
3601428f
CM
44630 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44631
463de862
CM
44632 * include/sys/epoll.h: New file.
44633 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44634 libc_hidden_def.
44635
73139a76
UD
446362012-01-28 Ulrich Drepper <drepper@gmail.com>
44637
96bc5b45
UD
44638 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44639 Avoid unnecessary __WORDSIZE == 64 test.
44640 (fmaxf): Use VEX format if possible.
44641 (fmax): Likewise.
44642 (fminf): Likewise.
44643 (fmin): Likewise.
44644
56f6f6a2
UD
44645 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44646 * math/math_private.h: Remove libc_fegetround* and
44647 libc_fesetround*.
44648 * sysdeps/i386/configure.in: Check for -msse2avx.
44649 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44650 also if SSE2AVX is defined.
44651 Remove libc_fegetround* and libc_fesetround*.
44652 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44653 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44654 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44655 of HAS_YMM_USABLE.
44656 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44657 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44658 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44659 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44660 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44661
73139a76
UD
44662 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44663
d73f93a4
AZ
446642012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44665
44666 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44667 size is not set.
44668 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44669
6ee65ed6
UD
446702012-01-27 Ulrich Drepper <drepper@gmail.com>
44671
44672 [BZ #13618]
44673 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44674 relocation.
44675 * Makeconfig (libm): Define.
44676 * elf/Makefile: Add rules to build and run tst-relsort1.
44677 * elf/tst-relsort1.c: New file.
44678 * elf/tst-relsort1mod1.c: New file.
44679 * elf/tst-relsort1mod2.c: New file.
44680
8db21882
JM
446812012-01-27 Joseph Myers <joseph@codesourcery.com>
44682
44683 * math/s_ldexp.c: Remove __STDC__ conditionals.
44684 * math/s_ldexpf.c: Likewise.
44685 * math/s_ldexpl.c: Likewise.
44686 * math/s_nextafter.c: Likewise.
44687 * math/s_nexttowardf.c: Likewise.
44688 * math/s_significand.c: Likewise.
44689 * math/s_significandf.c: Likewise.
44690 * math/s_significandl.c: Likewise.
44691 * math/w_jnl.c: Likewise.
44692 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44693 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44694 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44695 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44696 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44697 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44698 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44699 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44700 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44701 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44702 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44703 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44704 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44705 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44706 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44707 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44708 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44709 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44710 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44711 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44712 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44713 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44714 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44715 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44716 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44717 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44718 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44719 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44720 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44721 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44722 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44723 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44724 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44725 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44726 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44727 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44728 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44729 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44730 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44731 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44732 * sysdeps/ieee754/k_standard.c: Likewise.
44733 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44734 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44735 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44736 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44737 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44738 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44739 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44740 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44741 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44742 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44743 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44744 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44745 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44746 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44747 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44748 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44749 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44750 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44751 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44752 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44753 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44754 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44755 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44756 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44757 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44758 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44759 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44760 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44761 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44762 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44763 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44765 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44767 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44768 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44769 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44770 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44771 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44772 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44773 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44774 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44775 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44776 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44777 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44778 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44782 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44786 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44791 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44792 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44794 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44795 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44797 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44798 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44799 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44805 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44808 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44812 * sysdeps/ieee754/s_matherr.c: Likewise.
44813 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44817
965a54a4
JM
448182012-01-26 Joseph Myers <joseph@codesourcery.com>
44819
44820 * crypt/md5.h: Remove __STDC__ conditionals.
44821 * libio/libioP.h: Likewise.
44822 * locale/programs/config.h: Likewise.
44823 * sysdeps/generic/sysdep.h: Likewise.
44824 * sysdeps/i386/asm-syntax.h: Likewise.
44825 * sysdeps/s390/asm-syntax.h: Likewise.
44826 * sysdeps/unix/sysdep.h: Likewise.
44827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44829
7071ad79
JM
448302012-01-26 Joseph Myers <joseph@codesourcery.com>
44831
44832 * libio/libio.h: Remove __STDC__ conditionals.
44833 * malloc/obstack.h: Likewise.
44834 * math/complex.h: Likewise.
44835 * math/math.h: Likewise.
44836 * sysdeps/generic/_G_config.h: Likewise.
44837 * sysdeps/gnu/_G_config.h: Likewise.
44838 * sysdeps/mach/hurd/_G_config.h: Likewise.
44839 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44840 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44841 * sysdeps/sparc/bits/mathdef.h: Likewise.
44842
afc5ed09
UD
448432012-01-26 Ulrich Drepper <drepper@gmail.com>
44844
44845 [BZ #13583]
44846 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44847 Clean up HAS_* macros.
afc5ed09 44848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44849 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44850 possible.
44851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44852 HAS_AVX.
44853 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44854 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44855 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44856 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44857 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44858
bdb6de1d
JM
448592012-01-25 Joseph Myers <joseph@codesourcery.com>
44860
44861 * elf/tst-unique3.cc (gets): Remove declaration.
44862 * elf/tst-unique3lib.cc (gets): Likewise.
44863 * elf/tst-unique3lib2.cc (gets): Likewise.
44864 * elf/tst-unique4.cc (gets): Likewise.
44865
b15549e6
UD
448662012-01-24 Ulrich Drepper <drepper@gmail.com>
44867
44868 * include/stdio.h: Add C++ protection. Add gets declarations and
44869 definitions.
44870 * debug/tst-chk1.c: Don't declare gets here.
44871 * stdio-common/tst-gets.c: Likewise.
44872
a037381f
JM
448732012-01-24 Joseph Myers <joseph@codesourcery.com>
44874
44875 * posix/glob: Remove directory.
44876
f1d4aa75
JM
448772012-01-24 Joseph Myers <joseph@codesourcery.com>
44878
44879 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44880
81c0c964
PT
448812012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44882
44883 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44884 of the non-standard EPFNOSUPPORT.
44885
0ea698ae
ST
448862011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44887
44888 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44889 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44890 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44891
d220b117
UD
448922012-01-21 Ulrich Drepper <drepper@gmail.com>
44893
44894 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44895
3e1aa84e
UD
448962012-01-20 Ulrich Drepper <drepper@gmail.com>
44897
44898 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44899 transient errors.
44900 * nscd/grpcache.c (cache_addgr): Likewise.
44901 * nscd/hstcache.c (cache_addhst): Likewise.
44902 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44903 * nscd/pwdcache.c (cache_addpw): Likewise.
44904 * nscd/servicescache.c (cache_addserv): Likewise.
44905
400aa020
UD
449062012-01-16 Ulrich Drepper <drepper@gmail.com>
44907
d77e7869
UD
44908 * malloc/malloc.c: Various cleanups.
44909 * malloc/hooks.c: Likewise.
44910
400aa020
UD
44911 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44912 * stdlib/bug-fmtmsg1.c: New file.
44913
44914 * stdlib/fmtmsg.c (init): Add missing unlock.
44915 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44916
e0a309cf
MP
449172012-01-12 Marek Polacek <polacek@redhat.com>
44918
44919 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44920 and _GNU_SOURCE.
44921
929d11c7
WS
449222012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44923
44924 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44925 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44926 macro to ensure uniqueness of label name.
44927 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44928 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44929
41d0e869
UD
449302012-01-11 Ulrich Drepper <drepper@gmail.com>
44931
0cc5ed3b
UD
44932 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44933
41d0e869
UD
44934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44935 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44936 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44937 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44938
a47a831a
UD
449392012-01-10 Ulrich Drepper <drepper@gmail.com>
44940
daa891c0
UD
44941 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44942
44943 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44944 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44945 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44946
e58ef0f2
UD
44947 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44948
a47a831a 44949 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
44950 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44951 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 44952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
44953
44954 * math/bits/math-finite.h: Add ldexp support.
44955
a0bfc9c7
MP
449562012-01-10 Marek Polacek <polacek@redhat.com>
44957
44958 * locale/programs/localedef.h (show_archive_content): Add noreturn
44959 attribute.
44960
d6e97a1d
UD
449612012-01-09 Ulrich Drepper <drepper@gmail.com>
44962
44963 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44964
d5835c26
UD
449652012-01-08 Ulrich Drepper <drepper@gmail.com>
44966
e5f484c6
UD
44967 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44968
d5835c26
UD
44969 * io/Makefile (headers): Add bits/poll2.h.
44970
d1f741e9
WS
449712011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44972
44973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44974 typo #include statement.
44975
ec09c1c4
UD
449762012-01-08 Ulrich Drepper <drepper@gmail.com>
44977
44978 * include/sys/cdefs.h: Define __attribute_alloc_size.
44979 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44980 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44981 * elf/pldd.c: Likewise.
44982 * iconv/iconv_charmap.c: Likewise.
44983 * iconv/iconvconfig.c: Likewise.
44984 * iconv/strtab.c: Likewise.
44985 * locale/programs/locale.c: Likewise.
44986 * locale/programs/localedef.h: Likewise.
44987 * locale/programs/simple-hash.c: Likewise.
44988 * nscd/nscd.h: Likewise.
44989 * nss/makedb.c: Likewise.
44990 * sysdeps/generic/ldconfig.h: Likewise.
44991 * locale/programs/localedef.c: Remove xmalloc prototype.
44992 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44993
20b38e03
PP
449942012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44995
44996 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44997 appropriate.
44998
a0da5fe1
UD
449992012-01-08 Ulrich Drepper <drepper@gmail.com>
45000
1d5a644a 45001 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45002 * math/tst-CMPLX.c: New file.
1d5a644a 45003
8784a6db
UD
45004 * math/complex.h (CMPLXL): Fix typo.
45005
d9a216c0
UD
45006 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45007 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45008 GLIBC_2.16.
45009 * debug/tst-chk1.c: Add poll and ppoll tests.
45010 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45011 * include/sys/poll.h: Add hidden proto for ppoll.
45012 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45013 * sysdeps/mach/hurd/ppoll.c: Likewise.
45014 * io/ppoll.c: Likewise.
45015 * debug/poll_chk.c: New file.
45016 * debug/ppoll_chk.c: New file.
45017 * include/bits/poll2.h: New file.
45018 * io/bits/poll2.h: New file.
45019
ac097f5c
UD
45020 [BZ #1350]
45021 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45022
2119dcfa
UD
45023 * configure.in: static is always set to yes. Remove.
45024 * config.make.in: Don't set build-static.
45025 * Makeconfig: Remove use of build-static.
45026 * dlfcn/Makefile: Likewise.
45027 * elf/Makefile: Likewise.
45028 * math/Makefile: Likewise.
45029 * misc/Makefile: Likewise.
45030 * nptl/Makefile: Likewise.
45031 * sysdeps/mach/hurd/Makefile: Likewise.
45032
121766a9
UD
45033 * configure.in: PWD_P is not used anymore.
45034 * config.make.in: Remove PWD_P entry.
45035
51a1d39c 45036 * configure.in: Remove last remnants of RANLIB.
8720d066 45037 No need to check for signed size_t anymore.
215f4bdc
UD
45038 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45039 and IA-64.
3857022a 45040 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45041 * aclocal.m4: Likewise.
45042
d3ed7225
UD
45043 * wcsmbs/mbrtoc16.c: Implement using towc function.
45044 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45045 * wcsmbs/wcsmbsload.c: Likewise.
45046 * iconv/gconv_simple.c: Likewise.
45047 * iconv/gconv_int.h: Likewise.
45048 * iconv/gconv_builtin.h: Likewise.
45049 * iconv/iconv_prog.c: Remove CHAR16 handling.
45050
45051 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45052
45053 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45054
a0da5fe1
UD
45055 * configure.in: Remove --with-elf and --enable-bounded options.
45056 Dont set base_machine for ia64. More non-ELF conditions removed.
45057 Remove testing and setting of leading underscore information.
45058 * config.make.in (build-bounded): Set to no.
45059 * config.h.in: Remove NO_UNDERSCORES entry.
45060 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45061 them.
45062 * csu/start.c: Remove !NO_UNDERSCORE code.
45063 * locale/localeinfo.h: Likewise.
45064 * sysdeps/generic/machine-gmon.h: Likewise.
45065 * sysdeps/generic/sysdep.h: Likewise.
45066 * sysdeps/i386/sysdep.h: Likewise.
45067 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45068 * sysdeps/mach/sysdep.h: Likewise.
45069 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45070 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45071 * sysdeps/sh/sysdep.h: Likewise.
45072 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45073 * sysdeps/unix/i386/sysdep.S: Likewise.
45074 * sysdeps/unix/sparc/start.c: Likewise.
45075 * sysdeps/unix/sparc/sysdep.S: Likewise.
45076 * sysdeps/unix/sparc/sysdep.h: Likewise.
45077 * sysdeps/unix/start.c: Likewise.
45078 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45079 * sysdeps/x86_64/sysdep.h: Likewise.
45080
df78418a
UD
450812012-01-07 Ulrich Drepper <drepper@gmail.com>
45082
a784e502
UD
45083 [BZ #13553]
45084 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45085 for non-gcc.
45086 * argp/argp-fmtstream.h: Use const instead __const.
45087 * argp/argp.h: Likewise.
45088 * assert/assert.h: Likewise.
45089 * bits/fenv.h: Likewise.
45090 * bits/sched.h: Likewise.
45091 * bits/sigset.h: Likewise.
45092 * bits/sigthread.h: Likewise.
45093 * catgets/nl_types.h: Likewise.
45094 * conform/data/pthread.h-data: Likewise.
45095 * crypt/crypt-private.h: Likewise.
45096 * crypt/crypt.h: Likewise.
45097 * crypt/crypt_util.c: Likewise.
45098 * ctype/ctype.h: Likewise.
45099 * debug/execinfo.h: Likewise.
45100 * debug/mbsnrtowcs_chk.c: Likewise.
45101 * debug/mbsrtowcs_chk.c: Likewise.
45102 * debug/wcsnrtombs_chk.c: Likewise.
45103 * debug/wcsrtombs_chk.c: Likewise.
45104 * debug/wcstombs_chk.c: Likewise.
45105 * dirent/dirent.h: Likewise.
45106 * dlfcn/dlfcn.h: Likewise.
45107 * elf/neededtest4.c: Likewise.
45108 * grp/grp.h: Likewise.
45109 * gshadow/gshadow.h: Likewise.
45110 * iconv/gconv.h: Likewise.
45111 * iconv/gconv_int.h: Likewise.
45112 * iconv/gconv_simple.c: Likewise.
45113 * iconv/iconv.h: Likewise.
45114 * iconv/loop.c: Likewise.
45115 * iconv/skeleton.c: Likewise.
45116 * include/aio.h: Likewise.
45117 * include/aliases.h: Likewise.
45118 * include/argz.h: Likewise.
45119 * include/arpa/inet.h: Likewise.
45120 * include/assert.h: Likewise.
45121 * include/dirent.h: Likewise.
45122 * include/dlfcn.h: Likewise.
45123 * include/execinfo.h: Likewise.
45124 * include/fcntl.h: Likewise.
45125 * include/fenv.h: Likewise.
45126 * include/glob.h: Likewise.
45127 * include/grp.h: Likewise.
45128 * include/libintl.h: Likewise.
45129 * include/mntent.h: Likewise.
45130 * include/netdb.h: Likewise.
45131 * include/pwd.h: Likewise.
45132 * include/rpc/netdb.h: Likewise.
45133 * include/sched.h: Likewise.
45134 * include/search.h: Likewise.
45135 * include/shadow.h: Likewise.
45136 * include/signal.h: Likewise.
45137 * include/stdio.h: Likewise.
45138 * include/stdlib.h: Likewise.
45139 * include/string.h: Likewise.
45140 * include/sys/socket.h: Likewise.
45141 * include/sys/stat.h: Likewise.
45142 * include/sys/statfs.h: Likewise.
45143 * include/sys/statvfs.h: Likewise.
45144 * include/sys/syslog.h: Likewise.
45145 * include/sys/time.h: Likewise.
45146 * include/sys/uio.h: Likewise.
45147 * include/time.h: Likewise.
45148 * include/unistd.h: Likewise.
45149 * include/utmp.h: Likewise.
45150 * include/wchar.h: Likewise.
45151 * include/wctype.h: Likewise.
45152 * inet/aliases.h: Likewise.
45153 * inet/arpa/inet.h: Likewise.
45154 * inet/netinet/ether.h: Likewise.
45155 * inet/netinet/in.h: Likewise.
45156 * intl/libintl.h: Likewise.
45157 * io/bits/fcntl2.h: Likewise.
45158 * io/fcntl.h: Likewise.
45159 * io/ftw.h: Likewise.
45160 * io/sys/poll.h: Likewise.
45161 * io/sys/stat.h: Likewise.
45162 * io/sys/statfs.h: Likewise.
45163 * io/sys/statvfs.h: Likewise.
45164 * io/utime.h: Likewise.
45165 * libio/bits/stdio.h: Likewise.
45166 * libio/bits/stdio2.h: Likewise.
45167 * libio/libio.h: Likewise.
45168 * libio/libioP.h: Likewise.
45169 * libio/stdio.h: Likewise.
45170 * locale/lc-ctype.c: Likewise.
45171 * locale/locale.h: Likewise.
45172 * login/utmp.h: Likewise.
45173 * malloc/arena.c: Likewise.
45174 * malloc/malloc.c: Likewise.
45175 * malloc/malloc.h: Likewise.
45176 * malloc/mcheck.c: Likewise.
45177 * malloc/mtrace.c: Likewise.
45178 * math/bits/mathcalls.h: Likewise.
45179 * math/fenv.h: Likewise.
45180 * math/math_private.h: Likewise.
45181 * misc/bits/error.h: Likewise.
45182 * misc/bits/syslog.h: Likewise.
45183 * misc/err.h: Likewise.
45184 * misc/error.h: Likewise.
45185 * misc/fstab.h: Likewise.
45186 * misc/mntent.h: Likewise.
45187 * misc/regexp.h: Likewise.
45188 * misc/search.h: Likewise.
45189 * misc/sgtty.h: Likewise.
45190 * misc/sys/mman.h: Likewise.
45191 * misc/sys/syslog.h: Likewise.
45192 * misc/sys/uio.h: Likewise.
45193 * misc/sys/xattr.h: Likewise.
45194 * misc/ttyent.h: Likewise.
45195 * nis/rpcsvc/ypclnt.h: Likewise.
45196 * nss/nss.h: Likewise.
45197 * posix/bits/unistd.h: Likewise.
45198 * posix/fnmatch.h: Likewise.
45199 * posix/glob.h: Likewise.
45200 * posix/sched.h: Likewise.
45201 * posix/spawn.h: Likewise.
45202 * posix/sys/wait.h: Likewise.
45203 * posix/unistd.h: Likewise.
45204 * posix/wordexp.h: Likewise.
45205 * pwd/pwd.h: Likewise.
45206 * resolv/netdb.h: Likewise.
45207 * resource/sys/resource.h: Likewise.
45208 * rt/aio.h: Likewise.
45209 * rt/bits/mqueue2.h: Likewise.
45210 * rt/mqueue.h: Likewise.
45211 * shadow/shadow.h: Likewise.
45212 * signal/signal.h: Likewise.
45213 * socket/send.c: Likewise.
45214 * socket/sendto.c: Likewise.
45215 * socket/sys/socket.h: Likewise.
45216 * stdio-common/printf.h: Likewise.
45217 * stdlib/bits/stdlib.h: Likewise.
45218 * stdlib/fmtmsg.h: Likewise.
45219 * stdlib/monetary.h: Likewise.
45220 * stdlib/stdlib.h: Likewise.
45221 * stdlib/ucontext.h: Likewise.
45222 * streams/stropts.h: Likewise.
45223 * string/argz.h: Likewise.
45224 * string/bits/string2.h: Likewise.
45225 * string/string.h: Likewise.
45226 * string/strings.h: Likewise.
45227 * sunrpc/rpc/auth.h: Likewise.
45228 * sunrpc/rpc/auth_des.h: Likewise.
45229 * sunrpc/rpc/clnt.h: Likewise.
45230 * sunrpc/rpc/netdb.h: Likewise.
45231 * sunrpc/rpc/pmap_clnt.h: Likewise.
45232 * sunrpc/rpc/xdr.h: Likewise.
45233 * sysdeps/generic/inttypes.h: Likewise.
45234 * sysdeps/generic/net/if.h: Likewise.
45235 * sysdeps/generic/sys/swap.h: Likewise.
45236 * sysdeps/gnu/net/if.h: Likewise.
45237 * sysdeps/gnu/utmpx.h: Likewise.
45238 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45239 * sysdeps/i386/i486/bits/string.h: Likewise.
45240 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45241 * sysdeps/s390/bits/string.h: Likewise.
45242 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45243 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45244 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45245 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45246 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45247 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45248 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45249 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45250 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45251 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45252 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45253 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45254 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45255 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45256 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45257 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45258 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45260 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45261 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45262 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45263 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45264 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45265 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45266 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45267 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45268 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45270 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45271 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45272 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45273 * sysvipc/sys/ipc.h: Likewise.
45274 * sysvipc/sys/msg.h: Likewise.
45275 * sysvipc/sys/sem.h: Likewise.
45276 * sysvipc/sys/shm.h: Likewise.
45277 * termios/termios.h: Likewise.
45278 * time/sys/time.h: Likewise.
45279 * time/time.h: Likewise.
45280 * wcsmbs/bits/wchar2.h: Likewise.
45281 * wcsmbs/uchar.h: Likewise.
45282 * wcsmbs/wchar.h: Likewise.
45283 * wctype/wctype.h: Likewise.
45284
0269750c
UD
45285 [BZ #13551]
45286 * Makeconfig: Remove all but ELF support including AIX support.
45287 * Makerules: Likewise.
45288 * config.h.in: Likewise.
45289 * config.make.in: Likewise.
45290 * configure: Likewise.
45291 * configure.in: Likewise.
45292 * csu/Makefile: Likewise.
45293 * csu/version.c: Likewise.
45294 * debug/Makefile: Likewise.
45295 * dlfcn/Makefile: Likewise.
45296 * elf/Makefile: Likewise.
45297 * extra-lib.mk: Likewise.
45298 * iconv/Makefile: Likewise.
45299 * include/libc-symbols.h: Likewise.
45300 * include/shlib-compat.h: Likewise.
45301 * resolv/Makefile: Likewise.
45302 * resolv/res_libc.c: Likewise.
45303 * rt/Makefile: Likewise.
45304 * sysdeps/i386/asm-syntax.h: Likewise.
45305 * sysdeps/i386/sysdep.h: Likewise.
45306 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45307 * sysdeps/mach/sysdep.h: Likewise.
45308 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45309 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45310 * sysdeps/s390/asm-syntax.h: Likewise.
45311 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45313 * sysdeps/sh/sysdep.h: Likewise.
45314 * sysdeps/unix/sparc/sysdep.h: Likewise.
45315 * sysdeps/wordsize-32/divdi3.c: Likewise.
45316 * sysdeps/x86_64/sysdep.h: Likewise.
45317
00bbd29b
UD
45318 * argp/Versions: Remove _argp_unlock_xxx.
45319
45320 [BZ #13559]
45321 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45322 * abilist/libBrokenLocale.abilist: Likewise.
45323 * abilist/libanl.abilist: Likewise.
45324 * abilist/libc.abilist: Likewise.
45325 * abilist/libcrypt.abilist: Likewise.
45326 * abilist/libdl.abilist: Likewise.
45327 * abilist/libm.abilist: Likewise.
45328 * abilist/libnsl.abilist: Likewise.
45329 * abilist/libpthread.abilist: Likewise.
45330 * abilist/libresolv.abilist: Likewise.
45331 * abilist/librt.abilist: Likewise.
45332 * abilist/libthread_db.abilist: Likewise.
45333 * abilist/libutil.abilist: Likewise.
45334 * abilist/libnss_db.abilist: New file.
45335
45336 * scripts/abilist.awk: Add support for indirect functions.
45337
a2693a0e
UD
45338 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45339
3f05895f
UD
45340 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45341
ecb6fb48
UD
45342 * shlib-versions: Remove entries for ports architectures.
45343
664f8cb9
UD
45344 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45345 files in ports.
45346 * elf/stackguard-macros.h: Remove support for IA-64.
45347 * elf/tst-auditmod1.c: Likewise.
45348 * sysdeps/generic/ldsodefs.h: Likewise.
45349
7ae81d88
UD
45350 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45351 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45352 configure files.
45353
bdeba135
UD
45354 [BZ #13552]
45355 * configure.in: Remove --enable-omitfp support.
45356 * FAQ.in: Adjust.
45357 * config.make.in: Likewise.
45358 * Makeconfig: Likewise.
45359 * manual/install.texi: Likewise.
45360
d75a0a62
UD
45361 In case anyone cares, the IA-64 architecture could move to ports.
45362 * sysdeps/ia64/*: Removed.
45363 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45364 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45365
dcc9756b
UD
45366 [BZ #13555]
45367 * configure.in: Remove entries for unsupported architectures.
45368
d3761ebc 45369 [BZ #13533]
9954432e
UD
45370 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45371 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45372 routines.
45373 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45374 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45375 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45376 fall back to using wcrtomb.
45377 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45378 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45379 renaming.
45380 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45381 * wcsmbs/tst-c16c32-1.c: New file.
45382
45383 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45384 local variable.
45385
c3a87236
UD
45386 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45387
28926a1b
UD
45388 * elf/tst-unique3.cc: Add explicit declaration of gets.
45389 * elf/tst-unique3lib.cc: Likewise.
45390 * elf/tst-unique3lib2.cc: Likewise.
45391 * elf/tst-unique4.cc: Likewise.
45392
df78418a
UD
45393 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45394
8ecd6b2a
JM
453952012-01-06 Joseph Myers <joseph@codesourcery.com>
45396
45397 [BZ #13566]
45398 * assert/assert.h (static_assert): Don't define for C++.
45399 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45400 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45401
9f115170
UD
454022012-01-03 Ulrich Drepper <drepper@gmail.com>
45403
5e0d0300
UD
45404 * iconv/loop.c (single loop): Fix assertion in storing of
45405 remaining bytes.
45406
9f115170
UD
45407 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45408
81fb02b0
UD
454092012-01-01 Ulrich Drepper <drepper@gmail.com>
45410
45411 * posix/getconf.c: Update copyright year.
45412 * nss/getent.c: Likewise.
a316c1f6 45413 * nss/makedb.c: Likewise.
81fb02b0
UD
45414 * iconv/iconvconfig.c: Likewise.
45415 * iconv/iconv_prog.c: Likewise.
45416 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45417 * elf/pldd.c: Likewise.
45418 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45419 * catgets/gencat.c: Likewise.
45420 * csu/version.c: Likewise.
45421 * elf/ldd.bash.in: Likewise.
45422 * elf/sprof.c (print_version): Likewise.
45423 * locale/programs/locale.c: Likewise.
45424 * locale/programs/localedef.c: Likewise.
a316c1f6 45425 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45426 * nscd/nscd.c (print_version): Likewise.
45427 * debug/xtrace.sh: Likewise.
45428 * malloc/memusage.sh: Likewise.
45429 * malloc/mtrace.pl: Likewise.
45430 * debug/catchsegv.sh: Likewise.
45431
2ba92745
JJ
454322011-12-30 Jakub Jelinek <jakub@redhat.com>
45433
45434 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45435 pure attribute.
45436
dadebdae
UD
454372011-12-24 Ulrich Drepper <drepper@gmail.com>
45438
d3761ebc 45439 [BZ #13533]
db6af3eb
UD
45440 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45441 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45442 transformations.
45443 * iconv/gconv_int.h: Likewise.
45444 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45445 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45446 from libc for GLIBC_2.16.
45447 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45448 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45449 * wcsmbs/uchar.h: Really define mbstate_t.
45450 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45451 * wcsmbs/c16rtomb.c: New file.
45452 * wcsmbs/mbrtoc16.c: New file.
45453 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45454 for C/POSIX locale.
45455 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45456 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45457
dadebdae
UD
45458 * wcsmbs/wchar.h: Add missing __restrict.
45459
67371b56
UD
454602011-12-23 Ulrich Drepper <drepper@gmail.com>
45461
74033a25
UD
45462 [BZ #13532]
45463 * time/Makefile (routines): Add timespec_get.
45464 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45465 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45466 timespec for ISO C11.
45467 * time/timespec_get.c: New file.
45468 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45469 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45470
380d7e87
UD
45471 [BZ #13531]
45472 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45473 * stdlib/stdlib.h: Declare aligned_alloc.
45474 * Versions.def: Add GLIBC_2.16 for libc.
45475 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45476
4e9e7a35
UD
45477 [BZ 13527]
45478 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45479 ISO C11.
45480
380d7e87 45481 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45482 code.
45483
03a71829
UD
45484 [BZ #13528]
45485 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45486
839e283e
UD
45487 [BZ #13529]
45488 * assert/assert.h (static_assert): Define.
45489
ce5294e2 45490 * version.h: Update for 2.16 development version.
90fa7312 45491
8d44e150 45492 [BZ #13526]
d7809905
UD
45493 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45494 _ISOC11_SOURCE.
45495
c0da14cd
UD
45496 * version.h (RELEASE): Bump for 2.15 release.
45497 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45498
530a3249
MP
45499 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45500 Patch by Marek Polacek <mpolacek@redhat.com>.
45501
67371b56
UD
45502 * bits/byteswap.h: Protect long long constants with __extension__.
45503 * sysdeps/i386/bits/byteswap.h: Likewise.
45504 * sysdeps/ia64/bits/byteswap.h: Likewise.
45505 * sysdeps/s390/bits/byteswap.h: Likewise.
45506 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45507
15db4de1
LD
455082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45509
45510 [BZ #13540]
bbe315ea
LD
45511 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45512 destination buffer.
15db4de1
LD
45513 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45514
2b2596b1
MP
455152011-12-23 Marek Polacek <polacek@redhat.com>
45516
45517 * elf/dl-addr.c (determine_info): Add inline keyword.
45518 * elf/tst-auditmod4b.c (check_avx): Likewise.
45519 * elf/tst-auditmod6b.c (check_avx): Likewise.
45520 * elf/tst-auditmod6c.c (check_avx): Likewise.
45521 * elf/tst-auditmod7b.c (check_avx): Likewise.
45522
70c6c246
UD
455232011-12-23 Ulrich Drepper <drepper@gmail.com>
45524
45525 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45526 !__SSE_MATH__.
45527
c044cf14
LD
455282011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45529
15db4de1 45530 [BZ #13540]
c044cf14
LD
45531 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45532 processing for last bytes.
45533
6b13d9d9
BH
455342011-08-06 Bruno Haible <bruno@clisp.org>
45535
d455f537
BH
45536 [BZ #13061]
45537 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45538 U+0385, not to U+1FEE.
45539
6b13d9d9
BH
45540 [BZ #13062]
45541 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45542 entry for U+00A5 U+0301.
45543
db910efd
UD
455442011-12-22 Ulrich Drepper <drepper@gmail.com>
45545
27deeafc
UD
45546 [BZ #13166]
45547 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45548 buffer for the output is too small.
45549
aed9d171
UD
45550 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45551 optimization.
45552
db910efd
UD
45553 [BZ #13185]
45554 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45555 SSE flags if possible.
45556
2bd779ae
LD
455572011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45558
e7f9dac3 45559 [BZ #13540]
2bd779ae
LD
45560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45561 processing for last bytes.
45562
154bfc16
JM
455632011-12-22 Joseph Myers <joseph@codesourcery.com>
45564
45565 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45566 (syscall-list-default-options, syscall-list-default-condition)
45567 (syscall-list-includes): Define.
45568 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45569 list of ABIs and options and #if conditions for each ABI. Do not
45570 handle common syscalls between ABIs specially.
45571 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45572 Remove.
45573 (syscall-list-variants, syscall-list-32bit-options)
45574 (syscall-list-32bit-condition, syscall-list-64bit-options)
45575 (syscall-list-64bit-condition): Define.
45576 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45577 (syscall-list-variants, syscall-list-32bit-options)
45578 (syscall-list-32bit-condition, syscall-list-64bit-options)
45579 (syscall-list-64bit-condition): Define.
45580 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45581 Remove.
45582 (syscall-list-variants, syscall-list-32bit-options)
45583 (syscall-list-32bit-condition, syscall-list-64bit-options)
45584 (syscall-list-64bit-condition): Define.
45585 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45586 Remove.
45587 (syscall-list-variants, syscall-list-32bit-options)
45588 (syscall-list-32bit-condition, syscall-list-64bit-options)
45589 (syscall-list-64bit-condition): Define.
45590
21eaf3a5
UD
455912011-12-22 Ulrich Drepper <drepper@gmail.com>
45592
16c6f992
UD
45593 * locale/iso-639.def: Add brx entry.
45594
41043168
UD
45595 [BZ #13328]
45596 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45597 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45598
21eaf3a5
UD
45599 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45600 __feraiseexcept_renamed.
45601
e3a851a2
UD
456022011-12-21 Ulrich Drepper <drepper@gmail.com>
45603
4920765e
UD
45604 [BZ #13538]
45605 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45606 EPOLLET with unsigned values.
45607 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45608 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45609
e3a851a2
UD
45610 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45611 to large cancellation.
45612 * math/s_cacoshf.c: Likewise.
45613 * math/s_cacoshl.c: Likewise.
45614
b27e24b8
RK
456152011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45616
45617 [BZ #13305]
aebefeee 45618 [BZ #12786]
b27e24b8
RK
45619 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45620 * math/s_cacoshf.c: Likewise.
45621 * math/s_cacoshl.c: Likewise.
45622
ee190f67
UD
456232011-12-21 Ulrich Drepper <drepper@gmail.com>
45624
45625 [BZ #13439]
45626 * iconv/gconv.h: Define __GCONV_SWAP.
45627 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45628 * iconvdata/utf-16.c: Likewise.
45629 * iconvdata/utf-32.c: Likewise.
45630
707f25df
AS
456312011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45632
45633 [BZ #13524]
45634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45635 numerator after shifting it by one limb.
45636
d2daaa1e
RÁE
456372011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45638
45639 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45640 under [__USE_EXTERN_INLINES].
45641
a4647e72
UD
456422011-12-17 Ulrich Drepper <drepper@gmail.com>
45643
45644 [BZ #13446]
45645 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45646
f0b264f1
AZ
456472011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45648
45649 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45650 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45651 optimized code.
45652 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45653 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45654 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45655 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45656 for strncasecmp/strncasecmp_l compilation.
45657 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45658 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45659
8ef4f244
MP
456602011-12-08 Marek Polacek <mpolacek@redhat.com>
45661
45662 [BZ #13484]
45663 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45664 of __asm__.
45665
97ac2654
UD
456662011-12-17 Ulrich Drepper <drepper@gmail.com>
45667
45668 [BZ #13506]
45669 * time/tzfile.c (__tzfile_read): Check values from file header.
45670
91d2a845
WS
456712011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45672
45673 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45674 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45675 * powerpc/powerpc32/dl-start.S: Likewise.
45676 * powerpc/powerpc32/elf/start.S: Likewise.
45677 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45678 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45679 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45680 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45681 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45682 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45683 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45684 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45685 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45686 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45687 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45688 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45689 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45690 * powerpc/powerpc32/memset.S: Likewise.
45691 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45692 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45693 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45694 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45695 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45696 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45697 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45698 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45699 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45700 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45701 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45702 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45703 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45704
a1267ba1
AZ
457052011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45706
45707 * math/libm-test.inc: Added more nearbyint tests.
45708 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45709 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45710 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45711 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45712
ad8ac1bd
RL
457132011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45714
45715 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45716 FD_CLOEXEC.
45717
1d3e4b61
UD
457182011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45719
45720 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45721 Add wcscpy-ssse3 wcscpy-c.
45722 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45723 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45724 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45725 * sysdeps/x86_64/wcschr.S: New file.
45726 * sysdeps/x86_64/wcsrchr.S: New file.
45727 * string/test-strcmp.c: Remove checking of wcscmp function for
45728 wrong alignments.
45729 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45730 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45731 wcsrchr-sse2 wcsrchr-c.
45732 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45733 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45734 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45735 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45736 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45737 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45738 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45739 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45740 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45741 * wcsmbc/wcschr.c (WCSCHR): New macro.
45742
5b330a2d
UD
457432011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45744
45745 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45746 * wcsmbs/test-wcsrchr.c: New file.
45747 * string/test-strrchr.c: Add wcsrchr support.
45748 (WIDE): New macro.
45749 * wcsmbs/test-wcscpy.c: New file.
45750 * string/test-strcpy.c: Add wcscpy support.
45751 (WIDE): New macro.
26428b7c 45752
f039c043
UD
457532011-12-10 Ulrich Drepper <drepper@gmail.com>
45754
45755 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45756 the inner loop.
45757
850fb039
AS
457582011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45759
45760 [BZ #13472]
45761 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45762
4efbd5cb
UD
457632011-12-04 Ulrich Drepper <drepper@gmail.com>
45764
52ff5dd0 45765 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45766 Minor optimizations.
52ff5dd0 45767
4efbd5cb
UD
45768 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45769 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45770 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45771
8a426e12
UD
457722011-12-03 Ulrich Drepper <drepper@gmail.com>
45773
aff2453d
UD
45774 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45775 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45776 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45777 for gcc to avoid warnings.
45778 * inet/Makefile (tests): Add tst-checks.
45779 * inet/tst-checks.c: New file.
45780
45781 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45782 warning.
45783
45784 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45785 __wmemcmp_sse2.
45786
45787 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45788 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45789
8a426e12
UD
45790 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45791
9bea3473
UD
457922011-12-02 Ulrich Drepper <drepper@gmail.com>
45793
3a965496
UD
45794 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45795 problem.
45796
9bea3473
UD
45797 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45798
f101631b
UD
457992011-11-29 Joseph Myers <joseph@codesourcery.com>
45800
45801 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45802 conditional on GCC version.
45803 (__arch_compare_and_exchange_val_8_acq)
45804 (__arch_compare_and_exchange_val_16_acq)
45805 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45806 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45807 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45808
a98275aa
UD
458092011-12-02 Joseph Myers <joseph@codesourcery.com>
45810
45811 * sysdeps/sh/backtrace.c: New file.
45812
d4cc29a2
AS
458132011-12-02 Andreas Schwab <schwab@redhat.com>
45814
45815 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45816 parenthesis.
45817
6257af2d
AS
458182011-12-01 Andreas Schwab <schwab@redhat.com>
45819
45820 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45821 falling back to utime.
45822
b5f44c1a
AS
458232011-11-30 Andreas Schwab <schwab@redhat.com>
45824
45825 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45826 expectations for float.
45827
f3a6cc0a
AS
458282011-11-29 Andreas Schwab <schwab@redhat.com>
45829
45830 * locale/weight.h (findidx): Add parameter len.
45831 * locale/weightwc.h (findidx): Likewise.
45832 * posix/fnmatch_loop.c (FCT): Adjust caller.
45833 * posix/regcomp.c (build_equiv_class): Likewise.
45834 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45835 * posix/regexec.c (check_node_accept_bytes): Likewise.
45836 * string/strcoll_l.c (STRCOLL): Likewise.
45837 * string/strxfrm_l.c (STRXFRM): Likewise.
45838
9d65ea3a
UD
458392011-11-17 Ulrich Drepper <drepper@gmail.com>
45840
45841 * Makefile.in: Remove CVSOPT handling.
45842 * configure.in: Remove use of AC_REVISION.
45843 * iconvdata/Makefile (distribute): No need to filter out CVS.
45844 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45845 handling.
45846
5583a086
AS
458472011-11-16 Andreas Schwab <schwab@redhat.com>
45848
45849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45850 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45851 [USE_AS_STRNCASECMP_L]: Likewise.
45852 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45853 NO_TLS_DIRECT_SEG_REFS.
45854 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45855 Fix argument offsets for non-PIC.
45856 [USE_AS_STRNCASECMP_L]: Likewise.
45857 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45858 NO_TLS_DIRECT_SEG_REFS.
45859
d62a8200
UD
458602011-11-15 Ulrich Drepper <drepper@gmail.com>
45861
9d65ea3a 45862 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45863 O_CLOEXEC.
45864 * locale/loadlocale.c (_nl_load_locale): Likewise.
45865
09f93bd3
AS
458662011-11-15 Andreas Schwab <schwab@redhat.com>
45867
446514f9
AS
45868 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45869 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45870 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45871 (SYSCALL_GETTIME): Set errno on error.
45872
09f93bd3
AS
45873 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45874 count references to noai6ai_cached.
45875
312be3f9
UD
458762011-11-15 Ulrich Drepper <drepper@gmail.com>
45877
45878 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45879
45880 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45881 FD_CLOEXEC for /proc/self/maps.
45882
45883 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45884 FD_CLOEXEC for /proc/meminfo.
45885
45886 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45887 gai.conf.
45888
45889 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45890 FD_CLOEXEC for given file.
45891
45892 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45893
45894 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45895 FD_CLOEXEC for /etc/hosts.
45896 (_gethtent): Likewise.
45897
45898 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45899
45900 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45901 cancellation and set FD_CLOEXEC for /etc/netgroup.
45902
45903 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45904 reading /etc/publickey.
45905
45906 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45907 allow cancellation when reading /etc/group.
45908
45909 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45910 cancellation.
45911 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45912
45913 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45914 when using data file.
45915
45916 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45917
45918 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45919 (write_nis_obj): Use "c" and "e" in fopen.
45920
45921 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45922
45923 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45924
45925 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45926
45927 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45928
45929 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45930 locale.alias.
45931
45932 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45933
45934 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45935
45936 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45937
45938 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45939 file parsing and set FD_CLOEXEC.
45940
82af0fa8
UD
459412011-11-14 Ulrich Drepper <drepper@gmail.com>
45942
45943 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45944
a5fb313c
AS
459452011-11-14 Andreas Schwab <schwab@redhat.com>
45946
45947 * malloc/arena.c (arena_get2): Don't call reused_arena when
45948 _int_new_arena failed.
45949
6abf3465
UD
459502011-11-14 Ulrich Drepper <drepper@gmail.com>
45951
45952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45953 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45954 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45955 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45956 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45957 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45958 to compile strcasecmp and strncasecmp.
45959 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45960 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45961
45962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45963
76e3966e
UD
459642011-11-13 Ulrich Drepper <drepper@gmail.com>
45965
45966 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45967 locale-defines.sym to gen-as-const-headers.
45968 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45969 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45971 to compile strcasecmp and strncasecmp.
45972 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45973 strcasecmp_l and strncasecmp_l.
45974 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45975 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45976 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45977 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45978 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45979 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45980 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45981 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45982 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45983 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45984 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45985
ab26144e
UD
459862011-11-12 Ulrich Drepper <drepper@gmail.com>
45987
7edb22ef
UD
45988 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45989 result of SYSDEP_GETTIME_CPU to retval.
45990 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45991 parameter list to macro. Remove trailing semicolon. Adjust users.
45992
9694fc44
UD
45993 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45994 variable.
45995
8ad89ef8
UD
45996 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45997 mantissa words.
45998 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45999
0c822ef9
UD
46000 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46001 from unused variable.
46002
874e0564
UD
46003 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46004 DWARF definitions.
46005 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46006 for assembling.
46007
3a2edc79
UD
46008 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46009 over namespaces.
46010
f3c2577f
UD
46011 * sunrpc/rpc_prot.c (rejected): Fix case value.
46012
294ce126
UD
46013 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46014 unsigned long long int to avoid warnings in shift.
46015
5e2b63c6
UD
46016 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46017 of use of trans.
46018 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46019 variable tmp.
46020
e7f4b08e
UD
46021 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46022 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46023 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46024
ab26144e
UD
46025 * nis/nis_table.c (nis_list): Use variable of correct type for
46026 result of __follow_path call.
46027
8a6d5255
AZ
460282011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46029
46030 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46031 of math functions ceil, trunc, floor, round, and sqrt, when
46032 avaliable on the platform.
46033 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46034 name clash.
46035 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46036 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46037 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46038
aaddc98c
MP
460392011-10-30 Marek Polacek <mpolacek@redhat.com>
46040
46041 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46042 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46043
95b7042b
RM
460442011-11-11 Roland McGrath <roland@hack.frob.com>
46045
46046 * include/unistd.h: Fix __readlink return type.
46047 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46048
57769839
UD
460492011-11-11 Ulrich Drepper <drepper@gmail.com>
46050
46051 * stdlib/ucontext.h: Undo last change for makecontext.
46052
edc5984d
AS
460532011-11-11 Andreas Schwab <schwab@redhat.com>
46054
98591e58
AS
46055 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46056
edc5984d
AS
46057 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46058 * setjmp/setjmp.h: Mark functions as non-leaf.
46059 * setjmp/bits/setjmp2.h: Likewise.
46060 * stdlib/ucontext.h: Likewise.
46061
77cdc054
AS
460622011-11-10 Andreas Schwab <schwab@redhat.com>
46063
46064 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46065 (reused_arena): Don't check arena limit.
46066 (arena_get2): Atomically check arena limit.
46067
fe72eebd
UD
460682011-11-08 Ulrich Drepper <drepper@gmail.com>
46069
5f078c32
UD
46070 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46071 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46072
fe72eebd
UD
46073 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46074 instructions.
46075
ae1bc2fa
AS
460762011-11-07 Andreas Schwab <schwab@redhat.com>
46077
7583a88d
AS
46078 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46079 handler when locking.
46080
ae1bc2fa
AS
46081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46082 Fix size of allocated buffer.
46083
10fb0bfa
AS
460842011-11-04 Andreas Schwab <schwab@redhat.com>
46085
998832a4
AS
46086 [BZ #10103]
46087 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46088 declarations for long double functions.
46089 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46090
10fb0bfa
AS
46091 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46092
3d7ba52b
AS
460932011-11-03 Andreas Schwab <schwab@redhat.com>
46094
a9ae54a1
AS
46095 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46096 installed.
46097
3d7ba52b
AS
46098 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46099 is disabled.
46100
bc8db248
ST
461012011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46102
46103 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46104
45b96dd6
AS
461052011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46106
647776f6
AS
46107 * include/alloca.h (stackinfo_alloca_round): Define.
46108 (extend_alloca): Use it.
46109 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46110 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46111 here.
46112
d91a8b93
AS
46113 * scripts/check-local-headers.sh: Ignore libaudit.h.
46114
45b96dd6
AS
46115 * nscd/Makefile (extra-objs): Make recursively expanded.
46116
432d41ce
UD
461172011-11-01 Ulrich Drepper <drepper@gmail.com>
46118
34372fc6
UD
46119 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46120 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46121
fadb59f8
UD
46122 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46123 * posix/tst-rfc3484-2.c: Likewise.
46124 * posix/tst-rfc3484-3.c: Likewise.
46125
78239589
UD
46126 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46127 process_vm_writev.
46128 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46129 process_vm_writev.
46130 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46131 process_vm_writev from libc using GLIBC_2.15 version.
46132
432d41ce
UD
46133 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46134
02f9c6cf
PP
461352011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46136
46137 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46138 stack usage.
46139
3a2c0242
UD
461402011-10-31 Ulrich Drepper <drepper@gmail.com>
46141
f4ec4833
UD
46142 [BZ #13367]
46143 * nss/getent.c (initgroups_keys): Show error message in case no group
46144 names are given.
46145
3a2c0242
UD
46146 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46147 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46148 __bump_nl_timestamp.
46149 * nscd/connections (nscd_init): When host database is served open
46150 netlink socket and request notification about configuration changes.
46151 (main_loop_poll): Track netlink file descriptor and bump timestamp
46152 in case data becomes available.
46153 (main_loop_epoll): Likewise.
46154 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46155 (database_pers_head): Add extra_data fileds.
46156 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46157 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46158 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46159 Adjust caller.
46160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46161 in6ai data, call __free_in6ai.
46162 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46163 Add -DHAVE_NETLINK.
46164 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46165 interface information. Reuse previous data if netlink timestamp
46166 is not changed.
46167 (__bump_nl_timestamp): New function.
46168 (__free_in6ai): New function.
46169
636064eb
UD
461702011-10-30 Ulrich Drepper <drepper@gmail.com>
46171
46172 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46173 close_not_cancel_no_status here.
46174 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46175
9beb2334
UD
461762011-10-29 Ulrich Drepper <drepper@gmail.com>
46177
6ef76f3b
UD
46178 [BZ #13276]
46179 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46180 return value.
46181
0ffc4f3e 46182 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46183 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46184 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46185
cb95113e
UD
461862011-07-03 Andreas Jaeger <aj@suse.de>
46187
46188 [BZ #10709]
46189 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46190 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46191 * math/libm-test.inc (sin_test): Add test case.
46192
a1b560ff
UD
461932011-10-29 Ulrich Drepper <drepper@gmail.com>
46194
c9aaface
UD
46195 [BZ #13337]
46196 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46197 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46198
d272e7f1
UD
46199 * elf/chroot_canon.c (chroot_canon): Cleanups.
46200
1bc33071
UD
46201 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46202
1760874d
TJ
46203 [BZ #13335]
46204 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46205 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46206
51d91b18
UD
46207 * string/test-strchr.c: Make usable for strchrnul testing.
46208 * string/test-strchrnul.c: New file.
46209 * string/Makefile (strop-tests): Add strchrnul.
46210
a1b560ff 46211 * po/it.po: Update from translation team.
b611fb81 46212 * po/es.po: Likewise.
a1b560ff 46213
a5b81e1f
UD
462142011-10-28 Ulrich Drepper <drepper@gmail.com>
46215
fd52bc6d
UD
46216 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46217 the three constants needed as parameters. Drop the others.
46218 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46219 __m128i_strloadu_tolower.
52e4b9eb
UD
46220 Create and initialize variable zero and use it in all the places
46221 where _mm_setzero_si128 was used.
fd52bc6d 46222
a5b81e1f
UD
46223 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46224 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46225 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46226 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46227 anymore.
46228 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46229 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46230 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46231 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46232 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46233 __mpranred, __mptan.
46234 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46235 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46236 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46237 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46238 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46239 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46240 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46241 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46242 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46243
b4343346
AS
462442011-10-28 Andreas Schwab <schwab@redhat.com>
46245
0c92d8a8
AS
46246 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46247 redefine if SHARED.
46248 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46249
b4343346
AS
46250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46251 wide char related routines to wcsmbs subdir.
46252
3871f58f
AS
462532011-10-27 Andreas Schwab <schwab@redhat.com>
46254
46255 [BZ #13344]
46256 * misc/sys/cdefs.h (__THROWNL): Define.
46257 * posix/unistd.h: Use __THREADNL instead of __THREAD
46258 for memory synchronization functions.
46259
94d44d9f
RM
462602011-10-26 Roland McGrath <roland@hack.frob.com>
46261
21b64b15 46262 [BZ #13349]
94d44d9f
RM
46263 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46264 doesn't exist.
46265 * manual/stdio.texi (Obstack Streams): Node removed.
46266
f6ce9294
AS
462672011-10-26 Andreas Schwab <schwab@redhat.com>
46268
80479147
AS
46269 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46270 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46272
f6ce9294
AS
46273 * math/math_private.h (math_force_eval): Allow non-addressable
46274 arguments.
46275 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46276
618280a1
UD
462772011-10-25 Ulrich Drepper <drepper@gmail.com>
46278
e0016b11
UD
46279 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46280 file is not needed.
46281
46282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46283 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46285 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46286 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46287 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46288 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46289 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46290 Add AVX variants.
46291 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46292 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46293 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46294 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46295 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46296 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46297 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46298 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46299 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46300 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46301 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46302 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46303 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46304 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46305 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46306 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46307 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46308 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46309 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46310
46311 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46312 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46313
618280a1
UD
46314 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46315 place. Use VEX encoding when compiling for AVX.
46316
37822576
AS
463172011-10-25 Andreas Schwab <schwab@redhat.com>
46318
1f1e1947
AS
46319 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46320 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46321
37822576
AS
46322 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46323
31ea014d
UD
463242011-10-25 Ulrich Drepper <drepper@gmail.com>
46325
d7826aa1 46326 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46327 useless if() expression.
d7826aa1
UD
46328 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46329 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46330 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46331 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46332 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46333 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46334 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46335 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46336 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46337 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46338 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46339 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46340 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46341 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46342 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46343 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46344 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46345 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46346 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46347
31ea014d
UD
46348 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46349
16437fec
AS
463502011-10-25 Andreas Schwab <schwab@redhat.com>
46351
46352 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46353 condition.
46354 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46355
31d3cc00
UD
463562011-10-25 Ulrich Drepper <drepper@gmail.com>
46357
46358 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46359 .text section. Avoid duplicate constants.
46360 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46362 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46368 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46369 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46370 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46371 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46372 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46373 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46374 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46375 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46376 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46377 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46378 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46381 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46382 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46384 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46385 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46386 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46387 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46388 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46389 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46390 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46391 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46392 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46393 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46394 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46395 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46396 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46397 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46398 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46399 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46400 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46401 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46402 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46403 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46404 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46405
58985aa9
UD
464062011-10-24 Ulrich Drepper <drepper@gmail.com>
46407
202c9deb
UD
46408 * sysdeps/x86_64/dla.h: Move to ...
46409 * sysdeps/x86_64/fpu/dla.h: ...here.
46410 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46411 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46412
af968f62
UD
46413 * config.make.in: Add have-mfma4 entry.
46414 * configure.in: Substitute libc_cv_cc_fma4.
46415 * math/Makefile (dbl-only-routines): Add sincostab.
46416 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46417 Use __sincostab not sincos.
46418 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46419 name is a macro.
46420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46424 using __copysign.
46425 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46426 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46427 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46428 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46429 and __inv.
46430 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46431 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46432 __copysign.
46433 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46434 define aliases when function name is a macro.
46435 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46436 sysdeps/ieee754/dbl-64/sincos.tbl.
46437 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46438 fma4-enabled routines.
46439 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46440 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46441 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46442 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46443 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46444 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46446 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46448 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46449 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46450 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46451 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46452 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46453 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46454 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46455 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46456 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46457 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46458 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46459 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46460 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46461 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46462 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46463 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46464 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46466 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46467 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46468 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46469
58985aa9
UD
46470 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46471 rename.
46472 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46478 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46479 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46480
a201fbcf
AS
464812011-10-24 Andreas Schwab <schwab@redhat.com>
46482
46483 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46484
fc2ee42a
LD
464852011-10-23 Ulrich Drepper <drepper@gmail.com>
46486
bb3129bd
UD
46487 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46488
0275fff8
UD
46489 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46490 prediction.
46491 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46492
2fa2ae85
UD
46493 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46494 Remove unused variable magic_bits.
46495 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46496
fc2ee42a
LD
46497 * string/strnlen.c: Define and use STRNLEN macro.
46498 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46499 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46501 * wcsmbs/wcslen.c: Define and use WCSLEN.
46502 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46503 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46504 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46505 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46506 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46507 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46508 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46509
ce7dd29f
LD
465102011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46511
46512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46513 strnlen-sse2-no-bsf.
46514 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46515 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46516 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46517 Add strnlen support.
46518 (USE_AS_STRNLEN): New macro.
46519 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46520 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46521 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46522 * sysdeps/x86_64/wcslen.S: New file.
46523
979c70a3
MZ
465242011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46525
46526 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46527 XMM-moves are used for copying on small sizes.
46528
2d09f82f
LD
465292011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46530
46531 * wcsmbs/Makefile (strop-tests): Add wcschr.
46532 * wcsmbs/test-wcschr.c: New file.
46533 * string/test-strchr.c: Update.
46534 Add wcschr support.
46535 (WIDE): New macro.
46536
619fccca
LD
465372011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46538
2d09f82f 46539 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46540 * wcsmbs/test-wcslen.c: New file.
46541 * string/test-strlen.c: Update.
46542 Add wcslen support.
46543 (WIDE): New macro.
46544
09f699ea
UD
465452011-10-23 Ulrich Drepper <drepper@gmail.com>
46546
46547 * po/it.po: Update from translation team.
46548
95584d3b
LD
465492011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46550
46551 * sysdeps/x86_64/wcscmp.S: Update.
46552 Fix wrong comparison semantics.
46553 wcscmp shall use signed comparison not unsigned.
46554 Don't use substraction to avoid overflow bug.
46555 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46556 * wcsmbc/wcscmp.c: Likewise.
46557 * string/test-strcmp.c: Likewise.
46558 Add new tests to check cases with negative values.
46559
c8b3296b
UD
465602011-10-23 Ulrich Drepper <drepper@gmail.com>
46561
46562 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46563 * sysdeps/x86_64/dla.h: ...here. New file.
46564 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46565 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46569 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46571 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46572 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46573
246ad57a
AS
465742011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46575
46576 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46577 __ynl_finite aliases.
46578
a1a87169
UD
465792011-10-22 Ulrich Drepper <drepper@gmail.com>
46580
0d355eb7
UD
46581 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46582
a1a87169
UD
46583 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46584 define DLA_FMA.
46585 [DLA_FMA] (EMULV): Use DLA_FMA.
46586 [DLA_FMA] (MUL12): Use EMULV.
46587 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46588 that are not needed.
46589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46592 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46593 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46594 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46596
ee2aafe0
AS
465972011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46598
46599 * math/s_nan.c: Undef __nan.
46600 * math/s_nanf.c: Undef __nanf.
46601 * math/s_nanl.c: Undef __nanl.
46602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46603 "math_private.h".
46604
bc62c2fb
UD
466052011-10-22 Ulrich Drepper <drepper@gmail.com>
46606
77425c63
UD
46607 * math/s_catan.c: Add branch predictions.
46608 * math/s_catanf.c: Likewise.
46609 * math/s_catanh.c: Likewise.
46610 * math/s_catanhf.c: Likewise.
46611 * math/s_catanhl.c: Likewise.
46612 * math/s_catanl.c: Likewise.
46613 * math/s_cexp.c: Likewise.
46614 * math/s_cexpf.c: Likewise.
46615 * math/s_cexpl.c: Likewise.
46616 * math/s_clog.c: Likewise.
46617 * math/s_clog10.c: Likewise.
46618 * math/s_clog10f.c: Likewise.
46619 * math/s_clog10l.c: Likewise.
46620 * math/s_clogf.c: Likewise.
46621 * math/s_clogl.c: Likewise.
46622 * math/s_csqrt.c: Likewise.
46623 * math/s_csqrtf.c: Likewise.
46624 * math/s_csqrtl.c: Likewise.
46625 * math/s_ctanf.c: Likewise.
46626 * math/s_ctanh.c: Likewise.
46627 * math/s_ctanhf.c: Likewise.
46628 * math/s_ctanhl.c: Likewise.
46629 * math/s_ctanl.c: Likewise.
46630
bc62c2fb
UD
46631 * math/math_private.h: Define __nan, __nanf, __nanl.
46632 * math/s_cacosh.c: Include <math_private.h>.
46633 * math/s_cacoshl.c: Likewise.
46634 * math/s_casinh.c: Likewise.
46635 * math/s_casinhf.c: Likewise.
46636 * math/s_casinhl.c: Likewise.
46637 * math/s_ccos.c: Rely entire on ccosh.
46638 * math/s_ccosf.c: Rely entire on ccoshf.
46639 * math/s_ccosl.c: Rely entirely on ccoshl.
46640 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46641 Remove tests for FE_INVALID.
46642 * math/s_ccoshf.c: Likewise.
46643 * math/s_ccoshl.c: Likewise.
46644 * math/s_csin.c: Likewise.
46645 * math/s_csinf.c: Likewise.
46646 * math/s_csinh.c Likewise.
46647 * math/s_csinhf.c: Likewise.
46648 * math/s_csinhl.c: Likewise.
46649 * math/s_csinl.c: Likewise.
46650 * math/s_ctan.c: Likewise.
46651 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46652 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46653 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46654
8ec250a4
UD
466552011-10-21 Ulrich Drepper <drepper@gmail.com>
46656
c196fed8
UD
46657 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46658 compilation problems.
46659
8ec250a4
UD
46660 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46661 __builtin_expect.
46662
8d4f46c6
UD
466632011-10-20 Ulrich Drepper <drepper@gmail.com>
46664
ed72b654
UD
46665 * sysdeps/i386/configure.in: Test for -mfma4 option.
46666 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46667 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46668 COMMON_CPUID_INDEX_80000001.
46669 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46670 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46671 use it if FMA3 is not supported.
46672 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46673
8d4f46c6
UD
46674 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46675 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46676
d45c60c2
AS
466772011-10-20 Andreas Schwab <schwab@redhat.com>
46678
46679 [BZ #12892]
46680 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46681 it would create a cycle with a link time dependency.
46682
d9a4d2ab
UD
466832011-10-19 Ulrich Drepper <drepper@gmail.com>
46684
855d1560
UD
46685 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46686 instruction.
46687 * string/Makefile (strop-tests): Add rawmemchr.
46688 * string/test-rawmemchr.c: New file.
46689
d9a4d2ab
UD
46690 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46692 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46693 when compiling str{,n}casecmp and when AVX is available. Hook up
46694 new optimized code in initializers.
46695
8f3b1ffe
AS
466962011-10-19 Andreas Schwab <schwab@redhat.com>
46697
46698 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46699 __feraiseexcept instead of feraiseexcept.
46700
d38f1dba
UD
467012011-10-18 Ulrich Drepper <drepper@gmail.com>
46702
d9a8d0ab
UD
46703 * math/math_private.h: Define defaults for libc_fetestexcept and
46704 libc_feupdateenv.
46705 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46706 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46707 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46708 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46709 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46710 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46711 libc_fetestexcept and libc_feupdateenv.
46712
4855e3dd
UD
46713 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46714 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46715 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46716 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46717 libc_feholdexcept_setround.
46718
581d30e3
UD
46719 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46720 Add s_nearbyint-c and s_nearbyintf-c.
46721 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46722 nearbyintf inlines.
46723 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46724 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46725 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46726 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46727
d38f1dba
UD
46728 * math/math_private.h: Define defaults for libc_fegetround,
46729 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46730 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46731 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46732 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46733 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46734 standard functions.
46735 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46736 Remove comments and hacks for old compiler versions.
46737 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46738 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46739 libc_feholdexceptl.
46740
caa6c9d8
AS
467412011-10-18 Andreas Schwab <schwab@redhat.com>
46742
46743 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46744 (__feraiseexcept_renamed): Add __NTH.
46745 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46746 namespace violations.
46747
97c066e6
UD
467482011-10-17 Ulrich Drepper <drepper@gmail.com>
46749
99ce7b04
UD
46750 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46751
1004d182
UD
46752 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46753
228a984d
UD
46754 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46755 recently added interfaces.
46756 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46757
c8553a6a
UD
46758 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46759 about macro parameter expansion.
46760
ed22dcf6
UD
46761 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46762 __NO_MATH_INLINES is defined. Cleanups.
46763
46764 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46765 and __floorf is target has SSE4.1.
46766 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46767 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46768 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46769 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46770
b171c137
UD
46771 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46772 name.
46773 (floorf): Likewise.
46774
97c066e6
UD
46775 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46776
629f62ef
AS
467772011-10-17 Andreas Schwab <schwab@redhat.com>
46778
49a43d80
AS
46779 * misc/sys/cdefs.h: Fix last change.
46780
629f62ef
AS
46781 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46782 database lookup.
46783
e453f6cd
UD
467842011-10-16 Ulrich Drepper <drepper@gmail.com>
46785
aa78043a
UD
46786 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46787
ad0f5cad
UD
46788 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46789 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46790 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46791 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46793 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46794 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46795 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46796 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46797 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46798 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46799 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46800 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46801 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46802 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46803 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46804 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46805 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46806 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46807 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46808 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46809 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46810
46811 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46812 ceil, ceilf, floor, floorf.
46813
46814 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46815 Perform IRELATIVE relocations last.
46816
e453f6cd
UD
46817 * elf/do-rel.h: Add another parameter nrelative, replacing the
46818 local variable with the same name. Change name of the function
46819 to end in Rel or Rela (uppercase).
46820 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46821 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46822 elf_dynamic_do_##reloc function.
46823
fd5bdc09
UD
468242011-10-15 Ulrich Drepper <drepper@gmail.com>
46825
79b195b5
UD
46826 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46827 is sufficient, at least on modern CPUs.
46828
d4a28569
UD
46829 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46830
b61099b5
UD
46831 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46832 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46833
bcf01e6d
UD
46834 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46835 __expl_finite.
46836 * math/bits/math-finite.h: Add entries for exp.
46837 * math/e_expl.c: Add __*_finite alias.
46838 * sysdeps/i386/fpu/e_exp.S: Likewise.
46839 * sysdeps/i386/fpu/e_expf.S: Likewise.
46840 * sysdeps/i386/fpu/e_expl.c: Likewise.
46841 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46842 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46846 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46847 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46848
ba1a0d59
UD
46849 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46850 is sufficient, at least on modern CPUs.
46851
fd5bdc09
UD
46852 * ctype/ctype-info.c (__ctype_init): Define.
46853 * include/ctype.h (__ctype_init): Declare.
46854 (__ctype_b_loc): The variable is always initialized.
46855 (__ctype_toupper_loc): Likewise.
46856 (__ctype_tolower_loc): Likewise.
46857 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46858 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46859
7872cfb0
AS
468602011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46861
b468825a
AS
46862 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46863
7872cfb0
AS
46864 * configure.in: Also look in $cxxmachine/include for C++ system
46865 headers.
46866
be13f7bf
LD
468672011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46868
46869 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46870 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46871 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46872 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46873 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46874 (USE_AS_WMEMCMP): New macro.
46875 Fixing indents.
46876 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46877 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46878 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46879 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46881 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46882 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46883 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46884 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46885 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46886 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46887 (USE_AS_WMEMCMP): New macro.
46888 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46889 * sysdeps/string/test-memcmp.c: Update.
46890 Fix simple_wmemcmp.
46891 Add new tests.
46892 * wcsmbs/wmemcmp.c: Update.
46893 (WMEMCMP): New macro.
46894 Fix overflow bug.
46895
556a2007
AJ
468962011-10-12 Andreas Jaeger <aj@suse.de>
46897
46898 [BZ #13268]
46899 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46900
538faaa7
UD
469012011-10-15 Ulrich Drepper <drepper@gmail.com>
46902
ab6737ff
UD
46903 * libio/iofwide.c (do_length): Avoid warning.
46904
538faaa7
UD
46905 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46906
396a21b1
UD
469072011-10-14 Ulrich Drepper <drepper@gmail.com>
46908
cdf2901f
UD
46909 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46910
38ad40ce
UD
46911 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46912 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46913 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46914 * sysdeps/i386/i686/fpu/e_log.S: New file.
46915 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46916 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46917
396a21b1
UD
46918 * ctype/ctype.h: Add support for inlined isXXX functions when
46919 compiling C++ code.
46920
6b1f68c9
AS
469212011-10-14 Andreas Schwab <schwab@redhat.com>
46922
349290c0
AS
46923 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46924
6b1f68c9
AS
46925 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46926
f2282d42
RM
469272011-10-13 Roland McGrath <roland@hack.frob.com>
46928
46929 [BZ #13291]
46930 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46931
5298ffa8
AS
469322011-10-13 Andreas Schwab <schwab@redhat.com>
46933
714fad23
AS
46934 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46935 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46936 feraiseexcept.
46937
81dcc7fb
AS
46938 * sysdeps/x86_64/memrchr.S: Check for zero size.
46939
5298ffa8
AS
46940 * string/stratcliff.c: Add memrchr tests.
46941
951fbcec
LD
469422011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46943
46944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46945 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46946 rawmemchr-sse2 rawmemchr-sse2-bsf.
46947 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46948 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46949 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46950 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46951 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46952 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46953 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46954 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46955 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46956 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46957 * string/memrchr.c (MEMRCHR): New macro.
46958
0ac5ae23
UD
469592011-10-12 Ulrich Drepper <drepper@gmail.com>
46960
46961 Add integration with gcc's -ffinite-math-only and optimize wrapper
46962 functions in libm.
46963 * Versions.def: Define GLIBC_2.15 version for libm.
46964 * math/Makefile (headers): Add bits/math-finite.h.
46965 * math/bits/math-finite.h: New file.
46966 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46967 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46968 * math/e_acoshl.c: Add __*_finite alias.
46969 * math/e_acosl.c: Likewise.
46970 * math/e_asinl.c: Likewise.
46971 * math/e_atan2l.c: Likewise.
46972 * math/e_atanhl.c: Likewise.
46973 * math/e_coshl.c: Likewise.
46974 * math/e_exp10.c: Likewise.
46975 * math/e_exp10f.c: Likewise.
46976 * math/e_exp10l.c: Likewise.
46977 * math/e_exp2l.c: Likewise.
46978 * math/e_fmodl.c: Likewise.
46979 * math/e_gammal_r.c: Likewise.
46980 * math/e_hypotl.c: Likewise.
46981 * math/e_j0l.c: Likewise.
46982 * math/e_j1l.c: Likewise.
46983 * math/e_jnl.c: Likewise.
46984 * math/e_lgammal_r.c: Likewise.
46985 * math/e_log10l.c: Likewise.
46986 * math/e_log2l.c: Likewise.
46987 * math/e_logl.c: Likewise.
46988 * math/e_powl.c: Likewise.
46989 * math/e_sinhl.c: Likewise.
46990 * math/e_sqrtl.c: Likewise.
46991 * math/e_scalb.c: Completely rewritten and optimized.
46992 * math/e_scalbf.c: Likewise.
46993 * math/e_scalbl.c: Likewise.
46994 * math/w_acos.c: Likewise.
46995 * math/w_acosf.c: Likewise.
46996 * math/w_acosl.c: Likewise.
46997 * math/w_acosh.c: Likewise.
46998 * math/w_acoshf.c: Likewise.
46999 * math/w_acoshl.c: Likewise.
47000 * math/w_asin.c: Likewise.
47001 * math/w_asinf.c: Likewise.
47002 * math/w_asinl.c: Likewise.
47003 * math/w_atan2.c: Likewise.
47004 * math/w_atan2f.c: Likewise.
47005 * math/w_atan2l.c: Likewise.
47006 * math/w_atanh.c: Likewise.
47007 * math/w_atanhf.c: Likewise.
47008 * math/w_atanhl.c: Likewise.
47009 * math/w_exp10.c: Likewise.
47010 * math/w_exp10f.c: Likewise.
47011 * math/w_exp10l.c: Likewise.
47012 * math/w_fmod.c: Likewise.
47013 * math/w_fmodf.c: Likewise.
47014 * math/w_fmodl.c: Likewise.
47015 * math/w_j0.c: Likewise.
47016 * math/w_j0f.c: Likewise.
47017 * math/w_j0l.c: Likewise.
47018 * math/w_j1.c: Likewise.
47019 * math/w_j1f.c: Likewise.
47020 * math/w_j1l.c: Likewise.
47021 * math/w_jn.c: Likewise.
47022 * math/w_jnf.c: Likewise.
47023 * math/w_log.c: Likewise.
47024 * math/w_logf.c: Likewise.
47025 * math/w_logl.c: Likewise.
47026 * math/w_log10.c: Likewise.
47027 * math/w_log10f.c: Likewise.
47028 * math/w_log10l.c: Likewise.
47029 * math/w_log2.c: Likewise.
47030 * math/w_log2f.c: Likewise.
47031 * math/w_log2l.c: Likewise.
47032 * math/w_pow.c: Likewise.
47033 * math/w_powf.c: Likewise.
47034 * math/w_powl.c: Likewise.
47035 * math/w_remainder.c: Likewise.
47036 * math/w_remainderf.c: Likewise.
47037 * math/w_remainderl.c: Likewise.
47038 * math/w_scalb.c: Likewise.
47039 * math/w_scalbf.c: Likewise.
47040 * math/w_scalbl.c: Likewise.
47041 * math/w_sqrt.c: Likewise.
47042 * math/w_sqrtf.c: Likewise.
47043 * math/w_sqrtl.c: Likewise.
47044 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47045 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47046 used.
47047 * math/math_private.h: Declare __kernel_standard_f.
47048 * math/w_cosh.c: Remove cruft and optimize a bit.
47049 * math/w_coshf.c: Likewise.
47050 * math/w_coshl.c: Likewise.
47051 * math/w_exp2.c: Likewise.
47052 * math/w_exp2f.c: Likewise.
47053 * math/w_exp2l.c: Likewise.
47054 * math/w_hypot.c: Likewise.
47055 * math/w_hypotf.c: Likewise.
47056 * math/w_hypotl.c: Likewise.
47057 * math/w_lgamma.c: Likewise.
47058 * math/w_lgamma_r.c: Likewise.
47059 * math/w_lgammaf.c: Likewise.
47060 * math/w_lgammaf_r.c: Likewise.
47061 * math/w_lgammal.c: Likewise.
47062 * math/w_lgammal_r.c: Likewise.
47063 * math/w_sinh.c: Likewise.
47064 * math/w_sinhf.c: Likewise.
47065 * math/w_sinhl.c: Likewise.
47066 * math/w_tgamma.c: Likewise.
47067 * math/w_tgammaf.c: Likewise.
47068 * math/w_tgammal.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47070 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47071 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47072 Minor optimizations. Pretty printing. Remove cruft.
47073 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47074 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47075 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47076 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47077 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47078 * sysdeps/i386/fpu/e_asin.S: Likewise.
47079 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47080 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47081 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47082 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47083 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47084 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47085 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47086 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47087 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47088 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47089 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47090 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47091 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47092 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47093 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47094 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47095 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47096 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47097 * sysdeps/i386/fpu/e_log.S: Likewise.
47098 * sysdeps/i386/fpu/e_log10.S: Likewise.
47099 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47100 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47101 * sysdeps/i386/fpu/e_log2.S: Likewise.
47102 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47103 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47104 * sysdeps/i386/fpu/e_logf.S: Likewise.
47105 * sysdeps/i386/fpu/e_logl.S: Likewise.
47106 * sysdeps/i386/fpu/e_pow.S: Likewise.
47107 * sysdeps/i386/fpu/e_powf.S: Likewise.
47108 * sysdeps/i386/fpu/e_powl.S: Likewise.
47109 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47110 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47111 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47112 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47113 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47114 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47115 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47116 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47117 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47118 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47119 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47120 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47121 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47122 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47124 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47126 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47127 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47128 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47129 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47131 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47132 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47133 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47134 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47135 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47136 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47138 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47139 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47140 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47141 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47142 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47143 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47144 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47145 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47146 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47147 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47148 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47149 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47150 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47151 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47152 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47153 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47154 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47155 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47156 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47157 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47158 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47159 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47198 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47201 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47203 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47204 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47206 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47209 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47210 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47211 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47213 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47214 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47215 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47216 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47217 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47218 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47219 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47220 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47221 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47222 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47223 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47224 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47225 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47226 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47227 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47228 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47229 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47230 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47231 (__isnanf): Likewise.
47232 (__isinf_ns): Likewise.
47233 (__isinf_nsf): Likewise.
47234 (__finite): Likewise.
47235 (__finitef): Likewise.
47236 (__ieee754_sqrt): Define as macro.
47237 (__ieee754_sqrtf): Define as macro.
47238 (__ieee754_sqrtl): Define as macro.
47239 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47240 inlined copy.
47241 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47242 __FINITE_MATH_ONLY__ consistent.
47243 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47244
12cc2fcd
AS
472452011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47246
a843a204
AS
47247 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47248 of rawmemchr.
47249
12cc2fcd
AS
47250 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47251
c853acd5
UD
472522011-10-09 Ulrich Drepper <drepper@gmail.com>
47253
47254 * po/ja.po: Update from translation team.
47255
c658d255
RM
472562011-10-08 Roland McGrath <roland@hack.frob.com>
47257
110946e4
RM
47258 * locale/programs/locarchive.c (prepare_address_space): New function.
47259 (create_archive, enlarge_archive, open_archive): Use it.
47260
50604220
RM
47261 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47262 inside [SHARED], where it is used.
47263
c658d255
RM
47264 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47265
47266 * nss/getent.c (netgroup_keys): Remove unused variable.
47267 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47268
6a621eb7
UD
472692011-10-08 Ulrich Drepper <drepper@gmail.com>
47270
7edb55ce
UD
47271 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47272 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47273 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47274 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47275 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47276 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47277 * math/Makefile (libm-calls): Add s_isinf_ns.
47278 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47279 * math/multc3.c: Likewise.
47280 * math/s_casin.c: Likewise.
47281 * math/s_casinf.c: Likewise.
47282 * math/s_casinl.c: Likewise.
47283 * math/s_ccos.c: Likewise.
47284 * math/s_ccosf.c: Likewise.
47285 * math/s_ccosl.c: Likewise.
47286 * math/s_ctan.c: Likewise.
47287 * math/s_ctanf.c: Likewise.
47288 * math/s_ctanh.c: Likewise.
47289 * math/s_ctanhf.c: Likewise.
47290 * math/s_ctanhl.c: Likewise.
47291 * math/s_ctanl.c: Likewise.
47292 * math/w_fmod.c: Likewise.
47293 * math/w_fmodf.c: Likewise.
47294 * math/w_fmodl.c: Likewise.
47295 * math/w_remainder.c: Likewise.
47296 * math/w_remainderf.c: Likewise.
47297 * math/w_remainderl.c: Likewise.
47298 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47299 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47300 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47301 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47302 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47303 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47304 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47305 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47306
187da0ae
UD
47307 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47308 of the number.
47309 * stdio-common/printf_fphex.c: Likewise.
47310 * stdio-common/printf_size.c: Likewise.
47311
9277c064
UD
47312 * math/e_exp10.c: Include math_private.h using <...> not "...".
47313 * math/e_exp10f.c: Likewise.
47314 * math/e_exp10l.c: Likewise.
47315 * math/e_exp2l.c: Likewise.
47316 * math/e_j0l.c: Likewise.
47317 * math/e_j1l.c: Likewise.
47318 * math/e_jnl.c: Likewise.
47319 * math/e_lgammal_r.c: Likewise.
47320 * math/e_rem_pio2l.c: Likewise.
47321 * math/e_scalb.c: Likewise.
47322 * math/e_scalbf.c: Likewise.
47323 * math/e_scalbl.c: Likewise.
47324 * math/k_cosl.c: Likewise.
47325 * math/k_sinl.c: Likewise.
47326 * math/k_tanl.c: Likewise.
47327 * math/s_cacoshf.c: Likewise.
47328 * math/s_catan.c: Likewise.
47329 * math/s_catanf.c: Likewise.
47330 * math/s_catanh.c: Likewise.
47331 * math/s_catanhf.c: Likewise.
47332 * math/s_catanhl.c: Likewise.
47333 * math/s_catanl.c: Likewise.
47334 * math/s_ccosh.c: Likewise.
47335 * math/s_ccoshf.c: Likewise.
47336 * math/s_ccoshl.c: Likewise.
47337 * math/s_cexp.c: Likewise.
47338 * math/s_cexpf.c: Likewise.
47339 * math/s_cexpl.c: Likewise.
47340 * math/s_clog.c: Likewise.
47341 * math/s_clog10.c: Likewise.
47342 * math/s_clog10f.c: Likewise.
47343 * math/s_clog10l.c: Likewise.
47344 * math/s_clogf.c: Likewise.
47345 * math/s_clogl.c: Likewise.
47346 * math/s_csin.c: Likewise.
47347 * math/s_csinf.c: Likewise.
47348 * math/s_csinh.c: Likewise.
47349 * math/s_csinhf.c: Likewise.
47350 * math/s_csinhl.c: Likewise.
47351 * math/s_csinl.c: Likewise.
47352 * math/s_csqrt.c: Likewise.
47353 * math/s_csqrtf.c: Likewise.
47354 * math/s_csqrtl.c: Likewise.
47355 * math/s_ctan.c: Likewise.
47356 * math/s_ctanf.c: Likewise.
47357 * math/s_ctanh.c: Likewise.
47358 * math/s_ctanhf.c: Likewise.
47359 * math/s_ctanhl.c: Likewise.
47360 * math/s_ctanl.c: Likewise.
47361 * math/s_ldexp.c: Likewise.
47362 * math/s_ldexpf.c: Likewise.
47363 * math/s_ldexpl.c: Likewise.
47364 * math/s_significand.c: Likewise.
47365 * math/s_significandf.c: Likewise.
47366 * math/s_significandl.c: Likewise.
47367 * math/w_acos.c: Likewise.
47368 * math/w_acosf.c: Likewise.
47369 * math/w_acosh.c: Likewise.
47370 * math/w_acoshf.c: Likewise.
47371 * math/w_acoshl.c: Likewise.
47372 * math/w_acosl.c: Likewise.
47373 * math/w_asin.c: Likewise.
47374 * math/w_asinf.c: Likewise.
47375 * math/w_asinl.c: Likewise.
47376 * math/w_atan2.c: Likewise.
47377 * math/w_atan2f.c: Likewise.
47378 * math/w_atan2l.c: Likewise.
47379 * math/w_atanh.c: Likewise.
47380 * math/w_atanhf.c: Likewise.
47381 * math/w_atanhl.c: Likewise.
47382 * math/w_cosh.c: Likewise.
47383 * math/w_coshf.c: Likewise.
47384 * math/w_coshl.c: Likewise.
47385 * math/w_dremf.c: Likewise.
47386 * math/w_exp10.c: Likewise.
47387 * math/w_exp10f.c: Likewise.
47388 * math/w_exp10l.c: Likewise.
47389 * math/w_exp2.c: Likewise.
47390 * math/w_exp2f.c: Likewise.
47391 * math/w_fmod.c: Likewise.
47392 * math/w_fmodf.c: Likewise.
47393 * math/w_fmodl.c: Likewise.
47394 * math/w_hypot.c: Likewise.
47395 * math/w_hypotf.c: Likewise.
47396 * math/w_hypotl.c: Likewise.
47397 * math/w_j0.c: Likewise.
47398 * math/w_j0f.c: Likewise.
47399 * math/w_j0l.c: Likewise.
47400 * math/w_j1.c: Likewise.
47401 * math/w_j1f.c: Likewise.
47402 * math/w_j1l.c: Likewise.
47403 * math/w_jn.c: Likewise.
47404 * math/w_jnf.c: Likewise.
47405 * math/w_jnl.c: Likewise.
47406 * math/w_lgamma.c: Likewise.
47407 * math/w_lgamma_r.c: Likewise.
47408 * math/w_lgammaf.c: Likewise.
47409 * math/w_lgammaf_r.c: Likewise.
47410 * math/w_lgammal.c: Likewise.
47411 * math/w_lgammal_r.c: Likewise.
47412 * math/w_log.c: Likewise.
47413 * math/w_log10.c: Likewise.
47414 * math/w_log10f.c: Likewise.
47415 * math/w_log10l.c: Likewise.
47416 * math/w_log2.c: Likewise.
47417 * math/w_log2f.c: Likewise.
47418 * math/w_log2l.c: Likewise.
47419 * math/w_logf.c: Likewise.
47420 * math/w_logl.c: Likewise.
47421 * math/w_pow.c: Likewise.
47422 * math/w_powf.c: Likewise.
47423 * math/w_powl.c: Likewise.
47424 * math/w_remainder.c: Likewise.
47425 * math/w_remainderf.c: Likewise.
47426 * math/w_remainderl.c: Likewise.
47427 * math/w_scalb.c: Likewise.
47428 * math/w_scalbf.c: Likewise.
47429 * math/w_scalbl.c: Likewise.
47430 * math/w_sinh.c: Likewise.
47431 * math/w_sinhf.c: Likewise.
47432 * math/w_sinhl.c: Likewise.
47433 * math/w_sqrt.c: Likewise.
47434 * math/w_sqrtf.c: Likewise.
47435 * math/w_sqrtl.c: Likewise.
47436 * math/w_tgamma.c: Likewise.
47437 * math/w_tgammaf.c: Likewise.
47438 * math/w_tgammal.c: Likewise.
47439
6a621eb7
UD
47440 * po/ja.po: Update from translation team.
47441
bf582445
AJ
474422011-09-29 Andreas Jaeger <aj@suse.de>
47443
f9efbf3a
AJ
47444 [BZ #13179]
47445 * sunrpc/netname.c (netname2host): Fix logic.
47446
bf582445
AJ
47447 [BZ #6779]
47448 [BZ #6783]
47449 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47450 correctly.
47451 * math/w_remainder.c (__remainder): Likewise.
47452 * math/w_remainderf.c (__remainderf): Likewise.
47453 * math/libm-test.inc (remainder_test): Add test cases.
47454
48693bea
AK
474552011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47456
47457 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47458 sdiv_qrnnd.
47459
42622229
LD
474602011-10-07 Ulrich Drepper <drepper@gmail.com>
47461
47462 * string/test-memcmp.c: Avoid unncessary #defines.
47463 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47464
093ecf92
LD
474652011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47466
47467 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47468 Use new sse2 version for core i3 - i7 as it's faster
47469 than sse42 version.
47470 (bit_Prefer_PMINUB_for_stringop): New.
47471 * sysdeps/x86_64/rawmemchr.S: Update.
47472 Replace with faster SSE2 version.
47473 * sysdeps/x86_64/memrchr.S: New file.
47474 * sysdeps/x86_64/memchr.S: Update.
47475 Replace with faster SSE2 version.
47476
fde56e5c
MP
474772011-09-12 Marek Polacek <mpolacek@redhat.com>
47478
47479 * elf/dl-load.c (lose): Add cast to avoid warning.
47480
21fd49a9
UD
474812011-10-07 Ulrich Drepper <drepper@gmail.com>
47482
5a06e643
UD
47483 * po/ca.po: Update from translation team.
47484
684ae515
UD
47485 * inet/getnetgrent_r.c: Hook up nscd.
47486 * nscd/Makefile (routines): Add nscd_netgroup.
47487 (nscd-modules): Add netgroupcache.
47488 (CFLAGS-netgroupcache.c): Define.
47489 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47490 (cache_search): Add const to second parameter.
47491 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47492 INNETGR.
47493 (dbs): Add netgrdb entry.
47494 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47495 (verify_persistent_db): Handle netgrdb.
47496 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47497 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47498 GETFDNETGR.
47499 (netgroup_response_header): Define.
47500 (innetgroup_response_header): Define.
47501 (datahead): Add netgroup_response_header and innetgroup_response_header
47502 elements.
47503 * nscd/nscd.conf: Add entries for netgroup cache.
47504 * nscd/nscd.h (dbtype): Add netgrdb.
47505 (_PATH_NSCD_NETGROUP_DB): Define.
47506 (netgroup_iov_disabled): Declare.
47507 (xmalloc, xcalloc, xrealloc): Move declarations here.
47508 (cache_search): Adjust prototype.
47509 Add netgroup-related prototypes.
47510 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47511 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47512 (__nscd_innetgr): Declare.
47513 * nscd/selinux.c (perms): Use access_vector_t as element type and
47514 add netgroup-related initializers.
47515 * nscd/netgroupcache.c: New file.
47516 * nscd/nscd_netgroup.c: New file.
47517 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47518 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47519 For four parameters use innetgr.
47520 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47521 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47522 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47523 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47524
21fd49a9
UD
47525 * nscd/connections.c (register_traced_file): Don't register file
47526 for disabled databases.
47527
054c0457
UD
475282011-10-06 Ulrich Drepper <drepper@gmail.com>
47529
32b63198
UD
47530 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47531
054c0457
UD
47532 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47533 from tree and freeing node.
47534
64031225
JO
475352011-09-25 Jiri Olsa <jolsa@redhat.com>
47536
47537 * nss/nsswitch.c (__nss_database_lookup): Handle
47538 nss_parse_service_list out of memory case.
47539
0490345c
JO
475402011-09-15 Jiri Olsa <jolsa@redhat.com>
47541
47542 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47543 out of memory case.
47544
3a62d00d
AS
475452011-10-04 Andreas Schwab <schwab@redhat.com>
47546
47547 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47548 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47549 pass it down.
47550 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47551 elf_machine_rela, elf_machine_lazy_rel.
47552 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47553 (ELF_DYNAMIC_DO_REL): Likewise.
47554 (ELF_DYNAMIC_DO_RELA): Likewise.
47555 (ELF_DYNAMIC_RELOCATE): Likewise.
47556 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47557 to ELF_DYNAMIC_DO_REL.
47558 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47559 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47560 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47561 elf_machine_rela.
47562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47563 skip_ifunc, don't call ifunc function if non-zero.
47564 (elf_machine_rela): Likewise.
47565 (elf_machine_lazy_rel): Likewise.
47566 (elf_machine_lazy_rela): Likewise.
47567 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47568 (elf_machine_lazy_rel): Likewise.
47569 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47570 Likewise.
47571 (elf_machine_lazy_rel): Likewise.
47572 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47573 Likewise.
47574 (elf_machine_lazy_rel): Likewise.
47575 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47576 (elf_machine_lazy_rel): Likewise.
47577 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47578 (elf_machine_lazy_rel): Likewise.
47579 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47580 (elf_machine_lazy_rel): Likewise.
47581 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47582 (elf_machine_lazy_rel): Likewise.
47583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47584 (elf_machine_lazy_rel): Likewise.
47585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47586 (elf_machine_lazy_rel): Likewise.
47587
68577918
UD
475882011-09-28 Ulrich Drepper <drepper@gmail.com>
47589
47590 * nss/nss_files/files-init.c (_nss_files_init): Use static
47591 initialization for all the *_traced_file variables.
47592
68822d74
AS
475932011-09-28 Andreas Schwab <schwab@redhat.com>
47594
47595 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47596
2056100b
RM
475972011-09-27 Roland McGrath <roland@hack.frob.com>
47598
47599 [BZ #13226]
47600 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47601
32c76b63
AS
476022011-09-27 Andreas Schwab <schwab@redhat.com>
47603
47604 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47605 Reread the line before reparsing it.
47606
bf972c9d
AS
476072011-09-26 Andreas Schwab <schwab@redhat.com>
47608
47609 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47610
e057a1b5
JM
476112011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47612 Maxim Kuvyrkov <maxim@codesourcery.com>
47613 Joseph Myers <joseph@codesourcery.com>
47614
47615 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47616 if needed for __stack_chk_guard.
47617
bc7e1c36
RM
476182011-09-19 Roland McGrath <roland@hack.frob.com>
47619
ecb1482f
RM
47620 * sysdeps/posix/spawni.c (script_execute): Always define it.
47621 It will be optimized away if unused.
47622 (maybe_script_execute): New function.
47623 (__spawni): Call it.
47624
bc7e1c36
RM
47625 * Makerules: Don't include tls.make.
47626 (config-tls): Always set to thread.
47627 * tls.make.c: File removed.
47628
1c3b002b
MF
476292011-09-19 Mike Frysinger <vapier@gentoo.org>
47630
47631 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47632 * config.make.in (CPPFLAGS-config): New substituted variable.
47633
2840865d
UD
476342011-09-15 Ulrich Drepper <drepper@gmail.com>
47635
88738eb6
UD
47636 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47637
cbf645a6 47638 [BZ #13192]
2840865d
UD
47639 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47640 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47641
b402e91a
RM
476422011-09-15 Roland McGrath <roland@hack.frob.com>
47643
47644 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47645 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47646 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47647 (CALL_FAIL): Likewise.
47648 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47649 (CALL_FAIL): Macro removed.
47650 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47651
4c1a1f71
UD
476522011-09-15 Ulrich Drepper <drepper@gmail.com>
47653
47654 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47655 for __FINITE_MATH_ONLY__ == 1.
47656
edc121be
AS
476572011-09-15 Andreas Schwab <schwab@redhat.com>
47658
47659 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47660 __ieee754_sqrt instead of sqrt.
47661 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47662 __ieee754_sqrtf instead of sqrtf.
47663 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47664 __floorf instead of floorf.
47665 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47666 __floorf, __truncf instead of floorf, truncf.
47667
cd205654
UD
476682011-09-14 Ulrich Drepper <drepper@gmail.com>
47669
ee4d0315
UD
47670 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47671
cd205654
UD
47672 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47673 __extern_always_inline.
47674 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47675 32-bit.
47676
48b67d71
AS
476772011-09-14 Andreas Schwab <schwab@redhat.com>
47678
47679 * elf/rtld.c (dl_main): Also relocate in dependency order when
47680 doing symbol dependency testing.
47681
1ae12c75
AS
476822011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47683
47684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47685 Always define `refsym'.
47686
995a80df
AS
476872011-09-13 Andreas Schwab <schwab@redhat.com>
47688
e529793b
AS
47689 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47690 (__FD_ELT): Renamed from __FDELT.
47691 * misc/bits/select2.h (__FD_ELT): Likewise.
47692 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47693 __FD_MASK instead of __FDELT, __FDMASK.
47694 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47695 Likewise.
47696 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47697 Likewise.
47698
52d4fef8
AS
47699 * elf/Makefile (gen-ldd): Fix pattern.
47700
995a80df
AS
47701 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47702 (init_tls): Likewise.
47703
8682f8b0
UD
477042011-09-12 Ulrich Drepper <drepper@gmail.com>
47705
47706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47707
de82006d
AS
477082011-09-12 Andreas Schwab <schwab@redhat.com>
47709
a7c8e6a1
AS
47710 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47711 `struct cmsghdr *' instead of `void *'.
47712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47713 Likewise.
47714
0f31fe77
AS
477152011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47716
47717 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47718 if non-absolute.
47719 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47720 ldd_rewrite_script.
0f31fe77 47721
32b4c839
UD
477222011-09-11 Ulrich Drepper <drepper@gmail.com>
47723
83cd1420
UD
47724 * configure.in: Remove --with-tls option.
47725 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47726 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47727 out in case it is missing.
47728 * sysdeps/ia64/elf/configure.in: Likewise.
47729 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47730 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47731 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47732 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47733 * sysdeps/sh/elf/configure.in: Likewise.
47734 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47735 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47736 * sysdeps/x86_64/elf/configure.in: Likewise.
47737 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47738 * sysdeps/mach/hurd/tls.h: Likewise.
47739
633f745d
UD
47740 [BZ #13067]
47741 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47742
f318beb8
UD
47743 [BZ #13090]
47744 * configure.in: Fix use of AC_INIT.
47745
32b4c839
UD
47746 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47747
3ce1f295
UD
477482011-09-10 Ulrich Drepper <drepper@gmail.com>
47749
bb016596
UD
47750 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47751 __set_errno.
8e58439c
UD
47752 * malloc/hooks.c: Likewise.
47753
aebae053 47754 [BZ #11929]
02d46fc4
UD
47755 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47756 variables statically.
47757 (narenas): Initialize.
47758 (list_lock): Initialize.
bb016596
UD
47759 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47760 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47761 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47762 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47763 Add initializers to main_arena and mp_.
47764 (malloc_state): Remove pagesize member. Change all users to use
47765 GLRO(dl_pagesize).
47766
47767 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47768 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47769 is always initialized.
47770
22a89187
UD
47771 * malloc/malloc.c: Removed unused configurations and dead code.
47772 * malloc/arena.c: Likewise.
47773 * malloc/hooks.c: Likewise.
02d46fc4 47774 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47775
d063d164
UD
47776 * include/tls.h: Removed. USE___THREAD must always be defined.
47777 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47778 * elf/dl-libc.c: Likewise.
47779 * elf/dl-tsd.c: Likewise.
47780 * include/errno.h: Likewise.
47781 * include/netdb.h: Likewise.
47782 * include/resolv.h: Likewise.
47783 * inet/herrno-loc.c: Likewise.
47784 * inet/herrno.c: Likewise.
47785 * malloc/arena.c: Likewise.
47786 * malloc/hooks.c: Likewise.
47787 * malloc/malloc.c: Likewise.
47788 * resolv/res-state.c: Likewise.
47789 * resolv/res_libc.c: Likewise.
47790 * sysdeps/i386/dl-machine.h: Likewise.
47791 * sysdeps/ia64/dl-machine.h: Likewise.
47792 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47793 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47794 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47795 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47796 * sysdeps/sh/dl-machine.h: Likewise.
47797 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47798 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47799 * sysdeps/unix/i386/sysdep.S: Likewise.
47800 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47801 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47802 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47803 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47804 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47806 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47808 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47810 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47811 * sysdeps/x86_64/dl-machine.h: Likewise.
47812 * tls.make.c: Likewise.
47813
3ce1f295
UD
47814 * configure.in: Remove --with-__thread option. Make tests for
47815 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47816 tls_model attribute fail if no support is available. Remove
47817 USE_IN_LIBIO.
47818 * Makeconfig: Adjust for dropped configure option. All features are
47819 now mandatory.
47820 * Makerules: Likewise.
47821 * Versions.def: Likewise.
47822 * argp/argp-fmtstream.c: Likewise.
47823 * argp/argp-fmtstream.h: Likewise.
47824 * argp/argp-help.c: Likewise.
47825 * assert/assert.c: Likewise.
47826 * config.h.in: Likewise.
47827 * config.make.in: Likewise.
47828 * configure: Likewise.
47829 * configure.in: Likewise.
47830 * csu/Versions: Likewise.
47831 * csu/init.c: Likewise.
47832 * elf/tst-audit2.c: Likewise.
47833 * elf/tst-tls10.c: Likewise.
47834 * elf/tst-tls10.h: Likewise.
47835 * elf/tst-tls11.c: Likewise.
47836 * elf/tst-tls12.c: Likewise.
47837 * elf/tst-tls14.c: Likewise.
47838 * elf/tst-tlsmod11.c: Likewise.
47839 * elf/tst-tlsmod12.c: Likewise.
47840 * elf/tst-tlsmod13.c: Likewise.
47841 * elf/tst-tlsmod13a.c: Likewise.
47842 * elf/tst-tlsmod14a.c: Likewise.
47843 * elf/tst-tlsmod15b.c: Likewise.
47844 * elf/tst-tlsmod16a.c: Likewise.
47845 * elf/tst-tlsmod16b.c: Likewise.
47846 * elf/tst-tlsmod7.c: Likewise.
47847 * elf/tst-tlsmod8.c: Likewise.
47848 * elf/tst-tlsmod9.c: Likewise.
47849 * gmon/gmon.c: Likewise.
47850 * grp/fgetgrent_r.c: Likewise.
47851 * grp/putgrent.c: Likewise.
47852 * hurd/fopenport.c: Likewise.
47853 * include/libc-symbols.h: Likewise.
47854 * include/tls.h: Likewise.
47855 * intl/gettextP.h: Likewise.
47856 * intl/loadinfo.h: Likewise.
47857 * locale/global-locale.c: Likewise.
47858 * locale/localeinfo.h: Likewise.
47859 * mach/devstream.c: Likewise.
47860 * malloc/arena.c: Likewise.
47861 * malloc/set-freeres.c: Likewise.
47862 * misc/err.c: Likewise.
47863 * misc/getttyent.c: Likewise.
47864 * misc/mntent_r.c: Likewise.
47865 * posix/getopt.c: Likewise.
47866 * posix/wordexp.c: Likewise.
47867 * pwd/fgetpwent_r.c: Likewise.
47868 * resolv/Versions: Likewise.
47869 * resolv/res_hconf.c: Likewise.
47870 * shadow/fgetspent_r.c: Likewise.
47871 * shadow/putspent.c: Likewise.
47872 * stdio-common/printf_fphex.c: Likewise.
47873 * stdio-common/tmpfile.c: Likewise.
47874 * stdlib/abort.c: Likewise.
47875 * stdlib/fmtmsg.c: Likewise.
47876 * sunrpc/auth_unix.c: Likewise.
47877 * sunrpc/clnt_perr.c: Likewise.
47878 * sunrpc/clnt_tcp.c: Likewise.
47879 * sunrpc/clnt_udp.c: Likewise.
47880 * sunrpc/clnt_unix.c: Likewise.
47881 * sunrpc/openchild.c: Likewise.
47882 * sunrpc/svc_simple.c: Likewise.
47883 * sunrpc/svc_tcp.c: Likewise.
47884 * sunrpc/svc_udp.c: Likewise.
47885 * sunrpc/svc_unix.c: Likewise.
47886 * sunrpc/xdr.c: Likewise.
47887 * sunrpc/xdr_array.c: Likewise.
47888 * sunrpc/xdr_rec.c: Likewise.
47889 * sunrpc/xdr_ref.c: Likewise.
47890 * sunrpc/xdr_stdio.c: Likewise.
47891
1248c1c4
PB
478922011-09-09 Ulrich Drepper <drepper@gmail.com>
47893
47894 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47895
478962011-07-03 Andreas Jaeger <aj@suse.de>
47897
47898 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47899 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47900 regenerate with gen-libm-tests.pl.
47901
479022010-05-12 Petr Baudis <pasky@suse.cz>
47903
47904 [BZ #11589]
47905 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47906 around j0() zero points by switching to j1().
47907 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47908 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47909 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47910 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47911
f22e1074
UD
479122011-09-09 Ulrich Drepper <drepper@gmail.com>
47913
f19009c1
UD
47914 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47915 instead of 0.
47916 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47917 instead of 0.
f19009c1
UD
47918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47919 Patch in part by Pavel Roskin <proski@gnu.org>.
47920
3f8cc204
UD
47921 [BZ #13138]
47922 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47923 realloc.
47924 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47925 Free memory block if necessary.
47926
f22e1074
UD
47927 [BZ #12847]
47928 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47929 be NULL. Don't lock in this case.
47930
0a2349f9
RM
479312011-09-09 Roland McGrath <roland@hack.frob.com>
47932
47933 * elf/elf.h (ELFOSABI_GNU): New macro.
47934 (ELFOSABI_LINUX): Define to that.
47935
f3cdd467
DZ
479362011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47937
47938 * string/strncat.c (strncat): Undef the symbol in case it has been
47939 defined in bits/string.h.
47940
74718d13
UD
479412011-09-09 Ulrich Drepper <drepper@gmail.com>
47942
633e9e0f
UD
47943 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47944
0a2349f9 47945 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
47946 link map.
47947
f9924780
AJ
479482011-08-17 Andreas Jaeger <aj@suse.de>
47949
47950 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47951
7f5517aa
PP
479522011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47953 Ian Lance Taylor <iant@google.com>
47954
47955 * math/libm-test.inc (lround_test): New testcase.
47956 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47957
762011fe
UD
479582011-09-08 Ulrich Drepper <drepper@gmail.com>
47959
92963737
UD
47960 * Makefile: Remove support for automatic cvs check-ins.
47961 * Makerules: Likewise.
47962 * config.make.in: Likewise.
47963 * configure.in: Likewise.
47964 * intl/Makefile: Likewise.
47965 * locale/Makefile: Likewise.
47966 * po/Makefile: Likewise.
47967 * posix/Makefile: Likewise.
47968 * sysdeps/gnu/Makefile: Likewise.
47969 * sysdeps/mach/hurd/Makefile: Likewise.
47970 * sysdeps/sparc/sparc32/Makefile: Likewise.
47971
b0727fd8
JS
47972 [BZ #13118]
47973 * posix/Makefile (bug-regex32-ENV): Define.
47974 Patch by John Stanley <jpsinthemix@verizon.net>.
47975
a0f33f99
UD
47976 * misc/Makefile (headers): Add bits/select2.h.
47977 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47978 * misc/bits/select2.h: New file.
47979 * include/bits/select2.h: New file.
47980 * debug/Makefile (routines): Add fdelt_chk.
47981 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47982 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47983 FD_ISSET.
47984 * debug/fdelt_chk.c: New file.
47985
762011fe
UD
47986 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47987 * wcsmbs/test-wmemcmp.c: Likewise.
47988 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 47989 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
47990
479912011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47992
47993 * string/Makefile (strop-tests): Add memcmp.
47994 * string/test-wmemcmp.c: New file.
47995 * string/test-memcmp.c: Add wmemcmp support.
47996
7f513ec8
RM
479972011-09-08 Roland McGrath <roland@hack.frob.com>
47998
0442afb4
RM
47999 [BZ #13153]
48000 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48001 2011-07-19 change.
48002
7f513ec8
RM
48003 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48004 garbage value in a __mach_port_mod_refs call in the cases of the
48005 task-self and thread-self ports.
48006
a12b2239
ST
480072011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48008
48009 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48010
610f9ab4
AS
480112011-09-08 Andreas Schwab <schwab@redhat.com>
48012
7f513ec8 48013 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48014
48882a1a
LD
480152011-09-07 Ulrich Drepper <drepper@gmail.com>
48016
b49865be
UD
48017 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48018
fdc86bc9
UD
48019 * elf/dl-libc.c (dlerror_run): Pass back error code from
48020 dl_catch_error.
48021
c966526a
UD
48022 [BZ #13123]
48023 * elf/dl-load.c (lose): Free l_origin if it is valid.
48024
48882a1a
LD
48025 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48026 names.
48027 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48028 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48029 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48031 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48032 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48033
77a2a8b4
AZ
480342011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48035
48036 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48037 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48038 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48039 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48040 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48041 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48042 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48043 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48044 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48045 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48046
24f579d8
AM
480472011-08-15 Alan Modra <amodra@gmail.com>
48048
48049 [BZ #13092]
48050 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48051 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48052 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48053 ppc_mcount to static-only-routines.
48054 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48055 __mcount_internal.
48056 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48057 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48058
3d4837df
UD
480592011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48060
48061 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48062 for finite and infinity parameters.
48063
22700377
WS
480642011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48065
48066 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48067 and add nop instructions for throughput optimization.
48068 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48069
5025581e
WS
480702011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48071
48072 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48073 aligned copy for power7 with vector-scalar instructions.
48074 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48075
08a300c9
L
480762011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48077
48078 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48079 AVX check.
48080
59178ef9
AS
480812011-09-07 Andreas Schwab <schwab@redhat.com>
48082
48083 [BZ #13144]
48084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48085 last change.
48086
e38ba7ab
UD
480872011-09-07 Ulrich Drepper <drepper@gmail.com>
48088
48089 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48090 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48091 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48092 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48093 clock_gettime.
48094
d53a73ac
UD
480952011-09-06 Ulrich Drepper <drepper@gmail.com>
48096
fc8bffcc
UD
48097 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48098 Forgot to demangle the pointer.
48099
ceaa0c5d
UD
48100 * sysdeps/i386/sysdep.h: Define atom_text_section.
48101 * sysdeps/x86_64/sysdep.h: Likewise.
48102 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48103 section with atom_text_section.
48104 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48105 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48106 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48108 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48109
a77d3c17
UD
48110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48111 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48112 already be defined. Change to take two parameters and don't assign
48113 result to variable. Adjust all users.
48114 Define INTERNAL_GETTIME if not already defined.
48115 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48116 call.
48117 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48118 HAVE_CLOCK_GETTIME_VSYSCALL.
48119 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48120
d53a73ac
UD
48121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48122 gettimeofday vsyscall, just use time.
48123
a8f84144
AS
481242011-09-06 Andreas Schwab <schwab@redhat.com>
48125
48126 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48127 <errno.h>.
48128
ef606249
UD
481292011-09-06 Ulrich Drepper <drepper@gmail.com>
48130
48131 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48132 syscall on x86-64.
48133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48134 syscall.
48135 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48136 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48137 syscall if possible.
48138
6585cb60
UD
481392011-09-05 Ulrich Drepper <drepper@gmail.com>
48140
48141 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48142 e_ident. Don't pass to find_mapsXX.
48143 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48144
a5f524e4
LD
481452011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48146
48147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48148 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48149 * sysdeps/x86_64/multiarch/strchr.S: Update.
48150 Check bit_slow_BSF bit.
48151 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48152 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48153 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48154
554881ef
UD
481552011-09-05 Ulrich Drepper <drepper@gmail.com>
48156
d96de963
UD
48157 [BZ #13134]
48158 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48159 before glibc 2.15.
48160 (tryshell): Define.
48161 (__spawni): Change last parameter to be flag. Test
48162 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48163 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48164 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48165 * posix/spawni.c: Likewise.
48166 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48167 * posix/spawnp.c: Likewise. Change normal version to use
48168 SPAWN_XFLAGS_USE_PATH.
48169 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48170 SPAWN_XFLAGS_TRY_SHELL.
48171
d48e5868
UD
48172 [BZ #13150]
48173 * posix/glob.h: Remove gcc 1.x support.
48174
554881ef
UD
48175 [BZ #13068]
48176 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48177
693fb948
LD
481782011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48179
48180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48181 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48182 strrchr-sse2-bsf
48183 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48184 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48185 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48186 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48187 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48188 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48189
1b48c537
UD
481902011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48191
49d42c37
UD
48192 * sysdeps/x86_64/wcscmp.S: New file.
48193
1b48c537
UD
48194 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48195 wcscmp-c wcscmp-sse2
48196 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48197 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48198 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48199 * wcsmbs/wcscmp.c: Allow renaming.
48200
15c95c5d
DM
482012011-09-05 David S. Miller <davem@davemloft.net>
48202
48203 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48204 stack slot, rather than the struct return pointer slot.
48205 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48206 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48208 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48209
2f0ad8f3
UD
482102011-09-05 Ulrich Drepper <drepper@gmail.com>
48211
d88ae418
UD
48212 * po/ja.po: Update from translation team.
48213
2f0ad8f3
UD
48214 [BZ #13144]
48215 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48216 kernel in 64-bit binaries.
48217
5f4318d1
DM
482182011-09-01 David S. Miller <davem@davemloft.net>
48219
48220 * elf/elf.h (HWCAP_SPARC_*): Move to..
48221 * sysdeps/sparc/sysdep.h: this new file and add new values.
48222 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48223 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48224 _DL_HWCAP_COUNT to 24.
48225 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48226 entries.
48227 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48228 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48229 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48231 instead of magic constants.
48232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48233
3ba57516
DM
482342011-08-31 David S. Miller <davem@davemloft.net>
48235
48236 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48238 Reimplement to do errno handling inline.
48239 (SYSCALL_ERROR_HANDLER): New macro.
48240 (__SYSCALL_STRING): Do not do errno handling in asm.
48241 (__CLONE_SYSCALL_STRING): Delete.
48242 (__INTERNAL_SYSCALL_STRING): Delete.
48243 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48244 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48245 (PSEUDO): Reimplement to do errno handling inline.
48246 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48247 (SYSCALL_ERROR_HANDLER): New macro.
48248 (__SYSCALL_STRING): Do not do errno handling in asm.
48249 (__CLONE_SYSCALL_STRING): Delete.
48250 (__INTERNAL_SYSCALL_STRING): Delete.
48251 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48252 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48253 i386.
48254 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48255 (inline_syscall*): Add 'err' argument.
48256 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48257 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48258 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48259 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48260
48261 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48262 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48263
2bc17433
AS
482642011-08-30 Andreas Schwab <schwab@redhat.com>
48265
48266 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48267
fbeb5f4d
JO
482682011-08-29 Jiri Olsa <jolsa@redhat.com>
48269
48270 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48271 directive.
48272
ad69cc26
DM
482732011-08-24 David S. Miller <davem@davemloft.net>
48274
48275 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48276
39dd69df
AS
482772011-08-24 Andreas Schwab <schwab@redhat.com>
48278
48279 * elf/Makefile: Add rules to build and run unload8 test.
48280 * elf/unload8.c: New file.
48281 * elf/unload8mod1.c: New file.
48282 * elf/unload8mod1x.c: New file.
48283 * elf/unload8mod2.c: New file.
48284 * elf/unload8mod3.c: New file.
48285
48286 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48287 it wasn't used.
48288
2c0b250a
DM
482892011-08-23 David S. Miller <davem@davemloft.net>
48290
48291 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48292 subtract stack bias.
48293 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48294 %sp not %fp in calculations.
48295 (_JMPBUF_UNWINDS_ADJ): Likewise.
48296
22044b48
DM
48297 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48298 (aio_suspend): Call it to force an exception region around the
48299 AIO_MISC_WAIT() invocation.
48300
2cae4995
AS
483012011-08-23 Andreas Schwab <schwab@redhat.com>
48302
48303 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48304 backslash.
48305
873a772e
AJ
483062011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48307
48308 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48309 protection macro.
48310 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48311 and <dl-machine.h>.
48312 (Elf64_FuncDesc): Remove.
48313
25ad0df1
DM
483142011-08-22 David S. Miller <davem@davemloft.net>
48315
48316 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48317 sigaltstack check, add missing cfi directives.
48318 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48319 missing cfi directives, and sigaltstack handling.
48320
e888bcbe
AS
483212011-08-16 Andreas Schwab <schwab@redhat.com>
48322
48323 [BZ #11724]
48324 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48325 object is seen twice.
48326 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48327
48328 * elf/Makefile (distribute): Add tst-initorder2.c.
48329 (tests): Add tst-initorder2.
48330 (modules-names): Add tst-initorder2a tst-initorder2b
48331 tst-initorder2c tst-initorder2d. Add rules to build them.
48332 ($(objpfx)tst-initorder2.out): New rule.
48333 * elf/tst-initorder2.c: New file.
48334 * elf/tst-initorder2.exp: New file.
48335
87162f46
AS
483362011-08-22 Andreas Schwab <schwab@redhat.com>
48337
70538b7f
AS
48338 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48339
f55ffe58
AS
48340 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48341 dependencies back to end of function.
48342
87162f46
AS
48343 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48344 $(elfobjdir)/ld.so.
48345
91b392a4
UD
483462011-08-21 Ulrich Drepper <drepper@gmail.com>
48347
48348 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48349 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48351 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48352 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48353 of __vdso_gettimeofday.
48354 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48355 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48356 attribute_hidden.
48357 (_libc_vdso_platform_setup): Remove initialization of
48358 __vdso_gettimeofday and __vdso_time.
48359
5c43483f
UD
483602011-08-20 Ulrich Drepper <drepper@gmail.com>
48361
775a77e7
UD
48362 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48363 and fgetc_unlocked.
48364 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48365 getc_unlocked.
89f447ed 48366
49c74ba9
UD
48367 * elf/dl-open.c (add_to_global): Report additions to the global scope
48368 for LD_DEBUG=scopes.
48369 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48370 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48371
5c43483f
UD
48372 [BZ #13114]
48373 * stdio-common/Makefile (tests): Add bug24.
48374 * stdio-common/bug24.c: New file.
48375
a101b025
AJ
483762011-08-19 Andreas Jaeger <aj@suse.de>
48377
48378 [BZ #13114]
48379 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48380 non-existant file when using close-on-exec mode.
48381
c88f1766
UD
483822011-08-20 Ulrich Drepper <drepper@gmail.com>
48383
0276a718
UD
48384 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48385 the very first instruction.
48386
c88f1766
UD
48387 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48388 the CFI state in the end.
48389 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48390 inclusion of dl-trampoline.h.
48391 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48392
51ccffa0
AS
483932011-08-19 Andreas Schwab <schwab@redhat.com>
48394
94d7165f
AS
48395 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48396 expectations for long double.
48397
51ccffa0
AS
48398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48399 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48400
fd708658 484012011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48402
48403 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48404 artificual limit depends upon the system page size.
48405
44f0a71e
UD
484062011-08-17 Ulrich Drepper <drepper@gmail.com>
48407
48408 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48409 * resolv/Makefile: Define CFLAGS-libresolv.
48410
8de79a24
AS
484112011-08-17 Andreas Schwab <schwab@redhat.com>
48412
48413 * nss/makedb.c (compute_tables): Make variables used in nested
48414 function static.
48415
27724598
UD
484162011-08-17 Ulrich Drepper <drepper@gmail.com>
48417
c5305d88
UD
48418 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48419 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48420 if buffer was too small.
48421
27724598
UD
48422 * elf/pldd.c (main): Attach to all threads in the process.
48423 Rewrite /proc handling to use *at functions.
48424
076fe015
UD
484252011-08-16 Ulrich Drepper <drepper@gmail.com>
48426
174baab3
UD
48427 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48428 specifies first scope to show.
48429 (dl_open_worker): Update callers. Move printing scope of new
48430 object to before the relocation.
44f0a71e 48431 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48432 * sysdeps/generic/ldsodefs.h: Update declaration.
48433
076fe015
UD
48434 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48435 string for the scope number.
48436
a60df2c3
UD
484372011-08-14 Ulrich Drepper <drepper@gmail.com>
48438
48439 * nscd/servicescache.c (cache_addserv): Make sure written is always
48440 initialized.
48441
5e4287d1
RM
484422011-08-14 Roland McGrath <roland@hack.frob.com>
48443
85ae0589
RM
48444 * sysdeps/i386/i486/bits/atomic.h
48445 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48446 statement expression, so as to suppress "set but not used" warning.
48447 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48448
69f63097
RM
48449 * string/strncat.c (STRNCAT): Use prototype definition.
48450
675456ef
RM
48451 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48452 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48453 -Iprograms here.
48454 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48455 (localedef-modules): Add localedef.
48456 (locale-modules): Add locale.
48457
5e4287d1
RM
48458 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48459 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48460 to avoid a warning.
48461
9c96ff23
DM
484622011-08-14 David S. Miller <davem@davemloft.net>
48463
48464 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48465 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48466
f9ddf089
UD
484672011-08-13 Ulrich Drepper <drepper@gmail.com>
48468
44f0a71e 48469 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48470 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48471 * elf/rtld.c (dl_main): Set l_name of vDSO.
48472 Call _dl_show_scope when DL_DEBUG_SCOPES.
48473 (process_dl_debug): Recognize scopes flag and also set it for all.
48474 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48475 Declare _dl_show_scope.
48476
1dc27704
UD
48477 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48478 (do_dlopen): Pass caller_dlopen to dl_open.
48479 (__libc_dlopen_mode): Initialize caller_dlopen.
48480
f9ddf089
UD
48481 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48482 of libc. Make tolower call locale-independent. Optimize a bit by
48483 using isdigit instead of isalnum.
48484 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48485
9ac533d3
UD
484862011-08-12 Ulrich Drepper <drepper@gmail.com>
48487
48488 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48489 was a dependency or dynamically loaded.
48490
89edf2e9
UD
484912011-08-11 Ulrich Drepper <drepper@gmail.com>
48492
8e999d29
UD
48493 * intl/l10nflist.c: Allow architecture-specific pop function.
48494 * sysdeps/x86_64/l10nflist.c: New file.
48495
89edf2e9
UD
48496 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48497 classification.
48498
14d96785
AS
484992011-08-10 Andreas Schwab <schwab@redhat.com>
48500
48501 * include/dirent.h: Add libc_hidden_proto for scandirat and
48502 scandirat64. Don't declare __scandirat64.
48503 * dirent/scandirat.c: Add libc_hidden_def.
48504 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48505 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48506
6761ac04
DM
485072011-08-10 David S. Miller <davem@davemloft.net>
48508
48509 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48510 enum.
48511 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48513 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48514
c55fbd1e
UD
485152011-08-09 Ulrich Drepper <drepper@gmail.com>
48516
48517 * Versions.def [libc]: Add GLIBC_2.15.
48518 * dirent/Makefile (routines): Add scandirat and scandirat64.
48519 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48520 GLIBC_2.15.
48521 * dirent/dirent.h: Declare scandirat and scandirat64.
48522 * dirent/scandirat.c: New file.
48523 * dirent/scandirat64.c: New file.
48524 * sysdeps/wordsize-64/scandirat.c: New file.
48525 * sysdeps/wordsize-64/scandirat64.c: New file.
48526 * dirent/opendir.c: Define opendirat.
48527 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48528 using scandirat.
48529 * dirent/scandir64.c: Adjust for scandir.c change.
48530 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48531 __scandirat64, and __scandir_cancel_handler.
48532 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48533 additional parameter and use openat instead of open (outside of ld.so).
48534 Add new __opendir as wrapper around __opendirat.
48535 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48536 here without requiring old scandirat implementation.
48537
879165f2
UD
485382011-08-08 Ulrich Drepper <drepper@gmail.com>
48539
48540 * dirent/scandir.c (cancel_handler): Renamed to
48541 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48542 defined. Adjust users.
48543 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48544 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48545
cb7e923b
UD
485462011-08-04 Ulrich Drepper <drepper@gmail.com>
48547
16292edd
UD
48548 * string/test-string.h (IMPL): Use __STRING to expand name and then
48549 stringify it.
48550
cb7e923b
UD
48551 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48552 of cleanups.
48553
cff82933
LD
485542011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48555
48556 * string/Makefile: Update.
48557 (strop-tests): Append strncat.
48558 * string/test-wcscmp.c: New file.
48559 New comprehensive test for wcscmp.
48560 * string/test-strcmp.c: Update.
48561 (WIDE): New define.
48562
9be9bfcc
AS
485632011-07-22 Andreas Schwab <schwab@redhat.com>
48564
48565 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48566 line.
48567
2e96f1c7
AS
485682011-07-26 Andreas Schwab <schwab@redhat.com>
48569
48570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48571 encoding to ACE if AI_IDN.
48572
85188888
JJ
485732011-08-01 Jakub Jelinek <jakub@redhat.com>
48574
48575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48576 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48577
5fa16e9b
LD
485782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48579
48580 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48581 Fix overflow bug in strncat.
48582 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48583
48584 * string/test-strncat.c: Update.
48585 Add new tests for checking overflow bugs.
48586
485872011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48588
48589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48590 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48591 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48592 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48593 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48594 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48595 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48596 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48597 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48598
48599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48600 (USE_AS_STRCAT): Define.
48601 Add strcat and strncat support.
48602 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48603
8c1a459f
AS
486042011-07-25 Andreas Schwab <schwab@redhat.com>
48605
48606 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48607 __n bigger than INT_MAX+1.
48608 (__strncmp_g): Likewise.
48609
bba33c28
UD
486102011-07-23 Ulrich Drepper <drepper@gmail.com>
48611
798be72d
UD
48612 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48613 * libio/stido.h: Likewise.
48614
8accd4dc
UD
48615 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48616 (AF_NFC): Define.
48617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48618 (AF_NFC): Define.
48619
cbff0d96
UD
48620 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48621 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48623 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48625
9191c04a
UD
48626 [BZ #13021]
48627 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48628 installed.
48629
bba33c28
UD
48630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48631 typo.
48632 (_dl_x86_64_save_sse): Likewise.
48633
90f139dd
UD
486342011-07-22 Ulrich Drepper <drepper@gmail.com>
48635
1aae088a
UD
48636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48637 OSXSAVE.
48638 (_dl_x86_64_save_sse): Likewise.
48639
8e2045f5
UD
48640 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48641
90f139dd
UD
48642 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48643
1d002f25
AS
486442011-07-21 Andreas Schwab <schwab@redhat.com>
48645
48646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48647 change.
48648 (_dl_x86_64_save_sse): Use correct AVX check.
48649
21137f89
UD
486502011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48651
48652 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48653 bug in strncpy/strncat.
48654 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48655
a65c0b7a
UD
486562011-07-21 Ulrich Drepper <drepper@gmail.com>
48657
48658 * string/tester.c (test_strcat): Add tests for different alignments
48659 of source and destination.
48660 (test_strncat): Likewise.
48661
6986b98a
UD
486622011-07-20 Ulrich Drepper <drepper@gmail.com>
48663
90bb2039
UD
48664 [BZ #12852]
48665 * posix/glob.c (glob): Check passed in values before using them in
48666 expressions to avoid some overflows.
48667 (glob_in_dir): Likewise.
48668
5644ef54
UD
48669 [BZ #13007]
48670 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48671 check for AVX enablement so that we don't crash with old kernels and
48672 new hardware.
48673 * elf/tst-audit4.c: Add same checks here.
48674 * elf/tst-audit6.c: Likewise.
48675
48676 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48677
bfc9dc9b
AS
486782011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48679
48680 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48681
702e64bb
UD
486822011-07-20 Ulrich Drepper <drepper@gmail.com>
48683
48684 * po/cs.po: Update from translation team.
48685 * po/bg.po: Likewise.
48686
295e904f
MP
486872011-07-12 Marek Polacek <mpolacek@redhat.com>
48688
48689 * misc/sys/cdefs.h: Add support for const attribute.
48690 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48691 to gnu_dev_{major,minor,makedev} functions.
48692
3ff94596
MP
486932011-07-20 Marek Polacek <mpolacek@redhat.com>
48694
48695 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48696
28b59fca
AS
486972011-07-20 Andreas Schwab <schwab@redhat.com>
48698
48699 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48700 strlen results.
48701
19df733e
AK
487022011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48703
48704 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48705 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48706 register in order to avoid conflicts with the soft frame pointer
48707 being held in r11 when necessary.
48708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48709 (INTERNAL_VSYSCALL_NCS): Likewise.
48710
c8835729
MP
487112011-07-14 Marek Polacek <mpolacek@redhat.com>
48712
48713 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48714 * elf/dl-fini.c (_dl_fini): Adjust caller.
48715 * elf/dl-close.c (_dl_close_worker): Likewise.
48716 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48717
b902330c
MP
487182011-07-15 Marek Polacek <mpolacek@redhat.com>
48719
8991e135
MP
48720 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48721 "aux_cache->nlibs < 0".
48722
b902330c
MP
48723 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48724 in the reload-count case.
48725
99710781
LD
487262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48727
48728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48729 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48730 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48731 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48732 * sysdeps/x86_64/multiarch/strcat.S: New file.
48733 * sysdeps/x86_64/multiarch/strncat.S: New file.
48734 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48735 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48736 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48737 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48738 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48739 (USE_AS_STRCAT): Define.
48740 Add strcat and strncat support.
48741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48742 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48743 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48744 * string/strncat.c: Update.
48745 (USE_AS_STRNCAT): Define.
48746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48747 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48748 and i7.
48749 * sysdeps/x86_64/multiarch/init-arch.h
48750 (bit_Prefer_PMINUB_for_stringop): New.
48751 (index_Prefer_PMINUB_for_stringop): Likewise.
48752 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48753 bit_Prefer_PMINUB_for_stringop.
48754
7dc6bd90
UD
487552011-07-19 Ulrich Drepper <drepper@gmail.com>
48756
48757 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48758 buffer64.
48759 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48760 of casting of buffer.
48761 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48762 buffer32 and buffer64.
48763 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48764 writes instead of casting of buffer.
48765 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48766 buffer32.
48767 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48768 casting of buffer.
48769
e0e72284
AS
487702011-07-19 Andreas Schwab <schwab@redhat.com>
48771
48772 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48773
feb1eb0b
UD
487742011-07-19 Ulrich Drepper <drepper@gmail.com>
48775
48776 * nscd/nscd.c (termination_handler): Don't do anything for a database
48777 if it has not yet been initialized.
48778
298711ff
UD
487792011-07-18 Ulrich Drepper <drepper@gmail.com>
48780
48781 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48782
487832011-07-15 Marek Polacek <mpolacek@redhat.com>
48784
48785 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48786
f9d68389
UD
487872011-07-18 Ulrich Drepper <drepper@gmail.com>
48788
48789 * po/nl.po: Update from translation team.
48790 * po/sv.po: Likewise.
48791
db290cf5
RM
487922011-07-16 Roland McGrath <roland@hack.frob.com>
48793
48794 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48795 now disallowed by GCC.
5c550700 48796
fd5e21c7
RM
48797 * configure.in (use-default-link): Default to yes if a test -shared
48798 link meets our qualifications.
48799 * configure: Regenerated.
48800
5c550700
RM
48801 * config.make.in (output-format): New variable.
48802 * configure.in: Check for ld --print-output-format support.
48803 * configure: Regenerated.
48804 * Makerules ($(common-objpfx)format.lds)
48805 [$(output-format) != unknown]: Just use $(output-format),
48806 instead of the linker-script munging.
48807
9fa2c032
RM
488082011-07-14 Roland McGrath <roland@hack.frob.com>
48809
a6928d51
RM
48810 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48811 of $(common-objpfx)shlib.lds.
48812 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48813
661607b3
RM
48814 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48815 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48816
9fa2c032
RM
48817 * configure.in (-z relro check): Adjust test code to add a large
48818 writable data section after it.
48819 * configure: Regenerated.
48820
defe9061
RM
488212011-07-11 Roland McGrath <roland@hack.frob.com>
48822
48823 * configure.in (-z relro check): Fix test code to make the variable
48824 truly const.
48825 * configure: Regenerated.
48826
319b9ad4
UD
488272011-07-11 Ulrich Drepper <drepper@gmail.com>
48828
48829 * nscd/nscd.h (struct traced_file): Define.
48830 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48831 elements. Add traced_files.
48832 (inotify_fd): Declare.
48833 (register_traced_file): Declare.
48834 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48835 (inotify_fd): Export.
48836 (resolv_conf_descr): Remove.
48837 (nscd_init): Move inotify descriptor creation to main.
48838 Don't register files for notification here.
48839 (register_traced_file): New function.
48840 (invalidate_cache): Don't use reset_res to determine whether to call
48841 res_init, go through the list of registered files.
48842 (main_loop_poll): The inotify descriptors are now stored in the
48843 structures for the traced files.
48844 (main_loop_epoll): Likewise
48845 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48846 to __nss_disable_nscd.
48847 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48848 for a database anymore. Check the records for all the registered
48849 files instead.
48850 * nss/Makefile (libnss_files-routines): Add files-init.
48851 (libnss_db-routines): Add db-init.
48852 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48853 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48854 * nss/nss_db/db-init.c: New file.
48855 * nss/nss_files/files-init.c: New file.
48856 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48857 __nss_lookup_function.
48858 (__nss_lookup_function): Call nss_load_library.
48859 (nss_load_all_libraries): New function.
48860 (__nss_disable_nscd): Take parameter with callback function for files
48861 to register. Set is_nscd. Load all the DSOs for the NSS modules
48862 used for the cached services.
48863 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48864 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48865 options for features to all the files in nscd.
48866
48867 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48868
23bee3e8
RM
488692011-07-10 Roland McGrath <roland@hack.frob.com>
48870
48871 * csu/elf-init.c (__libc_csu_init): Comment typo.
48872
46a5b7f0
UD
488732011-07-09 Ulrich Drepper <drepper@gmail.com>
48874
48875 * po/pl.po: Update from translation team.
48876 * po/ja.po: Likewise.
48877 * po/ru.po: Likewise.
48878 * po/ko.po: Likewise.
48879 * po/fr.po: Likewise.
48880
d30cf5bb
RM
488812011-07-09 Roland McGrath <roland@hack.frob.com>
48882
113ddea4
RM
48883 * configure.in (.ctors/.dtors header and trailer check):
48884 Use an empirical test on a built program.
48885 * configure: Regenerated.
48886
574920b4
RM
48887 * configure.in (-z relro check): Use an empirical test on a built DSO.
48888 Detect, but do not require, on ia64.
48889 * configure: Regenerated.
48890
d30cf5bb
RM
48891 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48892 Update tests that use readelf to use $READELF instead.
48893 * configure: Regenerated.
48894
8538fdb3
UD
488952011-07-08 Ulrich Drepper <drepper@gmail.com>
48896
48897 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48898 if the result is not used.
48899
04d08991
AJ
489002011-07-05 Andreas Jaeger <aj@suse.de>
48901
48902 [BZ#9696]
48903 * stdlib/tst-strtod.c: Add testcase.
48904
de283087
AD
489052011-07-07 Ulrich Drepper <drepper@gmail.com>
48906
4e5f31c8 48907 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48908 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48909 The latter has a higher limit. Take additional parameter to pass to
48910 the new function.
48911 (__pathconf): Pass file to __statfs_link_max.
48912 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48913 __statfs_link_max.
48914 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48915 __statfs_link_max.
48916
de283087
AD
48917 [BZ #12868]
48918 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48919 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48920 Handle Lustre.
48921 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48922 (__statfs_filesize_max): Likewise.
48923 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48924
c75fa153
AJ
489252011-07-05 Andreas Jaeger <aj@suse.de>
48926
48927 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48928
1a544854
UD
489292011-07-06 Marek Polacek <mpolacek@redhat.com>
48930
48931 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48932 `status' variable.
48933 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48934 Likewise.
48935
6f0eec67
UD
489362011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48937
48938 * Makefile (strop-tests): Add strncat.
48939 * string/test-strncat.c: New file.
48940
aae30307
UD
489412011-06-30 Marek Polacek <mpolacek@redhat.com>
48942
48943 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48944
c0cfb5eb
UD
489452011-06-21 Andreas Jaeger <aj@suse.de>
48946
48947 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48948 Copy rule from iconvdata/Makefile.
48949
01636b21
UD
489502011-07-06 Ulrich Drepper <drepper@gmail.com>
48951
48952 [BZ #12922]
48953 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48954 but no long options are defined, just return 'W'.
48955
9895c8bc
UD
489562011-06-22 Marek Polacek <mpolacek@redhat.com>
48957
48958 [BZ #9696]
48959 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48960
5d4cf042
UD
489612011-07-06 Ulrich Drepper <drepper@gmail.com>
48962
48963 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48964 netgroups to read.
960e5535 48965 (innetgr): Likewise.
5d4cf042 48966
751eb97e
RM
489672011-07-05 Roland McGrath <roland@hack.frob.com>
48968
48969 * config.make.in (install_root): Default to $(DESTDIR).
48970
f15f1e45
UD
489712011-07-05 Ulrich Drepper <drepper@gmail.com>
48972
48973 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48974
4e34ac6a
RM
489752011-07-02 Roland McGrath <roland@hack.frob.com>
48976
5e9b6af4
RM
48977 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48978
84f9ea0f
RM
48979 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48980 containing directory rather than embedding absolute directory names.
48981
ea5ee9f7
RM
48982 * scripts/check-local-headers.sh: Rewritten using awk.
48983 Match by word, not by line. Print error messages for matches.
48984 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48985
1b74661a
RM
48986 * Makerules [shlib-lds-flags empty]:
48987 ($(common-objpfx)libc_pic.opts): New target.
48988 ($(common-objpfx)libc_pic.os.clean): New target.
48989 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48990
48991 * config.make.in (OBJCOPY): New variable.
48992 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48993 * configure: Regenerated.
48994
f781ef40
RM
48995 * config.make.in (use-default-link): New variable.
48996 * configure.in (use_default_link): Grok --with-default-link to set it.
48997 * configure: Regenerated.
48998 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48999 (shlib-lds, shlib-lds-flags): Define to empty.
49000
2d4fa81e
RM
49001 * Makerules (shlib-lds): New variable.
49002 (shlib-lds-flags): New variable.
49003 (build-shlib, build-moduile, build-module-asneeded): Use it.
49004 ($(common-objpfx)libc.so): Use $(shlib-lds).
49005 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49006 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49007
31fffa6b
RM
49008 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49009 DT_FLAGS/DT_FLAGS_1 with zero flags.
49010
4e34ac6a
RM
49011 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49012 linker script munging.
49013
fcfc776b
UD
490142011-07-02 Ulrich Drepper <drepper@gmail.com>
49015
49016 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49017 as 128-bit value.
49018 * crypt/sha512.c (sha512_process_block): Perform total addition using
49019 128-bit if possible.
49020 (__sha512_finish_ctx): Likewise.
49021 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49022 as 64-bit value.
49023 * crypt/sha256.c (SWAP64): Define.
49024 (sha256_process_block): Perform total addition using 64-bit if
49025 possible.
49026 (__sha256_finish_ctx): Likewise.
49027
99231d9a
UD
490282011-07-01 Ulrich Drepper <drepper@gmail.com>
49029
49030 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49031 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49032 * nscd/hstcache.c (cache_addhst): Likewise.
49033 * nscd/grpcache.c (cache_addgr): Likewise.
49034 * nscd/aicache.c (addhstaiX): Likewise
49035 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49036
445b4a53
TK
490372011-07-01 Thorsten Kukuk <kukuk@suse.de>
49038
49039 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49041 * nscd/hstcache.c (cache_addhst): Likewise.
49042 * nscd/grpcache.c (cache_addgr): Likewise.
49043 * nscd/aicache.c (addhstaiX): Likewise
49044
6d4d8e8e
AS
490452011-07-01 Andreas Schwab <schwab@redhat.com>
49046
49047 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49048 domain only when needed.
49049
89f654c5
AS
490502011-06-30 Andreas Schwab <schwab@redhat.com>
49051
49052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49053 is always restored.
49054
cf3b23ff
UD
490552011-06-29 Ulrich Drepper <drepper@gmail.com>
49056
49057 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49058 are re-adding the entry.
49059 * nscd/servicescache.c (cache_addserv): Likewise.
49060
751626f9
AJ
490612011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49062
49063 * sysdeps/generic/dl-irel.h: fix protection against multiple
49064 inclusions.
49065 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49066
9113ea1f
UD
490672011-06-28 Ulrich Drepper <drepper@gmail.com>
49068
5c0b8d90
UD
49069 [BZ #12935]
49070 * malloc/memusage.sh: Fix quoting in message.
49071 * debug/xtrace.sh: Likewise.
49072
9113ea1f
UD
49073 * configure.in: Remove support for --experimental-malloc option, make
49074 it the default.
49075 * config.make.in: Likewise.
49076 * malloc/Makefile: Likewise.
49077
a4172181
AS
490782011-06-27 Andreas Schwab <schwab@redhat.com>
49079
49080 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49081 two-byte characters.
49082
78a7eee7
RM
490832011-06-27 Roland McGrath <roland@hack.frob.com>
49084
62bede13
RM
49085 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49086 AC_CACHE_CHECK invocation.
49087 * configure: Regenerated.
49088
78a7eee7
RM
49089 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49090
5ce33a62
UD
490912011-06-27 Ulrich Drepper <drepper@gmail.com>
49092
034807a9
UD
49093 [BZ #12350]
49094 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49095 bit from old_res_options.
49096
4902da17
UD
49097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49098
5ce33a62
UD
49099 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49100 value type for setfct.
49101
c2344f56
L
491022011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49103
49104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49105 __gettimeofday instead of gettimeofday.
49106
68468076
UD
491072011-06-26 Ulrich Drepper <drepper@gmail.com>
49108
49109 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49110
acb0d739
L
491112011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49112
49113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49114
49115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49116 info.
49117
8912479f
L
491182011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49119
49120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49121 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49122 strcpy-sse2-unaligned strncpy-sse2-unaligned
49123 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49124 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49125 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49126 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49127 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49128 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49129 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49130 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49131 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49132 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49133 (STRCPY): Support SSE2 and SSSE3 versions.
49134
d5495a11
UD
491352011-06-24 Ulrich Drepper <drepper@gmail.com>
49136
49137 [BZ #12874]
49138 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49139 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49140 kernels which artificially limit size of requests.
49141
0b1cbaae
L
491422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49143
49144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49145 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49146 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49147 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49148 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49149 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49150 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49151 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49152 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49154 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49155 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49156 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49157 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49158 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49160 Enable unaligned load optimization for Intel Core i3, i5 and i7
49161 processors.
49162 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49163 Define.
49164 (index_Fast_Unaligned_Load): Define.
49165 (HAS_FAST_UNALIGNED_LOAD): Define.
49166
07f494a0
MP
491672011-06-23 Marek Polacek <mpolacek@redhat.com>
49168
49169 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49170
fa3fc0fe
UD
491712011-06-22 Ulrich Drepper <drepper@gmail.com>
49172
49173 [BZ #12907]
49174 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49175 until it is clear that the information is realy needed.
49176 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49177
e12df166
AS
491782011-06-22 Andreas Schwab <schwab@redhat.com>
49179
49180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49181
852eb34d
UD
491822011-06-22 Ulrich Drepper <drepper@gmail.com>
49183
84e2a551
UD
49184 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49185 /sys/devices/system/cpu/online if it is usable.
49186
852eb34d
UD
49187 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49188 reading the information from the /proc filesystem to once a second.
49189
6e502e19
UD
491902011-06-21 Andreas Jaeger <aj@suse.de>
49191
49192 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49193 NULL after inclusion of kernel headers.
49194
75d39ff2
UD
491952011-06-21 Ulrich Drepper <drepper@gmail.com>
49196
51f9aa6a
UD
49197 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49198 calls to internal_setent.
49199
c0244a9d
UD
49200 [BZ #12885]
49201 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49202 addresses using gethostbyname4_r ignore IPv4 addresses.
49203
c5e3c2ae
UD
49204 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49205 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49206
75d39ff2
UD
49207 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49208
42675c6f
DM
492092011-06-20 David S. Miller <davem@davemloft.net>
49210
49211 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49212 inclusions.
49213 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49214
49215 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49216 (elf_irel): Use it.
49217 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49218 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49219 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49220 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49221 * sysdeps/x86_64/dl-irel.h: Likewise.
49222
49223 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49224 * elf/dl-sym.c: Likewise.
49225
57912a71
UD
492262011-06-15 Ulrich Drepper <drepper@gmail.com>
49227
49228 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49229 need to dereference resplen2.
49230
ee22793d
AS
492312011-06-14 Andreas Schwab <schwab@redhat.com>
49232
49233 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49234
a9e836b0
UD
492352011-06-15 Ulrich Drepper <drepper@gmail.com>
49236
77fb9117
UD
49237 * Makeconfig: Define vardbdir and inst_vardbdir.
49238 * nss/Makefile: Add rules to install db-Makefile.
49239
40c1b22c
UD
49240 * nss/nss_db/db-XXX.c: Cleanup.
49241
9f2da732
UD
49242 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49243 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49244 GLIBC_PRIVATE.
49245 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49246 * nss/makedb.c: Implement -g option to specify that value strings
49247 are generated and should not be added to table iterated over for
49248 get*ent calls.
49249 * nss/nss_db/db-initgroups.c: New file.
49250
82e9a1f7
UD
49251 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49252 interface.
49253
c41af17e
UD
49254 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49255 (internal_getgrouplist): Adjust to name change.
49256 Update use_initgroups_entry if this is not the first call.
49257 * nss/databases.def: Add initgroups entry.
49258
a9e836b0
UD
49259 * nss/makedb.c (compute_tables): Check result of multiple hash table
49260 sizes to minimize maximum chain length.
49261
2666d441
UD
492622011-06-14 Ulrich Drepper <drepper@gmail.com>
49263
49264 * Versions.def: Add entry for libnss_db.
49265 * shlib-versions: Likewise.
49266 * nss/Makefile: Add rules to build libnss_db.
49267 * nss/Versions: Add libnss_db information. Organize libnss_files
49268 entries better.
49269 * nss/db-Makefile: Add gshadow support. Change rules for the new
49270 makedb progra. Some minor improvements to generate smaller files.
49271 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49272 here from...
49273 * nss/makedb.c: ...here.
49274 Improve database format to be smaller and require less memory at
49275 runtime.
49276 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49277 db anymore.
49278 * nss/nss_db/db-netgrp.c: Likewise.
49279 * nss/nss_db/db-open.c: Likewise.
49280 * nss/nss_files/flies-XXX.x: Adjust comments.
49281 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49282 * nss/nss_files/files-grp.c: Likewise.
49283 * nss/nss_files/files-hosts.c: Likewise.
49284 * nss/nss_files/files-network.c: Likewise.
49285 * nss/nss_files/files-proto.c: Likewise.
49286 * nss/nss_files/files-pwd.c: Likewise.
49287 * nss/nss_files/files-rpc.c: Likewise.
49288 * nss/nss_files/files-service.c: Likewise.
49289 * nss/nss_files/files-sgrp.c: Likewise.
49290 * nss/nss_files/files-spwd.c: Likewise.
49291 * nss/nss_db/db-alias.c: Removed.
49292 * nss/nss_db/dummy-db.h: Removed.
49293
9ee76b5a
UD
492942011-06-02 Ulrich Drepper <drepper@gmail.com>
49295
49296 * nss/makedb.c: Rewritten to not use database library.
49297 * nss/Makefile: Update to build new makedb program.
49298
c71ca1f8
AJ
492992011-06-14 Andreas Jaeger <aj@suse.de>
49300
49301 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49302 memset declaration.
49303
3154bfb8
UD
493042011-06-10 Andreas Schwab <schwab@redhat.com>
49305
49306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49307 tmpbuf.
49308
b350afab
RM
493092011-06-10 Roland McGrath <roland@hack.frob.com>
49310
decd4e50
RM
49311 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49312 * elf/Makefile ($(objpfx)ld.so): Likewise.
49313
5615eaf2
RM
49314 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49315 Don't list ld.so twice in dependencies.
49316
49317 * posix/bug-regex31.c: Include <stdlib.h>.
49318
49319 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49320
49321 * nis/nss_compat/compat-spwd.c
49322 (getspent_next_nss_netgr): Remove unused variable.
49323 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49324
49325 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49326 nonmembers" output to use the right array.
49327
49328 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49329
49330 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49331
49332 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49333 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49334 * catgets/gencat.c (read_input_file): Likewise.
49335 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49336
49337 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49338 variable definition inside #if's controlling its use.
49339
49340 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49341
49342 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49343
49344 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49345
49346 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49347 unreachable code.
49348
49349 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49350
b68e08db
RM
49351 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49352 * configure: Regenerated.
49353
b350afab
RM
49354 * Makerules: Revert last change.
49355 * elf/Makefile: Likewise.
49356
28368601
RM
493572011-06-09 Roland McGrath <roland@hack.frob.com>
49358
49359 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49360 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49361 (reloc-link): Likewise.
49362
11988f8f
UD
493632011-06-09 Ulrich Drepper <drepper@gmail.com>
49364
49365 * elf/Makefile: Add rules to build pldd.
49366 * elf/pldd.c: New file.
49367 * elf/pldd-xx.c: New file.
49368
e80fab37
UD
493692011-06-07 Ulrich Drepper <drepper@gmail.com>
49370
49371 * version.h: Update for 2.15 development version.
49372
9b849836
DM
493732011-06-07 David S. Miller <davem@davemloft.net>
49374
49375 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49376 ifuncs.
49377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49378 elf_machine_lazy_rel): Likewise.
49379 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49380 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49381 elf_machine_lazy_rel): Likewise.
49382 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49383 dl_hwcap via passed in argument.
49384 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49385 Likewise.
49386
5a31b283
AK
493872011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49388
49389 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49390
069e52f8
RM
493912011-06-06 Roland McGrath <roland@hack.frob.com>
49392
49393 [BZ #12849]
49394 * manual/fdl-1.1.texi: New file, verbatim from:
49395 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49396 * manual/lgpl-2.1.texi: New file, verbatim from:
49397 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49398 * manual/Makefile (licenses): New variable, list those new file names.
49399 (texis): Use it.
49400 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49401
49402 * manual/fdl.texi: File removed.
49403 * manual/lesser.texi: File removed.
49404 * manual/libc.texinfo (Copying, Documentation License):
49405 Use new @include file names, put @appendix directive before @include.
49406
f16846a5
JJ
494072011-06-04 Jakub Jelinek <jakub@redhat.com>
49408
49409 [BZ #12841]
49410 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49411 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49412 (mq_open): Add __NTH.
49413
3d29045b
L
494142011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49415
49416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49417 Assume Intel Core i3/i5/i7 processor if AVX is available.
49418
8c297311
UD
494192011-05-31 Ulrich Drepper <drepper@gmail.com>
49420
49421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49422 typo.
49423
c8fc0c91
UD
494242011-05-31 Andreas Schwab <schwab@redhat.com>
49425
49426 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49427 memory. Use alloca_account. Fix memory leak when retrying.
49428
5b27a807
UD
494292011-05-31 Ulrich Drepper <drepper@gmail.com>
49430
356f8bc6
UD
49431 * version.h (RELEASE): Bump for 2.14 release.
49432 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49433
5b27a807
UD
49434 * config.make.in (RANLIB): Remove entry.
49435
01f16ab0
UD
494362011-05-30 Ulrich Drepper <drepper@gmail.com>
49437
41fce8bd
UD
49438 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49439 (libc.pot): Work around missing support for .ksh extension in xgettext.
49440
4769ae77
UD
49441 [BZ #12684]
49442 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49443 if both request failed.
49444 (send_dg): In case of server errors clear resplen or *resplen2.
49445
6b1e7d19
UD
49446 [BZ #12454]
49447 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49448 when there are multiple maps.
49449 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49450 (_dl_fini): Remove test here.
49451
01f16ab0
UD
49452 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49453
b1ebd700
UD
494542011-05-29 Ulrich Drepper <drepper@gmail.com>
49455
7ae22829
UD
49456 [BZ #12350]
49457 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49458 bit from old_res_options.
49459 (gaih_inet): Likewise.
49460
553149f6 49461 [BZ #11099]
18a84741 49462 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49463 as signed.
49464
652ffab1
UD
49465 * resolv/res_init.c (res_setoptions): Make the code more compact.
49466
16985fd0
UD
49467 [BZ #11558]
49468 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49469 set RES_USEVC.
49470
0464f746
UD
49471 [BZ #11634]
49472 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49473
7d17596c
UD
49474 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49475
cf6bbbd7
UD
49476 [BZ #11781]
49477 * malloc/malloc.h: Declare malloc hook variables as volatile.
49478
13f1ab36
UD
49479 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49480 in last patch.
49481
b1ebd700
UD
49482 [BZ #11799]
49483 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49484 raise in the comment.
80e2212d
UD
49485 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49486 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49487 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49488
ce67228d
UD
494892011-05-28 Ulrich Drepper <drepper@gmail.com>
49490
8887a920
UD
49491 [BZ #12811]
49492 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49493 grow the buffers more if it already has to be sufficient.
49494 (build_wcs_upper_buffer): Likewise.
49495 * posix/regexec.c (check_matching): Likewise.
49496 (clean_state_log_if_needed): Likewise.
49497 (extend_buffers): Don't enlarge buffers beyond size of the input
49498 buffer.
49499 Patches mostly by Emil Wojak <emil@wojak.eu>.
49500 * posix/bug-regex32.c: New file.
49501 * posix/Makefile (tests): Add bug-regex32.
49502
4f031072
UD
49503 * locale/findlocale.c (_nl_find_locale): Return right away if
49504 _nl_explode_name failed.
49505 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49506
d0478f0c
UD
49507 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49508
de81b246
UD
49509 * debug/xtrace.sh: Unify messages.
49510 * malloc/memusage.sh: Likewise.
49511
c738465a
UD
49512 [BZ #12813]
49513 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49514 time symbol from vDSO. Substitute with vsyscall if not available.
49515 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49516 __vdso_time.
49517
f1f929d7
UD
49518 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49519 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49520 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49521 Add sendmmsg and internal_sendmmsg.
49522 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49523 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49524 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49525
ce67228d
UD
49526 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49527 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49529
e57420c6
UD
495302011-05-27 Ulrich Drepper <drepper@gmail.com>
49531
a8509ca5
UD
49532 [BZ #12813]
49533 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49534 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49535 available.
49536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49537 __vdso_getcpu.
49538
e57420c6
UD
49539 [BZ #12814]
49540 * iconvdata/Makefile (tests): Add bug-iconv9.
49541 * iconvdata/bug-iconv9.c: New file.
49542
4d07db15
AS
495432011-05-27 Andreas Schwab <schwab@redhat.com>
49544
49545 [BZ #12814]
49546 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49547
ea486f69
JJ
495482011-05-25 Jakub Jelinek <jakub@redhat.com>
49549
49550 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49551 (struct user_regs_struct): Change intcs field back to cs.
49552
6f038433
UD
495532011-05-25 Ulrich Drepper <drepper@gmail.com>
49554
49555 * po/ja.po: Update from translation team.
49556
67f86a25
UD
495572011-05-23 Ulrich Drepper <drepper@gmail.com>
49558
49559 [BZ #12795]
49560 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49561 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49562
def7fbd6
AS
495632011-05-20 Andreas Schwab <schwab@redhat.com>
49564
49565 * stdlib/longlong.h: Update from GCC.
49566
f50ef8f1
AS
495672011-05-23 Andreas Schwab <schwab@redhat.com>
49568
49569 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49570 parameter name.
49571 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49572 Add parameter name.
49573 (__sysconf): Pass it down.
49574
de7ce8f1
UD
495752011-05-22 Ulrich Drepper <drepper@gmail.com>
49576
f2962a71
UD
49577 [BZ #12671]
49578 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49579 some situations.
49580 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49581 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49582 add in in __libc_use_alloca calls. Adjust callers.
49583 (glob): Use malloc in some situations.
49584
de7ce8f1
UD
49585 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49586 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49587 pltexit.
49588
aec84f53
UD
495892011-05-21 Ulrich Drepper <drepper@gmail.com>
49590
05bb4a68
UD
49591 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49592 and CLOCK_BOOTTIME_ALARM.
49593
7ea72f99
UD
49594 [BZ #12782]
49595 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49596 is returned.
49597
7e4afad5
UD
49598 * string/_strerror.c (__strerror_r): Print negative errors as signed
49599 numbers.
49600
8e211fec
UD
49601 [BZ #12777]
49602 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49603 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49604 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49605
f7d82dc9
UD
49606 * configure.in: Fix typo in redirection and correct removal of test
49607 files in two cases.
49608
cc9e536d
UD
49609 [BZ #12788]
49610 * locale/setlocale.c (new_composite_name): Fix test to check for
49611 identical name of all categories.
49612
aec84f53
UD
49613 [BZ #12792]
49614 * libio/filedoalloc.c (local_isatty): New function.
49615 (_IO_file_doallocate): Use local_isatty.
49616 * stdio-common/perror.c (perror): In case a new stream is used
49617 forward the stream error.
49618 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49619 error flag.
49620
78e64fdc
RT
496212011-05-20 Ulrich Drepper <drepper@gmail.com>
49622
34a9094f
UD
49623 [BZ #11869]
49624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49625 alloca.
49626 * include/alloca.h (extend_alloca_account): Define.
49627
78e64fdc
RT
49628 [BZ #11857]
49629 * posix/regex.h: Fix comments with documentation of user-accessible
49630 fields after compilation and describe correct free'ing of pattern
49631 after re_compile_pattern.
49632 Patch by Reuben Thomas <rrt@sc3d.org>.
49633
457bddfc
RA
496342011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49635
49636 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49637 and -mno-altivec to prevent the compiler from using Altivec and/or
49638 VSX instructions when the corresponding registers are not available.
49639
a4527b51
AS
496402011-05-19 Andreas Schwab <schwab@redhat.com>
49641
49642 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49643
ed690b2f
UD
496442011-05-19 Ulrich Drepper <drepper@gmail.com>
49645
49646 * libio/freopen.c (freopen): Use __dup2, not dup2.
49647 * libio/freopen64.c (freopen64): Likewise.
49648
8db73634
L
496492011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49650
49651 [BZ #12775]
49652 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49653 * math/Makefile (tests): Add test-powl.
49654 (CFLAGS-test-powl.c): Define.
49655 * math/test-powl.c: New file.
49656
0a197a9d
L
496572011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49658
49659 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49660
ee30c380
UD
496612011-05-17 Ulrich Drepper <drepper@gmail.com>
49662
49663 [BZ #11837]
49664 * iconvdata/gb18030.c: Update to GB18020-2005.
49665
6ce75379
UD
496662011-05-16 Ulrich Drepper <drepper@gmail.com>
49667
a4b89fd8
AR
49668 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49669 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49670 Patch by Aharon Robbins <arnold@skeeve.com>.
49671
ea389b12
UD
49672 [BZ #11892]
49673 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49674 on the stack.
49675
68a3f91f
UD
49676 [BZ #11895]
49677 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49678 through underflows.
49679
15cc7dd1
UD
49680 [BZ #12766]
49681 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49682 point to strings before performing equality test for error_one_per_line
49683 mode.
49684
f3799213
UD
49685 [BZ #11697]
49686 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49687
d79a9c94
UD
49688 [BZ #11820]
49689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49690 (struct user_fpregs_struct): Avoid __uint*_t types.
49691
56e5eb46
UD
49692 [BZ #6420]
49693 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49694 symbol info. Use it instead of calling _dl_addr locally.
49695 (lock_and_info): New function.
49696 (tr_freehook): Call lock_and_info and pass symbol info as additional
49697 parameter to tr_where.
49698 (tr_mallochook): Likewise.
49699 (tr_reallochook): Likewise.
49700 (tr_memalignhook): Likewise.
49701
6ce75379
UD
49702 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49703 used and couldn't be at all thread-safe.
49704
f8a3b5bf
UD
497052011-05-15 Ulrich Drepper <drepper@gmail.com>
49706
94b7cc37
UD
49707 * libio/freopen.c (freopen): Don't close old file descriptor
49708 before the new one is opened. Instead dup the new file descriptor
49709 to the old one after the new stream is created.
49710 * libio/freopen64.c (freopen64): Likewise.
49711 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49712 * libio/fileops.c (_IO_new_file_close_it): Handle new
49713 _IO_FLAGS2_NOCLOSE flag.
49714 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49715 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49716 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49717 _IO_FLAGS2_NOCLOSE flag.
49718 * include/unistd.h: Add hidden_proto for dup3.
49719 Define __have_dup3.
49720 * io/dup3.c: Define hidden symbol.
49721 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49722
bd25564e
UD
49723 [BZ #7101]
49724 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49725 when an incomplete long option is used.
49726 * posix/tst-getopt_long1.c: New file.
49727 * posix/Makefile (tests): Add tst-getopt_long1.
49728
c84cfef4
UD
49729 [BZ #10138]
49730 * scripts/config.guess: Update from autoconf-2.68.
49731 * scripts/config.sub: Likewise.
49732
3b85df27
UD
49733 [BZ #10157]
49734 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49735 tests into ...
49736 (has_cpuclock): ...this. New function.
49737 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49738 macro here based on has_cpuclock code.
49739
15a856b1
UD
49740 [BZ #10149]
49741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49742 First byte (not low byte) is now always NUL.
49743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49744
05f399e6
UD
49745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49746 Use non-cancelable interfaces.
49747
10a52685 49748 [BZ #9809]
94ecc67d
UD
49749 * locale/iso-639.def: Add entry for Sorani.
49750
f8a3b5bf
UD
49751 [BZ #11901]
49752 * include/stdlib.h: Move include protection to the right place.
49753 Define abort_msg_s. Declare __abort_msg with it.
49754 * stdlib/abort.c (__abort_msg): Adjust type.
49755 * assert/assert.c (__assert_fail_base): New function. Majority
49756 of code from __assert_fail. Allocate memory for __abort_msg with
49757 mmap.
49758 (__assert_fail): Now call __assert_fail_base.
49759 * assert/assert-perr.c: Remove bulk of implementation. Use
49760 __assert_fail_base.
49761 * include/assert.hL Declare __assert_fail_base.
49762 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49763 mmap.
49764 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49765
1af4e298
UD
497662011-05-14 Ulrich Drepper <drepper@gmail.com>
49767
f8a3b5bf 49768 [BZ #11952]
d26dfc60
MG
49769 [BZ #12453]
49770 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49771 until all modules are registered in the DTV.
49772 * elf/Makefile: Add rules to build and run tst-tls19.
49773 * elf/tst-tls19.c: New file.
49774 * elf/tst-tls19mod1.c: New file.
49775 * elf/tst-tls19mod2.c: New file.
49776 * elf/tst-tls19mod3.c: New file.
49777 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49778
2fc54d6f
UD
49779 [BZ #12083]
49780 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49781 correctly.
49782
98d76b46
UD
49783 [BZ #12601]
49784 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49785 two-byte sequence errors.
49786 * iconvdata/Makefile (tests): Add bug-iconv8.
49787 * iconvdata/bug-iconv8.c: New file.
49788
da3c19ef
UD
49789 [BZ #12626]
49790 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49791 buf2 definition.
49792
ca408c15
UD
49793 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49794
d6f67f7d
UD
49795 [BZ #12432]
49796 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49797 (dummy_getcfa): New function.
49798 (init): Get _Unwind_GetCFA address, use dummy if not found.
49799 (backtrace_helper): In recursion check, also check whether CFA changes.
49800 (__backtrace): Completely initialize arg.
49801
1af4e298 49802 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49803 storing incomplete byte sequence in state object. Avoid testing for
49804 guaranteed too small input if we know there is enough data available.
1af4e298 49805
da62f81b
AS
498062011-05-11 Andreas Schwab <schwab@redhat.com>
49807
49808 * Makeconfig (+link-pie): Indent.
49809 * Rules (binaries-pie): Define if $(have-fpie) and
49810 $(build-shared).
49811 (binaries-shared): Also filter out $(binaries-pie).
49812 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49813 * nscd/Makefile (others-pie): Add nscd.
49814 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49815 ($(objpfx)nscd): Remove command override.
49816 * login/Makefile (others-pie): Add pt_chown.
49817 ($(objpfx)pt_chown): Remove command override.
49818 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49819 remove command overrides.
49820
fcabc0f8
UD
498212011-05-13 Ulrich Drepper <drepper@gmail.com>
49822
20030ae6
UD
49823 * libio/tst_putwc.c: Fix error messages.
49824
fcabc0f8
UD
49825 [BZ #12724]
49826 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49827 currently writing and seek to current position when not.
49828 * libio/Makefile (tests): Add bug-fclose1.
49829 * libio/bug-fclose1.c: New file.
49830
320a5dc0
PB
498312011-05-12 Ulrich Drepper <drepper@gmail.com>
49832
49833 [BZ #12511]
49834 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49835 don't set DF_1_NODELETE here.
49836 (do_lookup_x): When entering new entry test for copy relocation
49837 and if necessary set DF_1_NODELETE flag.
49838 * elf/tst-unique4.cc: New file.
49839 * elf/tst-unique4.h: New file.
49840 * elf/tst-unique4lib.cc: New file.
49841 * elf/Makefile: Add rules to build and run tst-unique4.
49842 Patch by Piotr Bury <pbury@goahead.com>.
49843
22836f52
UD
498442011-05-11 Ulrich Drepper <drepper@gmail.com>
49845
f574184a
UD
49846 [BZ #12052]
49847 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49848
e1fb097f
UD
49849 [BZ #12625]
49850 * misc/mntent_r.c (addmntent): Flush the stream after the output
49851
22836f52
UD
49852 [BZ #12393]
49853 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49854 (is_trusted_path_normalize): Skip initial colon. Append slash
49855 to empty buffer. Duplicate is_trusted_path code but allow
49856 constructed patch to be prefix.
49857 (is_dst): Allow $ORIGIN followed by /.
49858 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49859 Correct testing of result of is_trusted_path_normalize
49860 (decompose_rpath): Fix warning.
49861
7b3b0b2a
UD
498622011-05-10 Ulrich Drepper <drepper@gmail.com>
49863
49864 [BZ #11257]
49865 * grp/initgroups.c (internal_getgrouplist): When we found the service
49866 list through the initgroups entry in nsswitch.conf do not always
49867 continue on a successful lookup. Don't always use the
eac80ce2 49868 __nss_group_database value if it is set.
7b3b0b2a
UD
49869 * nss/nsswitch.conf (initgroups): Change action for successful db
49870 lookup to continue for compatibility.
49871
2a81eaa5
UD
498722011-05-09 Ulrich Drepper <drepper@gmail.com>
49873
be97a69e
UD
49874 [BZ #11532]
49875 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49876 and CP774 modules.
49877 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49878 and CP774 modules.
49879 * iconvdata/tst-tables.sh: Likewise.
49880 * iconvdata/cp770.c: New file.
49881 * iconvdata/cp771.c: New file.
49882 * iconvdata/cp772.c: New file.
49883 * iconvdata/cp773.c: New file.
49884 * iconvdata/cp774.c: New file.
49885 * iconvdata/testdata/CP770: New file.
49886 * iconvdata/testdata/CP770..UTF8: New file.
49887 * iconvdata/testdata/CP771: New file.
49888 * iconvdata/testdata/CP771..UTF8: New file.
49889 * iconvdata/testdata/CP772: New file.
49890 * iconvdata/testdata/CP772..UTF8: New file.
49891 * iconvdata/testdata/CP773: New file.
49892 * iconvdata/testdata/CP773..UTF8: New file.
49893 * iconvdata/testdata/CP774: New file.
49894 * iconvdata/testdata/CP774..UTF8: New file.
49895
49896 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49897 END CHARMAP line.
49898 * iconvdata/gen-8bit-gap.sh: Likewise.
49899 * iconvdata/gen-8bit.sh: Likewise.
49900
c1e9e399
UD
49901 * locale/iso-639.def: Add ary entry.
49902
24c55fb3 49903 [BZ #11258]
96b4b1b0
UD
49904 * locale/C-translit.h.in: Add U20A1 transliteration.
49905
bdc2f971
KB
49906 [BZ #12178]
49907 * locale/iso-639.def: Add wae entry.
49908 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49909
2952b117
UD
49910 [BZ #12545]
49911 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49912 for n.
49913
2a81eaa5
UD
49914 [BZ #12711]
49915 * locale/C-translit.h.in: Add entry for U20B9.
49916 Patch by pravin.d.s@gmail.com.
49917
28377d1b
UD
499182011-05-08 Ulrich Drepper <drepper@gmail.com>
49919
7fb90fb8
UD
49920 [BZ #12713]
49921 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49922 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49923 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49924 in rtld. Use *stat64.
7fb90fb8 49925 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49926 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49927 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49928 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49929 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49930 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49931 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49932 __fstatat64 macros.
7fb90fb8
UD
49933 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49934 * dirent/rewinddir.c: Add libc_hidden_def.
49935 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49936 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49937
28377d1b
UD
49938 * include/dirent.h (__alloc_dir): Add flags parameter.
49939 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49940 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49941 __alloc_dir.
49942 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49943 from fdopendir if O_CLOEXEC is already set.
49944
66bdbaa4
AM
499452011-03-15 Alan Modra <amodra@gmail.com>
49946
49947 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49948 l_tls_firstbyte_offset non-zero. Save padding offset in
49949 l_tls_firstbyte_offset for later use.
49950 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49951 freeing static tls block.
49952
95721191
JN
499532011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49954
49955 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49956 where #ifdef was intended. The intent is to prevent ARG_MAX from
49957 being defined by the kernel headers.
49958
f87dfb1f
UD
499592011-05-07 Ulrich Drepper <drepper@gmail.com>
49960
49961 [BZ #12734]
49962 * resolv/resolv.h: Define RES_NOTLDQUERY.
49963 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49964 no-tld-query and set RES_NOTLDQUERY.
49965 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49966 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49967 modern BIND to search name as TLD unless forbidden.
49968
47c3cd7a
UD
499692011-05-07 Petr Baudis <pasky@suse.cz>
49970 Ulrich Drepper <drepper@gmail.com>
49971
49972 [BZ #12393]
49973 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49974 (is_trusted_path): ...to here.
c1e9ea35 49975 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 49976 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 49977 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 49978
8a35c912
PP
499792011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49980
49981 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49982 __BEGIN/__END_DECLS.
49983
acd41f47
UD
499842011-05-06 Ulrich Drepper <drepper@gmail.com>
49985
49986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49987 NSS_STATUS_NOTFOUND if no record was found.
49988
597df647
AS
499892011-05-05 Andreas Schwab <schwab@redhat.com>
49990
49991 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49992 (headers-not-in-tirpc): Remove rpc/netdb.h
49993 * resolv/netdb.h: Revert last change.
49994
b9af1301
PP
499952011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49996
49997 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49998 circular dependency between libgcc.a and libc.a.
49999
4e34d5f5
AS
500002011-05-05 Andreas Schwab <schwab@redhat.com>
50001
50002 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50003 * nis/Makefile: Don't install rpcsvc/*.
50004 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50005 instead of <rpc/types.h>.
50006 (MAXHOSTNAMELEN): Define.
50007
00ee369c
AS
500082011-05-03 Andreas Schwab <schwab@redhat.com>
50009
50010 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50011
0b592a30
MB
500122011-04-28 Maciej Babinski <mbabinski@google.com>
50013
50014 [BZ #12714]
50015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50016 gethostbyname4_r when IPv6 results are possible.
50017
6e04cbbe
UD
500182011-05-02 Ulrich Drepper <drepper@gmail.com>
50019
50020 [BZ #12723]
50021 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50022 _PC_PIPE_BUF handling.
50023
e4ecafe0
BH
500242011-04-30 Bruno Haible <bruno@clisp.org>
50025
50026 [BZ #12717]
50027 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50028 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50029 to 'int'.
50030 * inet/getnameinfo.c (getnameinfo): Likewise.
50031
125ee683
UD
500322011-04-29 Ulrich Drepper <drepper@gmail.com>
50033
50034 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50035 to groups setting in database lookup.
50036 * nss/nsswitch.conf: Add initgroups entry.
50037
b722481a
EB
500382011-04-22 Ulrich Drepper <drepper@gmail.com>
50039
50040 [BZ #12685]
50041 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50042 mode string.
50043 Patch by Eric Blake <eblake@redhat.com>.
50044
4df46dbd
L
500452011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50046
50047 * sunrpc/Makefile (need-export-routines): Add svc_run.
50048 (routines): Remove svc_run.
50049 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50050 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50051 * sunrpc/svc_run.c (svc_run): Likewise.
50052 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50053
e84142d2
UD
500542011-04-21 Ulrich Drepper <drepper@gmail.com>
50055
50056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50057 problem in reallocation in last patch.
50058
877175d8
UD
500592011-04-20 Ulrich Drepper <drepper@gmail.com>
50060
50061 * sunrpc/Makefile: Move inclusion of Rules.
50062
ab8eed78
UD
500632011-04-19 Ulrich Drepper <drepper@gmail.com>
50064
50065 * nss/nss_files/files-initgroups.c: New file.
50066 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50067 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50068 _nss_files_initgroups_dyn.
50069
e3d8f584
RS
500702011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50071
50072 * elf/elf.h (R_ARM_IRELATIVE): Define.
50073
af190f45
UD
500742011-04-19 Ulrich Drepper <drepper@gmail.com>
50075
50076 * po/ru.po: Update from translation team.
50077
53cf59ef
UD
500782011-04-17 Ulrich Drepper <drepper@gmail.com>
50079
50080 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50081 dependencies.
50082
4c559bcd
MF
500832011-02-06 Mike Frysinger <vapier@gentoo.org>
50084
50085 [BZ #12653]
50086 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50087 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50088 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50091
4420675c
AS
500922011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50093
50094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50095 differing bytes.
50096 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50097 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50098 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50099
75ea32ab
UD
501002011-04-17 Ulrich Drepper <drepper@gmail.com>
50101
50102 [BZ #12420]
50103 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50104 storing it.
50105 * stdlib/bug-getcontext.c: New file.
50106 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50107
27390476
AK
501082011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50109
50110 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50111 instructions into .machine "z9-109".
50112 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50113 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50114
10442705
AK
501152011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50116
50117 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50118 between environment variables and auxiliary vector.
50119
7b57bfe5
UD
501202011-04-16 Ulrich Drepper <drepper@gmail.com>
50121
50122 * Makefile: Add rules to build linkobj/libc.so.
50123 * include/libc-symbols.h: Define libc_hidden_nolink.
50124 * include/rpc/auth.h: Mark functions which are to be hidden.
50125 * include/rpc/auth_des.h: Likewise.
50126 * include/rpc/auth_unix.h: Likewise.
50127 * include/rpc/clnt.h: Likewise.
50128 * include/rpc/des_crypt.h: Likewise.
50129 * include/rpc/key_prot.h: Likewise.
50130 * include/rpc/pmap_clnt.h: Likewise.
50131 * include/rpc/pmap_prot.h: Likewise.
50132 * include/rpc/pmap_rmt.h: Likewise.
50133 * include/rpc/rpc_msg.h: Likewise.
50134 * include/rpc/svc.h: Likewise.
50135 * include/rpc/svc_auth.h: Likewise.
50136 * include/rpc/xdr.h: Likewise.
50137 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50138 * nss/Makefile: Likewise.
50139 * sunrpc/Makefile: Don't install headers. Build library with normal
50140 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50141 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50142 for the compat linking library. Remove use of INTDEF/INTUSE.
50143 * sunrpc/auth_none.c: Likewise.
50144 * sunrpc/auth_unix.c: Likewise.
50145 * sunrpc/authdes_prot.c: Likewise.
50146 * sunrpc/authuxprot.c: Likewise.
50147 * sunrpc/clnt_gen.c: Likewise.
50148 * sunrpc/clnt_perr.c: Likewise.
50149 * sunrpc/clnt_raw.c: Likewise.
50150 * sunrpc/clnt_simp.c: Likewise.
50151 * sunrpc/clnt_tcp.c: Likewise.
50152 * sunrpc/clnt_udp.c: Likewise.
50153 * sunrpc/clnt_unix.c: Likewise.
50154 * sunrpc/des_crypt.c: Likewise.
50155 * sunrpc/des_soft.c: Likewise.
50156 * sunrpc/get_myaddr.c: Likewise.
50157 * sunrpc/key_call.c: Likewise.
50158 * sunrpc/key_prot.c: Likewise.
50159 * sunrpc/netname.c: Likewise.
50160 * sunrpc/pm_getmaps.c: Likewise.
50161 * sunrpc/pm_getport.c: Likewise.
50162 * sunrpc/pmap_clnt.c: Likewise.
50163 * sunrpc/pmap_prot.c: Likewise.
50164 * sunrpc/pmap_prot2.c: Likewise.
50165 * sunrpc/pmap_rmt.c: Likewise.
50166 * sunrpc/publickey.c: Likewise.
50167 * sunrpc/rpc_cmsg.c: Likewise.
50168 * sunrpc/rpc_common.c: Likewise.
50169 * sunrpc/rpc_dtable.c: Likewise.
50170 * sunrpc/rpc_prot.c: Likewise.
50171 * sunrpc/rpc_thread.c: Likewise.
50172 * sunrpc/rtime.c: Likewise.
50173 * sunrpc/svc.c: Likewise.
50174 * sunrpc/svc_auth.c: Likewise.
50175 * sunrpc/svc_authux.c: Likewise.
50176 * sunrpc/svc_raw.c: Likewise.
50177 * sunrpc/svc_run.c: Likewise.
50178 * sunrpc/svc_simple.c: Likewise.
50179 * sunrpc/svc_tcp.c: Likewise.
50180 * sunrpc/svc_udp.c: Likewise.
50181 * sunrpc/svc_unix.c: Likewise.
50182 * sunrpc/svcauth_des.c: Likewise.
50183 * sunrpc/xcrypt.c: Likewise.
50184 * sunrpc/xdr.c: Likewise.
50185 * sunrpc/xdr_array.c: Likewise.
50186 * sunrpc/xdr_float.c: Likewise.
50187 * sunrpc/xdr_intXX_t.c: Likewise.
50188 * sunrpc/xdr_mem.c: Likewise.
50189 * sunrpc/xdr_rec.c: Likewise.
50190 * sunrpc/xdr_ref.c: Likewise.
50191 * sunrpc/xdr_sizeof.c: Likewise.
50192 * sunrpc/xdr_stdio.c: Likewise.
50193
e6c61494
UD
501942011-04-10 Ulrich Drepper <drepper@gmail.com>
50195
50196 [BZ #12650]
50197 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50198 * sysdeps/ia64/dl-tls.h: Likewise.
50199 * sysdeps/powerpc/dl-tls.h: Likewise.
50200 * sysdeps/s390/dl-tls.h: Likewise.
50201 * sysdeps/sh/dl-tls.h: Likewise.
50202 * sysdeps/sparc/dl-tls.h: Likewise.
50203 * sysdeps/x86_64/dl-tls.h: Likewise.
50204 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50205
34fe483e
AS
502062011-03-14 Andreas Schwab <schwab@redhat.com>
50207
50208 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50209 rpath element also skip the following colon.
50210 (expand_dynamic_string_token): Add is_path parameter and pass
50211 down to DL_DST_REQUIRED and _dl_dst_substitute.
50212 (decompose_rpath): Call expand_dynamic_string_token with
50213 non-zero is_path. Ignore empty rpaths.
50214 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50215 with zero is_path.
50216
f12a32e6
AS
502172011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50218
50219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50220 Make cancelable.
50221
38a7d692
UD
502222011-04-09 Ulrich Drepper <drepper@gmail.com>
50223
50224 [BZ #12655]
50225 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50226 Patch by Filipe David Manana <fdmanana@apache.org>.
50227
e451d22b
AS
502282011-04-07 Andreas Schwab <schwab@redhat.com>
50229
50230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50231 Maintain aligned stack.
50232 (CHECK_RSP): Remove unused macro.
50233
dedc7c7b
UD
502342011-04-03 Ulrich Drepper <drepper@gmail.com>
50235
50236 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50238
94521213
UD
502392011-04-02 Ulrich Drepper <drepper@gmail.com>
50240
50241 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50242
8cb700c0 50243 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50244
0354e355
L
502452011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50246
50247 [BZ #12518]
50248 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50249 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50250 * sysdeps/x86_64/memmove.c: New file.
50251 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50252 (memcpy): Renamed to ...
50253 (__new_memcpy): This.
50254 (memcpy): Provide GLIBC_2_14 memcpy.
50255 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50256 (memcpy): Provide GLIBC_2_2_5 memcpy.
50257
8593482f
UD
502582011-04-01 Ulrich Drepper <drepper@gmail.com>
50259
50260 [BZ #12631]
50261 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50262
81a5726b
AS
502632011-03-30 Andreas Schwab <schwab@redhat.com>
50264
50265 * misc/syncfs.c: New file.
50266 * misc/Makefile (routines): Add syncfs.
50267 * posix/unistd.h: Declare syncfs.
50268 * sysdeps/unix/syscalls.list: Add syncfs.
50269
00e5419f
AS
502702011-04-01 Andreas Schwab <schwab@redhat.com>
50271
50272 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50273 open_by_handle_at.
50274 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50279 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50280 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50281
748876bf
UD
502822011-04-01 Ulrich Drepper <drepper@gmail.com>
50283
658e451d
UD
50284 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50285 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50286 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50287 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50288 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50289 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50290 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50291
748876bf
UD
50292 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50293 sync_file_range.c with -fexceptions.
50294 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50295 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50296 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50297 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50298 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50299 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50301 sync_file_range as cancellation point
50302 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50303 now a wrapper around __call_sync_file_range with cancellation handling.
50304 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50305 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50306 function name to __call_sync_file_range.
50307 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50308 Add call_sync_file_range.
748876bf 50309
6e63d5e1
AS
503102011-04-01 Andreas Schwab <schwab@redhat.com>
50311
50312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50313 bits/timex.h.
6e63d5e1 50314
46998f74
UD
503152011-04-01 Ulrich Drepper <drepper@gmail.com>
50316
4c1423ed
UD
50317 * iconv/iconv.h: Fix typo in comment.
50318 * io/fcntl.h: Likewise.
50319 * libio/stdio.h: Likewise.
50320 * posix/spawn.h: Likewise.
50321 * posix/unistd.h: Likewise.
50322 * stdlib/stdlib.h: Likewise.
50323 * time/time.h: Likewise.
50324 * wcsmbs/wchar.h: Likewise.
50325
158648c0
UD
50326 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50327 open_by_handle): Add.
50328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50329 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50330 Augment a few comments.
50331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50336 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50337 open_by_handle.
50338
46998f74
UD
50339 * io/fcntl.h (AT_EMPTY_PATH): Define.
50340
83fe108b
UD
503412011-03-30 Ulrich Drepper <drepper@gmail.com>
50342
50343 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50344 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50345 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50346 to...
50347 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50348 * Versions.def: Add GLIBC_2.14.
50349 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50350 Export.
83fe108b 50351
bb242059
UD
503522011-03-22 Ulrich Drepper <drepper@gmail.com>
50353
50354 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50355 round counter.
50356 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50357
c97a1282
L
503582011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50359
50360 [BZ #12597]
50361 * string/test-strncmp.c (do_page_test): New function.
50362 (check2): Likewise.
50363 (test_main): Call check2.
50364 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50365
2a115601
UD
503662011-03-20 Ulrich Drepper <drepper@gmail.com>
50367
50368 [BZ #12587]
50369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50370 Handle cache information in CPU leaf 4.
50371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50372
8126d904
UD
503732011-03-18 Ulrich Drepper <drepper@gmail.com>
50374
042c49c6 50375 [BZ #12583]
8126d904
UD
50376 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50377 character representation.
50378 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50379
ccfe366e
RA
503802011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50381
50382 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50383 END(__isnan) to END(__isnanf) to match function entry point/label
50384 EALIGN(__isnanf,...).
50385
c6e13027
JJ
503862011-03-10 Jakub Jelinek <jakub@redhat.com>
50387
50388 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50389
33f85a3f
UD
503902011-03-10 Ulrich Drepper <drepper@gmail.com>
50391
028478fa
UD
50392 [BZ #12510]
50393 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50394 copy from the symbol referenced in the relocation to initialize the
50395 used variable.
50396 Patch by Piotr Bury <pbury@goahead.com>.
50397 * elf/Makefile: Add rules to build and tst-unique3.
50398 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50399 * elf/tst-unique3.cc: New file.
50400 * elf/tst-unique3.h: New file.
50401 * elf/tst-unique3lib.cc: New file.
50402 * elf/tst-unique3lib2.cc: New file.
50403
33f85a3f
UD
50404 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50405
03592fc7
MF
504062011-03-10 Mike Frysinger <vapier@gentoo.org>
50407
50408 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50409 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50410 to _start.
03592fc7 50411
6a5ee102
UD
504122011-03-06 Ulrich Drepper <drepper@gmail.com>
50413
50414 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50415 to-be-loaded object along a path to loader is ld.so.
50416
7e4ba49c
HJ
504172011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50418 Ulrich Drepper <drepper@gmail.com>
50419
50420 * sysdeps/x86_64/memset.S: After aligning destination, code
50421 branches to different locations depending on the value of
50422 misalignment, when multiarch is enabled. Fix this.
50423
504242011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50425
50426 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50427 Set _x86_64_preferred_memory_instruction for AMD processsors.
50428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50429 Set bit_Prefer_SSE_for_memop for AMD processors.
50430
13a804de
UD
504312011-03-04 Ulrich Drepper <drepper@gmail.com>
50432
50433 * libio/fmemopen.c (fmemopen): Optimize a bit.
50434
9d25c392
AS
504352011-03-03 Andreas Schwab <schwab@redhat.com>
50436
50437 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50438
a5543c6a
RM
504392011-03-03 Roland McGrath <roland@redhat.com>
50440
50441 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50442
012d35f7
DM
504432011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50444
7e4ba49c 50445 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50446 __bzero_ultra1 instead of __memset_ultra1.
50447
4bff6e01
AS
504482011-02-23 Andreas Schwab <schwab@redhat.com>
50449 Ulrich Drepper <drepper@gmail.com>
50450
50451 [BZ #12509]
50452 * include/link.h (struct link_map): Add l_orig_initfini.
50453 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50454 returning unsuccessfully.
50455 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50456 close of a file loaded at startup, restore the original l_initfini
50457 list.
50458 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50459 list, store the pointer.
50460 * elf/Makefile ($(objpfx)noload-mem): New rule.
50461 (noload-ENV): Define.
50462 (tests): Add $(objpfx)noload-mem.
50463 * elf/noload.c: Include <memcheck.h>.
50464 (main): Call mtrace. Close all opened handles.
50465
f2092faf
AS
504662011-02-17 Andreas Schwab <schwab@redhat.com>
50467
50468 [BZ #12454]
50469 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50470 dependencies are missing.
50471
6c8a2e88
ST
504722011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50473
f2092faf 50474 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50475 Hurd needs munmap.
50476 * sysdeps/mach/hurd/ifreq.h: New file.
50477
84a42118
PB
504782011-01-27 Petr Baudis <pasky@suse.cz>
50479 Ulrich Drepper <drepper@gmail.com>
50480
071f805e 50481 [BZ 12445]#
84a42118
PB
50482 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50483 to extend_alloca().
50484 * stdio-common/bug23.c: New file.
50485 * stdio-common/Makefile (tests): Add bug23.
50486
e23fe25b
AS
504872010-09-28 Andreas Schwab <schwab@redhat.com>
50488 Ulrich Drepper <drepper@gmail.com>
50489
50490 [BZ #12489]
50491 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50492 before performing relro protection. At old place add assertion
50493 to make sure nothing changed.
50494
d3f02e10
NS
504952011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50496 Glauber de Oliveira Costa <glommer@gmail.com>
50497
50498 * elf/elf.h: Add new ARM TLS relocs.
50499
d55fd7a5
RA
505002011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50501
50502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50503 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50504 cast from r3.
50505 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50506 'tests' variable.
50507 * sysdeps/wordsize-64/tst-writev.c: New file.
50508
2206397e
RA
505092011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50510
50511 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50512 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50513 insns in _dl_start to prevent a TOC reference before relocs are
50514 resolved.
50515
e9433893
UD
505162011-02-15 Ulrich Drepper <drepper@gmail.com>
50517
50518 [BZ #12469]
50519 * Makeconfig: Remove RANLIB definition.
50520 * Makerules: Don't use RANLIB.
50521 * aclocal.m4: Remove ranlib test.
50522 * configure.in: No need to check for ranlib.
50523 * elf/rtld-Rules: Don't use RANLIB.
50524
f75286c6
ST
505252011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50526
8e31c82d
ST
50527 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50528 protection macro.
50529 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50530 inclusion protection macro.
50531
f75286c6
ST
50532 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50533 SIGRTMIN and SIGRTMAX and print information in that case only when
50534 SIGRTMIN is defined.
50535
c1d0e639
JJ
505362011-02-11 Jakub Jelinek <jakub@redhat.com>
50537
50538 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50539 arginfo fn returning -1.
50540
50541 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50542 and thousands string is zero terminated.
50543
edf9294e
AS
505442011-02-03 Andreas Schwab <schwab@redhat.com>
50545
50546 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50547 sysdeps/unix/sysv/linux/bits/socket.h.
50548
2b7e92df
ST
505492011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50550
edf9294e
AS
50551 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50552 (__CPU_COUNT): Remove old macros.
50553 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50554 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50555 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50556 (__sched_cpualloc, __sched_cpufree): Add declarations.
50557
a4c7ea7b
UD
505582011-02-05 Ulrich Drepper <drepper@gmail.com>
50559
50560 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50561 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50562 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50563 (readdhstai): Return value of addhstaiX call.
50564 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50565 (addgrbyX): Return value returned by cache_addgr.
50566 (readdgrbyname): Return value returned by addgrbyX.
50567 (readdgrbygid): Likewise.
50568 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50569 (addpwbyX): Return value returned by cache_addpw.
50570 (readdpwbyname): Return value returned by addhstbyX.
50571 (readdpwbyuid): Likewise.
50572 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50573 (addservbyX): Return value returned by cache_addserv.
50574 (readdservbyname): Return value returned by addservbyX:
50575 (readdservbyport): Likewise.
50576 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50577 (addhstbyX): Return value returned by cache_addhst.
50578 (readdhstbyname): Return value returned by addhstbyX.
50579 (readdhstbyaddr): Likewise.
50580 (readdhstbynamev6): Likewise.
50581 (readdhstbyaddrv6): Likewise.
50582 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50583 (readdinitgroups): Return value returned by addinitgroupsX.
50584 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50585 (prune_cache): Keep track of timeout value of re-added entries.
50586 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50587 * nscd/nscd.h: Adjust prototypes of readd* functions.
50588
a0bf67cc
RM
505892011-02-04 Roland McGrath <roland@redhat.com>
50590
50591 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50592 (nis_stats): Likewise.
50593 * nis/nis_modify.c (nis_modify): Likewise.
50594 * nis/nis_remove.c (nis_remove): Likewise.
50595 * nis/nis_add.c (nis_add): Likewise.
50596
50597 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50598
50599 * posix/fnmatch_loop.c: Add some consts.
50600
50601 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50602
435b95eb
L
506032011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50604
50605 [BZ #12460]
50606 * config.make.in (config-cflags-novzeroupper): Define.
50607 * configure.in: Substitute libc_cv_cc_novzeroupper.
50608 * elf/Makefile (AVX-CFLAGS): Define.
50609 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50610 (CFLAGS-tst-auditmod4a.c): Likewise.
50611 (CFLAGS-tst-auditmod4b.c): Likewise.
50612 (CFLAGS-tst-auditmod6b.c): Likewise.
50613 (CFLAGS-tst-auditmod6c.c): Likewise.
50614 (CFLAGS-tst-auditmod7b.c): Likewise.
50615 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50616
8517b15e
UD
506172011-02-02 Ulrich Drepper <drepper@gmail.com>
50618
50619 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50620 function to the callback.
50621 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50622
10a656fe
AS
506232011-02-02 Andreas Schwab <schwab@redhat.com>
50624
50625 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50626 of errno.
50627
968dad0a
UD
506282011-01-19 Ulrich Drepper <drepper@gmail.com>
50629
9f94d2ea 50630 [BZ #11724]
968dad0a
UD
50631 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50632 of constructors.
50633 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50634 of destructors.
50635 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50636
50637 [BZ #11724]
50638 * elf/Makefile: Add rules to build and run new test.
50639 * elf/tst-initorder.c: New file.
50640 * elf/tst-initorder.exp: New file.
50641 * elf/tst-initordera1.c: New file.
50642 * elf/tst-initordera2.c: New file.
50643 * elf/tst-initordera3.c: New file.
50644 * elf/tst-initordera4.c: New file.
50645 * elf/tst-initorderb1.c: New file.
50646 * elf/tst-initorderb2.c: New file.
50647 * elf/tst-order-a1.c: New file.
50648 * elf/tst-order-a2.c: New file.
50649 * elf/tst-order-a3.c: New file.
50650 * elf/tst-order-a4.c: New file.
50651 * elf/tst-order-b1.c: New file.
50652 * elf/tst-order-b2.c: New file.
50653 * elf/tst-order-main.c: New file.
50654 New test case by George Gensure <werkt0@gmail.com>.
50655
86e92359
UD
506562010-10-01 Andreas Schwab <schwab@redhat.com>
50657
50658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50659 decoding ACE if AI_CANONIDN.
50660
5d5732b0
UD
506612011-01-18 Ulrich Drepper <drepper@gmail.com>
50662
50663 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50664
a77e8cbc
UD
506652011-01-17 Ulrich Drepper <drepper@gmail.com>
50666
6392473f
UD
50667 * version.h (RELEASE): Bump for 2.13 release.
50668 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50669
620a0529
UD
50670 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50671
18ba70a5
UD
50672 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50673 MADV_NOHUGEPAGE.
32465c3e
UD
50674 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50675 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50677 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50679 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50680
c0dafcf1
UD
50681 * posix/getconf.c: Update copyright year.
50682 * catgets/gencat.c: Likewise.
50683 * csu/version.c: Likewise.
50684 * debug/catchsegv.sh: Likewise.
50685 * debug/xtrace.sh: Likewise.
50686 * elf/ldconfig.c: Likewise.
50687 * elf/ldd.bash.in: Likewise.
50688 * elf/sprof.c (print_version): Likewise.
50689 * iconv/iconv_prog.c: Likewise.
50690 * iconv/iconvconfig.c: Likewise.
50691 * locale/programs/locale.c: Likewise.
50692 * locale/programs/localedef.c: Likewise.
50693 * malloc/memusage.sh: Likewise.
50694 * malloc/mtrace.pl: Likewise.
50695 * nscd/nscd.c (print_version): Likewise.
50696 * nss/getent.c: Likewise.
50697
a77e8cbc
UD
50698 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50699 PF_CAIF, and PF_ALG.
50700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50701
77e8bddf
AS
507022011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50703
1f20b93a
AS
50704 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50705 (modules-names): Use them.
50706 (ifunc-test-modules, ifunc-pie-tests): Define.
50707 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50708 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50709 (test-extras): Likewise.
50710 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50711 $(compile-command.c).
50712 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50713 (all-built-dso): Define.
50714 (check-textrel.out, check-execstack.out): Depend on it.
50715
77e8bddf
AS
50716 * configure.in: Don't override --enable-multi-arch.
50717
bc425b33
UD
507182011-01-15 Ulrich Drepper <drepper@gmail.com>
50719
50720 [BZ #6812]
50721 * nscd/hstcache.c (tryagain): Define.
50722 (cache_addhst): Return tryagain not notfound for temporary errors.
50723 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50724 failed.
50725
794c3ad3
UD
507262011-01-14 Ulrich Drepper <drepper@gmail.com>
50727
70181fdd
UD
50728 [BZ #10563]
50729 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50730 to make the syscall.
50731 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50732
794c3ad3
UD
50733 [BZ #12378]
50734 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50735 and fall back to matching as normal character if the string ends before
50736 the matching ']' is found. This is what POSIX requires.
50737 * posix/testfnm.c: Adjust test result.
50738 * posix/globtest.sh: Adjust test result. Add new test.
50739 * posix/tst-fnmatch.input: Likewise.
50740 * posix/tst-fnmatch2.c: Add new test.
50741
68dc9497
AS
507422010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50743
50744 * elf/Makefile (check-execstack): Revert last change. Depend on
50745 check-execstack.h.
50746 (check-execstack.h): New target.
50747 (generated): Add check-execstack.h.
50748 * elf/check-execstack.c: Include "check-execstack.h".
50749 (main): Revert last change.
50750 (handle_file): Return zero if GNU_STACK is absent and
50751 DEFAULT_STACK_PERMS doesn't include PF_X.
50752
451f001b
UD
507532011-01-13 Ulrich Drepper <drepper@gmail.com>
50754
cfa28e56
UD
50755 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50756 in child fails because the descriptor is already closed.
8cf8ce17
UD
50757 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50758 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50759 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50760
1086d70d
UD
50761 [BZ #12397]
50762 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50763 syscall.
50764
451f001b
UD
50765 [BZ #10484]
50766 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50767 temporary buffer used to handle multi lookups locally.
a85b5cb4 50768 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50769
08769175
UD
507702011-01-12 Ulrich Drepper <drepper@gmail.com>
50771
50772 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50773 loader is ld.so.
50774
5e49c52e
UD
507752011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50776
50777 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50778 alignment for SSE2.
50779
60522a5f
UD
507802011-01-12 Ulrich Drepper <drepper@gmail.com>
50781
50782 [BZ #12394]
50783 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50784 characters. When rounding increased number of integer digits recompute
50785 number of groups.
50786 * stdio-common/tst-grouping.c: New file.
50787 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50788
f257bbd7
UD
507892011-01-09 Ulrich Drepper <drepper@gmail.com>
50790
50791 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50792 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50793
50794 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50795 void.
50796 * bits/select.h: Likewise.
50797
fa9c15cb
UD
507982011-01-08 Ulrich Drepper <drepper@gmail.com>
50799
50800 * po/ja.po: Update from translation team.
50801
16c2895f
DM
508022011-01-04 David S. Miller <davem@sunset.davemloft.net>
50803
50804 [BZ #11155]
50805 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50806 implementation just like for lxstat, fxstatat, et al.
50807
2543fef2
JM
508082010-12-27 Jim Meyering <meyering@redhat.com>
50809
50810 [BZ #12348]
50811 * posix/regexec.c (build_trtable): Return failure indication upon
50812 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50813
98727dbe
UD
508142010-12-25 Ulrich Drepper <drepper@gmail.com>
50815
5bd6dc5c
UD
50816 [BZ #12201]
50817 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50818 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50819 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50820 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50821
97983464
UD
50822 [BZ #12207]
50823 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50824
98727dbe
UD
50825 [BZ #12204]
50826 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50827 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50828
4a531bb0
L
508292010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50830
50831 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50832 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50833 script has SORT_BY_INIT_PRIORITY.
50834 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50835 NO_CTORS_DTORS_SECTIONS is defined.
50836 * elf/soinit.c: Likewise.
50837 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50838 NO_CTORS_DTORS_SECTIONS is defined.
50839 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50840 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50841 * sysdeps/sh/init-first.c: Likewise.
50842 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50843
07eb4b71
UD
508442010-12-24 Ulrich Drepper <drepper@gmail.com>
50845
50846 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50847 always use the slow path.
50848
30950a5f
RA
508492010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50850
50851 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50852 similar rule which adds the sysdep directories to the header search in
50853 order to pick up the correct platform stackinfo.h.
50854 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50855 perform test if it is, otherwise return successfully without testing.
50856 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50857 DEFAULT_STACK_PERMS define in stackinfo.h.
50858 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50859 defined in stackinfo.h.
50860 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50861 DEFAULT_STACK_PERMS defined in stackinfo.h.
50862 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50863 * sysdeps/ia64/stackinfo.h: Likewise.
50864 * sysdeps/s390/stackinfo.h: Likewise.
50865 * sysdeps/sh/stackinfo.h: Likewise.
50866 * sysdeps/sparc/stackinfo.h: Likewise.
50867 * sysdeps/x86_64/stackinfo.h: Likewise.
50868 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50869 PF_X for powerpc64. Retain PF_X for powerpc32.
50870
db753e2c
UD
508712010-12-19 Ulrich Drepper <drepper@gmail.com>
50872
14b697f7
UD
50873 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50874 accurately.
db753e2c
UD
50875 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50876 GETDENTS_64BIT_ALIGNED.
50877
28300719
UD
508782010-12-14 Ulrich Drepper <dreper@gmail.com>
50879
14b697f7 50880 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50881
4f197237
AS
508822010-12-10 Andreas Schwab <schwab@redhat.com>
50883
dbb0472f
AS
50884 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50885 _GNU_SOURCE.
50886
4f197237
AS
50887 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50888 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50889 Remove __restrict.
50890 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50891 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50892
fb88ac72
UD
508932010-12-09 Ulrich Drepper <drepper@gmail.com>
50894
50895 [BZ #11655]
50896 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50897 are initialized.
50898
42acbb92
JJ
508992010-12-09 Jakub Jelinek <jakub@redhat.com>
50900
50901 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50902
c038d98d
UD
509032010-12-03 Ulrich Drepper <drepper@gmail.com>
50904
50905 * po/it.po: Update from translation team.
50906
3a4a2499
L
509072010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50908
50909 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50910 unused codes.
50911
1e24cf6e
UD
509122010-11-30 Ulrich Drepper <drepper@gmail.com>
50913
50914 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50915
a7690819
AS
509162010-11-24 Andreas Schwab <schwab@redhat.com>
50917
50918 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50919 specially.
50920 (gaih_getanswer_slice): Likewise.
50921
3bf8d1b1
JJ
509222010-10-20 Jakub Jelinek <jakub@redhat.com>
50923
50924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50925
6db52fbb
PB
509262010-05-31 Petr Baudis <pasky@suse.cz>
50927
50928 [BZ #11149]
50929 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50930 silently even in the chroot mode.
50931
eaca7569
UD
509322010-11-22 Ulrich Drepper <drepper@gmail.com>
50933
50934 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50935 last patch a bit. Pretty printing
50936
3056dcdb
UD
509372010-05-31 Petr Baudis <pasky@suse.cz>
50938
50939 [BZ #10085]
50940 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50941 initialization of skip_initgroups_dyn.
50942
cf7c9078
UD
509432010-11-19 Ulrich Drepper <drepper@gmail.com>
50944
50945 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50947
a1fb5e3e
UD
509482010-11-16 Ulrich Drepper <drepper@gmail.com>
50949
50950 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50951
3540d66b
AS
509522010-11-11 Andreas Schwab <schwab@redhat.com>
50953
50954 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50955 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50956 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50957 ($(objpfx)tst-fnmatch-mem): New rule.
50958 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50959 * posix/tst-fnmatch.c (main): Call mtrace.
50960
13b69574
L
509612010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50962
50963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50964 Support Intel processor model 6 and model 0x2c.
50965
da93d214
LM
509662010-11-10 Luis Machado <luisgpm@br.ibm.com>
50967
50968 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50969 signed comparison.
50970
8ca52c6e
L
509712010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50972
50973 [BZ #12205]
50974 * string/test-strncasecmp.c (check_result): New function.
50975 (do_one_test): Use it.
50976 (check1): New function.
50977 (test_main): Use it.
50978 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50979 Support strcasecmp and strncasecmp.
50980
69da074d
UD
509812010-11-08 Ulrich Drepper <drepper@gmail.com>
50982
50983 [BZ #12194]
50984 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50986
ff02d528
L
509872010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50988
50989 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50990 IFUNC support.
50991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50992 memset-x86-64.
50993 * sysdeps/x86_64/multiarch/bzero.S: New file.
50994 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50995 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50996 * sysdeps/x86_64/multiarch/memset.S: New file.
50997 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50998 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50999 Set bit_Prefer_SSE_for_memop for Intel processors.
51000 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51001 Define.
51002 (index_Prefer_SSE_for_memop): Define.
51003 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51004
344d0b54
LM
510052010-11-04 Luis Machado <luisgpm@br.ibm.com>
51006
51007 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51008 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51009
c0dde15b
UD
510102010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51011
51012 [BZ #12191]
51013 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51014 (__x86_64_raw_data_cache_size_half): Likewise.
51015 (__x86_64_raw_shared_cache_size): Likewise.
51016 (__x86_64_raw_shared_cache_size_half): Likewise.
51017
51018 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51019 (__x86_64_raw_data_cache_size_half): Likewise.
51020 (__x86_64_raw_shared_cache_size): Likewise.
51021 (__x86_64_raw_shared_cache_size_half): Likewise.
51022 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51023 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51024 and __x86_64_raw_shared_cache_size_half. Round
51025 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51026 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51027 to multiple of 256 bytes.
51028
0e516e0e
MS
510292010-11-03 Ulrich Drepper <drepper@gmail.com>
51030
51031 [BZ #12167]
51032 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51033 of inacessible symlinks. Verify result of symlink before returning it.
51034 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51035 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51036
0e012e87
ER
510372010-10-28 Erich Ritz <erichritz@gmail.com>
51038
51039 * math/math.h (isinf): Fix typo in comment.
51040
de0ff7bc
UD
510412010-11-01 Ulrich Drepper <drepper@gmail.com>
51042
51043 * po/da.po: Update from translation team.
51044
fa41c84d
UD
510452010-10-26 Ulrich Drepper <drepper@gmail.com>
51046
51047 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51048 is added to the list.
51049
f0967738
AK
510502010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51051 Ulrich Drepper <drepper@gmail.com>
51052
51053 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51054 the global list here. Move code to...
51055 (_dl_add_to_namespace_list): ...here. New function.
51056 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51057 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51058 * elf/dl-load.c (lose): Don't remove the element from the list.
51059 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51060 (_dl_map_object): Likewise.
51061
510622010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51063
51064 [BZ #12159]
51065 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51066 into all bytes of SSE register.
51067 Patch by Richard Li <richardpku@gmail.com>.
51068
f0967738 510692010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51070
51071 [BZ #12140]
51072 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51073 perturbing.
51074
d0b9e94f
MB
510752010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51076
51077 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51078 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51079 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51080 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51082 submachine.
51083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51084
8e9f92e9
AS
510852010-10-22 Andreas Schwab <schwab@redhat.com>
51086
51087 * include/dlfcn.h (__RTLD_SECURE): Define.
51088 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51089 mode & __RTLD_SECURE instead.
51090 (open_path): Rename preloaded parameter to secure.
51091 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51092 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51093 * elf/dl-deps.c (openaux): Likewise.
51094 * elf/rtld.c (struct map_args): Remove is_preloaded.
51095 (map_doit): Don't use it.
51096 (dl_main): Likewise.
51097 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51098 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51099
bc96fbda
AS
511002010-09-09 Andreas Schwab <schwab@redhat.com>
51101
51102 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51103 (sysd-rules-targets): Remove duplicates.
51104 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51105 rtld-%.$o dependency.
51106
22cd1c9b
AS
511072010-10-18 Andreas Schwab <schwab@redhat.com>
51108
51109 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51110 _dl_map_object do it.
51111
18edac48
UD
511122010-10-19 Ulrich Drepper <drepper@gmail.com>
51113
51114 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51115 fast fma builtins, define the macros in the C99 standard.
51116 (FP_FAST_FMAF): Likewise.
51117 (FP_FAST_FMAL): Likewise.
51118 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51119
51120 * bits/mathdef.h: Update copyright year.
51121 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51122
d2050124
MM
511232010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51124
51125 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51126 builtins, define the macros in the C99 standard.
51127 (FP_FAST_FMAF): Likewise.
51128 (FP_FAST_FMAL): Likewise.
51129 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51130 multiply/add.
51131 (FP_FAST_FMAF): Likewise.
51132
475facd1
JJ
511332010-10-15 Jakub Jelinek <jakub@redhat.com>
51134
51135 [BZ #3268]
51136 * math/libm-test.inc (fma_test): Some new testcases.
51137 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51138 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51139 y and infinite z. Do multiplication by C already in long double.
51140 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51142 y and infinite z. Do bitwise or of inexact bit into u.d.
51143 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51144 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51145 * sysdeps/i386/fpu/s_fma.S: Removed.
51146 * sysdeps/i386/fpu/s_fmal.S: Removed.
51147
7c08a05c
JJ
511482010-10-16 Jakub Jelinek <jakub@redhat.com>
51149
51150 [BZ #3268]
51151 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51153 computation is not scheduled after fetestexcept. Fix value
51154 of minimum denormal long double.
51155
f3f7372d
JJ
511562010-10-14 Jakub Jelinek <jakub@redhat.com>
51157
51158 [BZ #3268]
51159 * math/libm-test.inc (fma_test): Add some more tests.
51160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51161 correctly.
51162
14d43591
AS
511632010-10-15 Andreas Schwab <schwab@redhat.com>
51164
51165 * scripts/data/localplt-s390-linux-gnu.data: New file.
51166 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51167
5e908464
JJ
511682010-10-13 Jakub Jelinek <jakub@redhat.com>
51169
51170 [BZ #3268]
51171 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51172 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51173 instead of dbl-64.
51174 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51175 inlines.
51176 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51178 if one of x and y is very large and the other is subnormal.
51179 * sysdeps/s390/fpu/s_fmaf.c: New file.
51180 * sysdeps/s390/fpu/s_fma.c: New file.
51181 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51182 * sysdeps/powerpc/fpu/s_fma.S: New file.
51183 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51184 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51185 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51186
511872010-10-12 Jakub Jelinek <jakub@redhat.com>
51188
51189 [BZ #3268]
51190 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51191 fma tests.
51192 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51193 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51194 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51195 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51196 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51197 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51198 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51199
b833d51f
UD
512002010-10-12 Ulrich Drepper <drepper@redhat.com>
51201
51202 [BZ #12078]
51203 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51204 * posix/bug-regex31.input: Add test case.
51205
1751705d
UD
512062010-10-11 Ulrich Drepper <drepper@gmail.com>
51207
e9b9cbf5
UD
51208 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51209 * posix/bug-regex31.input: New file.
51210
51211 [BZ #12078]
51212 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51213 (parse_sub_exp): Fix last change, use postorder.
51214
ef06edbe
UD
51215 * posix/bug-regex31.c: New file.
51216 * posix/Makefile: Add rules to build and run bug-regex31.
51217
a129c80d
UD
51218 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51219
51220 [BZ #12078]
51221 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51222
b76b818e
UD
51223 [BZ #12108]
51224 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51225 to have entries in sys_siglist.
51226
1751705d
UD
51227 [BZ #12093]
51228 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51229 be NULL.
51230
9ff8d36f
JJ
512312010-10-07 Jakub Jelinek <jakub@redhat.com>
51232
51233 [BZ #3268]
51234 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51235 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51236 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51237 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51238 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51239 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51240 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51241 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51242 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51243 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51244 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51245 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51246 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51247 * math/ftestexcept.c (fetestexcept): Likewise.
51248 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51249 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51250 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51251 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51252 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51253 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51254 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51255
af325969
UD
512562010-10-11 Ulrich Drepper <drepper@gmail.com>
51257
c579b202 51258 [BZ #12107]
af325969
UD
51259 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51260 newline.
51261
67a67b95
UD
512622010-10-06 Ulrich Drepper <drepper@gmail.com>
51263
51264 * string/bug-strstr1.c: New file.
51265 * string/Makefile: Add rules to build and run bug-strstr1.
51266
5fb308bc
EB
512672010-10-05 Eric Blake <eblake@redhat.com>
51268
51269 [BZ #12092]
51270 * string/str-two-way.h (two_way_long_needle): Always clear memory
51271 when skipping input due to the shift table.
51272
45db99c7
UD
512732010-10-03 Ulrich Drepper <drepper@gmail.com>
51274
3b111893
UD
51275 [BZ #12005]
51276 * malloc/mcheck.c: Handle large requests.
51277
45db99c7
UD
51278 [BZ #12077]
51279 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51280 for strncmp and strncasecmp.
51281 * string/stratcliff.c: Add tests for strcmp and strncmp.
51282 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51283
cf7a1eb8
NI
512842010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51285
51286 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51287 __set_fpscr.
51288
6484ba5e
AJ
512892010-09-30 Andreas Jaeger <aj@suse.de>
51290
51291 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51292 (CGROUP_SUPER_MAGIC): Define.
51293 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51294 Handle btrfs and cgroup file systems.
51295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51296 Likewise.
51297
91c42559
LM
512982010-09-27 Luis Machado <luisgpm@br.ibm.com>
51299
51300 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51301 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51302
87a97932
AK
513032010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51304
51305 [BZ #12067]
51306 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51307 trying to locate the ELF header.
51308
c21cc9bc
AS
513092010-09-27 Andreas Schwab <schwab@redhat.com>
51310
51311 [BZ #11611]
51312 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51313 Mask out sign-bit copies when constructing f_fsid.
51314
315970f6
PB
513152010-09-24 Petr Baudis <pasky@suse.cz>
51316
51317 * debug/stack_chk_fail_local.c: Add missing licence exception.
51318 * debug/warning-nop.c: Likewise.
51319
1ac7a2c7
JM
513202010-09-15 Joseph Myers <joseph@codesourcery.com>
51321
51322 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51323 implementing getdents64 using getdents syscall, set d_type if
51324 __ASSUME_GETDENTS32_D_TYPE.
51325
56801c50
AS
513262010-09-16 Andreas Schwab <schwab@redhat.com>
51327
51328 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51329 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51330
dda51327
UD
513312010-09-21 Ulrich Drepper <drepper@redhat.com>
51332
51333 [BZ #12037]
51334 * posix/unistd.h: Undo change of feature selection for ftruncate from
51335 2010-01-11.
51336
8ffcee4a
UD
513372010-09-20 Ulrich Drepper <drepper@redhat.com>
51338
a545ecd9 51339 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51340 detection.
51341
e24f0a8b
AS
513422010-09-20 Andreas Schwab <schwab@redhat.com>
51343
51344 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51345 fanotify_mark.
51346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51347
7291c56f
AS
513482010-09-14 Andreas Schwab <schwab@redhat.com>
51349
51350 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51351 variables after CHECK_SP call.
51352 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51353
bc5fb037
AS
513542010-09-13 Andreas Schwab <schwab@redhat.com>
51355 Ulrich Drepper <drepper@redhat.com>
51356
51357 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51358 re-relocationg ld.so.
51359 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51360 _dl_init_paths call.
51361 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51362 here anymore.
51363
e66e7419
UD
513642010-09-14 Ulrich Drepper <drepper@redhat.com>
51365
51366 * resolv/res_init.c (__res_vinit): Count the default server we added.
51367
c044aa75
CLT
513682010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51369 Ulrich Drepper <drepper@redhat.com>
51370
51371 [BZ #11968]
51372 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51373 (____longjmp_chk): Use %ebx for saving value across system call.
51374 Add unwind info.
51375
32cf4069
AS
513762010-09-06 Andreas Schwab <schwab@redhat.com>
51377
51378 * manual/Makefile: Don't mix pattern rules with normal rules.
51379
817328ee
AS
513802010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51381
51382 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51383 operation.
51384 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51385 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51386 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51387 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51389 Likewise.
51390
29fddf61
UD
513912010-09-04 Ulrich Drepper <drepper@redhat.com>
51392
51393 [BZ #11979]
51394 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51395 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51396
0959ffc9
UD
513972010-09-02 Ulrich Drepper <drepper@redhat.com>
51398
51399 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51400 * sysdeps/x86_64/addmul_1.S: Likewise.
51401 * sysdeps/x86_64/lshift.S: Likewise.
51402 * sysdeps/x86_64/mul_1.S: Likewise.
51403 * sysdeps/x86_64/rshift.S: Likewise.
51404 * sysdeps/x86_64/sub_n.S: Likewise.
51405 * sysdeps/x86_64/submul_1.S: Likewise.
51406
ece29840
ST
514072010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51408
0959ffc9
UD
51409 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51410 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51411 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51412 * bits/sched.h [__need_schedparam]
ece29840 51413 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51414 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51415 (__defined_schedparam): Define to 1.
ece29840
ST
51416 (__sched_param): New structure, identical to sched_param.
51417 (__need_schedparam): Undefine.
51418
e53a31fe
MF
514192010-08-31 Mike Frysinger <vapier@gentoo.org>
51420
fdc0c10d
MF
51421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51422 (epoll_create1): Declare.
51423
e53a31fe
MF
51424 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51425
a726d796
AS
514262010-08-31 Andreas Schwab <schwab@redhat.com>
51427
51428 [BZ #7066]
51429 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51430 shifting retval into place.
51431
2f3e3dc7
UD
514322010-09-01 Ulrich Drepper <drepper@redhat.com>
51433
f2933da9
UD
51434 * nis/rpcsvc/nis.h: Update copyright notice.
51435 * nis/rpcsvc/nis.x: Likewise.
51436 * nis/rpcsvc/nis_callback.h: Likewise.
51437 * nis/rpcsvc/nis_callback.x: Likewise.
51438 * nis/rpcsvc/nis_object.x: Likewise.
51439 * nis/rpcsvc/nis_tags.h: Likewise.
51440 * nis/rpcsvc/yp.h: Likewise.
51441 * nis/rpcsvc/yp.x: Likewise.
51442 * nis/rpcsvc/ypupd.h: Likewise.
51443 * nis/yp_xdr.c: Likewise.
51444 * nis/ypupdate_xdr.c: Likewise.
51445
2f3e3dc7
UD
51446 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51447 mainly the body of pmap_getport. Add parameters to specify timeouts.
51448 (pmap_getport): Use __libc_rpc_getport.
51449 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51450 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51451 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51452
f3dcc2f9
AS
514532010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51454
51455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51456 fanotify_mark.
51457
6d34eb5b
RM
514582010-08-27 Roland McGrath <roland@redhat.com>
51459
51460 * sysdeps/i386/i686/multiarch/Makefile
51461 (CFLAGS-varshift.c): New variable.
51462
9ea3de11
UD
514632010-08-27 Ulrich Drepper <drepper@redhat.com>
51464
c96d23fc
UD
51465 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51466 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51467
9ea3de11
UD
51468 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51469
51470 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51471
623aac7f
L
514722010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51473
51474 * sysdeps/x86_64/strlen.S: Unroll the loop.
51475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51476 strlen-sse2 strlen-sse2-bsf.
51477 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51478 __strlen_no_bsf if bit_Slow_BSF is set.
51479 (__strlen_sse42): Removed.
51480 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51481 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51482
8b2b7715
RM
514832010-08-25 Roland McGrath <roland@redhat.com>
51484
51485 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51486 * sysdeps/x86_64/multiarch/varshift.c: New file.
51487 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51488 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51489 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51490 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51491
e73015f2
L
514922010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51493
51494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51495 strlen-sse2 strlen-sse2-bsf.
51496 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51497 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51498 (__strlen_sse2): Removed.
51499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51500 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51502 bit_Slow_BSF for Atom.
51503 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51504 (index_Slow_BSF): Define.
51505 (HAS_SLOW_BSF): Define.
51506
df24a73e
UD
515072010-08-25 Ulrich Drepper <drepper@redhat.com>
51508
51509 [BZ #10851]
51510 * resolv/res_init.c (__res_vinit): When no server address at all
51511 is given default to loopback.
51512
f2ac4868
RM
515132010-08-24 Roland McGrath <roland@redhat.com>
51514
09055553
RM
51515 * configure.in: Remove config-name.h generation.
51516 * configure: Regenerated.
51517 * config-name.in: File removed.
51518 * scripts/config-uname.sh: New file.
51519 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51520 ($(objdir)config-name.h): New target.
51521
f2ac4868
RM
51522 * sunrpc/rpc_parse.h: Avoid nested comment.
51523
73f27d5e
RH
515242010-08-24 Richard Henderson <rth@redhat.com>
51525 Ulrich Drepper <drepper@redhat.com>
51526 H.J. Lu <hongjiu.lu@intel.com>
51527
51528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51530 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51531 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51532 _mm_alignr_epi8 with _mm_loadu_si128.
51533 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51534 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51535 (__m128i_shift_right): Removed.
51536 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51537 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51538 * sysdeps/x86_64/multiarch/varshift.h: New file.
51539 * sysdeps/x86_64/multiarch/varshift.S: New file.
51540
84b9230c
MF
515412010-08-21 Mike Frysinger <vapier@gentoo.org>
51542
51543 * configure.in: Move assembler checks to before sysdep dir checking.
51544
9bbd0ddc
PB
515452010-08-20 Petr Baudis <pasky@suse.cz>
51546
51547 * LICENSES: Sync the sunrpc license.
51548
9da4bb31
UD
515492010-08-19 Ulrich Drepper <drepper@redhat.com>
51550
a7ab6ec8
UD
51551 * sunrpc/auth_des.c: Update copyright notice once again.
51552 * sunrpc/auth_none.c: Likewise.
51553 * sunrpc/auth_unix.c: Likewise.
51554 * sunrpc/authdes_prot.c: Likewise.
51555 * sunrpc/authuxprot.c: Likewise.
51556 * sunrpc/bindrsvprt.c: Likewise.
51557 * sunrpc/clnt_gen.c: Likewise.
51558 * sunrpc/clnt_perr.c: Likewise.
51559 * sunrpc/clnt_raw.c: Likewise.
51560 * sunrpc/clnt_simp.c: Likewise.
51561 * sunrpc/clnt_tcp.c: Likewise.
51562 * sunrpc/clnt_udp.c: Likewise.
51563 * sunrpc/clnt_unix.c: Likewise.
51564 * sunrpc/des_crypt.c: Likewise.
51565 * sunrpc/des_soft.c: Likewise.
51566 * sunrpc/get_myaddr.c: Likewise.
51567 * sunrpc/getrpcport.c: Likewise.
51568 * sunrpc/key_call.c: Likewise.
51569 * sunrpc/key_prot.c: Likewise.
51570 * sunrpc/openchild.c: Likewise.
51571 * sunrpc/pm_getmaps.c: Likewise.
51572 * sunrpc/pm_getport.c: Likewise.
51573 * sunrpc/pmap_clnt.c: Likewise.
51574 * sunrpc/pmap_prot.c: Likewise.
51575 * sunrpc/pmap_prot2.c: Likewise.
51576 * sunrpc/pmap_rmt.c: Likewise.
51577 * sunrpc/rpc/auth.h: Likewise.
51578 * sunrpc/rpc/auth_unix.h: Likewise.
51579 * sunrpc/rpc/clnt.h: Likewise.
51580 * sunrpc/rpc/des_crypt.h: Likewise.
51581 * sunrpc/rpc/key_prot.h: Likewise.
51582 * sunrpc/rpc/netdb.h: Likewise.
51583 * sunrpc/rpc/pmap_clnt.h: Likewise.
51584 * sunrpc/rpc/pmap_prot.h: Likewise.
51585 * sunrpc/rpc/pmap_rmt.h: Likewise.
51586 * sunrpc/rpc/rpc.h: Likewise.
51587 * sunrpc/rpc/rpc_des.h: Likewise.
51588 * sunrpc/rpc/rpc_msg.h: Likewise.
51589 * sunrpc/rpc/svc.h: Likewise.
51590 * sunrpc/rpc/svc_auth.h: Likewise.
51591 * sunrpc/rpc/types.h: Likewise.
51592 * sunrpc/rpc/xdr.h: Likewise.
51593 * sunrpc/rpc_clntout.c: Likewise.
51594 * sunrpc/rpc_cmsg.c: Likewise.
51595 * sunrpc/rpc_common.c: Likewise.
51596 * sunrpc/rpc_cout.c: Likewise.
51597 * sunrpc/rpc_dtable.c: Likewise.
51598 * sunrpc/rpc_hout.c: Likewise.
51599 * sunrpc/rpc_main.c: Likewise.
51600 * sunrpc/rpc_parse.c: Likewise.
51601 * sunrpc/rpc_parse.h: Likewise.
51602 * sunrpc/rpc_prot.c: Likewise.
51603 * sunrpc/rpc_sample.c: Likewise.
51604 * sunrpc/rpc_scan.c: Likewise.
51605 * sunrpc/rpc_scan.h: Likewise.
51606 * sunrpc/rpc_svcout.c: Likewise.
51607 * sunrpc/rpc_tblout.c: Likewise.
51608 * sunrpc/rpc_util.c: Likewise.
51609 * sunrpc/rpc_util.h: Likewise.
51610 * sunrpc/rpcinfo.c: Likewise.
51611 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51612 * sunrpc/rpcsvc/key_prot.x: Likewise.
51613 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51614 * sunrpc/rpcsvc/mount.x: Likewise.
51615 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51616 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51617 * sunrpc/rpcsvc/rex.x: Likewise.
51618 * sunrpc/rpcsvc/rstat.x: Likewise.
51619 * sunrpc/rpcsvc/rusers.x: Likewise.
51620 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51621 * sunrpc/rpcsvc/spray.x: Likewise.
51622 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51623 * sunrpc/rtime.c: Likewise.
51624 * sunrpc/svc.c: Likewise.
51625 * sunrpc/svc_auth.c: Likewise.
51626 * sunrpc/svc_authux.c: Likewise.
51627 * sunrpc/svc_raw.c: Likewise.
51628 * sunrpc/svc_run.c: Likewise.
51629 * sunrpc/svc_simple.c: Likewise.
51630 * sunrpc/svc_tcp.c: Likewise.
51631 * sunrpc/svc_udp.c: Likewise.
51632 * sunrpc/svc_unix.c: Likewise.
51633 * sunrpc/svcauth_des.c: Likewise.
51634 * sunrpc/xcrypt.c: Likewise.
51635 * sunrpc/xdr.c: Likewise.
51636 * sunrpc/xdr_array.c: Likewise.
51637 * sunrpc/xdr_float.c: Likewise.
51638 * sunrpc/xdr_mem.c: Likewise.
51639 * sunrpc/xdr_rec.c: Likewise.
51640 * sunrpc/xdr_ref.c: Likewise.
51641 * sunrpc/xdr_sizeof.c: Likewise.
51642 * sunrpc/xdr_stdio.c: Likewise.
51643
9da4bb31
UD
51644 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51645 handling.
51646
bdaa77bc
AS
516472010-08-19 Andreas Schwab <schwab@redhat.com>
51648
51649 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51650
fe2f79db
LM
516512010-08-19 Luis Machado <luisgpm@br.ibm.com>
51652
51653 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51654 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51655 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51656 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51657 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51658 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51659 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51660 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51661 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51662 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51663 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51664 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51665 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51666 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51667
b9b42ee0
AB
516682010-07-26 Anton Blanchard <anton@samba.org>
51669
51670 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51671 * malloc/arena.c (heap_trim): Likewise.
51672
1c06ba31
UD
516732010-08-16 Ulrich Drepper <drepper@redhat.com>
51674
51675 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51676 here. Not...
51677 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51678 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51679
f8392f40
L
516802010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51681
51682 * sysdeps/i386/elf/Makefile: New file.
51683
3162f12e
AS
516842010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51685
51686 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51687 from fanotify_init.
51688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51689 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51690
28c90b2c
UD
516912010-08-15 Ulrich Drepper <drepper@redhat.com>
51692
51693 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51694 of strncasecmp_l.
1feccb6c 51695 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51696
ca6bb004
UD
516972010-08-14 Ulrich Drepper <drepper@redhat.com>
51698
e9f82e0d
UD
51699 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51700 strncase_l-nonascii.
51701 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51702 Add strncase_l-ssse3.
51703 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51704 * sysdeps/x86_64/strcmp.S: Likewise.
51705 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51706 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51707 * sysdeps/x86_64/strncase.S: New file.
51708 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51709 * sysdeps/x86_64/strncase_l.S: New file.
51710 * string/Makefile (strop-tests): Add strncasecmp.
51711 * string/test-strncasecmp.c: New file.
51712
51713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51714 warning.
51715
ca6bb004
UD
51716 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51717 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51718
052fa7b3
AS
517192010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51720
51721 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51722
962dba78
UD
517232010-08-12 Ulrich Drepper <drepper@redhat.com>
51724
51725 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51726 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51727 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51728
bebff237
AM
517292010-05-01 Alan Modra <amodra@gmail.com>
51730
51731 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51732 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51733 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51734 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51735 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51736 tidying. Don't tail-call __sigjmp_save for static lib.
51737 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51738 save location.
51739 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51740 (CALL_MCOUNT): Add eh info, and nop after bl.
51741 (TAIL_CALL_SYSCALL_ERROR): New macro.
51742 (PSEUDO_RET): Use it.
51743 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51744 Correct save location of integer regs and cr.
51745 (_dl_profile_resolve): Correct cr save location. Delete nops
51746 after bl when SHARED. Reduce cfi size a little by better
51747 placement of cfi directives.
51748 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51749 make a stack frame. Instead use parm save area as a temp.
51750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51751 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51753 Don't make a stack frame for parent, use parm save area.
51754 Increase child stack frame to 112 bytes. Don't save unused reg,
51755 and adjust reg usage. Set up cfi on error recovery and
51756 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51758 (__makecontext): Add dummy nop after jump to exit.
51759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51760 Use correct parm save area and cr save, reduce stack frame.
51761 Correct cfi for possible PSEUDO_RET frame setup.
51762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51763 Branch to local label emitted by PSEUDO_RET rather than
51764 __syscall_error.
51765
02637374
AS
517662010-08-12 Andreas Schwab <schwab@redhat.com>
51767
51768 [BZ #11904]
51769 * locale/programs/locale.c (print_assignment): New function.
51770 (show_locale_vars): Use it.
51771
c3e2f19b
UD
517722010-08-11 Ulrich Drepper <drepper@redhat.com>
51773
3cdaa6ad
UD
51774 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51775 field.
51776 (struct statfs64): Likewise.
51777 (_STATFS_F_FLAGS): Define.
51778 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51780 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51781 (ST_VALID): Define locally.
51782 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51783 __statvfs_getflags, use the provided value.
51784 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51785 __ASSUME_STATFS_F_FLAGS.
51786
754f7da3
UD
51787 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51788
10b3bedc
UD
51789 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51790 Add sys/fanotify.h.
51791 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51792 fanotify_mask for GLIBC_2.13.
51793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51794 fanotify_init and fanotify_mark.
51795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51796 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51797
c08fb0d7
UD
51798 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51799 Add prlimit.
51800 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51801 prlimit64 for GLIBC_2.13.
51802 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51803 prlimit64.
51804 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51805 syscall.
51806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51807 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51808 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51809 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51811 add prlimit alias.
51812 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51813
15bac72b
UD
51814 [BZ #11903]
51815 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51816 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51817
c3e2f19b
UD
51818 * nss/Makefile: Add rules to build and run tst-nss-test1.
51819 * shlib-versions: Add entry for libnss_test1.
51820 * nss/nss_test1.c: New file.
51821 * nss/tst-nss-test1.c: New file.
51822
51823 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51824 (__nss_configure_lookup): Set appropriate entry in
51825 __nss_configure_lookup to true.
51826 * nss/nsswitch.h: Define enum with indeces of databases in
51827 databases and __nss_database_custom arrays. Declare
51828 __nss_database_custom.
51829 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51830 to avoid using nscd when custom rules are installed.
51831 * nss/getXXbyYY_r.c: Likewise.
51832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51833
51834 * nss/nss_files/files-parse.c: Whitespace fixes.
51835
f15ce4d8
UD
518362010-08-09 Ulrich Drepper <drepper@redhat.com>
51837
51838 [BZ #11883]
51839 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51840 * posix/fnmatch_loop.c: Likewise.
51841
d22e4cc9
AK
518422010-07-17 Andi Kleen <ak@linux.intel.com>
51843
51844 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51845 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51846 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51847 * Versions.def [GLIBC_2.13]: Add.
51848
805bc17d
UD
518492010-08-06 Ulrich Drepper <drepper@redhat.com>
51850
51851 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51852 Also fail if tpwd after pwuid call is NULL.
51853
5a42321d
ST
518542010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51855
51856 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51857 when converting to ms.
51858
fd3ebeda
ST
518592010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51860
51861 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51862 EOPNOTSUPP errors with ENOTTY.
51863 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51864 EOPNOTSUPP errors with ENOTTY.
51865
73507d3a
UD
518662010-07-31 Ulrich Drepper <drepper@redhat.com>
51867
51868 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51869 Add strcasecmp_l-ssse3.
51870 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51871 strcasecmp.
51872 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51873 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51874 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51875
fe36dd02
UD
518762010-07-30 Ulrich Drepper <drepper@redhat.com>
51877
66f6765a
UD
51878 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51879
42e08a54
UD
51880 * string/Makefile (strop-tests): Add strcasecmp.
51881 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51882 strcasecmp_l-nonascii.
51883 (gen-as-const-headers): Add locale-defines.sym.
51884 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51885 * sysdeps/x86_64/strcasecmp.S: New file.
51886 * sysdeps/x86_64/strcasecmp_l.S: New file.
51887 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51888 * sysdeps/x86_64/locale-defines.sym: New file.
51889 * string/test-strcasecmp.c: New file.
51890
fe36dd02
UD
51891 * string/test-strcasestr.c: Test both ends of the range of characters.
51892 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51893
48cbc0d6
RM
518942010-07-29 Roland McGrath <roland@redhat.com>
51895
76e6d6bc 51896 [BZ #11856]
48cbc0d6
RM
51897 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51898
880113d9
UD
518992010-07-27 Ulrich Drepper <drepper@redhat.com>
51900
51901 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51902 for ld.so.
51903
deb9cabb
AS
519042010-07-27 Andreas Schwab <schwab@redhat.com>
51905
51906 * manual/memory.texi (Malloc Tunable Parameters): Document
51907 M_PERTURB.
51908
1c7570ff
RM
519092010-07-26 Roland McGrath <roland@redhat.com>
51910
51911 [BZ #11840]
51912 * configure.in (-fgnu89-inline check): Set and substitute
51913 gnu89_inline, not libc_cv_gnu89_inline.
51914 * configure: Regenerated.
51915 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51916
24fb0f88
UD
519172010-07-26 Ulrich Drepper <drepper@redhat.com>
51918
51919 * string/test-strnlen.c: New file.
51920 * string/Makefile (strop-tests): Add strnlen.
51921 * string/tester.c (test_strnlen): Add a few more test cases.
51922 * string/tst-strlen.c: Better error reporting.
51923
51924 * sysdeps/x86_64/strnlen.S: New file.
51925
8e96b93a
UD
519262010-07-24 Ulrich Drepper <drepper@redhat.com>
51927
51928 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51929 lower-latency instructions.
51930
dbc676d4
UD
519312010-07-23 Ulrich Drepper <drepper@redhat.com>
51932
51933 * string/test-strcasestr.c: New file.
51934 * string/test-strstr.c: New file.
51935 * string/Makefile (strop-tests): Add strstr and strcasestr.
51936 * string/str-two-way.h: Don't undefine MAX.
51937 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51938
f6a31e0e
AS
519392010-07-21 Andreas Schwab <schwab@redhat.com>
51940
51941 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51942 strcasestr-nonascii.
51943 (CFLAGS-strcasestr-nonascii.c): Define.
51944 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51946 Remove unused attribute.
51947
5dbc3b6c
RM
519482010-07-20 Roland McGrath <roland@redhat.com>
51949
51950 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51951 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51952 ld.so.cache was broken. With it, there is no way to disable dsocaps
51953 like LD_HWCAP_MASK can disable hwcaps.
51954
23d101d8
EPM
519552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51956
51957 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51958
cc9f2e47
UD
519592010-07-16 Ulrich Drepper <drepper@redhat.com>
51960
51961 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51962 call in strcasestr.
51963 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51964 __strcasestr_sse42_nonascii.
51965 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51966 strcasestr-nonascii.c.
51967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51968
77c1b069
LM
519692010-06-15 Luis Machado <luisgpm@br.ibm.com>
51970
51971 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51973 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51975
440566c3
UD
519762010-07-09 Ulrich Drepper <drepper@redhat.com>
51977
51978 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51979 fcntl.
51980
5be9d05d
AS
519812010-07-06 Andreas Schwab <schwab@redhat.com>
51982
c30b7ee2 51983 [BZ #11577]
5be9d05d
AS
51984 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51985 dl_signal_cerror.
51986
8a492a67
UD
519872010-07-06 Ulrich Drepper <drepper@redhat.com>
51988
51989 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51990 _PC_PIPE_BUF using F_GETPIPE_SZ.
51991
713df3d5
RM
519922010-07-05 Roland McGrath <roland@redhat.com>
51993
51994 * manual/arith.texi (Rounding Functions): Fix rint description
51995 implicit in round description.
51996
702e8f14
UD
519972010-07-02 Ulrich Drepper <drepper@redhat.com>
51998
51999 * elf/Makefile: Fix linking for a few tests to make recent linker
52000 happy.
52001
52ed8be9
AS
520022010-06-30 Andreas Schwab <schwab@redhat.com>
52003
52004 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52005 $(common-objpfx)libc_nonshared.a.
52006
f47c9a11
LM
520072010-06-21 Luis Machado <luisgpm@br.ibm.com>
52008
52009 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52010 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52011 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52012 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52013 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52014 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52015 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52016 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52031 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52032 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52033 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52034 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52035 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52036 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52037 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52038 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52039 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52040 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52041 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52042 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52057
6fb8cbcb
L
520582010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52059
52060 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52061 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52062 * string/memmove.c (memmove): Renamed to ...
52063 (MEMMOVE): ...this. Default to memmove.
52064 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52065 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52066 (END_CHK): Define.
52067 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52068 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52069 mempcpy-ssse3-back memmove-ssse3-back.
52070 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52073 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52074 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52075 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52076 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52077 * sysdeps/x86_64/multiarch/memmove.c: New file.
52078 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52079 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52080 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52081 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52082 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52083 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52084 Define.
52085 (index_Fast_Copy_Backward): Define.
52086 (HAS_ARCH_FEATURE): Define.
52087 (HAS_FAST_REP_STRING): Define.
52088 (HAS_FAST_COPY_BACKWARD): Define.
52089
4e733bac 520902010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52091
52092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52093 Restore proper fallback handling.
52094
63c4ed22
UD
520952010-06-19 Ulrich Drepper <drepper@redhat.com>
52096
ac2b484c
UD
52097 [BZ #11701]
52098 * posix/group_member.c (__group_member): Correct checking loop.
52099
63c4ed22
UD
52100 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52101 OOM in getpwuid_r correctly. Return error number when the caller
52102 should return, otherwise -1.
52103 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52104 call returning > 0 value.
52105 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52106
765ade4b
AS
521072010-06-07 Andreas Schwab <schwab@redhat.com>
52108
52109 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52110 libc_nonshared.a from targets in modules-names.
52111
80da2e09
KS
521122010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52113
52114 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52115 requires it.
52116
158db122
LM
521172010-06-10 Luis Machado <luisgpm@br.ibm.com>
52118
52119 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52123
caa78cf8
AS
521242010-06-02 Andreas Schwab <schwab@redhat.com>
52125
52126 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52127
b2ef2c01
UD
521282010-06-14 Ulrich Drepper <drepper@redhat.com>
52129
52130 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52131 and F_GETPIPE_SZ.
52132 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52133 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52136 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52137 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52138
fbd643b6
RM
521392010-06-14 Roland McGrath <roland@redhat.com>
52140
52141 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52142
f32f2869
JJ
521432010-06-07 Jakub Jelinek <jakub@redhat.com>
52144
52145 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52146 __REDIRECT followed by __THROW.
52147 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52148 * posix/getopt.h (getopt): Likewise.
52149
2a50c078
EPM
521502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52151
52152 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52153 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52154 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52155 in AT_FLAGS.
52156 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52157 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52158
eb5ad2eb
LM
521592010-05-28 Luis Machado <luisgpm@br.ibm.com>
52160
52161 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52162
3c88fe1e
L
521632010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52164
52165 [BZ #11640]
52166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52167 Properly check family and model.
52168
d2f73151
TY
521692010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52170
52171 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52172
ebd2e13d
LM
521732010-05-24 Luis Machado <luisgpm@br.ibm.com>
52174
52175 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52176
b32b8b45
UD
521772010-05-21 Ulrich Drepper <drepper@redhat.com>
52178
52179 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52180 symbol reference.
52181
9acbe24d
AS
521822010-05-19 Andreas Schwab <schwab@redhat.com>
52183
52184 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52185 symbol reference.
52186
f0ccf6ea
AS
521872010-05-21 Andreas Schwab <schwab@redhat.com>
52188
3d04ff3a
AS
52189 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52190 and internal_recvmmsg.
52191 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52192 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52193 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52194 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52195
f0ccf6ea
AS
52196 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52197 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52198 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52199
5b08ac57
AS
522002010-05-20 Andreas Schwab <schwab@redhat.com>
52201
52202 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52203
4828935d
LM
522042010-05-17 Luis Machado <luisgpm@br.ibm.com>
52205
52206 POWER7 optimizations.
52207 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52208 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52209
373d545e
UD
522102010-05-19 Ulrich Drepper <drepper@redhat.com>
52211
52212 * version.h: Update for 2.13 development version.
52213
21a2b1ae
AS
522142010-05-12 Andrew Stubbs <ams@codesourcery.com>
52215
52216 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52217 exceptions. Return 0.
52218
3f7dcb2b
RM
522192010-05-07 Roland McGrath <roland@redhat.com>
52220
52221 * elf/ldconfig.c (main): Add a const.
52222
5f24d53a 522232010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52224
a160f8d8
UD
52225 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52226 (args_options): Add no-idn option.
52227 (ahosts_keys_int): Add idn_flags to ai_flags.
52228 (parse_option): Handle 'i' option to clear idn_flags.
52229
5f24d53a
UD
52230 * malloc/malloc.c (_int_free): Possible race in the most recently
52231 added check. Only act on the data if no current modification
52232 happened.
265bb1ce
UD
52233
52234See ChangeLog.17 for earlier changes.