]> sourceware.org Git - glibc.git/blame - ChangeLog
Only declare __sigpause in installed signal.h when necessary.
[glibc.git] / ChangeLog
CommitLineData
a4733812
JM
12014-11-14 Joseph Myers <joseph@codesourcery.com>
2
3 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4 !__GNUC__].
5 * include/signal.h (__sigpause): Move declaration above call to
6 libc_hidden_proto.
7 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8 variable.
9 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
10 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11
cf7246dd
DM
122014-11-14 David S. Miller <davem@davemloft.net>
13
14 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
15 Define before including <string/memcpy.c> and <string/mempcpy.c>.
16
c1b0aadc
JM
172014-11-14 Joseph Myers <joseph@codesourcery.com>
18
4863355a
JM
19 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
20 * configure: Regenerated.
21 * manual/install.texi (Tools for Compilation): Document a
22 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23 compiler verified to work.
24 * INSTALL: Regenerated.
25
c1b0aadc
JM
26 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27 redeclare with asm name.
28 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30 including <string.h>.
31 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
35 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38
2a1cfd94
JM
392014-11-13 Joseph Myers <joseph@codesourcery.com>
40
bf438382
JM
41 * stdlib/strtol.c (__strtol): Use prototype definition.
42
2a1cfd94
JM
43 [BZ #17594]
44 * stdlib/strtol.c (SYM__): New macro.
45 (SYM__1): Likewise.
46 (__strtol): Likewise.
47 (strtol): Rename to __strtol and define as weak alias of
48 __strtol. Use libc_hidden_weak.
49
20ed0d26
SL
502014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
51
52 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
53 Use numbered labels in inline assembly.
54
53244a4e
SL
552014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
56
57 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
58 Add setjmp LIBC_PROBE.
59 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
60 Likewise.
61 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
62 Add longjmp, longjmp_target LIBC_PROBE.
63 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
64 Likewise.
65
47df8251
SL
662014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
67
68 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
69 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
70 to get rid of unused variable warning.
71
618cebef
SL
722014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
73
74 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
75 Check for unwind_backtrace == NULL only in SHARED case.
76 (__backchain_backtrace): Compile only in SHARED case.
77 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
78 Likewise.
79 (__backchain_backtrace): Declare as static.
80
c6aab2cb
RM
812014-11-12 Roland McGrath <roland@hack.frob.com>
82
83 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
84 (__libc_multiple_threads_ptr): Variable moved ...
85 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
86
5a6fa4d7
JM
872014-11-12 Joseph Myers <joseph@codesourcery.com>
88
24f4f825
JM
89 * conform/GlibcConform.pm: New file.
90 * conform/conformtest.pl: Use GlibcConform module.
91 * conform/linknamespace.pl: New file.
92 * conform/list-header-symbols.pl: Likewise.
93 * conform/Makefile (linknamespace-symlists-base): New variable.
94 (linknamespace-symlists-tests): Likewise.
95 (linknamespace-header-base): Likewise.
96 (linknamespace-header-tests): Likewise.
97 (tests-special): Add new tests.
98 ($(linknamespace-symlists-tests)): New rule.
99 (linknamespace-libs): New variable.
100 ($(objpfx)symlist-stdlibs): New rule.
101 ($(linknamespace-header-tests)): Likewise.
102 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
103 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
104 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
105 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
106 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
107 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
108 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
109 (test-xfail-ISO/math.h/linknamespace): Likewise.
110 (test-xfail-ISO/signal.h/linknamespace): Likewise.
111 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
112 (test-xfail-ISO/time.h/linknamespace): Likewise.
113 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
114 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
115 (test-xfail-ISO99/math.h/linknamespace): Likewise.
116 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
117 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
118 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
119 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
120 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
121 (test-xfail-ISO11/math.h/linknamespace): Likewise.
122 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
123 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
124 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
125 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
126 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
127 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
128 (test-xfail-XPG3/math.h/linknamespace): Likewise.
129 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
130 (test-xfail-XPG3/search.h/linknamespace): Likewise.
131 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
132 (test-xfail-XPG3/time.h/linknamespace): Likewise.
133 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
134 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
135 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
136 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
137 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
138 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
139 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
140 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
141 (test-xfail-XPG4/math.h/linknamespace): Likewise.
142 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
143 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
144 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
145 (test-xfail-XPG4/search.h/linknamespace): Likewise.
146 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
147 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
148 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
149 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
150 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
151 (test-xfail-XPG4/time.h/linknamespace): Likewise.
152 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
153 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
154 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
155 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
156 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
157 (test-xfail-POSIX/math.h/linknamespace): Likewise.
158 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
159 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
160 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
161 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
162 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
163 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
164 (test-xfail-POSIX/time.h/linknamespace): Likewise.
165 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
166 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
167 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
168 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
169 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
170 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
171 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
172 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
173 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
174 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
175 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
176 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
177 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
178 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
179 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
180 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
181 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
182 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
183 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
184 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
185 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
186 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
187 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
188 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
189 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
190 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
191 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
192 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
193 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
194 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
195 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
196 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
197 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
198 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
199 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
200 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
201 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
202 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
203 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
204 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
205 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
206 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
207 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
208 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
209 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
210 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
211 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
212 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
213 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
214 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
215 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
216 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
217 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
218 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
219 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
220 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
221 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
222 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
223 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
224 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
225 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
226 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
227 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
228 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
229 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
230 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
231 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
232 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
233 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
234 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
235 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
236 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
237 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
238 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
239 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
240 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
241 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
242 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
243 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
244 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
245 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
246 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
247 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
248 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
249 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
250 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
251 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
253 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
254 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
255 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
256 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
257 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
258 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
259 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
260 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
261 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
262 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
263
cc67478e
JM
264 [BZ #17589]
265 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
266 of fgets_unlocked.
267
9975e3d3
JM
268 [BZ #17585]
269 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
270 (memmem): Rename to __memmem and define as weak alias of
271 __memmem. Use libc_hidden_weak.
272 (__memmem): Use libc_hidden_def.
273 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
274 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
275 memmem.
276
c4eae752
JM
277 [BZ #17582]
278 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
279 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
280 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
281 and define as weak alias of __fgets_unlocked. Use
282 libc_hidden_weak.
283 (__fgets_unlocked): Use libc_hidden_def.
284 * include/stdio.h (__fgets_unlocked): Declare. Use
285 libc_hidden_proto.
286 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
287 __fgets_unlocked instead of fgets_unlocked.
288 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
289 (GET_NPROCS_CONF_PARSER): Likewise.
290 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
291 (GET_NPROCS_CONF_PARSER): Likewise.
292
01cad84e
JM
293 [BZ #17574]
294 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
295 weak alias of __wmemset. Use libc_hidden_weak.
296 (__wmemset): Use libc_hidden_def.
297 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
298 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
299 of wmemset.
300
939da411
JM
301 [BZ #17573]
302 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
303 with asm name __mempcpy.
304 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
305
293d9a41
JM
306 [BZ #17572]
307 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
308 and define as weak alias of __rawmemchr.
309 (__rawmemchr): Do not define as strong alias of rawmemchr.
310
bef8fd60
JM
311 [BZ #17571]
312 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
313 alias of __qsort_r.
314 (qsort): Call __qsort_r instead of qsort_r.
315 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
316 (__qsort_r): Declare. Call libc_hidden_proto.
317 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
318 instead of qsort_r.
319 * nscd/gai.c (__qsort_r): Define to qsort_r.
320 * posix/tst-rfc3484.c (__qsort_r): Likewise.
321 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
322 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
323
c52ff39e
JM
324 [BZ #17570]
325 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
326 define as weak alias of __malloc_info.
327
2f5c1b00
JM
328 [BZ #17584]
329 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
330 as weak alias of __rewinddir. Don't use libc_hidden_def.
331 (__rewinddir): Use libc_hidden_def.
332 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
333 as weak alias of __rewinddir. Don't use libc_hidden_def.
334 (__rewinddir): Use libc_hidden_def.
335 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
336 weak alias of __rewinddir. Don't use libc_hidden_def.
337 (__rewinddir): Use libc_hidden_def.
338 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
339 (__rewinddir): Use libc_hidden_proto.
340 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
341 rewinddir.
342 (__getcwd): Use __rewinddir instead of rewinddir.
343
5a6fa4d7
JM
344 [BZ #17583]
345 * libio/fileno.c (fileno): Rename to __fileno and define as weak
346 alias of __fileno. Use libc_hidden_weak.
347 (__fileno): Use libc_hidden_def.
348 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
349 * libio/ftello.c (ftello): Rename to __ftello and define as weak
350 alias of __ftello.
351 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
352 __ftello.
353 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
354 (__fread_unlocked): Define as strong alias of _IO_fread. Use
355 libc_hidden_def.
356 (fread_unlocked): Don't use libc_hidden_ver.
357 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
358 and define as weak alias of __fread_unlocked. Don't use
359 libc_hidden_def.
360 (__fread_unlocked): Use libc_hidden_def.
361 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
362 (ftello): Don't use libc_hidden_proto.
363 (__ftello): Declare. Use libc_hidden_proto.
364 (fread_unlocked): Don't use libc_hidden_proto.
365 (__fread_unlocked): Declare. Use libc_hidden_proto.
366 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
367 and __ftello instead of fileno, fread_unlocked and ftello.
368
2581b98e
SP
3692012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
370
371 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
372 GOT12.
373 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
374 Likewise.
375 (_dl_start_user): Likewise.
376 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
377
533bb7c2
SP
3782014-11-12 Carlos O'Donell <carlos@redhat.com>
379 Siddhesh Poyarekar <siddhesh@redhat.com>
380
381 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
382 Move argv and envp down instead of moving argc up.
383 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
384
fffa1cf8
LH
3852014-11-12 Leonhard Holz <leonhard.holz@web.de>
386
387 [BZ #17506]
388 * test-skeleton.c (main): Return successful if one of
389 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
390 * string/tst-strcoll-overflow.c: Define expected status.
391
fb89b46d
TU
3922014-11-12 Tatiana Udalova <t.udalova@samsung.com>
393
394 [BZ #17475]
395 * locale/iso-639.def: Define Bhili and Tulu language codes.
396
5c40c3ba
AH
3972014-11-11 Alan Hayward <alan.hayward@arm.com>
398
399 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
400
b17fe01b 4012014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
402
403 [BZ #17555]
404 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
405
bd805071
AS
4062014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
407
408 * configure.ac: Updated check of minimal required version to
409 2.22.
410 * manual/install.texi (Tools for Compilation): Updated version
411 number.
412 * configure: Regenerated.
413 * INSTALL: Likewise.
414
1400983e
AS
4152014-11-07 Andreas Schwab <schwab@linux-m68k.org>
416
417 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
418 __tls_get_addr.
419
2c46a66a
JM
4202014-11-07 Joseph Myers <joseph@codesourcery.com>
421
422 * include/sys/wait.h (__libc_waitpid): Remove declaration.
423 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
424 (__waitpid): Don't define as alias. Use libc_hidden_def not
425 libc_hidden_weak.
426 (waitpid): Define as alias of __waitpid.
427 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
428 __waitpid.
429 (__waitpid): Don't define as alias. Use libc_hidden_def not
430 libc_hidden_weak.
431 (waitpid): Define as alias of __waitpid.
432 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
433 __libc_waitpid alias.
434 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
435 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
436 Likewise.
437 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
438 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
439 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
440 alias.
441 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
442 __waitpid.
443 (__waitpid): Don't define as alias. Use libc_hidden_def not
444 libc_hidden_weak.
445 (waitpid): Define as alias of __waitpid.
446
da53d6db
CD
4472014-11-06 Carlos O'Donell <carlos@redhat.com>
448
a2887bdb
CD
449 * manual/llio.texi: Add comment that write safety has been
450 fixed in Linux.
451
da53d6db
CD
452 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
453 (localplt-build-dso): Add elf/ld.so.
454 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
455 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
456 and free for ld.so.
457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
458 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
460 Likewise.
461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
462 Likewise.
463 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
464 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
465 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
466 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
467 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
468 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
469 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
470 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
471 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
472 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
473 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
474
9cf27b8d
JM
4752014-11-05 Joseph Myers <joseph@codesourcery.com>
476
477 [BZ #14132]
478 * include/libc-symbols.h (INTUSE): Remove macro.
479 (INTDEF): Likewise.
480 (INTVARDEF): Likewise.
481 (_INTVARDEF): Likewise.
482 (INTDEF2): Likewise.
483 (INTVARDEF2): Likewise.
484 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
485 rtld_hidden_def instead of INTVARDEF.
486 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
487 (_dl_starting_up_internal): Remove declaration.
488 (_dl_starting_up): Use rtld_hidden_proto.
489 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
490 declaration.
491 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
492 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
493 _dl_starting_up.
494 * elf/dl-writev.h (_dl_writev): Likewise.
495 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
496 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
497 _dl_starting_up_internal.
498
af83568d
AZ
4992014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
500
501 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
502 test-skeleton.c.
503
b01ee67c
WN
5042014-11-05 Will Newton <will.newton@linaro.org>
505
506 * benchtests/Makefile: (bench-malloc): Add malloc thread
507 scalability benchmark.
508 * benchtests/bench-malloc-threads.c: New file.
509
be9d4ccc
RE
5102014-11-05 Richard Earnshaw <rearnsha@arm.com>
511
512 * sysdeps/aarch64/strchrnul.S: New file.
513
7110166d
AZ
5142014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
515
516 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
517 definition.
518 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
519 Likwise.
520 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
521 Likewise.
522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
523 Likewise.
524 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
525 Likewise.
526 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
527 Likewise.
528
5292014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
530
531 * catgets/test-gencat.c: Use test-skeleton.c.
532 * catgets/tst-catgets.c: Likewise.
533 * csu/tst-empty.c: Likewise.
534 * elf/tst-audit2.c: Likewise.
535 * elf/tst-global1.c: Likewise.
536 * elf/tst-pathopt.c: Likewise.
537 * elf/tst-piemod1.c: Likewise.
538 * elf/tst-tls10.c: Likewise.
539 * elf/tst-tls11.c: Likewise.
540 * elf/tst-tls12.c: Likewise.
541 * gnulib/tst-gcc.c: Likewise.
542 * iconvdata/tst-e2big.c: Likewise.
543 * iconvdata/tst-loading.c: Likewise.
544 * iconv/tst-iconv1.c: Likewise.
545 * iconv/tst-iconv2.c: Likewise.
546 * inet/test-inet6_opt.c: Likewise.
547 * inet/tst-gethnm.c: Likewise.
548 * inet/tst-network.c: Likewise.
549 * inet/tst-ntoa.c: Likewise.
550 * intl/tst-codeset.c: Likewise.
551 * intl/tst-gettext2.c: Likewise.
552 * intl/tst-gettext3.c: Likewise.
553 * intl/tst-ngettext.c: Likewise.
554 * intl/tst-translit.c: Likewise.
555 * io/test-stat.c: Likewise.
556 * libio/test-fmemopen.c: Likewise.
557 * libio/tst-freopen.c: Likewise.
558 * libio/tst-sscanf.c: Likewise.
559 * libio/tst-ungetwc1.c: Likewise.
560 * libio/tst-ungetwc2.c: Likewise.
561 * libio/tst-widetext.c: Likewise.
562 * localedata/tst-ctype.c: Likewise.
563 * localedata/tst-digits.c: Likewise.
564 * localedata/tst-leaks.c: Likewise.
565 * localedata/tst-mbswcs1.c: Likewise.
566 * localedata/tst-mbswcs2.c: Likewise.
567 * localedata/tst-mbswcs3.c: Likewise.
568 * localedata/tst-mbswcs4.c: Likewise.
569 * localedata/tst-mbswcs5.c: Likewise.
570 * localedata/tst-setlocale.c: Likewise.
571 * localedata/tst-trans.c: Likewise.
572 * localedata/tst-wctype.c: Likewise.
573 * localedata/tst-xlocale1.c: Likewise.
574 * login/tst-grantpt.c: Likewise.
575 * malloc/tst-calloc.c: Likewise.
576 * malloc/tst-malloc.c: Likewise.
577 * malloc/tst-mallocstate.c: Likewise.
578 * malloc/tst-mcheck.c: Likewise.
579 * malloc/tst-mtrace.c: Likewise.
580 * malloc/tst-obstack.c: Likewise.
581 * math/atest-exp2.c: Likewise.
582 * math/atest-exp.c: Likewise.
583 * math/atest-sincos.c: Likewise.
584 * math/test-matherr.c: Likewise.
585 * math/test-misc.c: Likewise.
586 * math/test-powl.c: Likewise.
587 * math/tst-definitions.c: Likewise.
588 * misc/tst-dirname.c: Likewise.
589 * misc/tst-efgcvt.c: Likewise.
590 * misc/tst-fdset.c: Likewise.
591 * misc/tst-hsearch.c: Likewise.
592 * misc/tst-mntent2.c: Likewise.
593 * nptl/tst-sem7.c: Likewise.
594 * nptl/tst-sem8.c: Likewise.
595 * nptl/tst-sem9.c: Likewise.
596 * nss/test-netdb.c: Likewise.
597 * posix/tst-fnmatch.c: Likewise.
598 * posix/tst-getlogin.c: Likewise.
599 * posix/tst-gnuglob.c: Likewise.
600 * posix/tst-mmap.c: Likewise.
601 * pwd/tst-getpw.c: Likewise.
602 * resolv/tst-inet_ntop.c: Likewise.
603 * rt/tst-timer.c: Likewise.
604 * stdio-common/test-fseek.c: Likewise.
605 * stdio-common/test-popen.c: Likewise.
606 * stdio-common/test-vfprintf.c: Likewise.
607 * stdio-common/tst-cookie.c: Likewise.
608 * stdio-common/tst-fileno.c: Likewise.
609 * stdio-common/tst-gets.c: Likewise.
610 * stdio-common/tst-obprintf.c: Likewise.
611 * stdio-common/tst-perror.c: Likewise.
612 * stdio-common/tst-sprintf2.c: Likewise.
613 * stdio-common/tst-sprintf3.c: Likewise.
614 * stdio-common/tst-sprintf.c: Likewise.
615 * stdio-common/tst-swprintf.c: Likewise.
616 * stdio-common/tst-tmpnam.c: Likewise.
617 * stdio-common/tst-unbputc.c: Likewise.
618 * stdio-common/tst-wc-printf.c: Likewise.
619 * stdlib/tst-environ.c: Likewise.
620 * stdlib/tst-fmtmsg.c: Likewise.
621 * stdlib/tst-limits.c: Likewise.
622 * stdlib/tst-rand48-2.c: Likewise.
623 * stdlib/tst-rand48.c: Likewise.
624 * stdlib/tst-random2.c: Likewise.
625 * stdlib/tst-random.c: Likewise.
626 * stdlib/tst-strtol.c: Likewise.
627 * stdlib/tst-strtoll.c: Likewise.
628 * stdlib/tst-tls-atexit.c: Likewise.
629 * stdlib/tst-xpg-basename.c: Likewise.
630 * string/test-ffs.c: Likewise.
631 * string/tst-bswap.c: Likewise.
632 * string/tst-inlcall.c: Likewise.
633 * string/tst-strtok.c: Likewise.
634 * string/tst-strxfrm.c: Likewise.
635 * sysdeps/x86_64/tst-audit10.c: Likewise.
636 * sysdeps/x86_64/tst-audit3.c: Likewise.
637 * sysdeps/x86_64/tst-audit4.c: Likewise.
638 * sysdeps/x86_64/tst-audit5.c: Likewise.
639 * time/tst-ftime_l.c: Likewise.
640 * time/tst-getdate.c: Likewise.
641 * time/tst-mktime3.c: Likewise.
642 * time/tst-mktime.c: Likewise.
643 * time/tst-posixtz.c: Likewise.
644 * time/tst-strptime2.c: Likewise.
645 * time/tst-strptime3.c: Likewise.
646 * wcsmbs/tst-btowc.c: Likewise.
647 * wcsmbs/tst-mbrtowc.c: Likewise.
648 * wcsmbs/tst-mbsrtowcs.c: Likewise.
649 * wcsmbs/tst-wchar-h.c: Likewise.
650 * wcsmbs/tst-wcpncpy.c: Likewise.
651 * wcsmbs/tst-wcrtomb.c: Likewise.
652 * wcsmbs/tst-wcsnlen.c: Likewise.
653 * wcsmbs/tst-wcstof.c: Likewise.
654
2004e7fb
JM
6552014-11-04 Joseph Myers <joseph@codesourcery.com>
656
ab97ee8f
JM
657 [BZ #14132]
658 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
659 INTDEF.
660 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
661 declaration.
662 (_dl_mcount): Use rtld_hidden_proto.
663 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
664 _dl_mcount.
665 * elf/rtld.c (_rtld_global_ro): Likewise.
666
c5684fdb
JM
667 [BZ #14132]
668 * elf/dl-init.c (_dl_init): Don't use INTDEF.
669 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
670 of _dl_init_internal.
671 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
672 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
673 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
674 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
675 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
676 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
677 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
678 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
679 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
680 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
681 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
682 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
683 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
684 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
685 * sysdeps/tile/dl-start.S (_start): Likewise.
686 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
687 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
688
4243cbea
JM
689 [BZ #14132]
690 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
691 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
692 (rtld_progname): Make macro definition unconditional.
693 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
694 INTDEF.
695 (dlmopen_doit): Do not use INTUSE with _dl_argv.
696 (dl_main): Likewise.
697 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
698 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
699 instead of _dl_argv_internal.
700 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
701 __GI__dl_argv instead of INTUSE(_dl_argv).
702 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
703 __GI__dl_argv instead of _dl_argv_internal.
704
2004e7fb
JM
705 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
706 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
707 macro.
708 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
709 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
710 New macro.
711 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
712 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
713 macro.
714 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
715 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
716
97827bfc
AS
7172014-11-04 Andreas Schwab <schwab@suse.de>
718
719 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
720
5e4df284
AZ
7212014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
722
723 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
724 mtvsrd instruction in binary form.
725
04b76b5a
AS
7262014-11-03 Andreas Schwab <schwab@suse.de>
727
728 [BZ #17522]
729 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
730 for less than MB_LEN_MAX use a local buffer of that size.
731 * libio/tst-fputws.c: New file.
732 * libio/Makefile (tests): Add tst-fputws.
733
4c6da7da
JM
7342014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
735
736 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
737 the size of the fpu_fr.fpu_dregs[] array.
738
1679ba8e
JM
7392014-11-01 Joseph Myers <joseph@codesourcery.com>
740
741 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
742 (__nanosleep): Do not define as alias.
743 (nanosleep): Define as alias of __nanosleep.
744 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
745 __libc_nanosleep name.
746
2626c183
JM
7472014-10-31 Joseph Myers <joseph@codesourcery.com>
748
749 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
750 install.texi in comment.
751
7f981fc2
TR
7522014-10-31 Torvald Riegel <triegel@redhat.com>
753
754 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
755 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
756 ... add here and use lwsync or sync ...
757 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
758 ... and add here using lwsync.
759
d6f373d2
MF
7602014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
761
762 * elf/dl-machine-reject-phdr.h: New file.
763 * elf/dl-load.c: #include that.
764 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
765 if that returned true.
766
67c37987
RM
7672014-10-31 Roland McGrath <roland@hack.frob.com>
768
769 [BZ #17496]
770 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
771 gen-as-const-headers chunk. Add a big scare comment after the last
772 safe place to touch before-compile.
773
94a42455 7742014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 775
f3f5d895
JM
776 * manual/install.texi (Tools for Compilation): Update autoconf
777 version requirements.
778 * INSTALL: Regenerated.
779
f62ff286
JM
780 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
781 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
782 (__libc_pselect): Likewise.
94a42455
JM
783
784 [BZ #14138]
785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
789
ff9dbdc0
TR
7902014-10-31 Torvald Riegel <triegel@redhat.com>
791
792 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
793 correct barrier instruction.
794 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
795 Likewise.
796 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
797 Likewise.
798
b4f66884
RM
7992014-10-30 Roland McGrath <roland@hack.frob.com>
800
801 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
802 after defining inlines. Instead, just use parens to defeat macro
803 expansion of __isctype in its declaration.
804
e19c95fd
JM
8052014-10-30 Joseph Myers <joseph@codesourcery.com>
806
807 * include/sys/uio.h (__libc_readv): Remove declaration.
808 (__libc_writev): Likewise.
809 * misc/readv.c (__libc_readv): Rename to __readv.
810 (__readv): Do not define as alias.
811 (readv): Define as alias of __readv.
812 * misc/writev.c (__libc_writev): Rename to __writev.
813 (__writev): Do not define as alias.
814 (writev): Define as alias of __writev.
815 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
816 (__readv): Do not define as alias.
817 (readv): Define unconditionally as alias of __readv.
818 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
819 (__writev): Do not define as alias.
820 (writev): Define unconditionally as alias of __writev.
821 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
822 name.
823 (writev): Do not define __libc_writev name.
824
65b00b6c
RM
8252014-10-30 Roland McGrath <roland@hack.frob.com>
826
827 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
828 (convert_charseq): New function, broken out of ...
829 (use_from_charmap): ... here. Call it.
830 (use_to_charmap): Use convert_charseq and free instead of duplicating
831 its code with a variable-length stack struct.
832
d4e157aa
JM
8332014-10-30 Joseph Myers <joseph@codesourcery.com>
834
835 * include/fcntl.h (__libc_creat): Remove declaration.
836 * io/creat.c (__libc_creat): Rename to creat.
837 (creat): Do not define as alias.
838 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
839 of creat instead of __libc_creat.
840 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
841 to creat.
842 (creat): Do not define as alias.
843 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
844 __libc_creat.
845 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
846 __libc_creat name.
847 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
848 Likewise.
849
0c6891a0
CD
8502014-10-29 Carlos O'Donell <carlos@redhat.com>
851
852 * manual/llio.texi: Add comments discussing why write() may be
853 considered MT-unsafe on Linux.
854
cc00cece
CD
8552014-10-28 Carlos O'Donell <carlos@redhat.com>
856
857 * dl-load.c (local_strdup): Remove.
858 (expand_dynamic_string_token): Use __strdup.
859 (decompose_rpath): Likewise.
860 (_dl_map_object): Likewise.
861
51e623f2
JM
8622014-10-28 Joseph Myers <joseph@codesourcery.com>
863
864 [BZ #14132]
865 * sysdeps/generic/unwind-dw2-fde.c
866 (__register_frame_info_bases_internal): Do not declare.
867 (__register_frame_info_table_bases_internal): Likewise.
868 (__deregister_frame_info_bases_internal): Likewise.
869 (__register_frame_info_bases): Declare and use hidden_proto before
870 definition. Use hidden_def instead of INTDEF.
871 (__register_frame_info_table_bases): Likewise.
872 (__deregister_frame_info_bases): Likewise.
873 (__register_frame_info): Do not use INTUSE.
874 (__register_frame): Likewise.
875 (__register_frame_info_table): Likewise.
876 (__register_frame_table): Likewise.
877 (__deregister_frame_info): Likewise.
878 (__deregister_frame): Likewise.
879
03d41216
GC
8802014-10-27 Gratian Crisan <gratian.crisan@ni.com>
881
882 * sysdeps/unix/sysv/linux/arm/kernel-features.h
883 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
884 not undefine.
885 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
886 Likewise.
887 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
888 Likewise.
889
a4b3624d
JM
8902014-10-27 Joseph Myers <joseph@codesourcery.com>
891
892 [BZ #14138]
893 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
894 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
895 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
896 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
897 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
898 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
899 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
900 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
901 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
902 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
903 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
904 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
905 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
906 syscall.
907 (setfsuid): Likewise.
908 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
909 (setfsuid): Likewise.
910 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
911 (setfsuid): Likewise.
912 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
913 Likewise.
914 (setfsuid): Likewise.
915 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
916 (setfsuid): Likewise.
917 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
918 Likewise.
919 (setfsuid): Likewise.
920
3574f2fd
AS
9212014-10-27 Andreas Schwab <schwab@suse.de>
922
923 [BZ #17501]
924 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
925 check for Slow_SSE4_2 feature bit.
926 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
927 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
928 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
929 Likewise. Fix check for Fast_Unaligned_Load feature bit.
930
70996a37
RM
9312014-10-24 Roland McGrath <roland@hack.frob.com>
932
461a7b1e
RM
933 * configure.ac: Validate compiler version with a empirical test of
934 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
935 $CC -v output.
936 * configure: Regenerated.
937
70996a37
RM
938 * inet/htons.c (htons): Prototypify.
939 * inet/htonl.c (htonl): Likewise.
940
e80514b5
WD
9412014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
942
943 * string/strncat.c (strncat): Improve performance by using strlen.
944
6e46de42
WD
9452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
946
947 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
948
6a9ad2fa
WD
9492014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
950
951 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
952 Call libc_fetestexcept_aarch64.
953
1c8810ed
WD
9542014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
955
956 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
957 Call libc_feholdexcept_aarch64.
958
8b1af712
WD
9592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
960
961 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
962 Call get_rounding_mode.
963
a7b00c11
WD
9642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
965
966 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
967 Simplify logic.
968
3a84f1a6
WD
9692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
970
971 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
972 Simplify logic.
973
48eb7a94
JM
9742014-10-24 Joseph Myers <joseph@codesourcery.com>
975
c8bc4038
JM
976 [BZ #14138]
977 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
978 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
979 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
980 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
981 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
982 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
983 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
984 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
985 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
986 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
987 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
988 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
989 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
990 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
991 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
992 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
993 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
994 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
995 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
996 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
997 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
998 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
999 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1000 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1001 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1002 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1003 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1004 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1005 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1006 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1007 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1008 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1009 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1010 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1011 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1012 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1013 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1014 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1015 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1016 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1017 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1018 syscall.
1019 (geteuid): Likewise.
1020 (getgid): Likewise.
1021 (getuid): Likewise.
1022 (getresgid): Likewise.
1023 (getresuid): Likewise.
1024 (getgroups): Likewise.
1025 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1026 (geteuid): Likewise.
1027 (getgid): Likewise.
1028 (getuid): Likewise.
1029 (getresgid): Likewise.
1030 (getresuid): Likewise.
1031 (getgroups): Likewise.
1032 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1033 (geteuid): Likewise.
1034 (getgid): Likewise.
1035 (getuid): Likewise.
1036 (getresgid): Likewise.
1037 (getresuid): Likewise.
1038 (getgroups): Likewise.
1039 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1040 Likewise.
1041 (geteuid): Likewise.
1042 (getgid): Likewise.
1043 (getuid): Likewise.
1044 (getresgid): Likewise.
1045 (getresuid): Likewise.
1046 (getgroups): Likewise.
1047 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1048 (geteuid): Likewise.
1049 (getgid): Likewise.
1050 (getuid): Likewise.
1051 (getresgid): Likewise.
1052 (getresuid): Likewise.
1053 (getgroups): Likewise.
1054 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1055 Likewise.
1056 (geteuid): Likewise.
1057 (getgid): Likewise.
1058 (getuid): Likewise.
1059 (getgroups): Likewise.
1060
48eb7a94
JM
1061 [BZ #14138]
1062 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1063 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1064 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1065 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1066 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1067 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1068 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1069 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1070 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1072 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1073 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1074 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1075 __chown.
1076 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1077 (lchown): Likewise.
1078 (fchown): Likewise.
1079 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1080 Likewise.
1081 (lchown): Likewise.
1082 (fchown): Likewise.
1083 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1084 (lchown): Likewise.
1085 (fchown): Likewise.
1086 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1087 Likewise.
1088 (lchown): Likewise.
1089 (fchown): Likewise.
1090
ea9a7c8b
WD
10912014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1092
1093 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1094 Simplify logic.
1095
e226de33
WD
10962014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1097
1098 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1099 Cleanup logic.
1100
6e3d8ed3
WD
11012014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1102
1103 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1104 Remove unused include.
1105
eb04247d
WD
11062014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1107
1108 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1109 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1110 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1111 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1112
13d84554
CD
11132014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1114 Helge Deller <deller@gmx.de>
1115
1116 [BZ #17508]
1117 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1118 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1119 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1120
15f9c5df
JM
11212014-10-23 Joseph Myers <joseph@codesourcery.com>
1122
1123 [BZ #14132]
1124 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1125 Remove macro definition.
1126 (__ashrdi3_v_glibc20): Likewise.
1127 (__lshrdi3_v_glibc20): Likewise.
1128 (__cmpdi2_v_glibc20): Likewise.
1129 (__ucmpdi2_v_glibc20): Likewise.
1130 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1131 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1132 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1133 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1134 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1135 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1136
c6dfed24
RM
11372014-10-22 Roland McGrath <roland@hack.frob.com>
1138
1139 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1140 old GNU extension [0] syntax.
1141 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1142 alloca rather than an array member with variable length.
1143 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1144 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1145 (parse_opt): ... here. Likewise use alloca there.
1146 Validate the -i argument before checking for rootness.
1147 (send_shutdown): New function, broken out of ...
1148 (parse_opt): ... here.
1149
8c2b1ed8
RM
11502014-10-22 Roland McGrath <roland@hack.frob.com>
1151
1152 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1153 macro to get at the _rt_local_ro field.
1154 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1155 ([PIC] case) or _dl_hwcap ([!PIC] case).
1156 * sysdeps/arm/setjmp.S: Likewise.
1157
1158 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1159 * sysdeps/arm/configure.ac: New check to define it.
1160 * sysdeps/arm/configure: Regenerated.
1161 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1162 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1163 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1164 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1165 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1166 Use move/movt pair instead of a load.
1167 (LDST_GLOBAL): Macro removed.
1168 (LDR_GLOBAL): New macro replaces it.
1169 (LDR_HIDDEN): New macro.
1170 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1171 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1172
1173 * setjmp/tst-setjmp-static.c: New file.
1174 * setjmp/Makefile (tests): Add it.
1175 (tests-static): New variable.
1176
b5af9297
MR
11772014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1178
1179 [BZ #17485]
1180 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1181
a13d0d74
JM
11822014-10-21 Joseph Myers <joseph@codesourcery.com>
1183
1184 [BZ #14132]
1185 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1186
f05e73f6
RM
11872014-10-21 Roland McGrath <roland@hack.frob.com>
1188
1189 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1190
6ab1d1ea
RM
11912014-10-20 Roland McGrath <roland@hack.frob.com>
1192
1193 * io/fts.c (dirent_not_directory): New function.
1194 (fts_build): Call it.
1195
ab49e763
RM
11962014-10-20 Roland McGrath <roland@hack.frob.com>
1197
e436eb79
RM
1198 * nptl/version.c (__nptl_main): Use normal __write rather than
1199 INTERNAL_SYSCALL.
1200 (banner): Update copyright years.
1201
6af246cf
RM
1202 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1203 gettimeofday.
1204 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1205 * nptl/pthread_cond_timedwait.c: Likewise.
1206 * nptl/pthread_mutex_timedlock.c: Likewise.
1207 * nptl/sem_timedwait.c: Likewise.
1208
ab49e763
RM
1209 * sysdeps/nptl/bits/libc-lock.h
1210 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1211 (__libc_lock_init_recursive): Return void, not 0.
1212 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1213 (__libc_rwlock_init): Likewise.
1214 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1215
f50277c1
TR
12162014-10-20 Torvald Riegel <triegel@redhat.com>
1217
1218 [BZ #15215]
1219 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1220 (__pthread_once_slow): ... here.
1221 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1222 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1223
63668b70
TR
12242014-10-20 Torvald Riegel <triegel@redhat.com>
1225
1226 [BZ #15215]
1227 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1228 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1229 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1230 * nptl/pthread_once.c (__pthread_once): Likewise.
1231 Update comments.
1232
42b7f5d4
JM
12332014-10-20 Joseph Myers <joseph@codesourcery.com>
1234
1235 [BZ #14138]
1236 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1237 name.
1238 (writev): Use __libc_writev as strong name.
1239 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1240 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1241
b0643088
RM
12422014-10-17 Roland McGrath <roland@hack.frob.com>
1243
114c4e09
RM
1244 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1245
674b8978
RM
1246 * sysdeps/i386/nptl/tls.h
1247 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1248 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1249 New macros.
1250 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1251 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1252 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1253 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1254 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1255 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1256
184ee940
RM
1257 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1258 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1259 on [__NR_futex].
1260 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1261 broken out of ...
1262 (__pthread_mutex_init): ... here. Call it.
1263 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1264 Conditionalize PI cases on [__NR_futex].
1265 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1266 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1267 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1268
327ae257
RM
1269 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1270 conditional on [SIGSETXID].
1271 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1272 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1273 is defined. Likewise for SIGSETXID.
1274 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1275 Conditionalize definitions on [SIGSETXID].
1276 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1277 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1278 unblocking on [SIGCANCEL].
1279
b0643088
RM
1280 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1281 [__NR_set_robust_list].
1282
33cc770b
SP
12832014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1284
1285 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1286 (do_compare): Likewise.
1287
0742aef6
LH
12882014-10-17 Leonhard Holz <leonhard.holz@web.de>
1289
1290 [BZ #15884]
1291 * string/strcoll_l.c: Don't include stdio.h.
1292 (coll_seq): Remove members idxarr and rulearr.
1293 (get_next_seq_cached): Remove function.
1294 (get_next_seq): Likewise.
1295 (get_next_seq_nocache): Rename to get_next_seq.
1296 (do_compare): Remove function.
1297 (do_compare_nocache): Rename to do_compare.
1298 (STRCOLL): Remove weight and rules cache.
1299
ee54ce44
RM
13002014-10-16 Roland McGrath <roland@hack.frob.com>
1301
1302 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1303 * sysdeps/arm/sfp-machine.h: ... to here.
1304 * sysdeps/arm/Implies: Remove arm/soft-fp.
1305
a75d3b02
JM
13062014-10-14 Joseph Myers <joseph@codesourcery.com>
1307
1308 * conform/data/sys/utsname.h-data (*_t): Allow.
1309 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1310 [POSIX] (WEXITED): Do not expect constant.
1311 [POSIX] (WSTOPPED): Likewise.
1312 [POSIX] (WNOHANG): Likewise.
1313 [POSIX] (WNOWAIT): Likewise.
1314 [POSIX] (siginfo_t): Do not expect type or elements.
1315 [POSIX] (pid_t): Do not expect type.
1316 [POSIX] (signal.h): Do not allow header.
1317 [POSIX] (sys/resource.h): Likewise.
1318 [POSIX] (si_*): Do not allow pattern.
1319 [POSIX] (W*): Likewise.
1320 [POSIX] (P_*): Likewise.
1321 [POSIX] (BUS_*): Likewise.
1322 [POSIX] (CLD_*): Likewise.
1323 [POSIX] (FPE_*): Likewise.
1324 [POSIX] (ILL_*): Likewise.
1325 [POSIX] (POLL_*): Likewise.
1326 [POSIX] (SEGV_*): Likewise.
1327 [POSIX] (SI_*): Likewise.
1328 [POSIX] (TRAP_*): Likewise.
1329 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1330 variable.
1331
fda389c8
SP
13322014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1333
1334 [BZ #12926]
1335 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1336 infinite loop when __recvmsg returns 0.
1337
6bc6bd3b
JM
13382014-10-10 Joseph Myers <joseph@codesourcery.com>
1339
fcb32af1
JM
1340 * CANCEL-FCT-WAIVE: Remove file.
1341 * CANCEL-FILE-WAIVE: Likewise.
1342
6bc6bd3b
JM
1343 [BZ #14132]
1344 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1345 instead of INTVARDEF.
1346 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1347 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1348 rtld_hidden_data_def instead of INTVARDEF.
1349 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1350 * elf/dl-deps.c (expand_dst): Likewise.
1351 * elf/dl-load.c (_dl_dst_count): Likewise.
1352 (_dl_dst_substitute): Likewise.
1353 (decompose_rpath): Likewise.
1354 (_dl_init_paths): Likewise.
1355 (open_path): Likewise.
1356 (_dl_map_object): Likewise.
1357 * elf/rtld.c (dl_main): Likewise.
1358 (process_dl_audit): Likewise.
1359 (process_envvars): Likewise.
1360 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1361 Remove declaration.
1362 (__libc_enable_secure): Use rtld_hidden_proto.
1363
b8c80a7e
KS
13642014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1365
1366 * elf/dl-load.c
1367 (add_path): New function broken out of _dl_rtld_di_serinfo.
1368 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1369
ff12c11f
JM
13702014-10-09 Joseph Myers <joseph@codesourcery.com>
1371
5c0508a3
JM
1372 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1373 parentheses around macro arguments.
1374 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1377 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1378 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1379 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1380 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1381 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1382 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1384 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1385 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1386 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1387 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1388 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1389 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1390 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1391 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1392 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1395 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1396 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1397 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1398 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1399 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1400 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1402 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1403 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1404 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1405 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1406 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1407 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1408 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1409 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1410 Likewise.
1411 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1412 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1413 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1414 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1415 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1416 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1417 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1418 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1419 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1420 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1421 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1422 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1423 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1424 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1425 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1426 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1427 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1428 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1429 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1430 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1431 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1432 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1433 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1434 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1435 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1436 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1437 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1438 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1439 (_FP_FRAC_SRS_1): Likewise.
1440 (_FP_FRAC_CLZ_1): Likewise.
1441 (_FP_MUL_MEAT_1_imm): Likewise.
1442 (_FP_MUL_MEAT_1_wide): Likewise.
1443 (_FP_MUL_MEAT_1_hard): Likewise.
1444 (_FP_SQRT_MEAT_1): Likewise.
1445 (_FP_FRAC_ASSEMBLE_1): Likewise.
1446 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1447 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1448 (__FP_CLZ_2): Likewise.
1449 (_FP_MUL_MEAT_2_wide): Likewise.
1450 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1451 (_FP_MUL_MEAT_2_gmp): Likewise.
1452 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1453 (_FP_SQRT_MEAT_2): Likewise.
1454 (_FP_FRAC_ASSEMBLE_2): Likewise.
1455 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1456 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1457 (_FP_FRAC_CLZ_4): Likewise.
1458 (_FP_MUL_MEAT_4_wide): Likewise.
1459 (_FP_MUL_MEAT_4_gmp): Likewise.
1460 (_FP_SQRT_MEAT_4): Likewise.
1461 (_FP_FRAC_ASSEMBLE_4): Likewise.
1462 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1463 * soft-fp/op-common.h (_FP_CMP): Likewise.
1464 (_FP_CMP_EQ): Likewise.
1465 (_FP_CMP_UNORD): Likewise.
1466 (_FP_TO_INT): Likewise.
1467 (_FP_FROM_INT): Likewise.
1468 [!__FP_CLZ] (__FP_CLZ): Likewise.
1469 (_FP_DIV_HELP_imm): Likewise.
1470 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1471 Likewise.
1472 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1473 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1474 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1475 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1476 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1477 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1478 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1479 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1480 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1482 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1483 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1484 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1485 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1486 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1487 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1488 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1489 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1490 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1491 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1492 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1493 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1494 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1495 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1496 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1497 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1498 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1500 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1501 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1502 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1503 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1504 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1505 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1506 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1507 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1508 (FP_UNPACK_RAW_SP): Likewise.
1509 (FP_PACK_RAW_S): Likewise.
1510 (FP_PACK_RAW_SP): Likewise.
1511 (FP_UNPACK_S): Likewise.
1512 (FP_UNPACK_SP): Likewise.
1513 (FP_UNPACK_SEMIRAW_S): Likewise.
1514 (FP_UNPACK_SEMIRAW_SP): Likewise.
1515 (FP_PACK_S): Likewise.
1516 (FP_PACK_SP): Likewise.
1517 (FP_PACK_SEMIRAW_S): Likewise.
1518 (FP_PACK_SEMIRAW_SP): Likewise.
1519 (_FP_SQRT_MEAT_S): Likewise.
1520 (FP_CMP_S): Likewise.
1521 (FP_CMP_EQ_S): Likewise.
1522 (FP_CMP_UNORD_S): Likewise.
1523 (FP_TO_INT_S): Likewise.
1524 (FP_FROM_INT_S): Likewise.
1525
a736ec37
JM
1526 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1527
ff12c11f
JM
1528 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1529 (FP_EX_INVALID_IMZ): Likewise.
1530 (FP_EX_INVALID_IMZ_FMA): Likewise.
1531 (FP_EX_INVALID_ISI): Likewise.
1532 (FP_EX_INVALID_ZDZ): Likewise.
1533 (FP_EX_INVALID_IDI): Likewise.
1534 (FP_EX_INVALID_SQRT): Likewise.
1535 (FP_EX_INVALID_CVI): Likewise.
1536 (FP_EX_INVALID_VC): Likewise.
1537 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1538 "invalid" exceptions.
1539 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1540 (_FP_ADD_INTERNAL): Likewise.
1541 (_FP_MUL): Likewise.
1542 (_FP_FMA): Likewise.
1543 (_FP_DIV): Likewise.
1544 (_FP_CMP_CHECK_NAN): Likewise.
1545 (_FP_SQRT): Likewise.
1546 (_FP_TO_INT): Likewise.
1547 (FP_EXTEND): Likewise.
1548
b6dcfe8c
AM
15492014-10-09 Allan McRae <allan@archlinux.org>
1550
1551 * po/fr.po: Update French translation from translation project.
1552
2d6a47ba
JM
15532014-10-09 Joseph Myers <joseph@codesourcery.com>
1554
cb831245
JM
1555 [BZ #14132]
1556 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1557 of INTDEF.
1558 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1559 (__cxa_atexit): Use libc_hidden_proto.
1560 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1561
5deeb190
JM
1562 [BZ #14132]
1563 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1564 declaration.
1565 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1566 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1567 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1568 [!_ISOMAC] (__iswctype_internal): Likewise.
1569 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1570 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1571 alias.
1572 (fcntl): Remove __fcntl_internal alias.
1573 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1574 __connect_internal alias.
1575 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1576 Likewise.
1577
454ac701
JM
1578 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1579 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1580 FP_DENORM_ZERO.
1581 (_FP_CHECK_FLUSH_ZERO): New macro.
1582 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1583 (_FP_CMP): Likewise.
1584 (_FP_CMP_EQ): Likewise.
1585 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1586 FP_DENORM_ZERO.
1587 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1588 (FP_TRUNC): Likewise.
1589
0022e688
JM
1590 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1591 treated as invalid conversion, not as normal exponent.
1592
73e28d9c
JM
1593 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1594 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1595 (_FP_CMP_EQ): Likewise.
1596 (_FP_CMP_UNORD): Likewise.
1597 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1598 (FP_CMP_EQ_D): Likewise.
1599 (FP_CMP_UNORD_D): Likewise.
1600 * soft-fp/extended.h (FP_CMP_E): Likewise.
1601 (FP_CMP_EQ_E): Likewise.
1602 (FP_CMP_UNORD_E): Likewise.
1603 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1604 (FP_CMP_EQ_Q): Likewise.
1605 (FP_CMP_UNORD_Q): Likewise.
1606 * soft-fp/single.h (FP_CMP_S): Likewise.
1607 (FP_CMP_EQ_S): Likewise.
1608 (FP_CMP_UNORD_S): Likewise.
1609 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1610 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1611 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1612 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1613 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1614 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1615 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1616 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1617 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1618 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1619 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1620 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1621 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1622 to FP_CMP_Q.
1623 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1624 FP_CMP_Q.
1625 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1626 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1627 FP_CMP_EQ_Q.
1628 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1629 FP_CMP_Q.
1630 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1631 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1632 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1633 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1634 FP_CMP_EQ_Q.
1635 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1636 FP_CMP_Q.
1637 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1638 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1639 FP_CMP_EQ_Q.
1640 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1641 FP_CMP_Q.
1642 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1643 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1644 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1645 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1646 FP_CMP_EQ_Q.
1647
43059f42
JM
1648 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1649 a subnormal result, set the underflow exception if trapping on
1650 underflow is enabled.
1651 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1652 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1653 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1654 redefine to 0.
1655 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1656 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1657 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1658 * soft-fp/extendxftf2.c (__extendxftf2): Use
1659 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1660
2d6a47ba
JM
1661 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1662 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1663 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1664 FP_HANDLE_EXCEPTIONS.
1665 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1666 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1667 FP_HANDLE_EXCEPTIONS.
1668 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1669 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1670 FP_HANDLE_EXCEPTIONS.
1671 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1672 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1673 FP_HANDLE_EXCEPTIONS.
1674
620f462e
JM
16752014-10-08 Joseph Myers <joseph@codesourcery.com>
1676
1677 [BZ #14132]
1678 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1679 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1680 use INTUSE.
1681 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1682 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1683 Remove alias.
1684 (__adjtimex): Define using libc_hidden_ver.
1685 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1686 Remove declaration.
1687 (ntp_gettime): Call __adjtimex directly.
1688 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1689 Remove declaration.
1690 (ntp_gettimex): Call __adjtimex directly.
1691 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1692 __adjtimex_internal alias.
1693
c763c5d2
RM
16942014-10-08 Roland McGrath <roland@hack.frob.com>
1695
1696 [BZ #17460]
1697 * nscd/nscd.c (more_help): Rewrite list of tables collection
1698 using xstrdup and asprintf.
1699
1700 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1701
7b8fb2b8
RM
17022014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1703 Roland McGrath <roland@hack.frob.com>
1704
1705 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1706 (do_lookup_unique): ... local function 'enter' here; update callers.
1707
abb280f7
JM
17082014-10-06 Joseph Myers <joseph@codesourcery.com>
1709
f7b42517
JM
1710 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1711 compat_symbol calls on [SHARED].
1712 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1713 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1714 Remove.
1715 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1716 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1717 (oldsetrlimit): Remove.
1718 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1720 (lchown): New syscall entry.
1721 (oldsetrlimit): Remove.
1722 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1723 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1724 (oldsetrlimit): Remove.
1725 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1726
abb280f7
JM
1727 [BZ #14138]
1728 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1729 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1730 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1731 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1732 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1733 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1734 (fchown): Likewise.
1735 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1736 (fchown): Likewise.
1737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1738 Likewise.
1739
47d46237
AZ
17402014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1743 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1744 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1745 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1746 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1747 Likewise.
1748 (__old_sem_post): Likewise.
1749
17502014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 1751
845a7343
CM
1752 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1753 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1754 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1755 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1756 Use INLINE_VSYSCALL macro.
1757 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1758 __vdso_clock_gettime.
1759 * sysdeps/unix/sysv/linux/tile/init-first.c
1760 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1761 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1762 __vdso_clock_gettime.
1763
83d641ef
CM
1764 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1765 to set up frame more cleanly.
1766
d9cd52e6
CM
1767 * sysdeps/tile/memcmp.c: New file.
1768
4b68ea11
CM
1769 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1770
c86f7b80
CM
1771 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1772 * sysdeps/tile/tilegx/strcasestr.c: New file.
1773 * sysdeps/tile/tilegx/strnlen.c: New file.
1774 * sysdeps/tile/tilegx/strstr.c: New file.
1775
1c4c1a6f
CM
1776 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1777
99d86ea3
AS
17782014-10-06 Arjun Shankar <arjun.is@lostca.se>
1779
1780 * nptl/tst-setuid3.c: Write errors to stdout.
1781
06210a44
KS
17822014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1783
1784 * elf/dl-deps.c
1785 (preload): New functions broken out of _dl_map_object_deps.
1786 (_dl_map_object_deps): Remove a nested function. Update call sites.
1787
6268f532
JM
17882014-10-01 Joseph Myers <joseph@codesourcery.com>
1789
1790 [BZ #14138]
1791 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1792 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1793
b925285f
SE
17942014-10-01 Steve Ellcey <sellcey@mips.com>
1795
1796 * sysdeps/mips/strcmp.S: New.
1797
754a15c6
JM
17982014-09-30 Joseph Myers <joseph@codesourcery.com>
1799
1800 [BZ #14138]
1801 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1802 (linkat): Likewise.
1803 (mkdirat): Likewise.
1804 (readlinkat): Likewise.
1805 (renameat): Likewise.
1806 (symlinkat): Likewise.
1807 (unlinkat): Likewise.
1808 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1809 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1810 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1811 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1812 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1813 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1814 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1815
85bb81c9
WN
18162014-09-30 Will Newton <will.newton@linaro.org>
1817
dc6fe23b
WN
1818 * math/math.h: Define long double math functions if
1819 _LIBC_TEST is defined.
1820 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1821
85bb81c9
WN
1822 * localedata/Makefile: Move assignment to tests-special
1823 into an ifdef testing run-built-tests.
1824 * timezone/Makefile: Likewise.
1825
b7e02da4
JM
18262014-09-29 Joseph Myers <joseph@codesourcery.com>
1827
1828 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1829 with $(BASH) not $(SHELL).
1830
62058ce6
CD
18312014-09-29 Carlos O'Donell <carlos@redhat.com>
1832 Matthew LeGendre <legendre1@llnl.gov>
1833
1834 [BZ #17411]
1835 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1836 l_reloc_result.
1837
8e257a29
KS
18382014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1839
1840 * stdio-common/printf_fp.c
1841 (hack_digit): New function, broken out of ...
1842 (__printf_fp): ... local function here. Update call sites.
1843 hack_digit now takes an additional parameter that is a pointer
1844 to a struct of the referenced locals. Those locals moved inside
1845 the struct and references updated.
1846
f4a58f0d
L
18472014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 * aclocal.m4: Require autoconf 2.69.
1850 * configure: Regenerated.
1851 * sysdeps/aarch64/configure: Likewise.
1852 * sysdeps/alpha/configure: Likewise.
1853 * sysdeps/arm/armv7/configure: Likewise.
1854 * sysdeps/arm/configure: Likewise.
1855 * sysdeps/ia64/configure: Likewise.
1856 * sysdeps/mach/configure: Likewise.
1857 * sysdeps/mips/configure: Likewise.
1858 * sysdeps/s390/configure: Likewise.
1859 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1861
1862 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1863 file.
1864 * sysdeps/ia64/configure.ac: Likewise.
1865
93ae1eba
JM
18662014-09-26 Joseph Myers <joseph@codesourcery.com>
1867
1810d3ab
JM
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1869 specify symbol version for ld.so. Do not include entry for
1870 libpthread.
1871 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1872 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1873 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1874
93ae1eba
JM
1875 [BZ #14171]
1876 * Makeconfig [$(build-shared) = yes]
1877 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1878 makefiles.
1879 [$(build-shared) = yes && $(soversions.mk-done) = t]
1880 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1881 [$(build-shared) = yes && $(soversions.mk-done) = t]
1882 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1883 to Makerules.
1884 [$(build-shared) = yes && $(soversions.mk-done) = t]
1885 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1886 here.
1887 [$(build-shared) = yes && $(soversions.mk-done) = t]
1888 (common-generated): Don't append gnu/lib-names.h and
1889 gnu/lib-names.stmp here.
1890 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1891 (lib-names-h-abi): New variable.
1892 [$(build-shared) = yes && $(soversions.mk-done) = t]
1893 (lib-names-stmp-abi): Likewise.
1894 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1895 abi-variants] (before-compile): Append
1896 $(common-objpfx)$(lib-names-h-abi).
1897 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1898 abi-variants] (common-generated): Append gnu/lib-names.h.
1899 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1900 abi-variants] (install-others-nosubdir): Depend on
1901 $(inst_includedir)/$(lib-names-h-abi).
1902 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1903 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1904 [$(build-shared) = yes && $(soversions.mk-done) = t]
1905 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1906 [$(build-shared) = yes && $(soversions.mk-done) = t]
1907 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1908 [$(build-shared) = yes && $(soversions.mk-done) = t]
1909 (common-generated): Append $(lib-names-h-abi) and
1910 $(lib-names-stmp-abi).
1911 * scripts/lib-names.awk: Do not handle multi being set.
1912 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1913 Remove variable.
1914 (abi-lp64_be-ld-soname): Likewise.
1915 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1916 Likewise.
1917 (abi-hard-ld-soname): Likewise.
1918 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1919 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1920 Remove variable.
1921 (abi-o32_hard-ld-soname): Likewise.
1922 (abi-o32_soft_2008-ld-soname): Likewise.
1923 (abi-o32_hard_2008-ld-soname): Likewise.
1924 (abi-n32_soft-ld-soname): Likewise.
1925 (abi-n32_hard-ld-soname): Likewise.
1926 (abi-n32_soft_2008-ld-soname): Likewise.
1927 (abi-n32_hard_2008-ld-soname): Likewise.
1928 (abi-n64_soft-ld-soname): Likewise.
1929 (abi-n64_hard-ld-soname): Likewise.
1930 (abi-n64_soft_2008-ld-soname): Likewise.
1931 (abi-n64_hard_2008-ld-soname): Likewise.
1932 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1933 Likewise.
1934 (abi-64-v2-ld-soname): Likewise.
1935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1936 ld.so entries.
1937 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1938 variable.
1939 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1940 entry.
1941 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1942 variable.
1943 (abi-64-ld-soname): Likewise.
1944 (abi-x32-ld-soname): Likewise.
1945 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1946 entry.
1947 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1948
68870f12
JM
19492014-09-23 Joseph Myers <joseph@codesourcery.com>
1950
1951 [BZ #14138]
1952 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1953 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1954 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1957 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1958 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1959 syscall entry for GLIBC_2.2 symbol version.
1960 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1961 Likewise.
1962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1963 (setrlimit): Likewise.
1964 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1965 Likewise.
1966
ea58f202
WN
19672014-09-23 Will Newton <will.newton@linaro.org>
1968
1969 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1970 _LINUX_ARM_SYSDEP_H include guard too.
1971 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1972 define.
1973
69eb9a18
RV
19742014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1975
1976 * sysdeps/unix/sysv/linux/eventfd.c:
1977 Make first argument unsigned.
1978 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1979 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1980
20e5a5f7
OB
19812014-09-20 Ondřej Bílka <neleai@seznam.cz>
1982
1983 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1984 * socket/sys/socket.h: Likewise
1985 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1986
d3c827e7
AK
19872014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1988
1989 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1990
fe1cc35a
AS
19912014-09-17 Arjun Shankar <arjun.is@lostca.se>
1992
1993 * time/tst-ftime.c: New test.
1994 * time/Makefile (tests): Add tst-ftime.
1995
4e8afe69
JM
19962014-09-17 Joseph Myers <joseph@codesourcery.com>
1997
c4fe3ea7
JM
1998 * soft-fp/extended.h: Fix comment formatting.
1999 * soft-fp/op-1.h: Likewise.
2000 * soft-fp/op-2.h: Likewise.
2001 * soft-fp/op-4.h: Likewise.
2002 * soft-fp/op-8.h: Likewise.
2003 * soft-fp/op-common.h: Likewise.
2004 * soft-fp/soft-fp.h: Likewise.
2005
4e8afe69
JM
2006 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2007
af296fcd
JM
20082014-09-16 Joseph Myers <joseph@codesourcery.com>
2009
2010 [BZ #6652]
2011 * Makeconfig (soversions-default-setname): Remove variable.
2012 ($(common-objpfx)soversions.i): Don't pass default_setname to
2013 soversions.awk.
2014 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2015 oldest_abi to abi-versions.awk.
2016 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2017 * config.make.in (oldest-abi): Remove variable.
2018 * configure.ac (--enable-oldest-abi): Remove configure option.
2019 * configure: Regenerated.
2020 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2021 text.
2022 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2023 * scripts/soversions.awk: Do not handle default_setname variable.
2024 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2025 variable.
2026 * sysdeps/mach/hurd/configure: Regenerated.
2027 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2028 variable.
2029 * sysdeps/unix/sysv/linux/configure: Regenerated.
2030
545583d6
SP
20312014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2032
d330b980
SP
2033 * elf/Makefile (CFLAGS-interp.c): Remove.
2034 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2035 path string.
2036 * elf/interp.c: Include generated runtime-linker.h
2037
02657da2
SP
2038 * Makerules (lib%.so): Don't include $(+interp) in
2039 prerequisites.
2040 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2041 * dlfcn/eval.c: Remove file.
2042
653b1080
SP
2043 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2044 macros.
2045
602f80ec
SP
2046 [BZ #17266]
2047 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2048 4.2 and newer.
2049
545583d6
SP
2050 [BZ #17370]
2051 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2052
884ddc50
SP
20532014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2054 Jakub Jelinek <jakub@redhat.com>
2055
2056 [BZ #17266]
2057 * libio/stdio.h: Check definition of __fortify_function
2058 instead of __extern_always_inline to include bits/stdio2.h.
2059 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2060 check if __extern_always_inline is defined.
2061 [__USE_MISC || __USE_XOPEN]: Likewise.
2062 [__USE_ISOC99] Likewise.
2063 * misc/sys/cdefs.h (__fortify_function): Define only if
2064 __extern_always_inline is defined.
2065 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2066 __extern_always_inline and __extern_inline only for g++-4.3
2067 and newer or a compatible gcc.
2068
a7b87268
AS
20692014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2070
2071 [BZ #17371]
2072 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2073 last change to handle zero prefix length.
2074
3f41521d
SP
20752014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2076
61fe374a
SP
2077 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2078 _SC_REGEX_VERSION.
2079
3f41521d
SP
2080 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2081 _POSIX_RAW_SOCKETS.
2082
d8f879ee
AM
20832014-09-13 Allan McRae <allan@archlinux.org>
2084
2085 * po/ru.po: Update Russian translation from translation project.
2086
c079afb7
RM
20872014-09-12 Roland McGrath <roland@hack.frob.com>
2088
a62b3c15
RM
2089 * locale/programs/locale.c (show_locale_vars): Inline local function
2090 into its sole call site. Clean up some style nits.
2091 (print_item): New function, broken out of ...
2092 (show_info): ... local function here. Clean up style nits.
2093
d7e49b19
RM
2094 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2095 out of ...
2096 (set_class_defaults): ... local function set_default here.
2097 Define set_default as a macro locally to pass constant parameters.
2098 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2099 rather than a shared local.
2100
c079afb7
RM
2101 * stdlib/rpmatch.c (try): New function, broken out of ...
2102 (rpmatch): ... local function here. Also, prototypify definition.
2103
0bd72468
JM
21042014-09-12 Joseph Myers <joseph@codesourcery.com>
2105
ba90e050
JM
2106 * scripts/soversions.awk: Do not handle configuration names.
2107 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2108 vendor and os variables to soversions.awk.
2109 * configure.ac: Do not modify gnu-* host_os.
2110 * configure: Regenerated
2111 * shlib-versions: Remove first column with configuration names.
2112 * nptl/shlib-versions: Likewise.
2113 * nptl_db/shlib-versions: Likewise.
2114 * sysdeps/hppa/shlib-versions: Likewise.
2115 * sysdeps/m68k/shlib-versions: Likewise.
2116 * sysdeps/mach/hurd/shlib-versions: Likewise.
2117 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2118 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2119 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2120 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2121 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2122 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2123 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2124 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2126 Likewise.
2127 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2128 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2129 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2130 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2131 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2132 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2133 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2135
73a39112
JM
2136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2137 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2139 Regenerated.
2140 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2142 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2143
c729e7c1
JM
2144 * shlib-versions: Remove OS-specific entries. Moved to files in
2145 sysdeps.
2146 * sysdeps/mach/hurd/shlib-versions: New file.
2147 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2148
dc932a24
JM
2149 * nptl/shlib-versions: Remove architecture-specific entries.
2150 Moved to files in sysdeps.
2151 * shlib-versions: Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2153 file.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2155 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2156 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2157 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2158
0bd72468
JM
2159 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2160 (UDP_NO_CHECK6_RX): Likewise.
2161
920238e0
SP
21622014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2163
2164 * sysdeps/posix/sysconf.c (__sysconf): Spell
2165 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2166
ba7b4d29
FW
21672014-08-12 Florian Weimer <fweimer@redhat.com>
2168
2169 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2170 loading.
2171 * iconv/Versions (__gconv_transliterate): Export for use from
2172 gconv modules.
2173 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2174 (struct __gconv_trans_data, __gconv_trans_fct,
2175 __gconv_trans_context_fct, __gconv_trans_query_fct,
2176 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2177 definitions.
2178 (struct __gconv_step_data): Remove __trans member.
2179 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2180 longer hidden. Remove unused trans_data argument.
2181 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2182 (__gconv_translit_find): Remove declaration.
2183 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2184 prototype.
2185 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2186 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2187 trans_data argument. Add hidden definition.
2188 (__gconv_translit_find): Remove.
2189 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2190 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2191 * iconv/skeleton.c: Remove transliteration initialization.
2192 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2193 __gconv_step_data initialization.
2194 * libio/iofwide.c (__libio_translit_): Remove.
2195 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2196 * wcsmbs/btowc.c (__btowc): Likewise.
2197 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2198 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2199 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2200 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2201 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2202 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2203 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2204 * wcsmbs/wctob.c (wctob): Likewise.
2205
5379aebd
SP
22062014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2207
2208 [BZ #16194]
2209 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2210 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2211 register usage.
2212 * sysdeps/x86/Makefile: Adjust.
2213
8c0ab919
RM
22142014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2215 Roland McGrath <roland@hack.frob.com>
2216
2217 * locale/weight.h: Add include guard.
2218 (findidx): Make static rather than auto; take new parameters
2219 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2220 * locale/weightwc.h: Likewise.
2221 * posix/fnmatch_loop.c
2222 (FCT): Change type of EXTRA from int32_t to wint_t.
2223 Don't include either header inside the function.
2224 Call FINDIDX rather than findidx, and pass new arguments.
2225 #undef FINDIDX at the end of the file.
2226 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2227 FINDIDX before including fnmatch_loop.c for the non-wide version.
2228 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2229 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2230 for the wide version.
2231 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2232 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2233 Pass new arguments to findidx.
2234 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2235 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2236 Don't #include it inside the function. Pass new arguments to findidx.
2237 * posix/regex_internal.h
2238 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2239 (re_string_elem_size_at): Don't #include it inside the function.
2240 Pass new arguments to findidx.
2241 * string/strcoll_l.c: #include WEIGHT_H at top level.
2242 (get_next_seq): Don't #include it inside the function.
2243 Pass new arguments to findidx.
2244 (get_next_seq_nocache): Likewise.
2245 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2246 (STRXFRM): Don't #include it inside the function.
2247 Pass new arguments to findidx.
2248
52ffbdf2
FW
22492014-09-11 Florian Weimer <fweimer@redhat.com>
2250
2251 [BZ #17344]
2252 * malloc/malloc.c (unlink): Turn asserts into a call to
2253 malloc_printerr.
2254
984c0ea9
TL
22552014-09-11 Tim Lammens <tim.lammens@gmail.com>
2256
2257 [BZ #17370]
2258 * libio/wfileops (do_ftell_wide): Free OUT.
2259
3daee107
CM
22602014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2261
2262 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2263
58b930ae
SP
22642014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2265
2266 [BZ #17363]
2267 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2268 group if the current group is empty.
2269
3b473fec
AZ
22702014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2271
71ae8647
AZ
2272 * benchtests/bench-memset.c (test_main): Add more test from size
2273 from 32 to 512 bytes.
2274 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2275 Add POWER8 memset object.
2276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2277 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2278 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2279 implementation.
2280 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2281 Likewise.
2282 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2283 multiarch POWER8 memset optimization.
2284 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2285 POWER8 memset optimization.
2286
3b473fec
AZ
2287 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2288 Remove bzero multiarch objects.
2289 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2290 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2291 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2292 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2293 Remove define.
2294 [__bzero]: Redefine to specific name.
2295 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2296 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2297 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2298 define.
2299 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2300 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2301
e6fb9587
FW
23022014-09-10 Florian Weimer <fweimer@redhat.com>
2303
2304 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2305 warnings into errors.
2306
2307 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2308 __cxa_thread_atexit_impl prototype.
2309
9d3a350b
SE
23102014-09-09 Steve Ellcey <sellcey@mips.com>
2311
2312 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2313 Fix capitalization of error message.
2314
0febba23
SE
23152014-09-09 Steve Ellcey <sellcey@mips.com>
2316
2317 * sysdeps/mips/preconfigure: Modify ABI tests.
2318
645a0e9c
CD
23192014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2320
2321 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2322
d83f0734
CD
23232014-09-07 Roland McGrath <roland@hack.frob.com>
2324 Carlos O'Donell <carlos@systemhalted.org>
2325
2326 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2327 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2328 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2329 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2330 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2331 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2332 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2333 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2334 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2335 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2336 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2337 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2338 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2339 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2340 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2341 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2342 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2343 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2344 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2345 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2346 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2347 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2348 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2349 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2350 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2351 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2352 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2353 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2354 Deconditionalize the code that was previously under [RESET_PID].
2355 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2356 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2357 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2358 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2359 include sysdep.h.
2360
21c83793
AM
23612014-09-08 Allan McRae <allan@archlinux.org>
2362
2363 * version.h (RELEASE): Set to "development".
2364 (VERSION): Set to "2.20.90"
2365
1cd9b65c
AM
23662014-09-07 Allan McRae <allan@archlinux.org
2367
b8079dd0
AM
2368 * version.h (RELEASE): Set to "stable".
2369 (VERSION): Set to "2.20"
2370 * include/features.h (__GLIBC_MINOR__): Set to 20.
2371
c46303ef
AM
2372 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2373 Liebler.
2374
1cd9b65c
AM
2375 * po/ko.po: Update Korean translation from translation project.
2376
8622092d
CM
23772014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2378
2379 [BZ #17354]
2380 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2381 macro for handling signed relocations.
2382
41488498
FW
23832014-09-03 Florian Weimer <fweimer@redhat.com>
2384
2385 [BZ #17325]
2386 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2387 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2388 assert.
2389 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2390 * iconvdata/ibm935.c (BODY): Likewise.
2391 * iconvdata/ibm937.c (BODY): Likewise.
2392 * iconvdata/ibm939.c (BODY): Likewise.
2393 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2394 assert.
2395 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2396 script.
2397 * iconvdata/run-iconv-test.sh: New test loop for checking for
2398 decoder crashers.
2399
a78b712d
KR
24002014-09-02 Khem Raj <raj.khem@gmail.com>
2401
2402 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2403 libm_hidden_ver.
2404
cb08abc6
AM
24052014-09-01 Allan McRae <allan@archlinux.org>
2406
2c31e102
AM
2407 * po/eo.po: Update Esperanto translation from translation project.
2408
cb08abc6
AM
2409 * po/ca.po: Update Catalan translation from translation project.
2410
17a62de1
ST
24112014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2412
2413 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2414 __proc_dostop call.
2415
9570bc53
MW
24162014-08-27 Mark Wielaard <mjw@redhat.com>
2417
2418 [BZ #17319]
2419 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2420 to call set_thread_area instead of hand written asm.
2421 (__NR_set_thread_area): Removed define.
2422 (TLS_FLAG_WRITABLE): Likewise.
2423 (__ASSUME_SET_THREAD_AREA): Remove check.
2424 (TLS_EBX_ARG): Remove define.
2425 (TLS_LOAD_EBX): Likewise.
2426
b0f955c9
ST
24272014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2428
2429 Simplify atomicity of socket creation in bind.
2430
2431 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2432 looking up the name after linking the file.
2433
529bf515
AM
24342014-08-27 Allan McRae <allan@archlinux.org>
2435
2436 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2437
a1a6a401
FW
24382014-08-26 Florian Weimer <fweimer@redhat.com>
2439
2440 [BZ #17187]
2441 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2442 trans_compare, open_translit, __gconv_translit_find):
2443 Remove module loading code.
2444
686ab290
AM
24452014-08-26 Allan McRae <allan@archlinux.org>
2446
e4e7cfd2
AM
2447 * po/vi.po: Update Vietnamese translation from translation project.
2448
6aa09f71
AM
2449 * po/uk.po: Update Ukrainian translation from translation project.
2450
edc0660e
AM
2451 * po/fr.po: Update French translation from translation project.
2452
7eea72ac
AM
2453 * po/ru.po: Update Russian translation from translation project.
2454
93c49eff
AM
2455 * po/pl.po: Update Polish translation from translation project.
2456
46acaf63
AM
2457 * po/cs.po: Update Czech translation from translation project.
2458
a9f5ce98
AM
2459 * po/de.po: Update German translation from translation project.
2460
373f2b78
AM
2461 * po/bg.po: Update Bulgarian translation from translation project.
2462
e7548bd8
AM
2463 * po/sv.po: Update Sweedish translation from translation project.
2464
c526bf4d
AM
2465 * po/nl.po: Update Dutch translation from translation project.
2466
686ab290
AM
2467 * po/es.po: Update Spanish translation from translation project.
2468
eb72478a
SP
24692014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2470
dd763fdb
SP
2471 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2472
318c7a58
SP
2473 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2474 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2475 (CPPFLAGS-iconvconfig): Likewise.
2476 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2477
eb72478a
SP
2478 * include/libc-symbols.h: Remove unnecessary check for
2479 NOT_IN_libc.
2480 * nptl/pthreadP.h: Likewise.
2481 * sysdeps/aarch64/setjmp.S: Likewise.
2482 * sysdeps/alpha/setjmp.S: Likewise.
2483 * sysdeps/arm/sysdep.h: Likewise.
2484 * sysdeps/i386/setjmp.S: Likewise.
2485 * sysdeps/m68k/setjmp.c: Likewise.
2486 * sysdeps/posix/getcwd.c: Likewise.
2487 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2488 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2489 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2490 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2491 * sysdeps/sh/sh3/setjmp.S: Likewise.
2492 * sysdeps/sh/sh4/setjmp.S: Likewise.
2493 * sysdeps/unix/alpha/sysdep.h: Likewise.
2494 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2495 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2496 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2497 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2501 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2502 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2503 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2505 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2506 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2507 * sysdeps/x86_64/setjmp.S: Likewise.
2508
d44a052c
JM
25092014-08-13 Joseph Myers <joseph@codesourcery.com>
2510
2511 [BZ #17263]
2512 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2513 <stdint.h>.
2514 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2515 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2516
508ce3ac
SP
25172014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2518
e44c8b0e
SP
2519 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2520
508ce3ac
SP
2521 [BZ #17262]
2522 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2523 and __x86_64__ when disabling x87 inline functions.
2524
b4acef1f
L
25252014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2526
2527 [BZ #17259]
2528 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2529 asm statement with __cpuid_count.
2530
61b1ef6e
MF
25312014-08-12 Mike Frysinger <vapier@gentoo.org>
2532
2533 * configure.ac: Change __ehdr_start code to dereference the struct.
2534 Run readelf on the output to look for relocations.
2535 * configure: Regenerated.
2536
898c62f4
JM
25372014-08-12 Joseph Myers <joseph@codesourcery.com>
2538
2539 [BZ #17261]
2540 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2541 value to 0.
2542 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2543
9a8a5720
RM
25442014-08-12 Roland McGrath <roland@hack.frob.com>
2545
2546 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2547
4e75751c
BO
25482014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2549
2550 [BZ #16892]
2551 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2552 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2553
bb2ce416
SA
25542014-08-12 Sean Anderson <seanga2@gmail.com>
2555
2556 * malloc/malloc.c: Fix typo in comment.
2557
7950a4ee
AM
25582014-08-09 Allan McRae <allan@archlinux.org>
2559
2560 * Regenerate libc.po.
2561
f469c49f
MF
25622014-08-08 Mike Frysinger <vapier@gentoo.org>
2563
2564 * intl/tst-gettext2.sh: Check every lang file for creation.
2565
656b84c2
WD
25662014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2567
2568 * sysdeps/aarch64/fpu/math_private.h
2569 (libc_feholdsetround_noex_aarch64_ctx): New function.
2570
538e9e45
W
25712014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2572
2573 * sysdeps/arm/armv6/strcpy.S (strcpy):
2574 Fix performance issue in misaligned cases.
2575
d4795e4a
AZ
25762014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2577
2578 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2579 Move definition from termios.h.
2580 (struct termio): Likewise.
2581 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2582 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2583 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2584 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2585 Likewise.
2586 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2587 Move definition to ioctl-types.h
2588 (struct termio): Likewise.
2589 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2590 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2591 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2592 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2593 Likewise.
2594
64accb62
RH
25952014-08-05 Richard Henderson <rth@redhat.com>
2596
27bb6dc0
RH
2597 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2598 exceptions.
2599 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2600 Add fraiseexcpt.
2601 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2602 Use __feraiseexcept.
2603 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2604 Protect libm symbols with IS_IN_libm.
2605
64accb62
RH
2606 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2607
e5292691
BO
26082014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2609
2610 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2611
5b4bd2d4
WN
26122014-08-04 Will Newton <will.newton@linaro.org>
2613
2614 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2615 file.
2616
fcadaeef
MF
26172014-08-04 Mike Frysinger <vapier@gentoo.org>
2618
2619 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2620 variants for each function.
2621
43a94c64
RM
26222014-08-04 Roland McGrath <roland@hack.frob.com>
2623
2624 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2625 appended ...
2626 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2627 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2628 appended ...
2629 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2630 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2631 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2632 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2633 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2634 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2635 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2636 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2637 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2638 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2639 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2641 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2643 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2644 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2645 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2646 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2647 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2649 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2651 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2653 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2655 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2659 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2660 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2661 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2662 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2663 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2665 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2666 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2667 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2668 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2669 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2670 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2671 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2672 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2673 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2674 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2675 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2676 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2677 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2678 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2679 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2680 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2681 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2682 Update #include.
2683 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2684 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2685
8f3c1fa4
RM
26862014-08-04 Roland McGrath <roland@hack.frob.com>
2687
2688 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2689 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2690 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2691 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2692 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2693 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2694
ca08746f
RM
26952014-08-04 Roland McGrath <roland@hack.frob.com>
2696
2697 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2698 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2699 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2700 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2701
9c925ff9
RM
27022014-08-04 Roland McGrath <roland@hack.frob.com>
2703
2704 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2705 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2706 (__libc_vfork): Define function under this name.
2707 (__vfork): Define as an alias.
2708 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2709 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2710
e641054c
RM
27112014-08-04 Roland McGrath <roland@hack.frob.com>
2712
2713 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2714 that was previously under [RESET_PID].
2715 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2716
dacdc867
AS
27172014-08-04 Andreas Schwab <schwab@suse.de>
2718
2719 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2720
41f725ff
MF
27212014-08-03 Mike Frysinger <vapier@gentoo.org>
2722
2723 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2724 (main): Likewise.
2725
277cfb31
RM
27262014-08-01 Roland McGrath <roland@hack.frob.com>
2727
2728 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2729
4896f049
RH
27302014-08-01 Richard Henderon <rth@redhat.com>
2731
2732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2733 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2734 typo in exact zero test.
2735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2736 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2737 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2738
6f64e7d7
RM
27392014-08-01 Roland McGrath <roland@hack.frob.com>
2740
2741 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2742 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2743 * sysdeps/arm/sysdep.h: ... here.
2744 [!__ASSEMBLER__]: Include <stdint.h>.
2745
3f3dd810
SP
27462014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2747
a476ac4b
SP
2748 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2749 (HAVE_WCTYPE_H): Likewise.
2750 (HAVE_ISWCTYPE): Likewise.
2751 (ENABLE_NLS): Likewise.
2752 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2753 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2754
78dd658a
SP
2755 * posix/regex_internal.c: Check if DEBUG is defined and is
2756 set.
2757
3f3dd810
SP
2758 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2759 (HAVE_MBSRTOWCS): Likewise.
2760 * posix/fnmatch.c: Include string.h unconditionally.
2761
95ee7fb1
SL
27622014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2763
2764 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2765 reversal.
2766
23fe486b
RM
27672014-07-31 Roland McGrath <roland@hack.frob.com>
2768
f61a113f
RM
2769 * sysdeps/generic/safe-fatal.h: New file.
2770 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2771 * nptl/forward.c: Include it.
2772 (__pthread_unwind): Use __safe_fatal as default action, rather
2773 than a bogus use of INTERNAL_SYSCALL that could never work.
2774
9fe7e787
RM
2775 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2776 * configure.ac (libc_cv_builtin_trap): New test.
2777 * configure: Regenerated.
2778 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2779 (ABORT_INSTRUCTION): Define using __builtin_trap.
2780
23fe486b
RM
2781 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2782 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2783 * sysdeps/nptl/nptl-signals.h: New file.
2784 * nptl/pthreadP.h: Include <nptl-signals.h>.
2785
f349489e
SL
27862014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2787
2788 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2789 (ONE_DIRECTION): Define.
2790 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2791 (ONE_DIRECTION): Define.
2792 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2793 (ONE_DIRECTION): Define.
2794
2f438e20
SL
27952014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2796
2797 * sysdeps/s390/Makefile: Delete file.
2798 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2799 * sysdeps/s390/__longjmp.c: Delete file.
2800 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2801 Remove fields __flags and __reserved.
2802 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2803 and add versioning.
2804 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2805 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2806 * sysdeps/s390/rtld-setjmp.S: Likewise.
2807 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2808 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2809 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2810 * sysdeps/s390/s390-32/setjmp.S: ... here.
2811 Add versioning.
2812 (__sigsetjmp): Remove setting __flags field.
2813 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2814 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2815 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2816 * sysdeps/s390/s390-64/setjmp.S: ... here.
2817 Add versioning.
2818 (__sigsetjmp): Remove setting __flags field.
2819 * sysdeps/s390/setjmp.S: Delete file.
2820 * sysdeps/s390/sigjmp.c: Likewise.
2821 * sysdeps/s390/v1-longjmp.c: Likewise.
2822 * sysdeps/s390/v1-setjmp.h: Likewise.
2823 * sysdeps/s390/v1-sigjmp.c: Likewise.
2824 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2825 Remove v1-longjmp_chk.
2826 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2827 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2828 Include debug/longjmp_chk.c and add versioning.
2829 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2830 Include nptl/pt-longjmp.c and add versioning.
2831 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2832 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2833 Include __longjmp.c.
2834 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2835 Move to ...
2836 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2837 (__getcontext): Remove setting __flags field.
2838 Add versioning.
2839 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2840 Don't restore upper high grps.
2841 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2842 Likewise.
2843 (__swapcontext): Remove setting uc_flags field.
2844 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2845 Delete file.
2846 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2847 Include __longjmp.c.
2848 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2849 Move to ...
2850 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2851 (__getcontext): Remove setting __flags field.
2852 Add versioning.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2854 (__swapcontext): Remove setting uc_flags field.
2855 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2856 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2857 Remove fields uc_high_gprs and __reserved.
2858 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2859 New file with reverted content.
2860 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2861 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2862 Regenerated.
2863 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2864 Regenerated.
2865
6c9578a2
AS
28662014-07-31 Andreas Schwab <schwab@suse.de>
2867
2868 * config.h.in (HAVE_IFUNC): Define to 0.
2869 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2870 definedness.
2871
05f3633d
LM
28722014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2873
2874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2875 memmove-avx-unaligned, memcpy-avx-unaligned and
2876 mempcpy-avx-unaligned.
2877 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2878 Add tests for AVX memcpy functions.
2879 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2880 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2881 memcpy_chk.
2882 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2883 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2884 memmove_chk.
2885 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2886 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2887 mempcpy_chk.
2888 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2889 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2890 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2891
a53fbd8e
AZ
28922013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2893
2894 [BZ #17213]
2895 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2896 powerpc64le.
2897
0961f7e1
JL
28982014-07-29 Jeff Layton <jlayton@poochiereds.net>
2899
2900 [BZ #16839]
2901 * manual/llio.texi: Add section about open file description locks.
2902 * manual/examples/ofdlocks.c: Example of open file description
2903 lock usage.
2904 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2905 F_OFD_SETLK, and F_OFD_SETLKW.
2906
cc5fb300
AM
29072014-07-23 Allan McRae <allan@archlinux.org>
2908
2909 * po/es.po: Update Spanish translation from translation project.
2910
23329dca
AS
29112014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2912
2913 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2914
9c82da17
MR
29152014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2916
2917 [BZ #17078]
2918 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2919 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2920 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2921
29c4f53e
JM
29222014-07-17 Joseph Myers <joseph@codesourcery.com>
2923
831b9896
JM
2924 [BZ #17088]
2925 * math/fesetenv.c (__fesetenv)
2926 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2927 * math/feupdateenv.c (__feupdateenv)
2928 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2929
b21c2d50
JM
2930 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2931 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2932 (__ASSUME_SOCKETCALL): Do not define.
2933
067764ef
JM
2934 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2935 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2936 (__ASSUME_SOCKETCALL): Do not define.
2937 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2938 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2939 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2940 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2941 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2942 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2943 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2944 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2945
642530c1
JM
2946 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2947 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2948 (__ASSUME_SOCKETCALL): Do not define.
2949 (__ASSUME_IPC64): Define unconditionally.
2950 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2951 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2952 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2953 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2954 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2955 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2956 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2957 Likewise.
2958
03f77315
JM
2959 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2960 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2961 (__ASSUME_SOCKETCALL): Do not define.
2962 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2963 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2964 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2965 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2966 (__ASSUME_REQUEUE_PI): Define unconditionally.
2967 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2968 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2969 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2970 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2971 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2972 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2973
083b1f7c
JM
2974 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2975 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2976 (__ASSUME_SOCKETCALL): Do not define.
2977 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2978 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2979 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2980 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2981 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2982 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2983
5be44ea6
JM
2984 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2985 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2986 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2987 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2988 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2989 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2990 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2991 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2992 (__ASSUME_GETCPU_SYSCALL): Likewise.
2993
d95ffd4c
JM
2994 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2995 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2996 cases for individual architectures.
2997 * sysdeps/gnu/configure: Regenerated.
2998 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2999 LIBC_SLIBDIR_RTLDDIR.
3000 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3001 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3002 LIBC_SLIBDIR_RTLDDIR.
3003 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3005 LIBC_SLIBDIR_RTLDDIR.
3006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3007 Regenerated.
3008 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3009 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3010 file.
3011 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3012 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3013 file.
3014 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3015 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3016 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3017 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3018
29c4f53e
JM
3019 * sysdeps/aarch64/shlib-versions: Move to ...
3020 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3021 * sysdeps/alpha/shlib-versions: Move to ...
3022 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3023 * sysdeps/arm/shlib-versions: Move to ...
3024 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3025 * sysdeps/hppa/shlib-versions: Move all contents except for
3026 libgcc_s entry to ...
3027 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3028 entry from ...
3029 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3030 * sysdeps/ia64/shlib-versions: Move to ...
3031 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3032 entry from ...
3033 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3034 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3035 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3036 * sysdeps/microblaze/shlib-versions: Move to ...
3037 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3038 * sysdeps/mips/shlib-versions: Move to ...
3039 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3040 entry from ...
3041 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3042 * sysdeps/tile/shlib-versions: Move to ...
3043 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3044 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3045 from ...
3046 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3047 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3048 entry from ...
3049 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3050
32bead5b
WN
30512014-07-17 Will Newton <will.newton@linaro.org>
3052
57977c4b
WN
3053 * sysdeps/arm/bits/atomic.h
3054 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3055 (__arch_compare_and_exchange_bool_16_int): Likewise.
3056 (__arch_compare_and_exchange_bool_64_int): Likewise.
3057
32bead5b
WN
3058 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3059 into an #else block.
3060
37fccd41
RM
30612014-07-16 Roland McGrath <roland@hack.frob.com>
3062
3063 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3064 just Linux configurations. Test empirically that the compiler sets
3065 __ARM_EABI__, rather than using the tuple to decide.
3066 * sysdeps/arm/preconfigure: Regenerated.
3067 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3068 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3069 contents appended ...
3070 * sysdeps/arm/configure.ac: ... here.
3071 * sysdeps/arm/configure: Regenerated.
3072
b365f3ec
RM
30732014-07-15 Roland McGrath <roland@hack.frob.com>
3074
8badf496
RM
3075 * nptl/pthread_kill.c: New file.
3076 * nptl/pthread_sigmask.c: New file.
3077 * nptl/pthread_sigqueue.c: New file.
3078
3df6f22e
RM
3079 * sysdeps/nptl/lowlevellock.h: New file.
3080 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3081 * sysdeps/nptl/lowlevellock-futex.h: New file.
3082
b365f3ec
RM
3083 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3084 Remove dead declarations.
3085
f2fef657
L
30862014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3087
3088 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3089 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3090 config-cflags-avx2.
3091 * sysdeps/x86_64/configure.ac: Likewise.
3092 * sysdeps/i386/configure: Regenerated.
3093 * sysdeps/x86_64/configure: Likewise.
3094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3095 memset-avx2 only if config-cflags-avx2 is yes.
3096 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3097 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3098 defined.
3099 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3100 only if HAVE_AVX2_SUPPORT is defined.
3101 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3102
f6c44d47
AM
31032014-07-14 Alan Modra <amodra@gmail.com>
3104
3105 [BZ #17153]
3106 * elf/elf.h (DT_PPC64_NUM): Correct value.
3107 * NEWS: Add to fixed bug list.
3108
7ee03f00
JM
31092014-07-13 Jim Meyering <meyering@fb.com>
3110
3111 [BZ 17150]
3112 regex: don't deref NULL upon heap allocation failure
3113 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3114 failure in one more place.
3115 To trigger the segfault, configure grep -with-included-regex,
3116 build it, and run these commands:
3117 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3118
9d39d517
AS
31192014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3120
3121 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3122
a75b89b7
RH
31232014-07-11 Richard Henderson <rth@redhat.com>
3124
3125 * sysdeps/aarch64/libm-test-ulps: Update.
3126
771eb141
FW
31272014-07-10 Florian Weimer <fweimer@redhat.com>
3128
3129 [BZ #17135]
3130 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3131 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3132 (__nptl_setxid): Initialize error member. Call
3133 __nptl_setxid_error.
3134 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3135 * nptl/descr.h (struct xid_command): Add error member.
3136 * nptl/tst-setuid3.c: New file.
3137 * nptl/Makefile (tests): Add it.
3138
bc1da176
AZ
31392014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3140
3141 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3142 New define.
3143 (__lll_trylock): Use __lll_base_trylock.
3144 (__lll_cond_trylock): Likewise.
3145
887865fc
RM
31462014-07-10 Roland McGrath <roland@hack.frob.com>
3147
c0c6bac9
RM
3148 * nptl/pthread_create.c (start_thread): Use atomic_or and
3149 lll_futex_wake directly rather than lll_robust_dead.
3150 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3151 (lll_robust_dead): Macro removed.
6a42be57 3152 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3153 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3154 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3155 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3156 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3157 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3158 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3159 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3160 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3161 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3162 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3163 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3165 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3166 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3167
887865fc
RM
3168 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3169 Use atomic_compare_and_exchange_val_acq directly rather than
3170 lll_robust_trylock.
3171 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3172 (__lll_robust_trylock, lll_robust_trylock): Removed.
3173 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3174 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3175 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3176 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3177 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3178 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3179 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3180 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3182 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3183 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3184 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3185 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3186 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3187
58536726
FW
31882014-07-02 Florian Weimer <fweimer@redhat.com>
3189
3190 * manual/locale.texi (Locale Names): New section documenting
3191 locale name syntax. Adjust menu and node chaining accordingly.
3192 (Choosing Locale): Reference Locale Names, Locale Categories.
3193 Mention setting LC_ALL=C. Reflect that name syntax is now
3194 documented.
3195 (Locale Categories): New section title. Reference Locale Names.
3196 LC_ALL is an environment variable, but not a category.
3197 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3198 description, now in Locale Name. Reference that section. Locale
3199 name syntax is now documented.
3200
4e8f95a0
FW
32012014-07-02 Florian Weimer <fweimer@redhat.com>
3202
3203 [BZ #17137]
3204 * locale/findlocale.c (name_present, valid_locale_name): New
3205 functions.
3206 (_nl_find_locale): Use the loc_name variable to store name
3207 candidates. Call name_present and valid_locale_name to check and
3208 validate locale names. Return an error if the locale is invalid.
3209
d1836456
FW
32102014-07-02 Florian Weimer <fweimer@redhat.com>
3211
3212 * locale/setlocale.c (setlocale): Use strdup for allocating
3213 composite name copy.
3214
d69b7f5a
SP
32152014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3216
888c679b
SP
3217 Sync up with gnulib.
3218 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3219 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3220 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3221 and _GL_ARG_NONNULL.
3222 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3223 [!_LIBC]: Include code for Windows and Cygwin.
3224 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3225 Include prototype for int strerror_r.
3226 [!_LIBC] (is_open): New function.
3227 (flush_stdout): New function.
3228 (print_errno_message): Use it.
3229 (error): Likewise.
3230 (error_at_line): Likewise.
3231 (error_tail) Add function attribute macros. Use
3232 __builtin_expect.
3233
180e0e4b
SP
3234 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3235
d22f1fe2
SP
3236 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3237
12f2254b
SP
3238 * io/ftw.c: Include sys/param.h unconditionally.
3239
c3c7c360
SP
3240 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3241
d62aa75a
SP
3242 [BZ #17125]
3243 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3244 libc_freeres_ptr.
3245 (freecache): New function to free CACHE on exit.
3246
d69b7f5a
SP
3247 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3248 initialization.
3249
5efe06a1
DM
32502014-07-09 David S. Miller <davem@davemloft.net>
3251
3252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3253
7000d82e
DM
3254 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3255 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3256 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3257 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3258 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3259 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3260 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3261 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3262 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3263 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3264 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3265 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3266 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3267
c213442d
AS
32682014-07-09 Andreas Schwab <schwab@suse.de>
3269
4a2552c3
AS
3270 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3271 output.
3272 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3273 (do_test): Likewise.
3274
c213442d
AS
3275 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3276
82374e65
WN
32772014-07-09 Will Newton <will.newton@linaro.org>
3278
3279 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3280 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3281 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3282 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3283 * sysdeps/hppa/start.S (_start): Likewise.
3284
6680738a
SP
32852014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3286
6ee3eab4
SP
3287 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3288
6680738a
SP
3289 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3290 defined.
3291
80b5c505
SP
32922014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3293
e35c53e3
SP
3294 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3295 after checking that it is non-NULL.
3296
80b5c505
SP
3297 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3298
91f4b564
AZ
32992014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3300
27b75f56
AZ
3301 * sysdeps/powerpc/memmove.c: Remove file.
3302 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3303 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3304 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3305 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3306 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3307 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3308 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3309 string memmove instead of removed powerpc one.
3310
e7f95bb5
AZ
3311 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3312 [weak_alias]: Fix compiler warning due trailing data.
3313 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3314 [weak_alias]: Likewise.
3315 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3316 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3317
91f4b564
AZ
3318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3319 (__libc_ifunc_impl_list): Add memmove functions.
3320
7c33f1e5
SP
33212014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3324 Remove code.
3325 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3326 Likewise
3327 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3328 Likewise
3329 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3330 Likewise
3331 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3332 Likewise
3333 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3334 Likewise
3335 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3336 Likewise
3337 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3338 Likewise
3339 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3340 Likewise
3341 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3342 Likewise
3343 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3344 Likewise
3345 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3346 Likewise
3347 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3348 Likewise
3349 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3350 Likewise
3351 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3352 Likewise
3353 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3354 Likewise
3355 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3356 Likewise
3357
3f17b03b
AZ
33582014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3359
87868c24
AZ
3360 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3361 to avoid alignment traps in non-cacheable memory.
3362 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3363
07aedd78
AZ
3364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3365 multiarch objects.
3366 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3367 file: multiarch power7 memmove.
3368 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3369 multiarch default memmove.
3370 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3371 multiarch memove for powerpc32/power4.
3372
17762f66
AZ
3373 * string/bcopy.c: Use full path to include memmove.c.
3374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3375 multiarch objects.
3376 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3377 bcopy for powerpc64.
3378 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3379 bcopy for powerpc64.
3380 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3381 and memmove implementations.
3382 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3383 optimized multiarch memmove for POWER7/powerpc64.
3384 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3385 default multiarch memmove for powerpc64.
3386 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3387 multiarch for powerpc64.
3388 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3389 for POWER7/powerpc64.
3390 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3391 memmove for POWER7/powerpc64.
3392
d6f68bbe
AZ
3393 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3394 glibc default one.
3395
3f17b03b
AZ
3396 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3397 __ELF_NATIVE_CLASS equal to 64.
3398
08192659
RM
33992014-07-07 Roland McGrath <roland@hack.frob.com>
3400
f4c4021b
RM
3401 * sysdeps/nptl/lowlevellock.h: File removed.
3402
f083450f
RM
3403 * NEWS: NPTL is no longer an add-on!
3404 * nptl/internaltypes.h: Moved ...
3405 * sysdeps/nptl/internaltypes.h: ... here.
3406 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3407 * sysdeps/nptl/fork.c: Likewise.
3408 * sysdeps/nptl/gai_misc.h: Likewise.
3409 * sysdeps/nptl/librt-cancellation.c: Likewise.
3410 * sysdeps/nptl/jmp-unwind.c: Likewise.
3411 * sysdeps/nptl/setxid.h: Likewise.
3412 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3413 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3414 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3415 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3416 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3417 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3418 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3419 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3420 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3421 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3422 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3423 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3424 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3425 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3426 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3427 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3428 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3429 * nptl/Makeconfig: Moved ...
3430 * sysdeps/nptl/Makeconfig: ... here.
3431 * nptl/configure: File removed.
3432 * nptl/ANNOUNCE: File removed.
3433 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3434 * sysdeps/unix/sysv/linux/configure: Regenerated.
3435
08192659
RM
3436 * nptl/Makefile (routines): Add libc_pthread_init,
3437 libc_multiple_threads, register-atfork and unregister-atfork.
3438 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3439 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3440 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3441 pthread-pi-defines.sym, structsem.sym.
3442 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3443 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3444 [$(subdir) = nptl] (tests): Add tst-setgetname.
3445 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3446 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3447 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3448 [!LIBC_SIGACTION]: Remove aliases.
3449 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3450 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3451 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3452 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3453 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3454 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3457 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3458 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3459 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3460 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3461 __libc_allocate_rtsig_private.
3462 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3463 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3464 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3465 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3466 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3467 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3468 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3469 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3470 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3471 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3472 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3473 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3474 * nptl/internaltypes.h: ... here.
3475 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3476 * sysdeps/nptl/jmp-unwind.c: ... here.
3477 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3478 * nptl/libc-lowlevellock.c: ... here.
3479 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3480 * nptl/libc_multiple_threads.c: ... here.
3481 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3482 * nptl/libc_pthread_init.c: ... here.
3483 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3484 * nptl/lowlevelbarrier.sym: ... here.
3485 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3486 * nptl/lowlevelcond.sym: ... here.
3487 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3488 * nptl/lowlevellock.c: ... here.
3489 * nptl/lowlevellock.h: Moved ...
3490 * sysdeps/nptl/lowlevellock.h: ... here.
3491 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3492 * nptl/lowlevelrobustlock.c: ... here.
3493 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3494 * nptl/lowlevelrobustlock.sym: ... here.
3495 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3496 * nptl/lowlevelrwlock.sym: ... here.
3497 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3498 * nptl/pt-fork.c: ... here.
3499 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3500 * nptl/pthread-pi-defines.sym: ... here.
3501 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3502 * nptl/pthread_attr_getaffinity.c: ... here.
3503 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3504 * nptl/pthread_attr_setaffinity.c: ... here.
3505 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3506 * nptl/pthread_mutex_cond_lock.c: ... here.
3507 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3508 Update #include.
3509 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3510 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3511 * nptl/pthread_once.c: ... here, replacing old file.
3512 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3513 * nptl/pthread_yield.c: ... here.
3514 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3515 * nptl/register-atfork.c: ... here.
3516 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3517 * nptl/sem_post.c: ... here.
3518 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3519 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3520 * nptl/sem_timedwait.c: ... here.
3521 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3522 * nptl/sem_trywait.c: ... here.
3523 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3524 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3525 * nptl/sem_wait.c: ... here.
3526 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3527 * nptl/structsem.sym: ... here.
3528 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3529 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3530 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3531 * nptl/unregister-atfork.c: ... here.
3532 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3533 * nptl/unwindbuf.sym: ... here.
3534 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3535 * sysdeps/nptl/fork.c: ... here.
3536 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3537 * sysdeps/nptl/fork.h: ... here.
3538 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3539 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3540 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3541 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3542 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3543 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3544 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3545 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3546 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3548 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3549 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3550 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3551 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3552 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3554 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3555 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3556 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3557 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3558 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3559 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3560 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3561 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3562 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3563 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3564 * sysdeps/unix/sysv/linux/raise.c: ... here.
3565 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3566 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3567 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3568 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3569 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3570 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3571 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3572 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3573 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3574 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3575 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3576 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3577 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3578 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3579 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3580
96baf6ff
SP
35812014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3582
3583 * sysdeps/generic/memcopy.h: Add comment for
3584 MEMCPY_OK_FOR_FWD_MEMMOVE.
3585
6b7b14b2
WN
35862014-07-04 Will Newton <will.newton@linaro.org>
3587
1570a72b
WN
3588 * string/memchr.c: Merge from gnulib.
3589 [_LIBC]: Remove conditionals.
3590 (__ptr_t): Remove define.
3591 (LONG_MAX_32_BITS): Likewise.
3592 (LONG_MAX): Likewise.
3593 (MEMCHR): Use ANSI prototype and optimize algorithm.
3594
6b7b14b2
WN
3595 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3596
38851324
SP
35972014-07-03 Roland McGrath <roland@hack.frob.com>
3598
3d9eb57c
RM
3599 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3600 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3601
78b984ae
RM
3602 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3603 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3604 in a bare environment with no <stdlib.h> installed.
3605 * sysdeps/nptl/configure: Regenerated.
3606
2d5976a5
RM
3607 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3608
c1f5acd4
RM
3609 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3610 AC_EGREP_CPP for kernel header checks, so they only succeed if
3611 including <linux/version.h> actually works right.
3612 * sysdeps/unix/sysv/linux/configure: Regenerated.
3613
4d614fe5
RM
3614 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3615 value so it's not diagnosed as unused.
3616
38851324
SP
3617 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3618 thing) with "ifeq ($(subdir),rt)".
3619
b3ec00e5
RH
36202014-07-03 Richard Henderson <rth@redhat.com>
3621
69862e25
RH
3622 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3623 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3624 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3625
d5e16ade
RH
3626 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3627 (math_force_eval): New.
3628
ca7b945c
RH
3629 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3630 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3631
cd1175a3
RH
3632 * sysdeps/alpha/fpu/s_round.c: Remove file.
3633 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3634
b3ec00e5
RH
3635 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3636 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3637 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3638 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3639 (_dl_start, print_statistics): Likewise.
3640 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3641 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3642
3643 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3644 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3645 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3646 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3647 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3648 (HP_SMALL_TIMING_AVAIL): Define.
3649 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3650 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3651 (HP_SMALL_TIMING_AVAIL): Define.
3652 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3653 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3654
3655 * sysdeps/aarch64/hp-timing.h: New file.
3656
3657 * sysdeps/generic/hp-timing.h: Remove dead comment.
3658 * sysdeps/generic/hp-timing-common.h: New file.
3659 * sysdeps/alpha/hp-timing.h: Include it.
3660 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3661 * sysdeps/i386/i686/hp-timing.h: Likewise.
3662 * sysdeps/ia64/hp-timing.h: Likewise.
3663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3664 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3666 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3667 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3668 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3669 (hp_timing_t): New.
3670
3671 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3672 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3673 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3674 * elf/rtld.c (_dl_start_final): Likewise.
3675 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3676 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3677 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3678 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3679 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3680 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3681 (HP_TIMING_DIFF_INIT): Remove.
3682 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3683 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3684 (HP_TIMING_DIFF_INIT): Remove.
3685 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3686 * sysdeps/i386/i686/hp-timing.c: Remove file.
3687 * sysdeps/x86_64/hp-timing.c: Remove file.
3688 * sysdeps/ia64/hp-timing.c: Remove file.
3689 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3690 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3691 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3692 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3693
3694 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3695 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3696 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3697 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3699 (HP_TIMING_ACCUM): Remove.
3700 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3701 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3702 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3703
3704 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3705 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3706 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3707 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3709 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3711 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3712
3713 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3714
225f410f
MR
37152014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3716
3717 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3718
3247f285
SP
37192014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3720
3721 Sync up with gettext.
3722 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3723 [_MSC_VER]: Include malloc.h
3724 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3725 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3726 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3727 TEMP_FAILURE_RETRY. Cast return of alloca.
3728 [!_LIBC] Call gl_rwlock_init.
3729 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3730
d12704c7
SP
37312014-07-02 Roland McGrath <roland@hack.frob.com>
3732
3733 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3734 before checking its value.
3735
99f8dc92
SP
37362014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
05fdac77
SP
3738 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3739
99f8dc92
SP
3740 * debug/memcpy_chk.c: Don't include pagecopy.h.
3741 * debug/mempcpy_chk.c: Likewise.
3742 * string/memcpy.c: Likewise.
3743 * string/memmove.c: Likewise.
3744 * sysdeps/powerpc/memmove.c: Likewise.
3745 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3746 definition of PAGE_COPY_FWD_MAYBE here...
3747 * sysdeps/generic/pagecopy.h: ... from here.
3748 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3749
bc8ea385
VR
37502014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3751 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3752
3753 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3754 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3755 optimizations.
3756 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3757 (__libc_ifunc_impl_list): Likewise.
3758 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3759 multiarch strcat for PPC64.
3760 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3761 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3762
fe5f34e4
RM
37632014-07-02 Roland McGrath <roland@hack.frob.com>
3764
3765 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3766
256aa665
SP
37672014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3768
d4eb8195
SP
3769 * intl/loadmsgcat.c: Remove declaration of
3770 get_sysdep_segment_value.
3771 (get_sysdep_segment_value): Use ISO C style.
3772 (_nl_load_domain): Use ISO C style. Get rid of redundant
3773 semicolon. Fix typo and formatting in comment.
3774 (_nl_unload_domain): Use ISO C style.
3775
256aa665
SP
3776 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3777
b100f9aa
WN
37782014-07-02 Will Newton <will.newton@linaro.org>
3779
3780 * malloc/obstack.c: Merge from gnulib master.
3781 [HAVE_CONFIG_H]: Remove conditional code.
3782 [!_LIBC]: Include config.h.
3783 [!ELIDE_CODE]: Don't include inttypes.h, include
3784 stdint.h unconditionally.
3785 (print_and_abort): Mark as _Noreturn.
3786 (_obstack_allocated_p): Mark as __attribute_pure__.
3787 (obstack_free): Rename to __obstack_free.
3788 [!__attribute__]: Remove conditional code.
3789 * malloc/obstack.h: Merge from gnulib master.
3790 [__cplusplus]: Move conditional down.
3791 [!__attribute_pure__]: Define __attribute_pure__ here
3792 if it is not already defined.
3793 (_obstack_memory_used): Mark as __attribute_pure__.
3794 [!__obstack_free]: Define as obstack_free.
3795 [__GNUC__]: Remove check for ancient NeXT gcc.
3796
c4c41244
PE
37972014-07-02 Will Newton <will.newton@linaro.org>
3798 Paul Eggert <eggert@cs.ucla.edu>
3799
3800 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3801
e1e041c4
SP
38022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3803
3804 * resolv/gethnamaddr.c: Add comment warning that the file is
3805 not maintained.
3806
ccf431ff
CD
38072014-07-01 Carlos O'Donell <carlos@redhat.com>
3808
d34570a6
CD
3809 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3810 entries.
3811
ccf431ff
CD
3812 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3813 entry for aio_cancel and aio_cancel64.
3814 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3815 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3816 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3817 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3818 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3819 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3820 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3821 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3822 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3823 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3824 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3825 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3826 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3827
ca06321d
RM
38282014-07-01 Roland McGrath <roland@hack.frob.com>
3829
3830 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3831 * nptl/pthread_mutex_lock.c: Likewise.
3832 * nptl/pthread_mutex_timedlock.c: Likewise.
3833 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3834
a1ac3184
RH
38352014-07-01 Richard henderson <rth@redhat.com>
3836
631021e0
RH
3837 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3838 (__isnan, __isnanl): Remove.
3839 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3840
a1ac3184
RH
3841 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3842
0c1d731f
SL
38432014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3844
3845 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3846
76985d3e
SP
38472014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3848
3849 * resolv/nss_dns/dns-host.c (getanswer_r)
3850 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3851
b0cb3096
JM
38522014-07-01 Joseph Myers <joseph@codesourcery.com>
3853
3854 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3855 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3856 undefine.
3857 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3858 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3859
4d76cb39
RM
38602014-07-01 Roland McGrath <roland@hack.frob.com>
3861
3862 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3863 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3864
3865 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3866 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3867
3868 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3869 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3870 ... here.
3871 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3872 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3873
3874 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3875 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3876 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3877 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3878
3879 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3880 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3881 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3882 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3884 Moved ...
3885 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3886 ... here.
3887 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3888 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3892 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3893 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3894 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3895 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3896 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3897 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3898 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3899 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3900 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3901 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3902 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3903 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3904 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3905 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3906 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3907 ... here.
3908 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3911 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3912 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3913 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3914 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3915 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3916
0cdcad17
DH
39172014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3918
3919 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3920 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3921 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3922 Add sysdep.
3923
9b71d0e3
AZ
39242014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3925
3926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3927
665390c2
JM
39282014-06-30 Joseph Myers <joseph@codesourcery.com>
3929
ae05a9d7
JM
3930 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3931 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3932
a7672a2f
JM
3933 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3934
665390c2
JM
3935 * sysdeps/arm/libm-test-ulps: Regenerated.
3936
d7a05d07
MR
39372014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3938 Roland McGrath <roland@hack.frob.com>
3939
3940 * test-skeleton.c (signal_handler): Kill the whole process group
3941 before killing the child individually.
3942 (main): Report any failure on `setpgid'.
3943
46f1d8a6
RM
39442014-06-30 Roland McGrath <roland@hack.frob.com>
3945
3946 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3947 from _TLS_H to _ARM_NPTL_TLS_H.
3948 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3949 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3950
9c37ec0b
JM
39512014-06-30 Joseph Myers <joseph@codesourcery.com>
3952
ce9c5b3e
JM
3953 [BZ #16539]
3954 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3955 (__expm1l): Return argument unchanged when small but not
3956 subnormal.
3957
3a6e9887
JM
3958 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3959 include macro name.
3960 (_FP_UNPACK_RAW_1_P): Likewise.
3961 (_FP_PACK_RAW_1): Likewise.
3962 (_FP_PACK_RAW_1_P): Likewise.
3963 (_FP_MUL_MEAT_1_wide): Likewise.
3964 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3965 (_FP_MUL_MEAT_1_hard): Likewise.
3966 (_FP_DIV_MEAT_1_imm): Likewise.
3967 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3968 (_FP_DIV_MEAT_1_udiv): Likewise.
3969 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3970 (_FP_UNPACK_RAW_2): Likewise.
3971 (_FP_UNPACK_RAW_2_P): Likewise.
3972 (_FP_PACK_RAW_2): Likewise.
3973 (_FP_PACK_RAW_2_P): Likewise.
3974 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3975 (_FP_MUL_MEAT_2_wide): Likewise.
3976 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3977 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3978 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3979 (_FP_MUL_MEAT_2_gmp): Likewise.
3980 (_FP_DIV_MEAT_2_udiv): Likewise.
3981 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3982 (_FP_FRAC_SRL_4): Likewise.
3983 (_FP_FRAC_SRST_4): Likewise.
3984 (_FP_FRAC_SRS_4): Likewise.
3985 (_FP_UNPACK_RAW_4): Likewise.
3986 (_FP_UNPACK_RAW_4_P): Likewise.
3987 (_FP_PACK_RAW_4): Likewise.
3988 (_FP_PACK_RAW_4_P): Likewise.
3989 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3990 (_FP_MUL_MEAT_4_wide): Likewise.
3991 (_FP_MUL_MEAT_4_gmp): Likewise.
3992 (umul_ppppmnnn): Likewise.
3993 (_FP_DIV_MEAT_4_udiv): Likewise.
3994 (__FP_FRAC_ADD_4): Likewise.
3995 (__FP_FRAC_SUB_3): Likewise.
3996 (__FP_FRAC_SUB_4): Likewise.
3997 (__FP_FRAC_DEC_3): Likewise.
3998 (__FP_FRAC_DEC_4): Likewise.
3999 (__FP_FRAC_ADDI_4): Likewise.
4000 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4001 (_FP_FRAC_SRL_8): Likewise.
4002 (_FP_FRAC_SRS_8): Likewise.
4003
9c37ec0b
JM
4004 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4005 include macro name.
4006 (FP_UNPACK_RAW_EP): Likewise.
4007 (FP_PACK_RAW_E): Likewise.
4008 (FP_PACK_RAW_EP): Likewise.
4009 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4010 (_FP_ISSIGNAN): Likewise.
4011 (_FP_ADD_INTERNAL): Likewise.
4012 (_FP_FMA): Likewise.
4013 (_FP_CMP): Likewise.
4014 (_FP_SQRT): Likewise.
4015 (_FP_TO_INT): Likewise.
4016 (_FP_FROM_INT): Likewise.
4017 (FP_EXTEND): Likewise.
4018 (_FP_DIV_MEAT_N_loop): Likewise.
4019
2125f674
MR
40202014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4021
4022 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4023 throughout.
4024
edea4028
JM
40252014-06-29 Joseph Myers <joseph@codesourcery.com>
4026
4027 [BZ #17097]
4028 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4029 result with correct sign in case of exponents that produce
4030 overflow except for X very close to 1.
4031
dd0ba018
PE
40322014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4033
4034 mktime: merge #if/#ifdef usage from glibc
4035 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4036 as that works with both Glibc's and Gnulib's style.
4037 See thread starting at Siddhesh Poyarekar's bug report at:
4038 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4039
64df73c2
SP
40402014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4043 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4044 * sysdeps/tile/tilegx/memmove.c: Remove file.
4045
f1eafb41
JM
40462014-06-27 Joseph Myers <joseph@codesourcery.com>
4047
4048 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4049 abi-name definition.
4050 * scripts/soversions.awk: Do not handle or generate ABI lines.
4051 * shlib-versions: Remove ABI entries.
4052 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4053 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4054
58eb0862
RM
40552014-06-27 Roland McGrath <roland@hack.frob.com>
4056
37caf178
RM
4057 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4058 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4059 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4060 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4061 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4064 Moved ...
4065 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4066 ... here.
4067 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4080 Moved ...
4081 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4087 Moved ...
4088 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4090 Moved ...
4091 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4092 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4093 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4094 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4095 Moved ...
4096 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4098 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4099 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4100 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4102 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4104 Moved ...
4105 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4109 Moved ...
4110 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4111 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4112 Moved ...
4113 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4114 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4117 Moved ...
4118 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4119 ... here.
4120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4121 Identical file removed.
4122 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4123 Moved ...
4124 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4125 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4126 Identical file removed.
4127 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4130 Moved ...
4131 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4132 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4133 Identical file removed.
4134 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4135 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4137 Identical file removed.
4138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4139 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4140 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4141 Identical file removed.
4142 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4143 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4144 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4145 Identical file removed.
4146 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4147 Moved ...
4148 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4150 Identical file removed.
4151 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4152 Moved ...
4153 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4155 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4157 Identical file removed.
4158 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4159 Moved ...
4160 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4161 ... here.
4162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4163 Identical file removed.
4164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4165 Moved ...
4166 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4168 Identical file removed.
4169 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4170 Moved ...
4171 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4172 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4173 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4175 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4177 Moved ...
4178 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4179 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4180 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4181
58eb0862
RM
4182 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4183 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4184 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4185 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4186 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4187
6f12d062
AS
41882014-06-27 Arjun Shankar <arjun.is@lostca.se>
4189
4190 [BZ #17092]
4191 * nscd/nscd.c (monitor_child): Return exit status of child
4192 instead of return value from wait syscall.
4193
be254932
JM
41942014-06-27 Joseph Myers <joseph@codesourcery.com>
4195
cb403c34
JM
4196 * configure.ac (libc_commonpagesize): Remove variable.
4197 (libc_relro_required): Likewise.
4198 (libc_cv_z_relro): Remove configure test.
4199 * configure: Regenerated.
4200 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4201 variable.
4202 (libc_relro_required): Likewise.
4203 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4204 (libc_relro_required): Likewise.
4205 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4206 (libc_relro_required): Likewise.
4207 * sysdeps/arm/preconfigure: Regenerated.
4208 * sysdeps/ia64/preconfigure: Remove file.
4209 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4210 variable.
4211 (libc_relro_required): Likewise.
4212
be254932
JM
4213 [BZ #16561]
4214 [BZ #16562]
4215 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4216 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4217 recompute overflowing results in original rounding mode.
4218 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4219 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4220 recompute overflowing results in original rounding mode.
4221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4222 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4223 recompute overflowing results in original rounding mode.
4224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4225 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4226 recompute overflowing results in original rounding mode.
4227 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4228 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4229 recompute overflowing results in original rounding mode.
4230 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4231 (libc_feholdsetround_ctx): New macro.
4232 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4233 * sysdeps/i386/fpu/libm-test-ulps: Update.
4234 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4235
b351d85a
JM
42362014-06-26 Joseph Myers <joseph@codesourcery.com>
4237
4238 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4239 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4240 corresponding .cpsetup call.
4241
3cb4de47
RM
42422014-06-26 Roland McGrath <roland@hack.frob.com>
4243
4244 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4245 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4246 * sysdeps/arm/Makefile [$(subdir) = csu]
4247 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4248 (static-only-routines): Add aeabi_read_tp here.
4249 (shared-only-routines): Add libc-aeabi_read_tp here.
4250 (CFLAGS-libc-start.c): Add -fexceptions here.
4251 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4252 (sysdep_routines, static-only-routines, shared-only-routines):
4253 Don't add to these here.
4254 (CFLAGS-libc-start.c): Likewise.
4255
4256 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4257 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4258 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4259 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4260 * sysdeps/arm/Makefile [$(subdir) = rt]
4261 (librt-sysdep_routines, librt-shared-only-routines):
4262 Append rt-aeabi_unwind_cpp_pr1 here.
4263 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4264 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4265 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4266 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4267 Append nptl-aeabi_unwind_cpp_pr1 here.
4268 (tests): Filter out tst-cleanupx4 here.
4269 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4270 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4271 Don't do those here.
4272
354426bb
JM
42732014-06-26 Joseph Myers <joseph@codesourcery.com>
4274
4275 * scripts/list-sources.sh: Do not handle ports specially.
4276
28b0a8c9
RM
42772014-06-26 Roland McGrath <roland@hack.frob.com>
4278
a3dd035d
RM
4279 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4280 * sysdeps/arm/feupdateenv.c: Likewise.
4281
28b0a8c9
RM
4282 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4283
e66a8203
JM
42842014-06-26 Joseph Myers <joseph@codesourcery.com>
4285
4286 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4287 trailing whitespace removed.
4288 * scripts/config.guess: Update to version 2014-03-23.
4289 * scripts/config.sub: Update to version 2014-05-01
4290 * scripts/install-sh: Update to version 2013-12-25.23.
4291 * scripts/move-if-change: Update from gnulib.
4292
74171115
SP
42932014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
b97c9ce5
SP
4295 * debug/memmove_chk.c: Remove pagecopy.h include.
4296
4000f892
SP
42972014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4298
74171115
SP
4299 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4300 identical to gnulib mktime.
4301
a8779c28
JM
43022014-06-26 Joseph Myers <joseph@codesourcery.com>
4303
e64708de
JM
4304 * configure.ac: Do not test for machine being rs6000. Do not test
4305 for powerpc*-*soft.
4306 * configure: Regenerated.
4307
a8779c28
JM
4308 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4309 test.
4310 * configure: Regenerated.
4311 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4312 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4313 Remove configure test.
4314 * sysdeps/arm/configure: Regenerated.
4315 * sysdeps/nptl/configure.ac: Do not check
4316 libc_cv_asm_cfi_directives.
4317 * sysdeps/nptl/configure: Regenerated.
4318 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4319 * sysdeps/x86_64/nptl/configure: Remove generated file.
4320 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4321 unconditional.
4322 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4323
2aac0a86
SP
43242014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4325
059bf913
SP
4326 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4327 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4328 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4329 it is defined.
4330
4cf5b6d0
SP
4331 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4332 instead of whether it is defined.
4333 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4334 * sysdeps/hppa/dl-machine.h: Likewise.
4335 * sysdeps/ia64/dl-machine.h: Likewise.
4336 * sysdeps/m68k/dl-machine.h: Likewise.
4337 * sysdeps/microblaze/dl-machine.h: Likewise.
4338 * sysdeps/mips/dl-machine.: Likewise.
4339 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4340 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4341 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4342 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4343 * sysdeps/sh/dl-machine.h: Likewise.
4344 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4345 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4346 * sysdeps/tile/dl-machine.h: Likewise.
4347 * sysdeps/x86_64/dl-machine.h: Likewise.
4348
2aac0a86
SP
4349 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4350 code.
4351 (verify_persistent_db): Likewise.
4352
6ad2df0b
RM
43532014-06-26 Roland McGrath <roland@hack.frob.com>
4354
d8a483f3
RM
4355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4356 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4358 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4360 Moved ...
4361 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4362 ... here.
4363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4364 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4366 Identical file removed.
4367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4368 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4370 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4372 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4374 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4376 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4378 Moved ...
4379 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4381 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4383 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4385 Moved ...
4386 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4388 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4390 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4392 Identical file removed.
4393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4394 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4396 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4398 Moved ...
4399 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4400 ... here.
4401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4402 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4404 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4406 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4408 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4410 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4412 Moved ...
4413 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4415 Moved ...
4416 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4418 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4420 Moved ...
4421 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4423 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4424
52ae23b4
RM
4425 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4426 folded into ...
4427 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4428 * sysdeps/unix/sysv/linux/s390/Versions
4429 (libpthread: GLIBC_2.19): New version set.
4430 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4431 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4432 (librt: GLIBC_2.3.3): New version set.
4433 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4434 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4435 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4436 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4437 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4438 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4439 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4440 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4441 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4442 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4443 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4444 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4445 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4446 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4447 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4448 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4449 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4450 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4451 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4452 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4453 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4454 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4455 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4456 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4457 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4458 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4459 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4460 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4461 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4462 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4463 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4464 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4466 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4467 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4468 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4469 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4470 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4471 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4472 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4473 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4474 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4475 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4477 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4478
39507e4a
RM
4479 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4480 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4481 (__libc_vfork): Define the function under this name.
4482 [!NOT_IN_libc] (__vfork): Make this an alias.
4483 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4485 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4486 (__libc_vfork): Define the function under this name.
4487 [!NOT_IN_libc] (__vfork): Make this an alias.
4488 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4489 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4490 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4492 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4493 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4494
e549ee56
RM
4495 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4496 code that was previously under [RESET_PID].
4497 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4498 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4499 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4500
6ad2df0b
RM
4501 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4502 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4503 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4504 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4505 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4506 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4507 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4508 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4509 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4512 Moved ...
4513 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4521 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4523 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4537 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4538 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4539 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4540 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4541 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4542
7c1c1d8e
RM
45432014-06-25 Roland McGrath <roland@hack.frob.com>
4544
4545 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4546 that was previously under [RESET_PID].
4547 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4548
3e239be6
JM
45492014-06-25 Joseph Myers <joseph@codesourcery.com>
4550
74385da5
JM
4551 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4552 not undefine and redefine.
4553 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4554 [O_CLOEXEC]: Make code unconditional.
4555 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4556 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4557 <kernel-features.h>.
4558 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4559 conditional variable definition.
4560 (shm_open) [O_CLOEXEC]: Make code unconditional.
4561 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4562 code.
4563
c2570a0b
JM
4564 * configure.ac (USE_REGPARMS): Don't define here.
4565 * configure: Regenerated.
4566 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4567 * sysdeps/i386/configure: Regenerated.
4568
11b076bb
JM
4569 * nptl/createthread.c: Don't include kernel-features.h.
4570 * nptl/pthread_cancel.c: Likewise.
4571 * nptl/pthread_condattr_setclock.c: Likewise.
4572 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4573 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4574 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4575 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4576 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4577 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4578 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4580 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4581 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4582 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4583 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4584 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4585 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4586 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4587 * nscd/gai.c: Likewise.
4588 * nss/nss_db/db-open.c: Likewise.
4589 * sysdeps/generic/ldsodefs.h: Likewise.
4590 * sysdeps/sh/nptl/tls.h: Likewise.
4591 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4592 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4593 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4594 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4595 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4596 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4597 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4598 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4599 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4600 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4601 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4602 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4603 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4604 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4605 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4606 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4607 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4608 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4609 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4610 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4611 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4612 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4613 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4614 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4615 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4616 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4617 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4619 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4620 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4621 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4622 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4623 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4624 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4625 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4626 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4627 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4628 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4629 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4630 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4631 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4632 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4633 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4634 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4635 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4636 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4637 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4638 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4639 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4640 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4641 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4642 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4643 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4644 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4645 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4646 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4647 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4648 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4671 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4672 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4673 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4674 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4675 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4676 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4678 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4679 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4680 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4681 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4682 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4683 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4684 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4685 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4686 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4688 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4689 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4690 * sysdeps/unix/sysv/linux/system.c: Likewise.
4691 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4692 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4693 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4694 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4695 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4696 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4697 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4698
92072d57
JM
4699 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4700 * configure: Regenerated.
4701 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4702
3e239be6
JM
4703 * configure.ac (base_machine): Do not set specially for particular
4704 machines here.
4705 * configure: Regenerated.
4706 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4707 settings from configure.ac.
4708 * sysdeps/i386/preconfigure: New file.
4709 * sysdeps/s390/preconfigure: Likewise.
4710 * sysdeps/sh/preconfigure: Likewise.
4711 * sysdeps/sparc/preconfigure: Likewise.
4712
06d50baa
RM
47132014-06-25 Roland McGrath <roland@hack.frob.com>
4714
74836003
RM
4715 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4716 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4717 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4718 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4719 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4720 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4721 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4722 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4723 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4724 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4725 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4726 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4727 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4728 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4729 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4730 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4732 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4733 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4734
4735 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4736 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4737 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4738 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4739 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4740 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4741 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4742 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4743 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4744 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4745 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4746 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4747 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4748 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4749 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4750 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4751 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4752 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4753 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4754 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4755 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4756 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4757 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4758 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4759 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4760 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4762 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4763 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4764 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4765 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4766 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4767 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4768 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4769 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4770 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4771 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4772 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4773
06d50baa
RM
4774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4775 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4777 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4779 Moved ...
4780 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4781 ... here.
4782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4783 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4787 Moved ...
4788 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4790 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4796 Moved ...
4797 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4799 Moved ...
4800 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4802 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4804 Moved ...
4805 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4809 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4811 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4815 Moved ...
4816 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4817 ... here.
4818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4819 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4821 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4823 Moved ...
4824 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4830 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4832 Moved ...
4833 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4835 Moved ...
4836 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4840 Moved ...
4841 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4843 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4845 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4846
a4ccbc9b
JM
48472014-06-25 Joseph Myers <joseph@codesourcery.com>
4848
0828edbf
JM
4849 * timezone/checktab.awk: Update from tzcode 2014e.
4850 * timezone/private.h: Likewise.
4851 * timezone/tzfile.h: Likewise.
4852 * timezone/zdump.c: Likewise.
4853 * timezone/zic.c: Likewise.
4854
a4ccbc9b
JM
4855 * sysdeps/unix/sysv/linux/kernel-features.h
4856 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4857 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4858 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4859 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4860 Remove conditional code.
4861
9aea0cb8
WN
48622014-06-25 Will Newton <will.newton@linaro.org>
4863
4864 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4865 (_dl_arm_cap_flags): Add HWCAP2 values.
4866 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4867 (_DL_HWCAP_COUNT): Increase to 37.
4868 (_DL_HWCAP_LAST): New define.
4869 (_DL_HWCAP2_LAST): New define.
4870 (_dl_procinfo): Add support for printing
4871 AT_HWCAP2 entries.
4872 (_dl_string_hwcap): Use _dl_hwcap_string.
4873
6eaa65ce
AZ
48742014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875
4876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4877
0f5b7185
JM
48782014-06-25 Joseph Myers <joseph@codesourcery.com>
4879
cfd2ea50
JM
4880 * README: Do not mention ports directory.
4881
cecf2ed4
JM
4882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4883 Remove macro.
4884 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4885 <kernel-features.h>.
4886 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4887 conditional variable definition.
4888 (__futimes): Update comment.
4889 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4890 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4891
a638de82
JM
4892 [BZ #16560]
4893 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4894 arguments close to 0.
4895 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4896 Likewise.
4897 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4898 Likewise.
4899 * math/auto-libm-test-in: Add more tests of exp10.
4900 * math/auto-libm-test-out: Regenerated.
4901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4902
0f5b7185
JM
4903 * sysdeps/unix/sysv/linux/kernel-features.h
4904 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4905 * sysdeps/unix/sysv/linux/readv.c: Do not include
4906 <kernel-features.h>.
4907 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4908 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4909 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4910 unconditional.
4911 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4912 conditional code.
4913 * sysdeps/unix/sysv/linux/writev.c: Do not include
4914 <kernel-features.h>.
4915 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4916 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4917 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4918 unconditional.
4919 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4920 conditional code.
4921
c7aec4be
WN
49222014-06-25 Will Newton <will.newton@linaro.org>
4923
4924 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4925 comment changes throughout the file. Remove checks
4926 for HAVE_*_H definitions that are not required.
4927 (__gen_tempname): Call abort if an unknown kind value is
4928 passed.
4929
c5241f95
AS
49302014-06-25 Andreas Schwab <schwab@suse.de>
4931
4932 [BZ #17086]
4933 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4934 scalbln, scalblnf, scalblnl in libc.
4935
911422da
SP
49362014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4937
4938 [BZ #17086]
4939 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4940 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4941 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4942
0d749bbe
RM
49432014-06-24 Roland McGrath <roland@hack.frob.com>
4944
4945 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4946 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4947 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4948 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4949 Update #include.
4950 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4951 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4952 Update #include.
4953 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4954 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4955 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4956 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4957 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4958 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4959 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4960 * sysdeps/x86/bits/semaphore.h: ... here.
4961 * sysdeps/x86/nptl/elide.h: Moved ...
4962 * sysdeps/x86/elide.h: ... here.
4963 * sysdeps/x86_64/nptl/Implies: File removed.
4964 * sysdeps/i386/nptl/Implies: File removed.
4965
0ea5d373
JM
49662014-06-24 Joseph Myers <joseph@codesourcery.com>
4967
4060283d
JM
4968 [BZ #16539]
4969 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4970 return the argument for normal arguments with exponent below -64.
4971 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4972 Likewise.
4973 * math/auto-libm-test-in: Add another test of expm1.
4974 * math/auto-libm-test-out: Regenerated.
4975
e7dd3c8c
JM
4976 [BZ #16287]
4977 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4978 calling __erfcl for arguments at least 16.
4979 * math/auto-libm-test-in: Add more tests of erf.
4980 * math/auto-libm-test-out: Regenerated.
4981
0ea5d373
JM
4982 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4983 individual architectures.
4984 * sysdeps/unix/sysv/linux/configure: Regenerated.
4985 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4986 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4987 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4988 (ldd_rewrite_script): Define variable.
4989 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4991 file.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4993 generated file.
4994 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4995 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4996 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4997 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4998 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4999 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5000 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5001 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5002
2307e126
SP
50032014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
5005 [BZ #17084]
5006 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5007 Rename member __data.d to __data.__elision_data.
5008
c0a4ed77
W
50092014-06-24 Wilco <wdijkstr@arm.com>
5010
5011 * NEWS: Add 16918 to fixed bug list.
5012
b8c00573
W
50132014-06-24 Wilco <wdijkstr@arm.com>
5014
5015 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5016
b5570d92
W
50172014-06-24 Wilco <wdijkstr@arm.com>
5018
5019 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5020 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5021 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5022 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5023 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5024 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5025 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5026 Use _FPU_MASK_RM.
5027
947bdca2
W
50282014-06-24 Wilco <wdijkstr@arm.com>
5029
5030 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5031
00f669ed
W
50322014-06-24 Wilco <wdijkstr@arm.com>
5033
5034 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5035 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5036 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5037 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5038
db59bad3
W
50392014-06-24 Wilco <wdijkstr@arm.com>
5040
5041 [BZ #16918]
5042 * sysdeps/arm/feupdateenv.c (feupdateenv):
5043 Rewrite to reduce FPSCR accesses and fix return value.
5044
001f7b77
W
50452014-06-24 Wilco <wdijkstr@arm.com>
5046
5047 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5048 Optimize to avoid unnecessary FPSCR writes.
5049 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5050 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5051 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5052 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5053
4841e6a6
W
50542014-06-24 Wilco <wdijkstr@arm.com>
5055
5056 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5057 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5058 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5059 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5060 Call libc_fetestexcept_vfp.
5061 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5062 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5063 __SOFTFP__ ifdef so that they can be built for softfp.
5064
0813022c
SP
50652014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5066
08e5862f
SP
5067 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5068 argument type signed char.
5069
0813022c
SP
5070 * Makerules (check-abi): Dump diff of symlist if the test
5071 fails.
5072
3fc7236a
RM
50732014-06-23 Roland McGrath <roland@hack.frob.com>
5074
aba8ef95
RM
5075 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5076 using abort.
5077
3fc7236a
RM
5078 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5079 Remove unused variable ST.
5080
4da6db51
JM
50812014-06-23 Joseph Myers <joseph@codesourcery.com>
5082
4648909d
JM
5083 [BZ #16354]
5084 [BZ #17061]
5085 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5086 small arguments before calling __expm1.
5087 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5088 small arguments before calling __expm1f.
5089 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5090 small arguments before calling __expm1l.
5091 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5092 Likewise.
5093 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5094 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5095 spurious underflow for some cosh tests.
5096 * math/auto-libm-test-out: Regenerated.
5097 * sysdeps/i386/fpu/libm-test-ulps: Update.
5098
46a3d3c7
JM
5099 [BZ #17050]
5100 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5101 (__ieee754_y1): Set errno if return value overflows.
5102 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5103 (__ieee754_y1f): Set errno if return value overflows.
5104 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5105 (__ieee754_y1l): Set errno if return value overflows.
5106 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5107 (__ieee754_y1l): Set errno if return value overflows.
5108 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5109 * math/auto-libm-test-out: Regenerated.
5110
863893ec
JM
5111 * math/gen-auto-libm-tests.c: Document use of
5112 ignore-zero-inf-sign.
5113 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5114 (input_flags): Add ignore-zero-inf-sign.
5115 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5116 * math/gen-libm-test.pl (generate_testfile): Handle
5117 ignore-zero-inf-sign.
5118 * math/auto-libm-test-in: Mark some cpow tests with
5119 ignore-zero-inf-sign and some with xfail-rounding.
5120 * math/auto-libm-test-out: Regenerated.
5121 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5122 * sysdeps/i386/fpu/libm-test-ulps: Update.
5123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5124
4da6db51
JM
5125 [BZ #16315]
5126 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5127 overflowing or underflowing operations take place with sign of
5128 result.
5129 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5130 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5131 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5132 (__ieee754_pow): Recompute overflowing and underflowing results in
5133 original rounding mode.
5134 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5135 (__powl_helper): Allow negative argument X and scale negated value
5136 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5137 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5138 overflowing or underflowing operations take place with sign of
5139 result.
5140 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5141 Include <math.h>.
5142 * math/auto-libm-test-in: Add more tests of pow.
5143 * math/auto-libm-test-out: Regenerated.
5144 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5145 (pow_tonearest_test_data): Remove.
5146 (pow_test_tonearest): Likewise.
5147 (pow_towardzero_test_data): Likewise.
5148 (pow_test_towardzero): Likewise.
5149 (pow_downward_test_data): Likewise.
5150 (pow_test_downward): Likewise.
5151 (pow_upward_test_data): Likewise.
5152 (pow_test_upward): Likewise.
5153 (main): Don't call removed functions.
5154 * sysdeps/i386/fpu/libm-test-ulps: Update.
5155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5156
5686b236
RM
51572014-06-23 Roland McGrath <roland@hack.frob.com>
5158
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5160 Moved ...
5161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5163 Moved ...
5164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5166 Moved ...
5167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5169 Moved ...
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5172 File removed.
5173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5174 File removed.
5175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5176 File removed.
5177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5178 File removed.
5179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5180 File removed.
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5182 File removed.
5183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5184 File removed.
5185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5186 File removed.
5187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5188 File removed.
5189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5190 File removed.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5192 File removed.
5193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5194 File removed.
5195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5196 Moved ...
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5199 Moved ...
5200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5201 ... here.
5202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5203 Moved ...
5204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5206 Moved ...
5207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5209 Moved ...
5210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5212 Moved ...
5213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5215 Moved ...
5216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5218 Moved ...
5219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5221 Moved ...
5222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5225 ... here.
5226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5227 Moved ...
5228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5230 Moved ...
5231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5232 ... here.
5233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5234 Moved ...
5235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5236 ... here.
5237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5238 Moved ...
5239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5240 ... here.
5241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5242 Moved ...
5243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5245 Moved ...
5246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5250 Moved ...
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5252 ... here.
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5254 Moved ...
5255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5256 ... here.
5257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5258 Moved ...
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5264 Moved ...
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5267 Moved ...
5268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5270 Moved ...
5271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5272 ... here.
5273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5274 Moved ...
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5277 Moved ...
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5280 Moved ...
5281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5283 Moved ...
5284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5288 Moved ...
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5291 Moved ...
5292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5294 Moved ...
5295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5296 ... here.
5297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5298 Moved ...
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5300 ... here.
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5302 Moved ...
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5304 ... here.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5306 Moved ...
5307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5309 Moved ...
5310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5312 Moved ...
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5315 Moved ...
5316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5317 ... here.
5318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5319 Moved ...
5320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5321 ... here.
5322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5323 Moved ...
5324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5325 ... here.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5327 Moved ...
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5330 Moved ...
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5332
e6d90d67
WD
53332014-06-23 Will Newton <will.newton@linaro.org>
5334 Wilco <wdijkstr@arm.com>
5335
5336 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5337 implementation. Include get-rounding-mode.h.
5338 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5339 [!libc_feholdsetround_noex_ctx]: Define
5340 libc_feholdsetround_noex_ctx.
5341 [!libc_feholdsetround_noexf_ctx]: Define
5342 libc_feholdsetround_noexf_ctx.
5343 [!libc_feholdsetround_noexl_ctx]: Define
5344 libc_feholdsetround_noexl_ctx.
5345 (libc_feholdsetround_ctx): New function.
5346 (libc_feresetround_ctx): New function.
5347 (libc_feholdsetround_noex_ctx): New function.
5348 (libc_feresetround_noex_ctx): New function.
5349
d42df555
RM
53502014-06-23 Roland McGrath <roland@hack.frob.com>
5351
88a46474
RM
5352 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5353 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5354 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5355 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5356 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5357 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5358
15bed472
RM
5359 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5360 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5361 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5362 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5363 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5364 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5365 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5366 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5367 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5368 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5369 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5370 Moved ...
5371 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5372 ... here.
5373 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5374 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5376 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5377 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5378 Moved ...
5379 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5380 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5381 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5382 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5383 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5385 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5387 Moved ...
5388 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5389 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5390 Moved ...
5391 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5393 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5395 Moved ...
5396 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5397 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5398 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5399 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5400 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5401 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5402 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5403 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5404 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5405 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5406 Moved ...
5407 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5408 ... here.
5409 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5410 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5411 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5412 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5413 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5414 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5415 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5416 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5417 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5418 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5420 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5422 Moved ...
5423 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5425 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5426 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5427 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5429 Moved ...
5430 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5431 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5432 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5433 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5434 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5435
d42df555
RM
5436 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5437 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5438 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5439 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5440 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5441 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5442 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5443 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5444 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5445 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5446 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5447 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5448 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5451 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5453 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5454 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5455 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5459 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5461 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5462 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5463 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5464
76e5216e
JM
54652014-06-23 Joseph Myers <joseph@codesourcery.com>
5466
5467 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5468 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5469 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5470 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5471 (IPV6_PMTUDISC_INTERFACE): Likewise.
5472 (IPV6_PMTUDISC_OMIT): Likewise.
5473
7a81cbcc
AS
54742014-06-23 Andreas Schwab <schwab@suse.de>
5475
5476 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5477 Remove unused errout label.
5478
db224009
AZ
54792014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5480
5481 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5482 macro: hardware supports Vector Crypto instructions.
5483
f393b4aa
WN
54842014-06-23 Will Newton <will.newton@linaro.org>
5485
cc7d0447
WN
5486 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5487 rather than __builtin_expect.
5488
d6d06225
WN
5489 * elf/dl-lookup.c (undefined_msg): Remove variable.
5490 (_dl_lookup_symbol_x): Replace undefined_msg with string
5491 literal.
5492
f393b4aa
WN
5493 * elf/dl-lookup.c (do_lookup_unique): New function.
5494 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5495 to a separate function.
5496
ac60763e
AS
54972014-06-23 Andreas Schwab <schwab@suse.de>
5498
5499 [BZ #17079]
5500 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5501 before reading the next line.
5502
c5c13355
WN
55032014-06-23 Will Newton <will.newton@linaro.org>
5504
5505 * test-skeleton.c (signal_handler): Use printf and %m
5506 rather than perror. Use printf rather than fprintf to
5507 stderr. Use puts rather than fputs to stderr.
5508 (main): Likewise.
5509
bd3675f9
LC
55102014-06-22 Ludovic Courtès <ludo@gnu.org>
5511
5512 * nscd/nscd.c (thread_info_t): Remove typedef.
5513 (thread_info): Remove variable.
5514
d03efb2f
AM
55152014-06-21 Allan McRae <allan@archlinux.org>
5516
5517 * NEWS: Mention CVE-2014-4043.
5518
bc4a86fa
RM
55192014-06-20 Roland McGrath <roland@hack.frob.com>
5520
dc9a54f8
RM
5521 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5522 * nptl/smp.h: ... here.
5523
bd7022c4
RM
5524 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5525
26ffd5e6
RM
5526 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5527 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5528 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5529 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5530
93a6d082
RM
5531 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5532 * nptl/stack-aliasing.h: New file.
5533 * sysdeps/i386/i686/stack-aliasing.h: New file.
5534 * sysdeps/i386/i686/nptl/Makefile: File removed.
5535 * sysdeps/x86_64/stack-aliasing.h: New file.
5536 * sysdeps/x86_64/nptl/Makefile
5537 (CFLAGS-pthread_create.c): Variable removed.
5538
bc4a86fa
RM
5539 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5540 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5541 old file.
5542 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5543 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5544 old file.
5545
2272ffc1
JM
55462014-06-21 Joseph Myers <joseph@codesourcery.com>
5547
5548 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5549 (__ASSUME_SIGFRAME_V2): Remove macro.
5550 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5551 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5552 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5553 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5554 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5555 Declare as function. Remove conditional macro definitions.
5556 (__default_rt_sa_restorer): Likewise.
5557 (__default_sa_restorer_v1): Remove declaration.
5558 (__default_sa_restorer_v2): Likewise.
5559 (__default_rt_sa_restorer_v1): Likewise.
5560 (__default_rt_sa_restorer_v2): Likewise.
5561 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5562 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5563 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5564
4b88139b
RM
55652014-06-20 Roland McGrath <roland@hack.frob.com>
5566
5567 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5568 (libpthread-routines): Add sysdep.
5569 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5570 * sysdeps/unix/sysv/linux/sparc/Versions
5571 (libpthread: GLIBC_2.3.3): New version set.
5572 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5573 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5574 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5575 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5576 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5577 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5578 Moved ...
5579 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5580 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5581 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5583 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5584 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5585 * sysdeps/sparc/nptl/sem_init.c: ... here.
5586 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5587 * sysdeps/sparc/nptl/sem_post.c: ... here.
5588 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5589 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5591 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5593 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5594 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5595 (libpthread-routines): Add cpu_relax.
5596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5597 File removed.
5598 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5599 (librt: GLIBC_2.3.3): New version set.
5600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5601 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5602 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5603 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5605 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5606 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5608 Moved ...
5609 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5611 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5613 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5615 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5617 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5619 Moved ...
5620 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5621 Update #include.
5622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5623 Moved ...
5624 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5625 Update #include.
5626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5627 Moved ...
5628 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5629 Update #include.
5630 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5631 Moved ...
5632 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5633 Update #include.
5634 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5635 Moved ...
5636 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5637 Update #include.
5638 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5639 Moved ...
5640 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5641 Update #include.
5642 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5643 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5645 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5646 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5649 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5651 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5653 Moved ...
5654 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5656 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5658 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5659
d7109027
JM
56602014-06-20 Joseph Myers <joseph@codesourcery.com>
5661
9bc6103d
JM
5662 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5663 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5664 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5665 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5666 * nscd/nscd.c: Likewise.
5667 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5668 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5669 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5670 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5671
d7109027
JM
5672 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5673 <kernel-features.h>.
5674 (init_mq_netlink): Remove conditional have_sock_cloexec
5675 definitions. Remove code conditional on have_sock_cloexec < 0.
5676 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5677 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5678 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5679 <kernel-features.h>.
5680 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5681 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5682
d92d8f8a
L
56832014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5684
5685 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5686 Add tests for memset_chk and memset.
5687
5688 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5689 with AVX2_Usable.
5690
4e6d2347
MR
56912014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5692
257ce712
MR
5693 [BZ #16046]
5694 * elf/tst-dl-iter-static.c: New file.
5695 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5696
4e6d2347
MR
5697 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5698 error.
5699
a2a76afe
JM
57002014-06-20 Joseph Myers <joseph@codesourcery.com>
5701
7fd00f99
JM
5702 * sysdeps/unix/sysv/linux/kernel-features.h
5703 (__ASSUME_F_GETOWN_EX): Remove macro.
5704 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5705 <kernel-features.h>.
5706 (miss_F_GETOWN_EX): Remove variable or macro.
5707 (do_fcntl): Do not check miss_F_GETOWN_EX.
5708 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5709
4a103975
JM
5710 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5711 Remove macro.
5712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5713 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5714 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5715
a2a76afe
JM
5716 * sysdeps/unix/sysv/linux/kernel-features.h
5717 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5718 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5719 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5720 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5721
90e5dd48
MR
57222014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5723
5724 [BZ #17075]
5725 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5726 Fix calculation of the symbol's value.
5727 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5728 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5729 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5730 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5731 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5732 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5733 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5734 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5735 (modules-names): Add `tst-armtlsdescmod',
5736 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5737 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5738 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5739 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5740 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5741 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5742 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5743 ($(objpfx)tst-armtlsdescloc): New dependency.
5744 ($(objpfx)tst-armtlsdescextnow): Likewise.
5745 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5746 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5747 TLS scheme support.
5748 * sysdeps/arm/configure: Regenerate.
5749
809fdf0d
JM
57502014-06-20 Joseph Myers <joseph@codesourcery.com>
5751
5752 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5753 (__atfct_seterrno_2): Likewise.
5754 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5755 <kernel-features.h>.
5756 (__ASSUME_ATFCTS): Do not undefine and redefine.
5757 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5758 (__have_atfcts): Remove conditional definition.
5759 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5760 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5761 unreachable if [__ASSUME_ATFCTS].
5762 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5763 not undefine and redefine.
5764 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5765 <kernel-features.h>.
5766 (faccessat) [__NR_faccessat]: Make code unconditional.
5767 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5768 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5769 <kernel-features.h>.
5770 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5771 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5772 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5773 <kernel-features.h>.
5774 (fchownat) [__NR_fchownat]: Make code unconditional.
5775 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5776 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5777 <kernel-features.h>.
5778 (futimesat) [__NR_futimesat]: Make code unconditional.
5779 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5780 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5781 <kernel-features.h>.
5782 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5783 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5784 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5785 <kernel-features.h>.
5786 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5787 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5788 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5789 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5790 <kernel-features.h>.
5791 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5792 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5793 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5794 <kernel-features.h>.
5795 (linkat) [__NR_linkat]: Make code unconditional.
5796 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5797 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5798 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5799 <kernel-features.h>.
5800 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5801 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5802 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5803 <kernel-features.h>.
5804 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5805 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5806 * sysdeps/unix/sysv/linux/openat.c: Do not include
5807 <kernel-features.h>.
5808 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5809 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5810 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5811 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5812 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5813 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5814 <kernel-features.h>.
5815 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5816 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5817 result of INLINE_SYSCALL directly, not via int variable.
5818 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5819 <kernel-features.h>.
5820 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5821 (renameat) [__NR_renameat]: Make code unconditional.
5822 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5823 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5824 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5825 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5826 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5827 (__ASSUME_ATFCTS): Do not undefine and redefine.
5828 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5829 <kernel-features.h>.
5830 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5831 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5832 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5833 <kernel-features.h>.
5834 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5835 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5836 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5837 (__ASSUME_ATFCTS): Do not undefine and redefine.
5838 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5839 <kernel-features.h>.
5840 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5841 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5842 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5843 <kernel-features.h>.
5844 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5845 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5846
224c6c51
L
58472014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5848
5849 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5850
aa6ec754
AS
58512014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5852
5853 [BZ #17069]
5854 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5855 constructed tree before returning error.
5856 * posix/bug-regexp36.c: Expand test case.
5857
d8c2869d
SL
58582014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5859
3ef6b850
SL
5860 [BZ #6803]
5861 * math/libm-test.inc (scalbln_test_date):
5862 Add errno expectations.
5863 * math/w_scalblnf.c: New File.
5864 Add wrapper which checks for setting errno to ERANGE.
5865 Add weak_alias for corresponding scalbln function.
5866 * math/w_scalbln.c: Likewise.
5867 * math/w_scalblnl.c: Likewise.
5868 * math/Makefile (libm-calls): Add w_scalbln.
5869 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5870 Remove weak_alias for corresponding scalbln function.
5871 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5873 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5875 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5876 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5877 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5878 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5879 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5880 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5881 Remove long_double_symbol for scalblnl function in libm, libc.
5882 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5883 Add wrapper which checks for setting errno to ERANGE.
5884 Add long_double_symbol for scalblnl function in libm, libc.
5885 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5886 Remove long_double_symbol for scalblnl in libm.
5887 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5888 Add wrapper which checks for setting errno to ERANGE.
5889 Add long_double_symbol for scalblnl function in libm.
5890 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5891 Do not use wrapper because of own implementation.
5892
c8daec5c
L
58932014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5894
5895 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5896 3 bytes for __pad1 for x32.
5897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5898
5c74e47c
LM
58992014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5900 H.J. Lu <hongjiu.lu@intel.com>
5901
5902 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5903 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5904 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5905 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5906 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5907
4d43ef1e
AS
59082014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5909
5910 [BZ #17069]
5911 * posix/regcomp.c (parse_expression): Deallocate partially
5912 constructed tree before returning error.
5913 * posix/Makefile.c (tests): Add bug-regex36.
5914 (generated): Add bug-regex36.mtrace.
5915 (tests-special): Add $(objpfx)bug-regex36-mem.out
5916 (bug-regex36-ENV): New variable.
5917 ($(objpfx)bug-regex36-mem.out): New rule.
5918 * posix/bug-regex36.c: New file.
5919
51a7380b
WN
59202014-06-19 Will Newton <will.newton@linaro.org>
5921
5922 * malloc/malloc.c (systrim): If extra is zero then return
5923 early.
5924
91b84fe5
SP
59252014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5926
5927 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5928
f940b965
RE
59292014-06-19 Richard Earnshaw <rearnsha@arm.com>
5930
5931 * sysdeps/aarch64/strchr.S: New file.
5932
4ba7a00f
JM
59332014-06-18 Joseph Myers <joseph@codesourcery.com>
5934
5935 [BZ #17022]
5936 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5937 from arguments -2 or below.
5938 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5939 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5940
b3a9f56b
AS
59412014-06-18 Andreas Schwab <schwab@suse.de>
5942
5943 [BZ #17062]
5944 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5945 of a bracket expr not to run off the end of the string.
5946 * posix/Makefile (tests): Add tst-fnmatch3.
5947 * posix/tst-fnmatch3.c: New file.
5948
85d89278
JM
59492014-06-18 Joseph Myers <joseph@codesourcery.com>
5950
5951 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5952 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5953 [$(cross-compiling) = no]: Likewise.
5954 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5955 [$(cross-compiling) = no]: Likewise.
5956
754c5a08
RS
59572014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5958
5959 [BZ #17031]
5960 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5961 double, adjusted for any remainder from the high double.
5962 * math/libm-test.inc (nearbyint): Add tests.
5963 (rint): Likewise.
5964
556f529d
AZ
59652014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5966
5967 * nptl/sysdeps/powerpc/Makefile: Moved ...
5968 * sysdeps/powerpc/nptl/Makefile: ... here.
5969 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5970 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5971 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5972 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5973 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5974 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5975 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5976 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5977 * nptl/sysdeps/powerpc/tls.h: Moved ...
5978 * sysdeps/powerpc/nptl/tls.h: ... here.
5979
91c03c53
JM
59802014-06-16 Joseph Myers <joseph@codesourcery.com>
5981
5982 [BZ #16681]
5983 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5984 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5985 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5986 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5987 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5988 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5989 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5990 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5991 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5992
a76e63c5
AS
59932014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5994
5995 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5996
f2f6d82f
AS
59972014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5998
ea8a15f6
AS
5999 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6000 defined operator.
6001
f2f6d82f
AS
6002 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6003 $TIMEOUTFACTOR.
6004
a7291117
FW
60052014-06-16 Florian Weimer <fweimer@redhat.com>
6006
6007 [BZ #17058]
6008 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6009 non-executed part of the test.
6010
3d7c00e3
AS
60112014-06-16 Andreas Schwab <schwab@suse.de>
6012
6013 * string/bits/string2.h (strdup, strndup): Update feature guard.
6014
6957fb31
DM
60152014-06-14 David S. Miller <davem@davemloft.net>
6016
6017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6018
11b9e55b
AS
60192014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6020
1d2a0492
AS
6021 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6022 that was previously under [RESET_PID].
6023 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6024
11b9e55b
AS
6025 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6026 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6027 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6028 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6029 (__libc_vfork): New strong alias.
6030 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6031
0f6901d0
AK
60322014-06-14 Andi Kleen <ak@linux.intel.com>
6033
6034 * sysdeps/generic/elide.h: New file.
6035
38bbbb9f
SL
60362014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6037
6038 * Makefile (installed-headers): Adjust path of pthread.h header.
6039
45193bb8
RM
60402014-06-13 Roland McGrath <roland@hack.frob.com>
6041
9a25fd1e
RM
6042 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6043 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6045 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6046
4004f7e4
RM
6047 * nptl/sysdeps/s390/Makefile: Moved ...
6048 * sysdeps/s390/nptl/Makefile: ... here.
6049 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6050 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6051 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6052 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6053 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6054 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6055 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6056 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6057 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6058 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6059 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6060 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6061 * nptl/sysdeps/s390/tls.h: Moved ...
6062 * sysdeps/s390/nptl/tls.h: ... here.
6063
45193bb8
RM
6064 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6065 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6066
f6fdf533
DM
60672014-06-13 David S. Miller <davem@davemloft.net>
6068
6069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6072 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6076 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6077 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6078 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6079 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6080 Remove RESET_PID cpp guards.
6081 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6082 Remove RESET_PID cpp guards.
6083 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6084
f5d71e14
AS
60852014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6086
6087 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6088 __sp to uintptr_t.
6089
b7aa8caa
AK
60902014-06-13 Andi Kleen <ak@linux.intel.com>
6091
4b266200
AZ
6092 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6094 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6095 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6096 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6097 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6098 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6099 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6100 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6101 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6102 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6105 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6106 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6108 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6109 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6110 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6111 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6112
6113 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6114 (pthread_rwlock_rdlock): Add elision.
6115 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6116 (pthread_rwlock_wrlock): Add elision.
6117 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6118 (pthread_rwlock_trywrlock): Add elision.
6119 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6120 (pthread_rwlock_tryrdlock): Add elision.
6121 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6122 (pthread_rwlock_tryrdlock): Add elision unlock.
6123 * nptl/sysdeps/pthread/pthread.h:
6124 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6125 (PTHREAD_RWLOCK_INITIALIZER,
6126 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6127 Handle new elision field.
6128 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6129 * sysdeps/arm/nptl/bits/pthreadtypes.h
6130 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6131 * sysdeps/sh/nptl/bits/pthreadtypes.h
6132 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6133 * sysdeps/tile/nptl/bits/pthreadtypes.h
6134 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6135 * sysdeps/a/nptl/bits/pthreadtypes.h
6136 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6137 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6138 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6139 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6141 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6143 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6145 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6147 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6149 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6151 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6153 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6154 (elision_init): Set try_xbegin to zero when no RTM.
6155 * sysdeps/x86/nptl/bits/pthreadtypes.h
6156 (pthread_rwlock_t): Change __pad1 to __rwelision.
6157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6158
a832bdd3
AK
61592014-06-13 Andi Kleen <ak@linux.intel.com>
6160
6161 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6162 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6163 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6164 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6165
995a46bb
MI
61662014-06-13 Meador Inge <meadori@codesourcery.com>
6167
6168 [BZ #16996]
03ed7738 6169 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6170 that the cached result has been set before returning it.
6171
45262aee
RM
61722014-06-12 Roland McGrath <roland@hack.frob.com>
6173
febf6cc5
RM
6174 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6175 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6176 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6177 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6178 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6179 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6180
e2682246
RM
6181 * nptl/sysdeps/sparc/Makefile: Moved ...
6182 * sysdeps/sparc/nptl/Makefile: ... here.
6183 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6184 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6185 * nptl/sysdeps/sparc/tls.h: Moved ...
6186 * sysdeps/sparc/nptl/tls.h: ... here.
6187 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6188 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6189 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6190 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6191 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6192 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6193 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6194 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6195 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6196 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6197 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6198 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6199 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6200 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6201 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6202 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6203 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6204 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6205 Update #include.
6206 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6207 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6208 Update #include.
6209 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6210 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6211 Update #include.
6212 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6213 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6214 Update #include.
6215
b0725f43
RM
6216 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6217
b14368b8
RM
6218 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6219 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6220
c5620eb3
RM
6221 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6222 (struct list_links): Type removed.
6223 (struct thread_node, struct timer_node): Replace struct list_links
6224 with struct list_head.
6225 (list_unlink_ip): Likewise.
6226 * sysdeps/pthread/timer_routines.c
6227 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6228 (list_append, list_insbefore): Likewise.
6229 (list_init): Function removed.
6230 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6231 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6232 * sysdeps/pthread/Makefile: ... here, new file.
6233
6234 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6235 * sysdeps/nptl/Implies: ... here.
6236 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6237 * nptl/sysdeps/pthread/list.h: Moved ...
6238 * include/list.h: ... here.
6239 * nptl/sysdeps/pthread/createthread.c: Moved ...
6240 * nptl/createthread.c: ... here.
6241 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6242 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6243 * nptl/pt-longjmp.c: ... here.
6244 * nptl/sysdeps/pthread/Makefile: Moved ...
6245 * sysdeps/nptl/Makefile: ... here.
6246 * nptl/sysdeps/pthread/Subdirs: Moved ...
6247 * sysdeps/nptl/Subdirs: ... here.
6248 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6249 * sysdeps/nptl/aio_misc.h: ... here.
6250 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6251 * sysdeps/nptl/bits/libc-lock.h: ... here.
6252 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6253 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6254 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6255 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6256 * nptl/sysdeps/pthread/configure: Moved ...
6257 * sysdeps/nptl/configure: ... here.
6258 * nptl/sysdeps/pthread/configure.ac: Moved ...
6259 * sysdeps/nptl/configure.ac: ... here.
6260 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6261 * sysdeps/nptl/gai_misc.h: ... here.
6262 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6263 * sysdeps/nptl/librt-cancellation.c: ... here.
6264 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6265 * sysdeps/nptl/malloc-machine.h: ... here.
6266 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6267 * sysdeps/nptl/pthread-functions.h: ... here.
6268 * nptl/sysdeps/pthread/pthread.h: Moved ...
6269 * sysdeps/nptl/pthread.h: ... here.
6270 * nptl/sysdeps/pthread/setxid.h: Moved ...
6271 * sysdeps/nptl/setxid.h: ... here.
6272 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6273 * sysdeps/nptl/sigfillset.c: ... here.
6274 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6275 * sysdeps/nptl/tcb-offsets.h: ... here.
6276 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6277 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6278 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6279 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6280 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6281 * sysdeps/pthread/allocalim.h: ... here.
6282 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6283 * sysdeps/pthread/bits/sigthread.h: ... here.
6284 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6285 * sysdeps/pthread/flockfile.c: ... here.
6286 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6287 * sysdeps/pthread/ftrylockfile.c: ... here.
6288 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6289 * sysdeps/pthread/funlockfile.c: ... here.
6290 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6291 * sysdeps/pthread/posix-timer.h: ... here.
6292 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6293 * sysdeps/pthread/timer_create.c: ... here.
6294 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6295 * sysdeps/pthread/timer_delete.c: ... here.
6296 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6297 * sysdeps/pthread/timer_getoverr.c: ... here.
6298 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6299 * sysdeps/pthread/timer_gettime.c: ... here.
6300 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6301 * sysdeps/pthread/timer_routines.c: ... here.
6302 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6303 * sysdeps/pthread/timer_settime.c: ... here.
6304 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6305 * sysdeps/pthread/tst-timer.c: ... here.
6306 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6307 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6308
e876b090
RM
6309 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6310 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6311
f6b07b3d
RM
6312 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6313 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6314 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6315 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6316 Update #include target.
6317 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6318 * sysdeps/i386/i686/nptl/Makefile: ... here.
6319 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6320 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6321 Update #include target.
6322 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6323 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6324 * nptl/sysdeps/i386/Makefile: Moved ...
6325 * sysdeps/i386/nptl/Makefile: ... here.
6326 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6327 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6328 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6329 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6330 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6331 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6332 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6333 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6334 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6335 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6336 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6337 * nptl/sysdeps/i386/tls.h: Moved ...
6338 * sysdeps/i386/nptl/tls.h: ... here.
6339
45262aee
RM
6340 * sysdeps/sh/Makefile [$(subdir) = csu]
6341 (gen-as-const-headers): Add tcb-offsets.sym.
6342 * nptl/sysdeps/sh/Makefile: File removed.
6343 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6344 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6345 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6346 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6347 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6348 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6349 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6350 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6351 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6352 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6353 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6354 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6355 * nptl/sysdeps/sh/tls.h: Moved ...
6356 * sysdeps/sh/nptl/tls.h: ... here.
6357 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6358 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6359 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6360 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6362 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6363 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6364 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6365 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6366 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6367 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6368 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6369 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6370 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6371 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6372 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6373 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6374 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6375 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6376 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6377 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6378 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6380 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6381 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6382 Moved ...
6383 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6384 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6385 Moved ...
6386 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6388 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6389 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6390 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6391 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6392 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6393 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6394 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6395 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6396 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6397 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6398 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6399 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6400 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6401 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6402 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6403 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6404 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6405
35a5e3e3
SL
64062014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6407
6408 * posix/spawn_faction_addopen.c: Include string.h.
6409
14642b85
RM
64102014-06-11 Roland McGrath <roland@hack.frob.com>
6411
6412 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6413 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6414 * nptl/sysdeps/x86_64/Makefile: Moved ...
6415 * sysdeps/x86_64/nptl/Makefile: ... here.
6416 * nptl/sysdeps/x86_64/configure: Moved ...
6417 * sysdeps/x86_64/nptl/configure: ... here.
6418 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6419 * sysdeps/x86_64/nptl/configure.ac: ... here.
6420 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6421 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6422 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6423 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6424 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6425 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6426 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6427 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6428 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6429 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6430 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6431 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6432 * nptl/sysdeps/x86_64/tls.h: Moved ...
6433 * sysdeps/x86_64/nptl/tls.h: ... here.
6434 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6435 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6436 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6437 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6438
6439 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6440
31c44fea
AZ
64412014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6442
6443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6444
e81a4f9a
JM
64452014-06-11 Joseph Myers <joseph@codesourcery.com>
6446
6447 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6448 type.
6449 [POSIX] (off_t): Likewise.
6450 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6451 [POSIX] (S_ISBLK): Require macro.
6452 [POSIX] (S_ISCHR): Likewise.
6453 [POSIX] (S_ISDIR): Likewise.
6454 [POSIX] (S_ISFIFO): Likewise.
6455 [POSIX] (S_ISREG): Likewise.
6456 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6457 optional-macro.
6458 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6459 type.
6460 [POSIX] (time_t): Likewise.
6461 [POSIX] (timer_t): Likewise.
6462
89e435f3
FW
64632014-06-11 Florian Weimer <fweimer@redhat.com>
6464
6465 [BZ #17048]
6466 * posix/spawn_int.h (struct __spawn_action): Make the path string
6467 non-const to support deallocation.
6468 * posix/spawn_faction_addopen.c
6469 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6470 * posix/spawn_faction_destroy.c
6471 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6472 path in all spawn_do_open actions.
6473 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6474 posix_spawn_file_actions_addopen.
6475
c3a2ebe1
CM
64762014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6477
6478 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6479 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6480 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6481 conditional code always true.
6482 (__libc_vfork): New alias.
6483
9503784a
RM
64842014-06-11 Roland McGrath <roland@hack.frob.com>
6485
c9cab3d2
RM
6486 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6487 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6488
d3996c79
RM
6489 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6490
ba5ec611
RM
6491 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6492 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6493
f12b4814
RM
6494 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6495 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6496
9503784a
RM
6497 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6498 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6499
e23d3d26
VR
65002014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6503 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6504 multiarch strcmp for PPC64.
6505 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6506 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6508 multiarch optimizations.
6509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6510 (__libc_ifunc_impl_list): Likewise.
6511
42b1161e
SP
65122014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6513
6514 * benchtests/scripts/validate_benchout.py: New script.
6515 * benchtests/Makefile (bench-func): Call it.
6516 * benchtests/scripts/benchout.schema.json: New file.
6517
2d0fc4dc
CM
65182014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6519
4a594c34
AZ
6520 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6521 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6522 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6523 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6524 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6525 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6526 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6527 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6528 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6529 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6530 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6531 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6532 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6533 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6534 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6535 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6537 Moved ...
4a594c34 6538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6539 ... here.
4a594c34 6540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6541 Moved ...
4a594c34
AZ
6542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6544 Moved ...
4a594c34 6545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6546 ... here.
4a594c34 6547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6548 Moved ...
4a594c34 6549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6550 ... here.
4a594c34 6551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6552 Moved ...
4a594c34
AZ
6553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6555 Moved ...
4a594c34 6556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6557 ... here.
4a594c34 6558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6559 Moved ...
4a594c34 6560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6561 ... here.
4a594c34 6562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6563 Moved ...
4a594c34
AZ
6564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6566 Moved ...
4a594c34 6567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6568 ... here.
4a594c34 6569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6570 Moved ...
4a594c34 6571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6572 ... here.
4a594c34 6573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6574 Moved ...
4a594c34 6575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6576 ... here.
4a594c34 6577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6578 Moved ...
4a594c34
AZ
6579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6581 Moved ...
4a594c34 6582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6583 ... here.
4a594c34 6584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6585 Moved ...
4a594c34 6586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6587 ... here.
4a594c34 6588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6589 Moved ...
4a594c34 6590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6591 ... here.
4a594c34 6592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6593 Moved ...
4a594c34
AZ
6594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6596 Moved ...
4a594c34 6597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6598 ... here.
4a594c34 6599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6600 Moved ...
4a594c34 6601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6602 ... here.
4a594c34 6603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6604 Moved ...
4a594c34
AZ
6605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6607 Moved ...
4a594c34 6608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6609 ... here.
4a594c34 6610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6611 Moved ...
4a594c34
AZ
6612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6614 Moved ...
4a594c34
AZ
6615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6617 Moved ...
4a594c34 6618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6619 ... here.
4a594c34 6620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6621 Moved ...
4a594c34 6622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6623 ... here.
4a594c34 6624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6625 Moved ...
4a594c34 6626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6627 ... here.
4a594c34 6628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6629 Moved ...
4a594c34
AZ
6630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6632 Moved ...
4a594c34 6633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6634 ... here.
4a594c34 6635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6636 Moved ...
4a594c34 6637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6638 ... here.
4a594c34
AZ
6639 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6640 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6642 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6643 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6644 Moved ...
4a594c34 6645 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6646 ... here.
4a594c34
AZ
6647 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6648 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6650 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6651 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6652 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6653 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6654 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6655 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6656 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6658 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6660 Moved ...
4a594c34
AZ
6661 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6663 Moved ...
4a594c34
AZ
6664 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6668 Moved ...
4a594c34
AZ
6669 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6671 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6672 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6673 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6674 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6675 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6676
0570cfed
W
66772014-06-10 Wilco <wdijkstr@arm.com>
6678
6679 * math/test-fenv-return.c: New file.
6680 * math/Makefile: Add new test test-fenv-return.
6681
f8ba1b56
JM
66822014-06-10 Joseph Myers <joseph@codesourcery.com>
6683
6684 [BZ #17042]
6685 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6686 when x - 1 is zero.
6687 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6688 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6689 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6690 0.0L for an argument of 1.0L.
6691 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6692 Likewise.
6693 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6694 value when x - 1 is zero.
6695 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6696 * sysdeps/i386/fpu/libm-test-ulps: Update.
6697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6698
2c3520d9
BO
66992014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6700
6701 [BZ #15119]
6702 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6703
acaa4d24
RM
67042014-06-09 Roland McGrath <roland@hack.frob.com>
6705
6706 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6707 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6708
962b744d
RM
67092014-06-09 Roland McGrath <roland@hack.frob.com>
6710
d752f0cc
RM
6711 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6712 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6713
34eda6d1
RM
6714 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6715 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6716
50f0a637
RM
6717 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6718 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6719
08f41f04
RM
6720 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6721 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6722
962b744d
RM
6723 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6724 if not already defined.
6725 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6726 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6727 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6728 (TLS_INIT_TP): Use it.
6729 (TLS_DEFINE_INIT_TP): New macro.
6730 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6731
09f19b05
JM
67322014-06-09 Joseph Myers <joseph@codesourcery.com>
6733
6734 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6735 constant.
6736 [POSIX] (IXANY): Likewise.
6737 [POSIX] (OLCUC): Likewise.
6738 [POSIX || POSIX2008] (CBAUD): Do not allow.
6739 [POSIX || POSIX2008] (DEFECHO): Likewise.
6740 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6741 [POSIX || POSIX2008] (ECHOKE): Likewise.
6742 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6743 [POSIX || POSIX2008] (EXTA): Likewise.
6744 [POSIX || POSIX2008] (EXTB): Likewise.
6745 [POSIX || POSIX2008] (FLUSHO): Likewise.
6746 [POSIX || POSIX2008] (LOBLK): Likewise.
6747 [POSIX || POSIX2008] (PENDIN): Likewise.
6748 [POSIX || POSIX2008] (SWTCH): Likewise.
6749 [POSIX || POSIX2008] (VDISCARD): Likewise.
6750 [POSIX || POSIX2008] (VDSUSP): Likewise.
6751 [POSIX || POSIX2008] (VLNEXT): Likewise.
6752 [POSIX || POSIX2008] (VREPRINT): Likewise.
6753 [POSIX || POSIX2008] (VSTATUS): Likewise.
6754 [POSIX || POSIX2008] (VWERASE): Likewise.
6755 (B*): Change to B[0123456789]*.
6756 * conform/data/time.h-data [POSIX || UNIX98]
6757 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6758 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6759 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6760 [POSIX] (tm_*): Do not allow.
6761
686554bf
JM
67622014-06-07 Joseph Myers <joseph@codesourcery.com>
6763
6764 * Makefile (install): Don't set LANGUAGE.
6765 * Makefile.in (install): Likewise.
6766 * assert/Makefile (test-assert-ENV): Remove variable.
6767 (test-assert-perr-ENV): Likewise.
6768 * elf/Makefile (neededtest4-ENV): Likewise.
6769 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6770 [$(cross-compiling) = no]: Don't set LANGUAGE.
6771 * io/ftwtest-sh (LANG): Remove variable.
6772 * libio/Makefile (tst-widetext-ENV): Likewise.
6773 * manual/install.texi (Running make install): Don't refer to
6774 environment settings for make install.
6775 * INSTALL: Regenerated.
6776 * nptl/tst-tls6.sh: Don't set LANG.
6777 * posix/globtest.sh (LANG): Remove variable.
6778 * string/Makefile (tester-ENV): Likewise.
6779 (inl-tester-ENV): Likewise.
6780 (noinl-tester-ENV): Likewise.
6781 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6782 [$(cross-compiling) = no]: Don't set LANGUAGE.
6783 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6784 without explicit environment settings.
6785
68e6b6b1
RM
67862014-06-06 Roland McGrath <roland@hack.frob.com>
6787
6788 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6789 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6790 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6791 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6792
4d3ae034
CM
67932014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6794
6795 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6796 other files in the crypt directory.
6797 * crypt/crypt.c: Remove duplicate includes.
6798 * crypt/crypt-entry.c: Likewise.
6799 * crypt/crypt_util.c: Likewise.
6800
8540f6d2
JM
68012014-06-06 Joseph Myers <joseph@codesourcery.com>
6802
6803 * Makeconfig (run-program-env): New variable.
6804 (run-program-prefix-before-env): Likewise.
6805 (run-program-prefix-after-env): Likewise.
6806 (run-program-prefix): Define in terms of new variables.
6807 (built-program-cmd-before-env): New variable.
6808 (built-program-cmd-after-env): Likewise.
6809 (built-program-cmd): Define in terms of new variables.
6810 (test-program-prefix-before-env): New variable.
6811 (test-program-prefix-after-env): Likewise.
6812 (test-program-prefix): Define in terms of new variables.
6813 (test-program-cmd-before-env): New variable.
6814 (test-program-cmd-after-env): Likewise.
6815 (test-program-cmd): Define in terms of new variables.
6816 * Rules (make-test-out): Use $(run-program-env).
6817 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6818 (help): Do not mention environment variables. Mention
6819 --timeoutfactor option.
6820 (timeoutfactor): New variable.
6821 (blacklist_exports): Remove function.
6822 (exports): Remove variable.
6823 (command): Do not include ${exports}.
6824 * manual/install.texi (Configuring and compiling): Do not mention
6825 test wrappers preserving environment variables. Mention that last
6826 assignment to a variable must take precedence.
6827 * INSTALL: Regenerated.
6828 * benchtests/Makefile (run-bench): Use $(run-program-env).
6829 * catgets/Makefile ($(objpfx)test1.cat): Use
6830 $(built-program-cmd-before-env), $(run-program-env) and
6831 $(built-program-cmd-after-env).
6832 ($(objpfx)test2.cat): Do not specify environment variables
6833 explicitly.
6834 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6835 $(run-program-env) and $(built-program-cmd-after-env).
6836 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6837 $(run-program-env) and $(test-program-cmd-after-env).
6838 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6839 explicitly.
6840 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6841 run_program_env and test_program_cmd_after_env arguments.
6842 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6843 * elf/tst-pathopt.sh: Use run_program_env argument.
6844 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6845 $(test-wrapper-env) and $(run-program-env).
6846 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6847 run_program_env arguments.
6848 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6849 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6850 $(test-program-prefix-before-env), $(run-program-env) and
6851 $(test-program-prefix-after-env).
6852 ($(objpfx)tst-gettext2.out): Likewise.
6853 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6854 run_program_env and test_program_prefix_after_env arguments.
6855 * intl/tst-gettext2.sh: Likewise.
6856 * intl/tst-gettext4.sh: Do not set environment variables
6857 explicitly.
6858 * intl/tst-gettext6.sh: Likewise.
6859 * intl/tst-translit.sh: Likewise.
6860 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6861 $(test-program-prefix-before-env), $(run-program-env) and
6862 $(test-program-prefix-after-env).
6863 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6864 run_program_env and test_program_prefix_after_env arguments.
6865 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6866 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6867 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6868 explicitly with each use of ${test_wrapper_env}.
6869 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6870 $(test-program-prefix-before-env), $(run-program-env) and
6871 $(test-program-prefix-after-env).
6872 * posix/tst-getconf.sh: Do not set environment variables
6873 explicitly.
6874 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6875 run_program_env and test_program_prefix_after_env arguments.
6876 * stdio-common/tst-printf.sh: Do not set environment variables
6877 explicitly.
6878 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6879 $(test-program-prefix-before-env), $(run-program-env) and
6880 $(test-program-prefix-after-env).
6881 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6882 run_program_env and test_program_prefix_after_env arguments.
6883 Split $test calls into $test_pre and $test.
6884 * timezone/Makefile (build-testdata): Use
6885 $(built-program-cmd-before-env), $(run-program-env) and
6886 $(built-program-cmd-after-env).
6887
ed36bfa1
AZ
68882014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6889
6890 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6891 strlen for non SHARED builds.
6892
fc75bf46
SP
68932014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6894
6895 * nptl/allocatestack.c (check_list): Inlined function...
6896 (__reclaim_stacks): ... here.
6897
d89b3d80
OB
68982014-06-05 Ondřej Bílka <neleai@seznam.cz>
6899
6900 [BZ #15698]
6901 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6902 memory overrun.
6903
2bf18041
JM
69042014-06-05 Joseph Myers <joseph@codesourcery.com>
6905
6906 * Rules (make-test-out): Include
6907 LOCPATH=$(common-objpfx)localedata in default environment.
6908 * debug/Makefile (tst-chk1-ENV): Remove variable.
6909 (tst-chk2-ENV): Likewise.
6910 (tst-chk3-ENV): Likewise.
6911 (tst-chk4-ENV): Likewise.
6912 (tst-chk5-ENV): Likewise.
6913 (tst-chk6-ENV): Likewise.
6914 (tst-lfschk1-ENV): Likewise.
6915 (tst-lfschk2-ENV): Likewise.
6916 (tst-lfschk3-ENV): Likewise.
6917 (tst-lfschk4-ENV): Likewise.
6918 (tst-lfschk5-ENV): Likewise.
6919 (tst-lfschk6-ENV): Likewise.
6920 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6921 (tst-iconv7-ENV): Likewise.
6922 * intl/Makefile (LOCPATH-ENV): Likewise.
6923 (tst-codeset-ENV): Likewise.
6924 (tst-gettext3-ENV): Likewise.
6925 (tst-gettext5-ENV): Likewise.
6926 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6927 (tst-fopenloc-ENV): Likewise.
6928 (tst-fgetws-ENV): Remove variable.
6929 (tst-ungetwc1-ENV): Likewise.
6930 (tst-ungetwc2-ENV): Likewise.
6931 (bug-ungetwc2-ENV): Likewise.
6932 (tst-swscanf-ENV): Likewise.
6933 (bug-ftell-ENV): Likewise.
6934 (tst-fgetwc-ENV): Likewise.
6935 (tst-fseek-ENV): Likewise.
6936 (tst-ftell-partial-wide-ENV): Likewise.
6937 (tst-ftell-active-handler-ENV): Likewise.
6938 (tst-ftell-append-ENV): Likewise.
6939 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6940 (tst-regexloc-ENV): Likewise.
6941 (bug-regex1-ENV): Likewise.
6942 (tst-regex-ENV): Likewise.
6943 (tst-regex2-ENV): Likewise.
6944 (bug-regex5-ENV): Likewise.
6945 (bug-regex6-ENV): Likewise.
6946 (bug-regex17-ENV): Likewise.
6947 (bug-regex18-ENV): Likewise.
6948 (bug-regex19-ENV): Likewise.
6949 (bug-regex20-ENV): Likewise.
6950 (bug-regex22-ENV): Likewise.
6951 (bug-regex23-ENV): Likewise.
6952 (bug-regex25-ENV): Likewise.
6953 (bug-regex26-ENV): Likewise.
6954 (bug-regex30-ENV): Likewise.
6955 (bug-regex32-ENV): Likewise.
6956 (bug-regex33-ENV): Likewise.
6957 (bug-regex34-ENV): Likewise.
6958 (bug-regex35-ENV): Likewise.
6959 (tst-rxspencer-ENV): Likewise.
6960 (tst-rxspencer-no-utf8-ENV): Likewise.
6961 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6962 (tst-sscanf-ENV): Likewise.
6963 (tst-swprintf-ENV): Likewise.
6964 (tst-swscanf-ENV): Likewise.
6965 (test-vfprintf-ENV): Likewise.
6966 (scanf13-ENV): Likewise.
6967 (bug14-ENV): Likewise.
6968 (tst-grouping-ENV): Likewise.
6969 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6970 (tst-strtod3-ENV): Likewise.
6971 (tst-strtod4-ENV): Likewise.
6972 (tst-strtod5-ENV): Likewise.
6973 (testmb2-ENV): Likewise./
6974 * string/Makefile (tst-strxfrm-ENV): Likewise.
6975 (tst-strxfrm2-ENV): Likewise.
6976 (bug-strcoll1-ENV): Likewise.
6977 (test-strcasecmp-ENV): Likewise.
6978 (test-strncasecmp-ENV): Likewise.
6979 * time/Makefile (tst-strptime-ENV): Likewise.
6980 (tst-ftime_l-ENV): Likewise.
6981 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6982 (tst-mbrtowc-ENV): Likewise.
6983 (tst-wcrtomb-ENV): Likewise.
6984 (tst-mbrtowc2-ENV): Likewise.
6985 (tst-c16c32-1-ENV): Likewise.
6986 (tst-mbsnrtowcs-ENV): Likewise.
6987
cd1fb604
OB
69882014-06-05 Ondřej Bílka <neleai@seznam.cz>
6989
6990 * manual/resource.texi (How to get information about the memory
6991 subsystem?): Fix typo.
6992 Reported by Peon de la Parra Ivan <peon@keba.com>
6993
b42eca7d
GY
69942014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6995
6996 [BZ #16882]
6997 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6998 (pthread_spin_lock): Branch out of spin loop to proper location.
6999 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7000 (pthread_spin_lock): Likewise.
7001
902b71f9
DM
7002 * nptl/tst-spin4.c: New test.
7003 * nptl/Makefile (tests): Add tst-spin4.
7004
f9d2d032
AS
70052014-06-03 Andreas Schwab <schwab@suse.de>
7006
7007 [BZ #15946]
7008 * resolv/res_send.c (send_dg): Reload file descriptor after
7009 calling reopen.
7010
cf7bfd28
SL
70112014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7012
7013 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7014
111cc714
RH
70152014-06-03 Richard Henderson <rth@redhat.com>
7016
89b4bd6b
RH
7017 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7018 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7019 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7020 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7021 in the SAVE_PID block.
7022 (__libc_vfork): New alias.
71840409 7023 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7024
111cc714
RH
7025 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7026 child in registers, not on the stack. Remove RESET_PID conditionals.
7027 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7028
ccc39911
MS
70292014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7030
7031 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7032
693096cc
W
70332014-06-03 Wilco <wdijkstr@arm.com>
7034
7035 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7036 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7037 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7038 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7039 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7040 Likewise.
7041
0b4366bc
W
70422014-06-03 Wilco <wdijkstr@arm.com>
7043
7044 * sysdeps/aarch64/fpu/math_private.h
7045 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7046 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7047 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7048 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7049 Fix declarations.
7050
8747cd03
KS
70512014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7052
7053 * crypt/crypt-private.h: Include ufc-crypt.h.
7054 (__b64_from_24bit): Declare extern.
7055 * crypt/crypt_util.c(__b64_from_24bit): New function.
7056 (b64t): New static const variable.
7057 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7058 (b64t): Remove variable.
7059 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7060 * crypt/sha256-crypt.c: Include crypt-private.h.
7061 (b64t): Remove variable.
7062 (__sha256_crypt_r): Remove b64_from_24bit and replace
7063 with __b64_from_24bit.
7064 * crypt/sha512-crypt.c: Likewise.
7065
d936d379
RM
70662014-06-02 Roland McGrath <roland@hack.frob.com>
7067
7068 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7069 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7070 Label the code __libc_vfork rather than __vfork.
7071 [!NOT_IN_libc] (vfork): Define as weak alias.
7072 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7073 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7074 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7075
9fa76613
SP
70762014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7077
7078 * malloc/malloc.c (malloc_info): Fix format specifier for
7079 n_mmaps.
7080
a88dadbe
W
70812014-06-02 Wilco <wdijkstr@arm.com>
7082
7083 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7084 FPCR write.
7085
c95b3011
W
70862014-06-02 Wilco <wdijkstr@arm.com>
7087
7088 [BZ #17009]
7089 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7090 Rewrite to reduce FPCR/FPSR accesses.
7091
6b4d7a90
DM
70922014-06-01 David S. Miller <davem@davemloft.net>
7093
7094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7095
30f3d07c
DM
70962014-05-31 David S. Miller <davem@davemloft.net>
7097
7098 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7099 to occur in round to nearest mode when |x| >= 2.0
7100
74f31c18
RH
71012014-05-30 Richard Henderson <rth@twiddle.net>
7102
f0712b54
RH
7103 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7104 (PSEUDO_RET_NOERRNO): Remove.
7105 (ret): Don't redefine.
7106 (ret_NOERRNO): Define in terms of ret.
7107 (ret_ERRVAL): Likewise.
7108
74f31c18
RH
7109 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7110 use of PSEUDO_RET; perform the error check directly.
7111
30477995
MM
71122014-05-30 Marko Myllynen <myllynen@redhat.com>
7113
7114 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7115 with __int128_t.
7116
62a58816
SP
71172014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7118
7119 * malloc/malloc (malloc_info): Fix formatting.
7120
4d653a59
SP
71212014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7122 Roland McGrath <roland@hack.frob.com>
7123
7124 * malloc/malloc (malloc_info): Also print mmapped statistics.
7125
5190c17f
RM
71262014-05-30 Roland McGrath <roland@hack.frob.com>
7127
7128 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7129 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7130
987c0269
OB
71312014-05-30 Ondřej Bílka <neleai@seznam.cz>
7132
7133 * malloc/malloc.c (malloc_info): Inline mi_arena.
7134
af4e8ef9
RH
71352014-05-29 Richard Henderson <rth@twiddle.net>
7136
1670e207
RH
7137 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7138 Remove comma before expanding ASM_ARGS_##nr.
7139 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7140 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7141 of ASM_ARGS_##nr.
7142 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7143 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7144 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7145 (ASM_ARGS_1): Add leading comma.
7146
11a28aee
RH
7147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7148 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7149 to __errno_location.
7150 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7151 Remove the expected plt for __errno_location.
7152
a17e5ffb 7153 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7154 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7155 call to __read_tp.
7156
b5be4597
RH
7157 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7158 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7159 it and break it down.
7160 (DOCARGS_0, DOCARGS_1): Do nothing.
7161 (DOCARGS_2): Update to store into the new stack frame.
7162 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7163 (UNDOCARGS_1): Update to restore from the new stack frame.
7164 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7165 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7166
645d44ab
RH
7167 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7168 (SINGLE_THREAD_P): New parameter for result regno.
7169 (PSEUDO): Update to match; use cbz instead of beq.
7170
a8b4f04a
RH
7171 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7172 Use ENTRY to define the _nocancel entry point. Share the syscall
7173 and syscall error check paths with the cancel path.
7174 (PSEUDO_END): New.
7175
af4e8ef9
RH
7176 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7177 whitespace; tabs before and after asm mnemonics.
7178
26b0d2e1
EW
71792014-05-29 Eric Wong <normalperson@yhbt.net>
7180
7181 [BZ #15132]
7182 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7183 Call fstat64 or stat64 internally, depending on arguments passed.
7184 Replace stat buffer argument with file descriptor argument.
7185 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7186 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7187 Pass fd to __internal_statvfs instead of calling fstat64.
7188 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7189 Pass fd to __internal_statvfs64 instead of calling fstat64.
7190 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7191 Pass -1 to __internal_statvfs instead of calling stat64.
7192 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7193 Pass -1 to __internal_statvfs64 instead of calling stat64.
7194
1efe2bd9
RM
71952014-05-28 Roland McGrath <roland@hack.frob.com>
7196
0d3b7a19
RM
7197 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7198 that was previously under [RESET_PID].
7199 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7200
1efe2bd9
RM
7201 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7202 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7203
a6bea3ca
RM
72042014-05-27 Roland McGrath <roland@hack.frob.com>
7205
30b6629e
RM
7206 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7207
a6bea3ca
RM
7208 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7209 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7210
3dfb9a5c
OB
72112014-05-27 Ondřej Bílka <neleai@seznam.cz>
7212
7213 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7214
774f9285
AS
72152014-05-27 Andreas Schwab <schwab@suse.de>
7216
7217 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7218 TLS_INIT_TP macro.
7219 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7220 * elf/rtld.c (init_tls, dl_main): Likewise.
7221 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7222 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7223 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7224 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7225 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7226 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7227 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7228 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7229 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7230 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7231 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7232 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7233 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7234 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7235 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7236 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7237 * sysdeps/generic/tls.h: Update description.
7238
36ffe739
WN
72392014-05-27 Will Newton <will.newton@linaro.org>
7240
7241 [BZ #16990]
7242 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7243 and restore r2 rather than just restoring.
7244
2482ae43
SP
72452014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7246
7247 [BZ #16724]
7248 * libio/tst-ftell-append.c: New test case.
7249 * libio/Makefile (tests): Add test case.
7250 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7251 append mode.
7252 * libio/wfileops.c (do_ftell_wide): Likewise.
7253
3d1024e8
AZ
72542014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255
bab90016
AZ
7256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7257
c7a8d667
AZ
7258 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7259 ...
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7262 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7263 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7264 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7265 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7266 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7267 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7269 Moved ...
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7272 Moved ...
7273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7274 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7275 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7276 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7277 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7278 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7279 ...
7280 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7281 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7282 Moved ...
7283 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7284 here.
7285 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7286 ...
7287 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7288 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7289 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7290
daee7851
AZ
7291 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7292 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7293 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7294 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7295
50a40819
AZ
7296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7297 merge into ...
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7300 ...
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7303 ...
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7306 Moved ...
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7308 here.
7309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7310 Moved ...
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7313 Moved ...
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7315
8464c2a1
AZ
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7317 conditional [RESET_PID].
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7320 removed.
7321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7322 removed.
7323
3d1024e8
AZ
7324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7325 <tcb-offsets.h>.
7326 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7327 (__libc_vfork): New strong alias.
7328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7329 removed.
7330 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7331 Removed.
7332
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7334 <tcb-offsets.h>.
7335 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7336 (__libc_vfork): New strong alias.
7337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7338 removed.
7339 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7340 removed.
7341
fdfd175d
CD
73422014-05-26 Carlos O'Donell <carlos@redhat.com>
7343
7344 * malloc/malloc.c (mi_arena): New function.
7345 (malloc_info): Remove nested function mi_arena. Call non-nosted
7346 function mi_arena.
7347
d298c416
AZ
73482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7349
7350 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7351 by insrwi.
7352 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7353 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7354 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7355 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7356 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7357 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7358 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7359
b60ea6ff
AS
73602014-05-26 Andreas Schwab <schwab@suse.de>
7361
7362 [BZ #16984]
7363 * locale/programs/repertoire.c (repertoire_read): Add slash
7364 between I18NPATH element and file name.
7365 * locale/programs/locfile.c (locfile_read): Likewise.
7366
67365926
SL
73672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7368
7369 * nptl/pthread_mutexattr_settype.c
7370 (__pthread_mutexattr_settype):
7371 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7372
f8bdf1f0
SL
73732014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7374
7375 * nptl/tst-mutex5 (do_test):
7376 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7377
15eaf6ff
SP
73782014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7379
7380 * benchtests/README: Document 'init' directive.
7381 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7382 BENCH_INIT.
7383 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7384 (parse_file): Recognize 'init' directive.
7385
75f11331
KM
73862014-05-26 Kyle McMartin <kyle@redhat.com>
7387
7388 [BZ #16796]
7389 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7390 alignment of struct pthread.
7391
c3ec475c
SP
73922014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7393
7394 [BZ #16878]
7395 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7396 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7397 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7398 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7399
82aab97c
RH
74002014-05-25 Richard Henderson <rth@twiddle.net>
7401
aa2f176d
RH
7402 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7403 (SINGLE_THREAD_P_PIC): Remove.
7404 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7405 (SINGLE_THREAD_P_PIC): Remove.
7406
ca3cfa40
RH
7407 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7408 branch to syscall error ...
7409 (PSEUDO): ... here.
7410 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7411 from __local_syscall_error to .Lsyscall_error.
7412 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7413 (SYSCALL_ERROR): Update label name.
7414
6e6c2d01
RH
7415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7416 Do not use DOARGS/UNDOARGS.
7417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7418 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7419 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7420 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7421 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7422
c69abcee
RH
7423 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7424 block comment.
7425
82aab97c
RH
7426 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7427 define if !NOT_IN_libc.
7428 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7429 define with non-default symbol versions.
7430
8820e3ac
RH
74312014-05-23 Richard Henderson <rth@twiddle.net>
7432
900e445f
RH
7433 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7434 (vfork, __vfork): Define via compat_symbol.
7435
8820e3ac
RH
7436 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7437 [!HAVE_IFUNC] (vfork_compat): Remove.
7438 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7439
e59252a5
JM
74402014-05-23 Joseph Myers <joseph@codesourcery.com>
7441
7442 [BZ #16978]
7443 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7444 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7445 variable.
7446
132c7f5f
RH
74472014-05-23 Richard Henderson <rth@twiddle.net>
7448
bc89e962
RH
7449 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7450 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7451 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7452 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7453
7454 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7455 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7456 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7457 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7458 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7459 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7460 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7461 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7462 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7463 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7464 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7465 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7466 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7467 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7469 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7470 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7471 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7473 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7475 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7477 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7478 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7483 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7485 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7487 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7489 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7490 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7491 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7492 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7493 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7494 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7495 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7496 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7497 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7498 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7499 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7501 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7502 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7503 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7504 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7505 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7506 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7507 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7508 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7509 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7510
e2fa4bc2
RH
7511 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7512 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7513 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7514 before exiting on error.
7515 (__libc_vfork): New strong alias.
7516 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7517 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7518
279b24e2
RH
7519 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7520 that was previously under [RESET_PID].
7521 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7522
132c7f5f
RH
7523 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7524
b72592e7
JM
75252014-05-23 Joseph Myers <joseph@codesourcery.com>
7526
7527 [BZ #16977]
7528 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7529 value when x - 1 is zero.
7530 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7531 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7532 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7533 0.0L for an argument of 1.0L.
7534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7535 Likewise.
7536 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7537 value when x - 1 is zero.
7538 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7539 * sysdeps/i386/fpu/libm-test-ulps: Update.
7540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7541
2302d679
RV
75422014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7543
7544 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7545 alphasort and versionsort.
7546
32999d63
AZ
75472014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7548
7549 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7550 macro.
7551 [copysignf]: Likewise.
7552
019324d0
SP
75532014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
7555 * crypt/md5-crypt.c: Fix formatting.
7556
34fff5c2
KS
75572014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7558
7559 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7560 (b64_from_24bit): New function.
7561
3d2badac
AZ
75622014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7563
7564 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7565 libc_hidden_builtin_def to ifunc.
7566 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7567 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7568
f7bb179f 75692014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7570
7571 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7572 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7573
4134b50d
JM
75742014-05-21 Joseph Myers <joseph@codesourcery.com>
7575
bb7d0337
JM
7576 * nscd/Depend (linuxthreads): Remove.
7577 (nptl): Add.
7578 * resolv/Depend (linuxthreads): Remove.
7579 * rt/Depend (linuxthreads): Remove.
7580
4134b50d
JM
7581 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7582 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7583 $(common-objpfx)elf/.
7584 (link-libc-before-gnulib): Likewise.
7585 (elfobjdir): Remove variable.
7586 * Makefile (install): Use $(elf-objpfx) instead of
7587 $(common-objpfx)elf/.
7588 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7589 $(elfobjdir)/.
7590 (link-libc-deps): Likewise.
7591 ($(common-objpfx)libc.so): Likewise.
7592 ($(common-objpfx)linkobj/libc.so): Likewise.
7593 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7594 instead of $(common-objpfx)elf/.
7595 (symbolic-link-list): Likewise.
7596 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7597 [$(cross-compiling) = no]: Likewise.
7598 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7599 $(elfobjdir)/.
7600 (static-gnulib-arch): Likewise.
7601 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7602 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7603 $(common-objpfx)elf/.
7604
3612eb8f
RH
76052014-05-21 Richard Henderson <rth@redhat.com>
7606
a6b3657b
RH
7607 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7608 (SINGLE_THREAD_P): Use the correct width load. Fold
7609 into the ldr offset.
7610
3612eb8f
RH
7611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7612 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7613
175cef41
JM
76142014-05-20 Joseph Myers <joseph@codesourcery.com>
7615
7616 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7617 (libgcc_s_resume): Use __attribute_used__.
7618 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7619 Likewise.
7620
e13bccd3
AZ
76212014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7622
7623 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7624 optimization when used with float constants.
7625
7c112a38
AZ
7626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7627
ae75a883
AJ
76282014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7629
7630 [BZ #16915]
7631 * locale/nl_langinfo_l.c: Make direct reference to every
7632 _nl_current_CATEGORY symbol.
7633 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7634 (tests-static): Add tst-langinfo-static.
7635 (tests-special): Add tst-langinfo-static.out.
7636 ($(objpfx)tst-langinfo.out): Redirect output.
7637 ($(objpfx)tst-langinfo-static.out): New.
7638 * localedata/tst-langinfo.sh: Send output to stdout.
7639 * localedata/tst-langinfo-static.c: New file.
7640
4406c41c
AJ
7641 [BZ #16965]
7642 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7643 when the shift amount is modulo the limb size.
7644
4c0a1e63
RH
76452014-05-20 Richard Henderson <rth@redhat.com>
7646
de9d8f20
RH
7647 [BZ #16967]
7648 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7649 Change type of sa_flags from unsigned int to int.
7650
4c0a1e63
RH
7651 [BZ #16966]
7652 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7653
7654 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7655
a60339aa
WN
76562014-05-20 Will Newton <will.newton@linaro.org>
7657
7658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7659 Test the return value of the system call in the nocancel case.
7660
7d05a816
YR
76612014-05-20 Will Newton <will.newton@linaro.org>
7662 Yvan Roux <yvan.roux@linaro.org>
7663
7664 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7665 #include of asm/ptrace.h.
7666 (PTRACE_GET_THREAD_AREA): Remove #undef.
7667 (PTRACE_GETHBPREGS): Likewise.
7668 (PTRACE_SETHBPREGS): Likewise.
7669 (struct user_regs_struct): New structure.
7670 (struct user_fpsimd_struct): New structure.
7671 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7672 #include of asm/ptrace.h and second #include of sys/user.h.
7673 (PTRACE_GET_THREAD_AREA): Remove #undef.
7674 (PTRACE_GETHBPREGS): Likewise.
7675 (PTRACE_SETHBPREGS): Likewise.
7676 (ELF_NGREG): Use new struct user_regs_struct.
7677 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7678
af121e37
AZ
76792014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680
7681 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7682 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7683
834caf06
JM
76842014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7685
7686 [BZ #16958]
7687 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7688 membar to avoid block loads/stores to overlap previous stores.
7689
e184a918
RH
76902014-05-17 Richard Henderson <rth@redhat.com>
7691
7692 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7693 Create the __##syscall_name##_nocancel entry point.
7694 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7695 Remove; let the sysdep-cancel.h code create it.
7696
f56c7a6a
DM
76972014-05-17 David S. Miller <davem@davemloft.net>
7698
7699 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7700 Protect with __USE_GNU.
7701 (TIOCSET_TEMPT): Likewise.
7702 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7703 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7704 these are already provided in bits/ioctl-types.h
7705
f75616b2
RM
77062014-05-16 Roland McGrath <roland@hack.frob.com>
7707
3edeca86
RM
7708 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7709 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7710
f75616b2
RM
7711 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7712 Use wait4 regardless of [__NR_waitpid].
7713
deb0f7f6
MR
77142014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7715
7716 PR libgcc/60166
7717 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7718 (_FP_NANSIGN_Q): Set the quiet bit.
7719
79520f4b
JM
77202014-05-16 Joseph Myers <joseph@codesourcery.com>
7721
7722 * benchtests/Makefile
7723 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7724 not $(common-objpfx)math/libm.so.
7725 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7726 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7727 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7728 $(common-objpfx)dlfcn/libdl.so.
7729 ($(objpfx)tst-audit8): Depend on $(libm), not
7730 $(common-objpfx)math/libm.so.
7731 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7732 not $(common-objpfx)dlfcn/libdl.so.
7733 * math/Makefile
7734 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7735 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7736 [$(build-shared) = yes].
7737 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7738 $(common-objpfx)nptl/libpthread.so.
7739 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7740 $(common-objpfx)math/libm.so$(libm.so-version) or
7741 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7742 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7743 $(common-objpfx)dlfcn/libdl.so.
7744 * setjmp/Makefile (link-libm): Remove variable.
7745 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7746 * stdio-common/Makefile (link-libm): Remove variable.
7747 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7748 * stdlib/Makefile (link-libm): Remove variable.
7749 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7750 ($(objpfx)tst-strtod-round): Likewise.
7751 ($(objpfx)tst-tininess): Likewise.
7752 ($(objpfx)tst-strtod-underflow): Likewise.
7753 ($(objpfx)tst-strtod6): Likewise.
7754 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7755 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7756 $(common-objpfx)dlfcn/libdl.so.
7757
026b0fe4
AZ
77582014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7759
7760 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7761 BSD terminal modes definitions.
7762
def4bcb2
RM
77632014-05-16 Roland McGrath <roland@hack.frob.com>
7764
fe39b021
RM
7765 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7766 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7767
1d1fc46e 7768 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
7769 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7770 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7771 Don't do #include_next.
7772 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7773 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7774 Don't do #include_next.
7775 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7776 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7777 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7778 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7779
c72399fb
AM
77802014-05-16 Allan McRae <allan@archlinux.org>
7781
d51d659d
AM
7782 * po/sv.po: Update Swedish translation from translation project.
7783
c72399fb
AM
7784 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7785 in sed expression.
7786
d0583c40
AJ
77872014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7788
7789 [BZ #16917]
7790 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7791 errno if the TIOCGPTN ioctl fails with an error different than
7792 EINVAL.
7793 * login/tst-ptsname.c: New file.
7794 * login/Makefile (tests): Add tst-ptsname.
7795
d16e6ec7
AJ
7796 [BZ #16943]
7797 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7798 and prlimit64.
7799
cf26a0cb
SP
78002014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7801
7802 [BZ #16849]
7803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7804 herrno to return EAI_AGAIN.
7805
5675da1e
RM
78062014-05-14 Roland McGrath <roland@hack.frob.com>
7807
a5d87b3d
RM
7808 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7809 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7810 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7819 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7821 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7822 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7823 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7825 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7827 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7828 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7829 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7830 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7831 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7832 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7833 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7834 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7835 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7837 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7839 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7840 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7841 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7843 Moved ...
7844 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7846 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7848 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7850 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7851 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7852 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7854 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7856 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7858 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7860 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7862 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7864 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7866 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7868 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7870 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7872 Moved ...
7873 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7885 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7893 Moved ...
7894 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7896 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7897
039890a6
RM
7898 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7899 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7900 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7901 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7902 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7903 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7904 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7905 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7906 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7907 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7908 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7909 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7910 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7911 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7912 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7913 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7914 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7915 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7916 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7917 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7918 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7919 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7920 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7921 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7922 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7923 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7924 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7925 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7926 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7927 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7928 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7929
65c89320
RM
7930 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7931 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7932
348f8e8c
RM
7933 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7934 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7935 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7936 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7937 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7939 Moved ...
7940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7941 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7942 Moved ...
7943 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7944 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7945 Moved ...
7946 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7948 Moved ...
7949 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7950 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7951 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7952 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7953 Moved ...
7954 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7955 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7956 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7958 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7959 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7960 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7961 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7962 Moved ...
7963 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7964 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7965 Moved ...
7966 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7967 ... here.
7968 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7969 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7970 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7971 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7972 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7973 Moved ...
7974 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7975 ... here.
7976 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7977 Moved ...
7978 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7979 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7980 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7981 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7982 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7984 Moved ...
7985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7986 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7987 Moved ...
7988 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7989 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7990 Moved ...
7991 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7993 Moved ...
7994 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7995 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7996 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7997 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7998 Moved ...
7999 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8000 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8001 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8003 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8004 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8005 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8006 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8007 Moved ...
8008 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8009 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8010 Moved ...
8011 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8012 ... here.
8013 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8014 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8016 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8017 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8018 Moved ...
8019 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8020 ... here.
8021 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8022 Moved ...
8023 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8024 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8025 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8026 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8027 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8028 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8029 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8030 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8031 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8032 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8033 Moved ...
8034 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8035 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8036 Moved ...
8037 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8039 Moved ...
8040 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8041 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8042 Moved ...
8043 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8044 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8045 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8046 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8047 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8049 Moved ...
8050 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8052 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8053 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8054 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8055 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8056 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8058 Moved ...
8059 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8060 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8061 Moved ...
8062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8063 ... here.
8064 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8065 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8066 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8067 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8068 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8069 Moved ...
8070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8071 ... here.
8072 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8073 Moved ...
8074 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8076 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8078 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8079 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8080 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8082 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8083 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8084 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8085
5085af05
RM
8086 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8087 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8088
708f0813
RM
8089 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8090 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8091
c96067bc
RM
8092 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8093 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8094 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8095 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8096 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8097 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8098 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8099 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8100 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8102 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8103 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8104 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8106 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8108 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8110 Moved ...
8111 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8112 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8113 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8114 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8115 Moved ...
8116 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8118 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8120 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8122 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8123 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8124 Moved ...
8125 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8127 Moved ...
8128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8130 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8131 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8134 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8136 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8138 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8140 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8142 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8144 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8145
ec136444
RM
8146 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8147 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8148 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8149 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8150 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8151
2fbdf533
RM
8152 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8153 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8154 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8155 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8156 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8157 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8158 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8159 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8160 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8161 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8162
4c68138b
RM
8163 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8165
4eaae765
RM
8166 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8167 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8168 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8169 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8170 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8171 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8172 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8173 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8174 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8175 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8176 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8177 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8178 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8179 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8180 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8181 Update #include.
8182 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8183 Likewise.
8184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8185 Likewise.
8186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8187 Likewise.
8188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8189 Likewise.
8190 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8191 Likewise.
8192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8193 Likewise.
8194 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8195 Likewise.
8196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8197 Likewise.
8198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8199 Likewise.
4ef6befa
RM
8200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8204 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8205 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8206 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8207 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8208 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8209 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8210 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8211 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8212 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8213 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8214 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8215
941d7dfd
RM
8216 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8217 that was previously under [RESET_PID].
8218 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8219 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8220 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8221
1b731c35
RM
8222 * sysdeps/i386/nptl/Implies: New file.
8223 * sysdeps/x86_64/nptl/Implies: New file.
8224 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8225 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8227 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8228
e2787137
RM
8229 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8230 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8231 (__libc_vfork): New strong alias.
8232 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8233 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8234
8235 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8236 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8237 (__libc_vfork): New strong alias.
8238 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8239 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8240
5675da1e
RM
8241 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8242 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8243 (__libc_vfork): New strong alias.
8244 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8245 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8246 * nptl/pt-vfork.c: New file.
8247 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8248 (libpthread: GLIBC_2.20): New version set (empty).
8249
4f02e2b8
WN
82502014-05-14 Will Newton <will.newton@linaro.org>
8251
8252 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8253 rather than #if.
8254
0bf061d3
JM
82552014-05-14 Joseph Myers <joseph@codesourcery.com>
8256
1a84c3d6
JM
8257 [BZ #16564]
8258 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8259 arguments with exponent 65 or above.
8260 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8261 arguments 0x1p113L or above.
8262 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8263 to arguments 0x1p107L or above.
8264 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8265 positive arguments with exponent 65 or above.
8266 * math/auto-libm-test-in: Add more tests of log1p.
8267 * math/auto-libm-test-out: Regenerated.
8268
01dbacd2
JM
8269 [BZ #16928]
8270 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8271 non-finite arguments is +0.
8272 * math/s_cacosf.c (__cacosf): Likewise.
8273 * math/s_cacosl.c (__cacosl): Likewise.
8274 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8275 * sysdeps/i386/fpu/libm-test-ulps: Update.
8276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8277
913d03c8
JM
8278 [BZ #16927]
8279 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8280 value.
8281 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8282 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8283 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8284 for explicit high bit of mantissa when testing for argument equal
8285 to 1.
8286 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8287 * sysdeps/i386/fpu/libm-test-ulps: Update.
8288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8289
0bf061d3
JM
8290 [BZ #16516]
8291 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8292 (__erf): Scale by 16 instead of 8 in potentially underflowing
8293 case. Ensure exception if result actually underflows.
8294 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8295 (__erff): Scale by 16 instead of 8 in potentially underflowing
8296 case. Ensure exception if result actually underflows.
8297 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8298 (efx8): Remove variable.
8299 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8300 case. Ensure exception if result actually underflows.
8301 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8302 (efx8): Remove variable.
8303 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8304 case. Ensure exception if result actually underflows.
8305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8306 (efx8): Remove variable.
8307 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8308 case. Ensure exception if result actually underflows.
8309 * math/auto-libm-test-in: Add more tests of erf.
8310 * math/auto-libm-test-out: Regenerated.
8311
73ba67cb
AS
83122014-05-14 Andreas Schwab <schwab@suse.de>
8313
3d8c8bff
AS
8314 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8315 Remove code conditionalized on USE___THREAD.
8316
73ba67cb
AS
8317 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8318 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8319 not definedness.
8320
5c521ecd
JM
83212014-05-14 Joseph Myers <joseph@codesourcery.com>
8322
5e7698c6
JM
8323 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8324 Define unconditionally.
8325 (__ASSUME_O_CLOEXEC): Likewise.
8326 (__ASSUME_SOCK_CLOEXEC): Likewise.
8327 (__ASSUME_IN_NONBLOCK): Likewise.
8328 (__ASSUME_PIPE2): Likewise.
8329 (__ASSUME_EVENTFD2): Likewise.
8330 (__ASSUME_SIGNALFD4): Likewise.
8331 (__ASSUME_DUP3): Likewise.
8332 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8333 (__ASSUME_DUP3): Do not define.
8334 (__ASSUME_EVENTFD2): Likewise.
8335 (__ASSUME_IN_NONBLOCK): Likewise.
8336 (__ASSUME_O_CLOEXEC): Likewise.
8337 (__ASSUME_PIPE2): Likewise.
8338 (__ASSUME_SIGNALFD4): Likewise.
8339 (__ASSUME_SOCK_CLOEXEC): Likewise.
8340 (__ASSUME_UTIMES): Undefine.
8341 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8342 (__ASSUME_UTIMES): Do not define.
8343 (__ASSUME_O_CLOEXEC): Likewise.
8344 (__ASSUME_SOCK_CLOEXEC): Likewise.
8345 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8346 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8347 0x020621].
8348 (__ASSUME_PIPE2): Likewise.
8349 (__ASSUME_EVENTFD2): Likewise.
8350 (__ASSUME_SIGNALFD4): Likewise.
8351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8352 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8353 Do not define.
8354 (__ASSUME_EVENTFD2): Likewise.
8355 (__ASSUME_SIGNALFD4): Likewise.
8356 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8357 (__ASSUME_32BITUIDS): Likewise.
8358 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8359 (__ASSUME_IPC64): Likewise.
8360 (__ASSUME_ST_INO_64_BIT): Likewise.
8361 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8362 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8363 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8364 (__ASSUME_UTIMES): Do not define.
8365 (__ASSUME_PSELECT): Likewise.
8366 (__ASSUME_PPOLL): Likewise.
8367 (__ASSUME_O_CLOEXEC): Likewise.
8368 (__ASSUME_SOCK_CLOEXEC): Likewise.
8369 (__ASSUME_IN_NONBLOCK): Likewise.
8370 (__ASSUME_PIPE2): Likewise.
8371 (__ASSUME_EVENTFD2): Likewise.
8372 (__ASSUME_SIGNALFD4): Likewise.
8373 (__ASSUME_DUP3): Likewise.
8374 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8375 (__ASSUME_UTIMES): Likewise.
8376 (__ASSUME_O_CLOEXEC): Likewise.
8377 (__ASSUME_SOCK_CLOEXEC): Likewise.
8378 (__ASSUME_IN_NONBLOCK): Likewise.
8379 (__ASSUME_PIPE2): Likewise.
8380 (__ASSUME_EVENTFD2): Likewise.
8381 (__ASSUME_SIGNALFD4): Likewise.
8382 (__ASSUME_DUP3): Likewise.
8383 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8384 (__ASSUME_UTIMES): Likewise.
8385 (__ASSUME_O_CLOEXEC): Likewise.
8386 (__ASSUME_SOCK_CLOEXEC): Likewise.
8387 (__ASSUME_IN_NONBLOCK): Likewise.
8388 (__ASSUME_PIPE2): Likewise.
8389 (__ASSUME_EVENTFD2): Likewise.
8390 (__ASSUME_SIGNALFD4): Likewise.
8391 (__ASSUME_DUP3): Likewise.
8392 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8393 Likewise.
8394 (__ASSUME_UTIMES): Likewise.
8395 (__ASSUME_EVENTFD2): Likewise.
8396 (__ASSUME_SIGNALFD4): Likewise.
8397 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8398 (__ASSUME_O_CLOEXEC): Likewise.
8399 (__ASSUME_SOCK_CLOEXEC): Likewise.
8400 (__ASSUME_IN_NONBLOCK): Likewise.
8401 (__ASSUME_PIPE2): Likewise.
8402 (__ASSUME_EVENTFD2): Likewise.
8403 (__ASSUME_SIGNALFD4): Likewise.
8404 (__ASSUME_DUP3): Likewise.
8405 (__ASSUME_UTIMES): Undefine.
8406
5c521ecd
JM
8407 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8408 feclearexcept. Remove symbol versioning code.
8409 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8410 symbol versioning code.
8411 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8412 symbol versioning code.
8413 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8414 feupdateenv. Remove symbol versioning code.
8415 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8416 fegetexceptflag. Remove symbol versioning code.
8417 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8418 fesetexceptflag. Remove symbol versioning code.
8419 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8420 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8421 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8422 (__posix_fadvise64_l32): Remove prototype.
8423 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8424 code.
8425
5da9dfad
RM
84262014-05-13 Roland McGrath <roland@hack.frob.com>
8427
8428 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8429 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8430 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8431 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8432
893b4f37
SK
84332014-05-13 Sami Kerola <kerolasa@iki.fi>
8434
8435 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8436 current working directory
8437
e0db6517
RM
84382014-05-13 Roland McGrath <roland@hack.frob.com>
8439
58aa195d
RM
8440 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8441 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8442 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8443 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8444 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8445 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8446 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8447 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8449 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8451 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8452 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8455 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8457 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8458 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8459 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8460 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8461 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8462 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8463 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8464 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8465 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8466 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8467 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8468 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8469 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8470 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8471 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8472 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8473 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8474 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8475 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8476 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8477 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8478 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8479 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8480 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8481 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8482
8c6d01f0
RM
8483 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8484 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8485
8486 * sysdeps/unix/sysv/linux/arm/Makefile
8487 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8488 Add rt-aeabi_unwind_cpp_pr1.
8489 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8490 Add nptl-aeabi_unwind_cpp_pr1.
8491 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8492 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8493 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8494 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8495 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8496 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8497
8498 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8499 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8500 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8501 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8502
bba6da4e
RM
8503 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8504 Deconditionalize the code that was previously under [RESET_PID].
8505 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8506
e0db6517
RM
8507 * sysdeps/generic/exit-thread.h: New file.
8508 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8509 * include/unistd.h (__exit_thread): Remove declaration.
8510 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8511 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8512 * csu/libc-start.c: Include <exit-thread.h>.
8513 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8514 * nptl/pthread_create.c: Include <exit-thread.h>.
8515 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8516 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8517 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8518 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8519 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8520 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8521 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8522 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8523 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8524 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8525 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8526 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8527 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8528 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8529 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8530 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8531 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8532
01eb16fd
AS
85332014-05-13 Andreas Schwab <schwab@suse.de>
8534
8535 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8536
637461d9
JM
85372014-05-12 Joseph Myers <joseph@codesourcery.com>
8538
8539 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8540 (__ASSUME_UTIMES): Do not condition on kernel version.
8541 (__ASSUME_PSELECT): Define unconditionally.
8542 (__ASSUME_PPOLL): Likewise.
8543 (__ASSUME_ATFCTS): Likewise.
8544 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8545 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8546 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8547 (__ASSUME_UTIMENSAT): Define unconditionally.
8548 (__ASSUME_PRIVATE_FUTEX): Likewise.
8549 (__ASSUME_FALLOCATE): Likewise.
8550 (__ASSUME_O_CLOEXEC): Likewise.
8551 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8552 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8553 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8554 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8555 (__ASSUME_IN_NONBLOCK): Likewise.
8556 (__ASSUME_PIPE2): Likewise.
8557 (__ASSUME_EVENTFD2): Likewise.
8558 (__ASSUME_SIGNALFD4): Likewise.
8559 (__ASSUME_DUP3): Likewise.
8560 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8561 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8562 (__ASSUME_AT_RANDOM): Likewise.
8563 (__ASSUME_PREADV): Likewise.
8564 (__ASSUME_PWRITEV): Likewise.
8565 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8566 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8567 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8568 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8569 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8570 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8571 (__ASSUME_O_CLOEXEC): Define unconditionally.
8572 (__ASSUME_PSELECT): Do not undefine conditionally.
8573 (__ASSUME_PPOLL): Likewise.
8574 (__ASSUME_ATFCTS): Likewise.
8575 (__ASSUME_SET_ROBUST_LIST): Likewise.
8576 (__ASSUME_UTIMENSAT): Likewise.
8577 (__ASSUME_FDATASYNC): Define unconditionally.
8578 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8579 (__ASSUME_SIGFRAME_V2): Likewise.
8580 )__ASSUME_EVENTFD2): Likewise.
8581 (__ASSUME_SIGNALFD4): Likewise.
8582 (__ASSUME_PSELECT): Do not undefine conditionally.
8583 (__ASSUME_PPOLL): Likewise.
8584 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8585 (__ASSUME_PSELECT): Define unconditionally.
8586 (__ASSUME_PPOLL): Likewise.
8587 (__ASSUME_O_CLOEXEC): Likewise.
8588 (__ASSUME_SOCK_CLOEXEC): Likewise.
8589 (__ASSUME_IN_NONBLOCK): Likewise.
8590 (__ASSUME_PIPE2): Likewise.
8591 (__ASSUME_EVENTFD2): Likewise.
8592 (__ASSUME_SIGNALFD4): Likewise.
8593 (__ASSUME_DUP3): Likewise.
8594 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8595 (__ASSUME_O_CLOEXEC): Likewise.
8596 (__ASSUME_SOCK_CLOEXEC): Likewise.
8597 (__ASSUME_IN_NONBLOCK): Likewise.
8598 (__ASSUME_PIPE2): Likewise.
8599 (__ASSUME_EVENTFD2): Likewise.
8600 (__ASSUME_SIGNALFD4): Likewise.
8601 (__ASSUME_DUP3): Likewise.
8602 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8603 (__ASSUME_EVENTFD2): Likewise.
8604 (__ASSUME_SIGNALFD4): Likewise.
8605 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8606
315eb1d8
AS
86072014-05-12 Andreas Schwab <schwab@suse.de>
8608
8609 [BZ #16932]
8610 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8611 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8612 than maximum RPC packet size.
8613 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8614 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8615 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8616 (_nss_nis_getservbyport_r): Likewise.
8617
91df99f7
WN
86182014-05-12 Will Newton <will.newton@linaro.org>
8619
8620 * malloc/Makefile (tests): Add tst-mallopt.
8621 * malloc/tst-mallopt.c: New file.
8622
0a982a29
RM
86232014-05-09 Roland McGrath <roland@hack.frob.com>
8624
8625 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8626 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8627
0ded08a5
AZ
86282014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8629
8630 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8631 (tst-tlsmod6.so): Likewise.
8632
55d4d550
RM
86332014-05-09 Roland McGrath <roland@hack.frob.com>
8634
8635 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8636
77d08aca
JM
86372014-05-09 Joseph Myers <joseph@codesourcery.com>
8638
8639 [BZ #16064]
8640 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8641 and <dl-procinfo.h>.
8642 (__fegetenv): Save SSE state in envp->__eip if supported.
8643 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8644 envp->__eip if supported.
8645 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8646 and <dl-procinfo.h>.
8647 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8648 __data_offset and __data_selector in environment to 0. Set SSE
8649 state if supported.
8650 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8651 test-fenv-sse.
8652 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8653 -mfpmath=sse.
8654 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8655
28162f4d
WN
86562014-05-09 Will Newton <will.newton@linaro.org>
8657
8658 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8659 and libc_relro_required for ARM.
8660 * sysdeps/arm/preconfigure: Regenerate.
8661
5a414ff7
DV
86622014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8663 Stefan Liebler <stli@linux.vnet.ibm.com>
8664
8665 * config.make.in (enable-lock-elision): New Makefile variable.
8666 * configure.ac: Likewise.
8667 * configure: Regenerate.
8668 * sysdeps/s390/configure.ac:
8669 Add check for gcc transactions support.
8670 * sysdeps/s390/configure: Regenerate.
8671 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8672 Build elision files if enabled.
8673 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8674 Add lock elision support for s390.
8675 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8676 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8677 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8678 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8679 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8680 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8681 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8682 Likewise.
8683 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8684 Likewise.
8685 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8686 Likewise.
8687 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8688 Likewise.
8689 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8690 (__lll_timedlock_elision, __lll_lock_elision)
8691 (__lll_unlock_elision, __lll_trylock_elision)
8692 (lll_timedlock_elision, lll_lock_elision)
8693 (lll_unlock_elision, lll_trylock_elision): Add.
8694 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8695 (pthread_mutex_t): Add lock elision support for s390.
8696
1a2f40e5
W
86972014-05-14 Wilco <wdijkstr@arm.com>
8698
8699 * sysdeps/arm/fclrexcpt.c: Cleanup.
8700 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8701 * sysdeps/arm/feenablxcpt.c: Cleanup.
8702 * sysdeps/arm/fegetenv.c: Cleanup.
8703 * sysdeps/arm/fegetexcept.c: Cleanup.
8704 * sysdeps/arm/fegetround.c: Cleanup.
8705 * sysdeps/arm/feholdexcpt.c: Cleanup.
8706 * sysdeps/arm/fesetenv.c: Cleanup.
8707 * sysdeps/arm/fesetround.c: Cleanup.
8708 * sysdeps/arm/feupdateenv.c: Cleanup.
8709 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8710 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8711 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8712 * sysdeps/arm/ftestexcept.c: Cleanup.
8713 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8714 * sysdeps/arm/setfpucw.c: Cleanup.
8715
f63c86fe
WN
87162014-05-09 Will Newton <will.newton@linaro.org>
8717
8718 * sysdeps/arm/armv7/strcmp.S: New file.
8719 * NEWS: Mention addition of ARMv7 optimized strcmp.
8720
7a1a51b5
RM
87212014-05-08 Roland McGrath <roland@hack.frob.com>
8722
95afbbe5
RM
8723 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8724 look for %.ac rather than %.in.
8725
8726 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8727 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8728 * sysdeps/mach/hurd/configure: Regenerated.
8729 * sysdeps/unix/sysv/linux/configure: Regenerated.
8730
7a1a51b5
RM
8731 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8732
5057ad3b
SE
87332014-05-07 Steve Ellcey <sellcey@mips.com>
8734
8735 [BZ# 16922]
8736 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8737 (LONG_SUB): Ditto.
8738 (PTR_SUB): Ditto.
8739
8dc97517
AS
87402014-05-07 Andreas Schwab <schwab@suse.de>
8741
8742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8743 when skipping over non-matching result from nscd.
8744
ce0c5b8f
OB
87452014-05-07 Ondřej Bílka <neleai@seznam.cz>
8746
8747 [BZ #16876]
8748 * nptl/sockperf.c (client): Check socket return value.
8dc97517 8749
a1189263
OB
8750 [BZ #16877]
8751 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8752 nscd security class.
ce0c5b8f 8753
0f58d252
RM
87542014-05-06 Roland McGrath <roland@hack.frob.com>
8755
8756 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8757 * sysdeps/arm/unwind.h: ... here.
8758
83df9ad0
AJ
87592014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8760
ce0c5b8f
OB
8761 [BZ# 16916]
8762 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8763 Define.
83df9ad0 8764
f360f94a
VR
87652014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8766
8767 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8768 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8769 multiarch strncpy for PPC64.
8770 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8771 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8773 multiarch optimizations.
8774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8775 (__libc_ifunc_impl_list): Likewise.
8776 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8777 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8778 multiarch stpncpy for PPC64.
8779 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8780 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8781
978a41c3
AS
87822014-05-06 Andreas Schwab <schwab@suse.de>
8783
8784 [BZ #16912]
8785 * gmon/mcount.c (_MCOUNT_DECL): Use
8786 atomic_compare_and_exchange_bool_acq instead of
8787 catomic_compare_and_exchange_bool_acq.
8788
eb1ed03d
RM
87892014-05-05 Roland McGrath <roland@hack.frob.com>
8790
fe658845
RM
8791 * elf/Makefile (others, install-bin): Remove pldd.
8792 (pldd-modules): Variable removed.
8793 ($(objpfx)pldd): Target removed.
8794 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8795 (others, install-bin): Append pldd here.
8796 ($(objpfx)pldd): New target.
8797
eb1ed03d
RM
8798 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8799 to 0, so the first #if test emitted later doesn't see it undefined.
8800 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8801 * sysdeps/gnu/errlist.c: Regenerated.
8802
19c4bec0
AZ
88032014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8804
8805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8806 [libc_hidden_builtin_def]: Define to empty value.
8807 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8808 [libc_hidden_builtin_def]: Likewise.
8809 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8810 [libc_hidden_builtin_def]: Likewise.
8811 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8812 [libc_hidden_builtin_def]: Likewise.
8813 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8814 __redirect_memcpy and define ifunc as default hidden symbol.
8815 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8816 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8817
7776e669
AC
88182014-05-04 Adam Conrad <adconrad@0c3.net>
8819
8820 * locale/iso-4217.def: Reintroduce XDR currency.
8821
d69aeb12
AM
88222014-05-04 Allan McRae <allan@archlinux.org>
8823
8824 * po/eo.po: Update Esperanto translation from translation project.
8825
8f1df5cf
CD
88262014-05-02 Carlos O'Donell <carlos@redhat.com>
8827
8828 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8829 and FEATURE_INDEX_MAX to 1.
8830 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8831
13e402e7
SE
88322014-05-01 Steve Ellcey <sellcey@mips.com>
8833
8834 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8835 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8836 * iconvdata/big5.c (ONE_DIRECTION): Define.
8837 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8838 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8839 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8840 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8841 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8842 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8843 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8844 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8845 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8846 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8847 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8848 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8849 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8850 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8851 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8852 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8853 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8854 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8855 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8856 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8857 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8858 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8859 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8860 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8861 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8862 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8863 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8864 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8865 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8866 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8867 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8868 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8869 * iconvdata/johab.c (ONE_DIRECTION): Define.
8870 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8871 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8872 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8873 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8874 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8875 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8876 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8877 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8878 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8879 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8880
c727f032
RM
88812014-05-01 Roland McGrath <roland@hack.frob.com>
8882
8f2f08d0
RM
8883 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8884 (_IO_JUMPS_OFFSET): Define to 0.
8885
c727f032
RM
8886 * nptl/sysdeps/pthread/bits/libc-lock.h
8887 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8888 (__libc_lock_define_initialized_recursive): Always define using
8889 initializer. Modern compilers treat uninitialized (implicit zero) and
8890 explicit zero initializers the same (i.e. put the datum in bss).
8891
a849e800
AS
88922014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8893
8894 * nscd/nscd-client.h: Include <string.h>.
8895
5331255b
DM
88962014-05-01 David S. Miller <davem@davemloft.net>
8897
8898 [BZ #16885]
8899 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8900 multiple zero bytes exist at the end of a string.
8901 Reported by Aurelien Jarno <aurelien@aurel32.net>
8902
8903 * string/test-strcmp.c (check): Add explicit test for situations where
8904 there are multiple zero bytes after the first.
8905
4fdfe821
AS
89062014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8907
8908 [BZ #16890]
8909 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8910 when compiling wprintf.
8911 * stdio-common/tstdiomisc.c (t3): New function.
8912 (main): Call it.
8913
0cdddc25
SE
89142014-05-01 Steve Ellcey <sellcey@mips.com>
8915
8916 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8917 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8918 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8919 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8920
6426d77e
SE
89212014-05-01 Steve Ellcey <sellcey@mips.com>
8922
8923 * stdlib/longlong.h: Updated from GCC.
8924
6d96f5e4
WN
89252014-05-01 Will Newton <will.newton@linaro.org>
8926 Bernard Ogden <bernie.ogden@linaro.org>
8927
7470db0c
WN
8928 * NEWS: Update fixed bug list.
8929
6d96f5e4
WN
8930 [BZ #15119]
8931 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8932
211d653c
DM
89332014-04-30 David S. Miller <davem@davemloft.net>
8934
4fa262fa
DM
8935 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8936 (libc_feholdexcept_setround_sparc_ctx): New function.
8937 (libc_fesetenv_sparc_ctx): Likewise.
8938 (libc_feupdateenv_sparc_ctx): Likewise.
8939 (libc_feholdsetround_sparc_ctx): Likewise.
8940 (libc_feholdexcept_setround_ctx): Define.
8941 (libc_feholdexcept_setroundf_ctx): Likewise.
8942 (libc_feholdexcept_setroundl_ctx): Likewise.
8943 (libc_fesetenv_ctx): Likewise.
8944 (libc_fesetenvf_ctx): Likewise.
8945 (libc_fesetenvl_ctx): Likewise.
8946 (libc_feupdateenv_ctx): Likewise.
8947 (libc_feupdateenvf_ctx): Likewise.
8948 (libc_feupdateenvl_ctx): Likewise.
8949 (libc_feresetround_ctx): Likewise.
8950 (libc_feresetroundf_ctx): Likewise.
8951 (libc_feresetroundl_ctx): Likewise.
8952 (libc_feholdsetround_ctx): Likewise.
8953 (libc_feholdsetroundf_ctx): Likewise.
8954 (libc_feholdsetroundl_ctx): Likewise.
8955
1d3d93ef
DM
8956 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8957 with __USE_GNU instead of XOPEN cpp guards.
8958
8aa583c3
DM
8959 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8960 0.
8961
211d653c
DM
8962 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8963 with XOPEN cpp guards.
8964
60c8f1f6
JB
89652014-04-30 Julian Brown <julian@codesourcery.com>
8966
8967 [BZ #16888]
8968 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8969 handling.
8970
9a461d46
JM
89712014-04-30 Joseph Myers <joseph@codesourcery.com>
8972
d0f5b3f8
JM
8973 [BZ #9894]
8974 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8975 Change to 2.6.32.
8976 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8977 * sysdeps/unix/sysv/linux/configure: Regenerated.
8978 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8979 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8980 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8981 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8982 * README: Update reference to required Linux kernel version.
8983 * manual/install.texi (Linux): Update reference to required Linux
8984 kernel headers version.
8985 * INSTALL: Regenerated.
8986
9a461d46
JM
8987 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8988 header inclusion.
8989 [POSIX] (limits.h): Likewise.
8990 [POSIX] (math.h): Likewise.
8991 [POSIX] (sys/wait.h): Likewise.
8992 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8993 function.
8994 [POSIX] (stddef.h): Do not allow header inclusion.
8995
1775babf
AZ
89962014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8997
57f41c40 8998 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 8999
8f630cca
YY
90002014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9001
9002 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9003 Return immediately after lll_futex_wake.
9004
1cdeb237
SP
90052014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9006
bc8f194c
SP
9007 [BZ #16791]
9008 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9009 structure.
9010 (datahead_init_pos): Call datahead_init_common early.
9011 (datahead_init_neg): Likewise.
9012
1cdeb237
SP
9013 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9014 datahead_init_neg): New functions.
9015 * nscd/aicache.c (addhstaiX): Use them.
9016 * nscd/grpcache.c (cache_addgr): Likewise.
9017 * nscd/hstcache.c (cache_addhst): Likewise.
9018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9019 * nscd/netgroupcache.c (do_notfound): Likewise.
9020 (addgetnetgrentX): Likewise.
9021 (addinnetgrX): Likewise.
9022 * nscd/pwdcache.c (cache_addpw): Likewise.
9023 * nscd/servicescache.c (cache_addserv): Likewise.
9024
16b293a7
SP
90252014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9026 Atsushi Onoe <atsushi@onoe.org>
9027
9028 [BZ #14308]
9029 [BZ #12994]
9030 [BZ #13651]
9031 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9032 one response is valid.
9033 * resolv/res_send.c (send_dg): Check for validity of other
9034 response if the current response is a referral.
9035
a28a9b94
SE
90362014-04-29 Steve Ellcey <sellcey@mips.com>
9037
9038 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9039
2ca180e9
SL
90402014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9041
9042 [BZ #16823]
9043 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9044 Always divide by positive zero when computing -Inf result.
9045 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9046 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9047
18f2945a
AZ
90482014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9049
9050 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9051 FPSCR if value do not change.
9052 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9053 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9054 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9055 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9056 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9057 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9058 function.
9059
5abebba4
CD
90602014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9061
9062 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9063 * sysdeps/unix/sysv/linux/hppa: Move directory from
9064 ports/systeps/unix/sysv/linux/hppa.
9065 * README: Update listing for hppa-*-linux-gnu.
9066
f7ed60c2
OB
90672014-04-28 Ondřej Bílka <neleai@seznam.cz>
9068
fff763a5
OB
9069 [BZ #16754]
9070 * manual/stdio.texi (Hook functions): Fix types of stream hook
9071 functions.
f7ed60c2
OB
9072 [BZ #16854]
9073 * socket/sys/socket.h: Fix typo in comment.
9074
df639d73
WD
90752014-04-28 Wilco <wdijkstr@arm.com>
9076
f7ed60c2 9077 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9078 * sysdeps/arm/math_private.h: New file.
9079 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9080
48332d82
L
90812014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9082
9083 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9084 with __int128_t.
9085 (La_x86_64_retval): Likewise.
9086
e5e0d9a4
IB
90872014-04-24 Ian Bolton <ian.bolton@arm.com>
9088
9089 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9090 fpsr if value didn't change.
9091 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9092 to fpcr if value didn't change.
9093 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9094 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9095 fpsr or fpcr if value didn't change.
9096 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9097 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9098 fpcr if value didn't change.
9099 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9100 to fpsr if value didn't change.
9101
bacc75f7
SP
91022014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9103
9104 * nptl/tst-sem3.c: Use test-skeleton.c
9105 (main): Rename to do_test. Use return instead of
9106 exit.
9107 * nptl/tst-sem4.c: Use test-skeleton.c
9108 (main): Rename to do_test.
9109
a059d359
DM
91102014-04-22 David S. Miller <davem@davemloft.net>
9111
9112 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9113 (struct sigaction): New struct member __glibc_reserved0, change
9114 type of sa_flags to int.
9115
ea6c92f3
YZ
91162014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9117
9118 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9119 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9120
766c4a36
SP
91212014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9122
9123 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9124 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9125
140cc7ab
VK
91262014-04-22 Will Newton <will.newton@linaro.org>
9127 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9128
9129 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9130 (__longjmp): Add longjmp and longjmp_target SystemTap
9131 probes.
9132 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9133 (__sigsetjmp): Add setjmp SystemTap probe.
9134
c54e5cf7
CD
91352014-04-17 Carlos O'Donell <carlos@redhat.com>
9136
9137 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9138 match manual order.
9139
75ffb047
AZ
91402014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9141
9142 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9143
2cd925f7
AZ
9144 * sysdeps/powerpc/fpu/fenv_private.h
9145 (libc_feholdexcept_setroundl_ctx): Define to
9146 libc_feholdexcept_setround_ppc_ctx.
9147 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9148 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9149 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9150 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9151
39e6cd8d
IB
91522014-04-17 Ian Bolton <ian.bolton@arm.com>
9153
9154 * sysdeps/aarch64/math-tests.h: New file.
9155
f9281df9
SY
91562014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9157
9158 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9159 New.
9160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9161 Check and set bit_AVX2_Usable.
9162 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9163 macro.
9164 (bit_AVX2): Likewise.
9165 (index_AVX2_Usable): Likewise.
9166 (CPUID_AVX2): Likewise.
9167 (HAS_AVX2): Likewise.
9168
37d35007
WN
91692014-04-17 Will Newton <will.newton@linaro.org>
9170
7c677662
WN
9171 * manual/setjmp.texi (System V contexts): Add note that
9172 calling setcontext on a context created by a call to a
9173 signal handler is undefined. Update text to note that
9174 setcontext from a signal handler is possible but not
9175 recommended.
9176
37d35007 9177 [BZ #16629]
e04a4e9d
WN
9178 * stdlib/tst-setcontext.c: Include signal.h.
9179 (main): Check that the signal stack before and
9180 after swapcontext is the same.
9181
37d35007
WN
9182 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9183 Re-implement to restore registers in user code and avoid
9184 rt_sigreturn system call.
9185
423a7160
W
91862014-04-17 Wilco <wdijkstr@arm.com>
9187
9188 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9189 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9190 * math/test-fenv.c: Skip exception trap tests on targets which only
9191 support non-stop mode.
9192
bc93ab29
IB
91932014-04-17 Ian Bolton <ian.bolton@arm.com>
9194 Wilco Dijkstra <wilco.dijkstra@arm.com>
9195
9196 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9197 (libc_feholdsetround_aarch64_ctx)
9198 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9199 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9200 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9201 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9202 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9203 (libc_feresetround_noexl_ctx): Define.
9204
95fc5fa3
RH
92052014-04-16 Richard Henderson <rth@redhat.com>
9206
ddb04724
RH
9207 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9208
d77c0899
RH
9209 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9210 unwind tables.
9211
a3df56fc
RH
9212 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9213 const from the non-libc, non-ldso copy.
9214
95fc5fa3
RH
9215 * sysdeps/alpha/libm-test-ulps: Regenerate.
9216
7e0b6763
IB
92172014-04-16 Ian Bolton <ian.bolton@arm.com>
9218 Wilco Dijkstra <wilco.dijkstra@arm.com>
9219
9220 * sysdeps/aarch64/fpu/math_private.h: New file.
9221
a9ea2e0c
MS
92222014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9223
9224 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9225
ea8ba7cd
IZ
92262014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9227
7e54fd04 9228 [BZ #16275]
ea8ba7cd
IZ
9229 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9230 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9231 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9232 Intel MPX bound registers before _dl_profile_fixup.
9233 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9234 registers after _dl_profile_fixup. Save and restore bound
9235 registers bnd0/bnd1 when calling _dl_call_pltexit.
9236 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9237 (LR_BND_OFFSET): Likewise.
9238 (LRV_BND0_OFFSET): Likewise.
9239 (LRV_BND1_OFFSET): Likewise.
9240
9f2a4fbc
ST
92412014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9242
9243 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9244 to...
9245 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9246 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9247 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9248 fields.
9f2a4fbc 9249
fd15a59b
ST
92502014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9251
9252 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9253
f19dfa0a
SL
92542014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9255
9256 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9257
4fa8bc3b
SL
92582014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9259
9260 [BZ #14770]
9261 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9262 * sysdeps/s390/configure: Regenerate.
9263
8ea587db
SL
9264 [BZ #16824]
9265 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9266 Set round-to-nearest internally to reduce error accumulation.
9267
aa5f0ff1
AM
92682014-04-16 Alan Modra <amodra@gmail.com>
9269
9270 [BZ #16740]
9271 [BZ #16619]
9272 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9273 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9274 * NEWS: Update fixed bug list.
aa5f0ff1 9275
bb9c256f
SP
92762014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9277
9278 * benchtests/Makefile: Depend on libraries in build directory.
9279 (bench-math): Separate out math tests.
9280 (bench-pthread): Separate out pthread tests.
9281 (bench): Include math and pthread tests.
9282
f737dfd0
CD
92832014-04-14 Carlos O'Donell <carlos@redhat.com>
9284
9285 [BZ #16831]
9286 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9287 _dl_debug_initialize.
9288
0699f766
CD
9289 * configure.ac: Remove SELinux header check.
9290 * configure: Regenerate.
9291 * nscd/selinux.c (perms): Array of const char* to permission names.
9292 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9293 default policy. Call string_to_security_class and string_to_av_perm to
9294 translate strings. Enforce default policy and call avs_has_perm with
9295 results of translated strings.
9296
809bd45f
DM
92972014-04-13 David S. Miller <davem@davemloft.net>
9298
9299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9300
89e691f2
AM
93012014-04-12 Allan McRae <allan@archlinux.org>
9302
9303 [BZ #16838]
9304 * manual/string.texi (Collation Functions): Fix qsort argument
9305 order in example.
9306 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9307
9c9daaeb
CM
93082014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9309
9310 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9311 Make the test a no-op if there are no exceptions defined.
9312
95561fb9
PP
93132014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9314
fe8d072c 9315 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9316 enable-hardcoded-path-in-tests
9317
970c602a
WN
93182014-04-11 Will Newton <will.newton@linaro.org>
9319
9320 * benchtests/Makefile (extra-objs): Add json-lib.o.
9321 (bench-func): Tidy up JSON output.
9322 * benchtests/bench-skeleton.c: Include json-lib.h.
9323 (main): Use JSON library functions to do output of
9324 benchmark results.
9325 * benchtests/bench-timing-type.c (main): Output the
9326 timing type simply, leaving formatting to the user.
9327 * benchtests/json-lib.c: New file.
9328 * benchtests/json-lib.h: Likewise.
9329
36875b06
TR
93302014-04-11 Torvald Riegel <triegel@redhat.com>
9331
9332 [BZ #15215]
9333 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9334 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9335 memory barriers. Add comments.
9336 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9337 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9338 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9339 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9340 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9341 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9342
579db35a
SL
93432014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9344
9345 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9346 * sysdeps/s390/s390-64/configure.ac: ... this ...
9347 * sysdeps/s390/configure.ac: ... to here.
9348 * sysdeps/s390/s390-32/configure: Delete file.
9349 * sysdeps/s390/s390-64/configure: Delete file.
9350 * sysdeps/s390/configure: Regenerate.
9351
c12e9f37
JAPH
93522014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9353
9354 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9355
439bda32
WN
93562014-04-11 Will Newton <will.newton@linaro.org>
9357
9358 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9359 to zero if it is not defined elsewhere. (mtrim): Test
9360 the value of MALLOC_DEBUG with #if rather than #ifdef.
9361
6a5d6ea1
TR
93622014-04-10 Torvald Riegel <triegel@redhat.com>
9363
9364 * benchtests/pthread_once-inputs: New file.
9365 * benchtests/pthread_once-source.c: New file.
9366 * benchtests/README: Update documentation.
9367
a4c75cfd
IZ
93682014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9369 H.J. Lu <hongjiu.lu@intel.com>
9370
7e54fd04 9371 [BZ #16275]
a4c75cfd
IZ
9372 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9373 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9374 * sysdeps/x86_64/configure: Regenerated.
9375 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9376 macro.
9377 (REGISTER_SAVE_RAX): Likewise.
9378 (REGISTER_SAVE_RCX): Likewise.
9379 (REGISTER_SAVE_RDX): Likewise.
9380 (REGISTER_SAVE_RSI): Likewise.
9381 (REGISTER_SAVE_RDI): Likewise.
9382 (REGISTER_SAVE_R8): Likewise.
9383 (REGISTER_SAVE_R9): Likewise.
9384 (REGISTER_SAVE_BND0): Likewise.
9385 (REGISTER_SAVE_BND1): Likewise.
9386 (REGISTER_SAVE_BND2): Likewise.
9387 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9388 bound registers when calling _dl_fixup.
9389
27822ce6
AZ
93902014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9391
9392 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9393 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9394 of its definition.
27822ce6
AZ
9395 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9396 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9397 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9398 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9399 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9400 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9401 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9402
a88ddc90
PTB
94032014-04-09 Peter Brett <peter@peter-b.co.uk>
9404
9405 [BZ #15514]
9406 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9407 pathconf(_PC_NAME_MAX).
9408
01f8eac2
AZ
94092014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9410
9411 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9412 Remove macro usage.
9413 (__PTHREAD_SPINS): Move definition to ...
9414 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9415 (__PTHREAD_SPINS): ... here.
9416 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9417 (__PTHREAD_SPIN): Likewise.
9418 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9419 (__PTHREAD_SPIN): Likewise.
9420 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9421 (__PTHREAD_SPIN): Likewise.
9422 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9423 (__PTHREAD_SPIN): Likewise.
9424 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9425 (__PTHREAD_SPIN): Likewise.
9426 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9427 (__PTHREAD_SPIN): Likewise.
9428 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9429 (__PTHREAD_SPIN): Likewise.
9430 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9431 (__PTHREAD_SPIN): Likewise.
9432 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9433 (__PTHREAD_SPIN): Likewise.
9434 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9435 (__PTHREAD_SPIN): Likewise.
9436 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9437 (__PTHREAD_SPIN): Likewise.
9438 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9439 (__PTHREAD_SPIN): Likewise.
9440
de21c33c
AZ
9441 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9442 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9443 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9444 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9445 imply folder.
9446 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9447 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9448 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9449 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9450 correct imply path.
9451 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9452 strlen symbol for non multi-arch builds.
9453 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9454 missing hidden_def and weak_alias.
9455
862c472e
CD
94562014-04-08 Carlos O'Donell <carlos@redhat.com>
9457
9458 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9459
8667f90e
WN
94602014-04-07 Will Newton <will.newton@linaro.org>
9461
9462 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9463 and contents. [!_LIBC] Remove #ifndef and contents.
9464 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9465 * string/memccpy.c (__memccpy): Use ANSI prototype.
9466 * string/memfrob.c (memfrob): Likewise.
9467 * string/strcoll.c (STRCOLL): Likewise.
9468 * string/strlen.c (strlen): Likewise.
9469 * string/strtok.c (STRTOK): Likewise.
9470 * string/strcat.c: Remove unused #include of memcopy.h.
9471 (strcat): Use ANSI prototype.
9472 * string/strchr.c: Remove unused #include of memcopy.h.
9473 (strchr): Use ANSI prototype.
9474 * string/strcmp.c: Remove unused #include of memcopy.h.
9475 (strcmp): Use ANSI prototype.
9476 * string/strcpy.c: Remove unused #include of memcopy.h.
9477 (strcpy): Use ANSI prototype.
9478
7ffa9423
AZ
94792014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9480
9481 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9482 * config.make.in (config-extra-cppflags): Set it from
9483 libc_extra_cppflags.
9484 * configure.ac (libc_extra_cflags): Make it accumulate over
9485 configure fragments.
9486 (libc_extra_cppflags): New flag.
9487 * configure. Regenerate.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9489 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9490 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9492
8bd70862
AZ
9493 [BZ #16815]
9494 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9495 result for FE_DOWNWARD rounding mode.
9496 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9497 Likewise.
9498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9499
d42f3448
CM
95002014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9501
9502 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9503 in function argument name.
9504
1c21d115
DS
95052014-04-03 David Svoboda <svoboda@cert.org>
9506
9507 [BZ #5666]
9508 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9509 explicitly.
9510
fcccd512
RM
95112014-04-03 Roland McGrath <roland@hack.frob.com>
9512
9513 * elf/dl-unmap-segments.h: New file.
9514 * sysdeps/generic/ldsodefs.h
9515 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9516 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9517 * elf/dl-fptr.c: Likewise.
9518 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9519 * sysdeps/aarch64/tlsdesc.c: Likewise.
9520 * sysdeps/arm/tlsdesc.c: Likewise.
9521 * sysdeps/i386/tlsdesc.c: Likewise.
9522 * sysdeps/tile/dl-runtime.c: Likewise.
9523 * sysdeps/x86_64/tlsdesc.c: Likewise.
9524 * elf/dl-load.h: New file.
9525 * elf/dl-load.c: Include it.
9526 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9527 Macros moved to dl-load.h.
9528 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9529 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9530 Use _dl_unmap_segments in place of __munmap.
9531 Break out segment-mapping loop into ...
9532 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9533
f6488e2b
WN
95342014-04-03 Will Newton <will.newton@linaro.org>
9535
9536 * elf/dl-lookup.c (do_lookup_x): Remove comment
9537 referring to nested function and move variable
9538 declarations down to before first use.
9539
6f05bafe
JM
95402014-04-02 Joseph Myers <joseph@codesourcery.com>
9541
a84e78c8
JM
9542 [BZ #16799]
9543 [BZ #16800]
9544 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9545 with 0 numerator.
9546 * math/s_catanf.c (__catanf): Likewise.
9547 * math/s_catanh.c (__catanh): Likewise.
9548 * math/s_catanhf.c (__catanhf): Likewise.
9549 * math/s_catanhl.c (__catanhl): Likewise.
9550 * math/s_catanl.c (__catanl): Likewise.
9551 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9552 by positive zero when computing -Inf result.
9553 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9554 (catanh_test): Likewise.
9555 * sysdeps/i386/fpu/libm-test-ulps: Update.
9556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9557
6f05bafe
JM
9558 [BZ #16789]
9559 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9560 instead of using underflowing value in computing result.
9561 * math/s_clog10.c (__clog10): Likewise.
9562 * math/s_clog10f.c (__clog10f): Likewise.
9563 * math/s_clog10l.c (__clog10l): Likewise.
9564 * math/s_clogf.c (__clogf): Likewise.
9565 * math/s_clogl.c (__clogl): Likewise.
9566 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9567 (clog10_test): Likewise.
9568 * sysdeps/i386/fpu/libm-test-ulps: Update.
9569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9570
b0abbc21
AM
95712014-04-02 Alan Modra <amodra@gmail.com>
9572
9573 [BZ #16739]
9574 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9575 output when value is near a power of two. Use int64_t for lx and
9576 remove casts. Use decimal rather than hex exponent constants.
9577 Don't use long double multiplication when double will suffice.
9578 * math/libm-test.inc (nextafter_test_data): Add tests.
9579 * NEWS: Add 16739 and 16786 to bug list.
9580
af6b1797
AM
9581 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9582
483818d7
AM
9583 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9584
f6c55796
WN
95852014-04-01 Will Newton <will.newton@linaro.org>
9586
9587 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9588 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9589
13f7fe35
FW
95902014-04-01 Florian Weimer <fweimer@redhat.com>
9591
9592 [BZ #13347]
9593 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9594 * nptl/tst-setuid2.c: New file.
9595 * nptl/Makefile (xtests): Add tst-setuid2.
9596
c859b32e
AM
95972014-04-01 Alan Modra <amodra@gmail.com>
9598
9599 [BZ #16786]
9600 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9601
54fa2475
JM
96022014-03-31 Joseph Myers <joseph@codesourcery.com>
9603
8795b4a4
JM
9604 [BZ #6803]
9605 [BZ #6804]
9606 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9607 set errno as appropriate.
9608 * math/w_scalbf.c (__scalbf): Likewise.
9609 * math/w_scalbl.c (__scalbl): Likewise.
9610 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9611 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9612 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9613 Add more NaN tests.
9614
54fa2475
JM
9615 [BZ #16349]
9616 * math/w_atan2.c: Include <errno.h>.
9617 (__atan2): Set errno for result underflowing to zero.
9618 * math/w_atan2f.c: Include <errno.h>.
9619 (__atan2f): Set errno for result underflowing to zero.
9620 * math/w_atan2l.c: Include <errno.h>.
9621 (__atan2l): Set errno for result underflowing to zero.
9622 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9623 tests.
9624 * math/auto-libm-test-out: Regenerated.
9625
757d9dd5
AZ
96262014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9627
9628 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9629 Encode instruction correctly in little endian.
9630 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9631 Likewise.
9632 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9633 Likewise.
9634 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9635 Likewise.
9636 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9637 Likewise.
9638
d7a68734
JM
96392014-03-31 Joseph Myers <joseph@codesourcery.com>
9640
47c5adeb
JM
9641 [BZ #9894]
9642 * sysdeps/unix/sysv/linux/kernel-features.h
9643 [__sparc__ && !__arch64__ && !__sparc_v9__]
9644 (__ASSUME_SET_ROBUST_LIST): Do not define.
9645 [__sparc__ && !__arch64__ && !__sparc_v9__]
9646 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9647 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9648 Likewise.
9649 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9650 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9651 (__ASSUME_REQUEUE_PI): Likewise.
9652 (__ASSUME_SET_ROBUST_LIST): Likewise.
9653 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9654 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9655 Undefine.
9656 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9657 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9658 Likewise.
9659 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9660 Likewise.
9661 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9662 Likewise.
9663 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9664 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9665 Undefine.
9666 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9667 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9668 Likewise.
9669
d7a68734
JM
9670 [BZ #16648]
9671 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9672 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9673 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9674
c760f5c2
WN
96752014-03-31 Will Newton <will.newton@linaro.org>
9676
9677 * benchtests/Makefile (bench): Add ffs and ffsll to list
9678 of tests.
9679 * benchtests/ffs-inputs: New file.
9680 * benchtests/ffsll-inputs: Likewise.
9681
ea6029b1
JM
96822014-03-29 Joseph Myers <joseph@codesourcery.com>
9683
9684 [BZ #16770]
9685 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9686 too large before casting to int.
9687 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9688 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9689 * math/libm-test.inc (scalb_test_data): Add more tests.
9690
cf806aff
SP
96912014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9692
56737508
SP
9693 * benchtests/Makefile (DETAILED_OPT): New make option.
9694 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9695 set.
9696 * benchtests/bench-skeleton.c: Include stdbool.h.
9697 (main): Store and print timings per input.
9698 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9699 member to each argument value.
9700 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9701 (_print_arg_data): Initialize per-input timing to 0.
9702
cb5e4aad
SP
9703 * benchtests/Makefile (timing-type): New binary.
9704 (bench-clean): Also remove bench-timing-type.
9705 (bench): New target for timing-type.
9706 (bench-func): Print output in JSON format.
9707 * benchtests/bench-skeleton.c (main): Print output in JSON
9708 format.
9709 * benchtests/bench-timing-type.c: New file.
9710 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9711 (TIMING_PRINT_STATS): Remove.
9712 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9713 name separately.
9714
cf806aff
SP
9715 * benchtests/bench-modf.c: Remove.
9716 * benchtests/modf-inputs: New inputs file.
9717
289e0779
JM
97182014-03-28 Joseph Myers <joseph@codesourcery.com>
9719
9720 [BZ #16362]
9721 * math/s_clog10.c (M_PI_LOG10E): New macro.
9722 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9723 imaginary parts are 0.
9724 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9725 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9726 imaginary parts are 0.
9727 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9728 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9729 imaginary parts are 0.
9730 * math/libm-test.inc (clog10_test_data): Update expected results
9731 for when real and imaginary parts are 0.
9732
277ae3f1
PP
97332014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9734
9735 * elf/dl-load.c: Finish conversion of __builtin_expect into
9736 __glibc_{un}likely.
9737
03a7091f
JM
97382014-03-27 Joseph Myers <joseph@codesourcery.com>
9739
9740 [BZ #16348]
9741 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9742 1+x for argument with exponent below -67.
9743 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9744 Likewise.
9745 * math/auto-libm-test-in: Add more tests of exp.
9746 * math/auto-libm-test-out: Regenerated.
9747
ea7d8b95
SP
97482014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9749
dd3022d7
SP
9750 [BZ #16759]
9751 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9752 (nscd_getnetgrent): Use it.
9753
ea7d8b95
SP
9754 [BZ #16760]
9755 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9756 of stpcpy.
9757
df5b85da
AK
97582014-03-27 Andi Kleen <ak@linux.intel.com>
9759
57f41c40
AS
9760 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9761 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9762 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9763 (lll_robust_unlock): Remove out of line section. Use cfi
9764 intrinsics.
df5b85da 9765 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
9766 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9767 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9768 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9769 (lll_robust_unlock): Remove out of line section. Use cfi
9770 intrinsics.
df5b85da
AK
9771 (LLL_STUB_UNWIND_INFO*): Remove.
9772
fbd6b5a4
SP
97732014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9774
9775 [BZ #16758]
9776 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9777 blank values.
9778
1b26b855
PP
97792014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9780
9781 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9782
9be36fb8
JM
97832014-03-26 Joseph Myers <joseph@codesourcery.com>
9784
9785 [BZ #16198]
9786 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9787 fnstenv.
9788 * math/test-fenv-preserve.c: New file.
9789 * math/Makefile (tests): Add test-fenv-preserve.
9790
60a2f3c1
WN
97912014-03-26 Will Newton <will.newton@linaro.org>
9792
9793 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9794
a5e5f1e2
RM
97952014-03-25 Roland McGrath <roland@hack.frob.com>
9796
9797 * scripts/versionlist.awk: Partition the version sets and emit all
9798 GLIBC_* (sorted) before all others (sorted).
9799
00f4012a
JM
98002014-03-25 Joseph Myers <joseph@codesourcery.com>
9801
9802 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9803 GLIBC_2.2.5 version.
9804
7bc5a741
AZ
98052014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806
9807 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9808 calls.
9809
7578473b
AZ
9810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9811 previous change.
9812
f3f1dab3
AZ
9813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9814
6da36183
AS
98152014-03-25 Andreas Schwab <schwab@suse.de>
9816
9817 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9818 label to be used after in6ailist is initialized.
9819
f3f1dab3 98202014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 9821
7578473b 9822 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
9823 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9824
046651c1
JM
98252014-03-25 Joseph Myers <joseph@codesourcery.com>
9826
9827 [BZ #16357]
9828 [BZ #16599]
9829 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9830 min_plus_half.
9831 (fp_formats): Update initializers.
9832 (init_fp_formats): Initialize new field.
9833 (output_for_one_input_case): Allow underflow for results up to
9834 min_plus_half.
9835 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9836 * math/auto-libm-test-in: Don't mark some underflows from asin and
9837 atanh as spurious.
9838 * math/auto-libm-test-out: Regenerated.
9839 * sysdeps/i386/fpu/libm-test-ulps: Update.
9840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9841
003e49ed
AS
98422014-03-25 Andreas Schwab <schwab@suse.de>
9843
9844 * libio/Makefile (tst-ftell-partial-wide-ENV)
9845 (tst-ftell-active-handler-ENV): Define.
9846
de031874
SL
98472014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9848
9849 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9850
55a81e3b
PP
98512014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9852
9853 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9854
f3426898
JM
98552014-03-24 Joseph Myers <joseph@codesourcery.com>
9856
9857 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9858 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9859 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9860
a42faf59
PP
98612014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9862
9863 [BZ #16634]
a42faf59 9864 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
9865 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9866 (open_path): Change from boolean 'secure' to complete flag 'mode'
9867 (_dl_map_object): Adjust.
a42faf59
PP
9868 * elf/Makefile (tests): Add tst-dlopen-aout.
9869 * elf/tst-dlopen-aout.c: New test.
9870
50936127
SL
98712014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9872
9873 [BZ #16714]
9874 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9875 (struct stat): Rename member pad0 to __glibc_reserved0.
9876
26011b5c
SL
9877 [BZ #16712]
9878 * sysdeps/s390/s390-32/bits/wordsize.h
9879 (__WORDSIZE32_SIZE_ULONG): New define.
9880 * sysdeps/s390/s390-64/bits/wordsize.h
9881 (__WORDSIZE32_SIZE_ULONG): Likewise.
9882 * sysdeps/generic/stdint.h (SIZE_MAX):
9883 Define as UL if __WORDSIZE32_SIZE_ULONG.
9884
a2d86bf1
SL
9885 [BZ #16713]
9886 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9887 (__glibc_reserved0): New variable.
9888 (sa_flags): Change type to int.
9889
78b6eebc
SL
9890 * posix/Makefile (before-compile): Use += before-compile instead
9891 of a :=.
9892
f1399b5a
SL
9893 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9894 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9895
a071766e
AS
98962014-03-20 Andreas Schwab <schwab@suse.de>
9897
9898 [BZ #16743]
9899 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9900 non-matching result from nscd.
9901
27c673b8
SP
99022014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9903
9904 * scripts/bench.py: Moved to ...
9905 * benchtests/scripts/bench.py: ... here.
9906 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9907
44152e4b
AS
99082014-03-24 Andreas Schwab <schwab@suse.de>
9909
9910 [BZ #16002]
9911 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9912 alloca_account and account alloca use for struct in6ailist.
9913
b376a11a
JM
99142014-03-24 Joseph Myers <joseph@codesourcery.com>
9915
9916 [BZ #16284]
9917 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9918 rounding mode to recompute results that overflow to infinity or
9919 underflow to zero.
9920 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9921 bug 16284.
9922 * math/auto-libm-test-out: Regenerated.
9923 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9924 (ccosh_test): Likewise.
9925 (csin_test_data): Use plus_oflow.
9926 (csin_test): Use ALL_RM_TEST.
9927 (csinh_test_data): Use plus_oflow.
9928 (csinh_test): Use ALL_RM_TEST.
9929 * sysdeps/i386/fpu/libm-test-ulps: Update.
9930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9931
f7be7376
JM
99322014-03-21 Joseph Myers <joseph@codesourcery.com>
9933
1ca2d03e
JM
9934 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9935 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9936 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9937
f7be7376
JM
9938 [BZ #16731]
9939 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9940 when x - 1 is zero.
9941 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9942 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9943 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9944 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9945 argument is 1.
9946 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9947 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9948 zero.
9949 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9950 * sysdeps/i386/fpu/libm-test-ulps: Update.
9951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9952
fdf4534d
SP
99532014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9954
df26ea53
SP
9955 * scripts/bench.pl: Remove file.
9956 * scripts/bench.py: New benchmark script.
9957 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9958 * benchtests/README: Mention python dependency.
9959 * scripts/pylintrc: New file.
9960 * scripts/pylint: New file.
9961
fdf4534d
SP
9962 * bits/mathdef.h: Use #ifdef instead of #if.
9963 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9964 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9965 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9966 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9967 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9968 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9969
6f23d093
AZ
99702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9971 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9972
9973 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9975 and strpbrk-ppc64 objects.
9976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9977 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9978 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9979 multiarch strpbrk for POWER7.
9980 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9981 multiarch strpbrk for PPC64.
9982 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9983 ifunc selector.
9984 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9985 strpbrk for POWER7.
9986
8c92dfff
JM
99872014-03-20 Joseph Myers <joseph@codesourcery.com>
9988
9989 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9990 (atan_test): Likewise.
9991 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9992 (atanh_test): Use ALL_RM_TEST.
9993 (atan2_test_data): Likewise.
9994 (cabs_test): Likewise.
9995 (cacosh_test): Likewise.
9996 (carg_test): Likewise.
9997 (casin_test): Likewise.
9998 (casinh_test): Likewise.
9999 (cbrt_test): Likewise.
10000 (csqrt_test): Likewise.
10001 (erf_test): Likewise.
10002 (erfc_test): Likewise.
10003 (pow10_test): Likewise.
10004 (exp2_test): Likewise.
10005 (hypot_test): Likewise.
10006 (j0_test): Likewise.
10007 (j1_test): Likewise.
10008 (lgamma_test): Likewise.
10009 (gamma_test): Likewise.
10010 (sincos_test): Likewise.
10011 (tanh_test): Likewise.
10012 (y0_test): Likewise.
10013 (y1_test): Likewise.
10014 * sysdeps/i386/fpu/libm-test-ulps: Update.
10015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10016
6eaf95cb
AZ
100172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10018
a387428c
SP
10019 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10021 and strcspn-ppc64 objects.
10022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10023 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10024 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10025 multiarch strcspn for POWER7.
10026 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10027 multiarch strcspn for PPC64.
10028 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10029 ifunc selector.
10030 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10031 strcspn for POWER7.
10032
ae3a5dff
JM
100332014-03-20 Joseph Myers <joseph@codesourcery.com>
10034
10035 * math/gen-libm-test.pl (generate_testfile): Expect only function
10036 name as argument to AUTO_TESTS_* and pass results for all rounding
10037 modes to parse_args.
10038 (parse_auto_input): Separate inputs of automatic tests from
10039 outputs before storing in %auto_tests.
10040 * math/libm-test.inc (acos_test_data): Update call to
10041 AUTO_TESTS_f_f.
10042 (acos_test): Use ALL_RM_TEST.
10043 (acos_tonearest_test_data): Remove.
10044 (acos_test_tonearest): Likewise.
10045 (acos_towardzero_test_data): Likewise.
10046 (acos_test_towardzero): Likewise.
10047 (acos_downward_test_data): Likewise.
10048 (acos_test_downward): Likewise.
10049 (acos_upward_test_data): Likewise.
10050 (acos_test_upward): Likewise.
10051 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10052 (asin_test_data): Likewise.
10053 (asin_test): Use ALL_RM_TEST.
10054 (asin_tonearest_test_data): Remove.
10055 (asin_test_tonearest): Likewise.
10056 (asin_towardzero_test_data): Likewise.
10057 (asin_test_towardzero): Likewise.
10058 (asin_downward_test_data): Likewise.
10059 (asin_test_downward): Likewise.
10060 (asin_upward_test_data): Likewise.
10061 (asin_test_upward): Likewise.
10062 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10063 (atan_test_data): Likewise.
10064 (atanh_test_data): Likewise.
10065 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10066 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10067 (carg_test_data): Likewise.
10068 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10069 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10070 (ccosh_test_data): Likewise.
10071 (cexp_test_data): Likewise.
10072 (clog_test_data): Likewise.
10073 (clog10_test_data): Likewise.
10074 (cos_test_data): Update call to AUTO_TESTS_f_f.
10075 (cos_test): Use ALL_RM_TEST.
10076 (cos_tonearest_test_data): Remove.
10077 (cos_test_tonearest): Likewise.
10078 (cos_towardzero_test_data): Likewise.
10079 (cos_test_towardzero): Likewise.
10080 (cos_downward_test_data): Likewise.
10081 (cos_test_downward): Likewise.
10082 (cos_upward_test_data): Likewise.
10083 (cos_test_upward): Likewise.
10084 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10085 (cosh_test): Use ALL_RM_TEST.
10086 (cosh_tonearest_test_data): Remove.
10087 (cosh_test_tonearest): Likewise.
10088 (cosh_towardzero_test_data): Likewise.
10089 (cosh_test_towardzero): Likewise.
10090 (cosh_downward_test_data): Likewise.
10091 (cosh_test_downward): Likewise.
10092 (cosh_upward_test_data): Likewise.
10093 (cosh_test_upward): Likewise.
10094 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10095 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10096 (ctan_test_data): Likewise.
10097 (ctan_test): Use ALL_RM_TEST.
10098 (ctan_tonearest_test_data): Remove.
10099 (ctan_test_tonearest): Likewise.
10100 (ctan_towardzero_test_data): Likewise.
10101 (ctan_test_towardzero): Likewise.
10102 (ctan_downward_test_data): Likewise.
10103 (ctan_test_downward): Likewise.
10104 (ctan_upward_test_data): Likewise.
10105 (ctan_test_upward): Likewise.
10106 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10107 (ctanh_test): Use ALL_RM_TEST.
10108 (ctanh_tonearest_test_data): Remove.
10109 (ctanh_test_tonearest): Likewise.
10110 (ctanh_towardzero_test_data): Likewise.
10111 (ctanh_test_towardzero): Likewise.
10112 (ctanh_downward_test_data): Likewise.
10113 (ctanh_test_downward): Likewise.
10114 (ctanh_upward_test_data): Likewise.
10115 (ctanh_test_upward): Likewise.
10116 (erf_test_data): Update call to AUTO_TESTS_f_f.
10117 (erfc_test_data): Likewise.
10118 (exp_test_data): Likewise.
10119 (exp_test): Use ALL_RM_TEST.
10120 (exp_tonearest_test_data): Remove.
10121 (exp_test_tonearest): Likewise.
10122 (exp_towardzero_test_data): Likewise.
10123 (exp_test_towardzero): Likewise.
10124 (exp_downward_test_data): Likewise.
10125 (exp_test_downward): Likewise.
10126 (exp_upward_test_data): Likewise.
10127 (exp_test_upward): Likewise.
10128 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10129 (exp10_test): Use ALL_RM_TEST.
10130 (exp10_tonearest_test_data): Remove.
10131 (exp10_test_tonearest): Likewise.
10132 (exp10_towardzero_test_data): Likewise.
10133 (exp10_test_towardzero): Likewise.
10134 (exp10_downward_test_data): Likewise.
10135 (exp10_test_downward): Likewise.
10136 (exp10_upward_test_data): Likewise.
10137 (exp10_test_upward): Likewise.
10138 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10139 (expm1_test_data): Likewise.
10140 (expm1_test): Use ALL_RM_TEST.
10141 (expm1_tonearest_test_data): Remove.
10142 (expm1_test_tonearest): Likewise.
10143 (expm1_towardzero_test_data): Likewise.
10144 (expm1_test_towardzero): Likewise.
10145 (expm1_downward_test_data): Likewise.
10146 (expm1_test_downward): Likewise.
10147 (expm1_upward_test_data): Likewise.
10148 (expm1_test_upward): Likewise.
10149 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10150 (fma_test): Use ALL_RM_TEST.
10151 (fma_towardzero_test_data): Remove.
10152 (fma_test_towardzero): Likewise.
10153 (fma_downward_test_data): Likewise.
10154 (fma_test_downward): Likewise.
10155 (fma_upward_test_data): Likewise.
10156 (fma_test_upward): Likewise.
10157 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10158 (j0_test_data): Update call to AUTO_TESTS_f_f.
10159 (j1_test_data): Likewise.
10160 (jn_test_data): Update call to AUTO_TESTS_if_f.
10161 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10162 (log_test_data): Update call to AUTO_TESTS_f_f.
10163 (log10_test_data): Likewise.
10164 (log1p_test_data): Likewise.
10165 (log2_test_data): Likewise.
10166 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10167 (pow_tonearest_test_data): Likewise.
10168 (sin_test_data): Update call to AUTO_TESTS_f_f.
10169 (sin_test): Use ALL_RM_TEST.
10170 (sin_tonearest_test_data): Remove.
10171 (sin_test_tonearest): Likewise.
10172 (sin_towardzero_test_data): Likewise.
10173 (sin_test_towardzero): Likewise.
10174 (sin_downward_test_data): Likewise.
10175 (sin_test_downward): Likewise.
10176 (sin_upward_test_data): Likewise.
10177 (sin_test_upward): Likewise.
10178 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10179 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10180 (sinh_test): Use ALL_RM_TEST.
10181 (sinh_tonearest_test_data): Remove.
10182 (sinh_test_tonearest): Likewise.
10183 (sinh_towardzero_test_data): Likewise.
10184 (sinh_test_towardzero): Likewise.
10185 (sinh_downward_test_data): Likewise.
10186 (sinh_test_downward): Likewise.
10187 (sinh_upward_test_data): Likewise.
10188 (sinh_test_upward): Likewise.
10189 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10190 (sqrt_test): Use ALL_RM_TEST.
10191 (sqrt_tonearest_test_data): Remove.
10192 (sqrt_test_tonearest): Likewise.
10193 (sqrt_towardzero_test_data): Likewise.
10194 (sqrt_test_towardzero): Likewise.
10195 (sqrt_downward_test_data): Likewise.
10196 (sqrt_test_downward): Likewise.
10197 (sqrt_upward_test_data): Likewise.
10198 (sqrt_test_upward): Likewise.
10199 (tan_test_data): Update call to AUTO_TESTS_f_f.
10200 (tan_test): Use ALL_RM_TEST.
10201 (tan_tonearest_test_data): Remove.
10202 (tan_test_tonearest): Likewise.
10203 (tan_towardzero_test_data): Likewise.
10204 (tan_test_towardzero): Likewise.
10205 (tan_downward_test_data): Likewise.
10206 (tan_test_downward): Likewise.
10207 (tan_upward_test_data): Likewise.
10208 (tan_test_upward): Likewise.
10209 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10210 (tgamma_test_data): Likewise.
10211 (y0_test_data): Likewise.
10212 (y1_test_data): Likewise.
10213 (yn_test_data): Update call to AUTO_TESTS_if_f.
10214 (main): Do not call removed functions.
10215
d71aeee8
JM
102162014-03-19 Joseph Myers <joseph@codesourcery.com>
10217
10218 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10219 (ldexp_test_data): Remove.
10220 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10221 scalbn_test_data.
10222 (scalb_test): Use ALL_RM_TEST.
10223
baaf1ded
AS
102242014-03-19 Andreas Schwab <schwab@suse.de>
10225
10226 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10227
b1115e91
JM
102282014-03-19 Joseph Myers <joseph@codesourcery.com>
10229
10230 [BZ #16649]
10231 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10232 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10233 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10235 (__ASSUME_PREADV): Undefine.
10236 (__ASSUME_PWRITEV): Likewise.
10237
0283ecca
RM
102382014-03-18 Roland McGrath <roland@hack.frob.com>
10239
7d375303
RM
10240 * bits/mman-linux.h: Add comment about non-Linux use.
10241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10242 bits/mman-linux.h resting place.
10243
0283ecca
RM
10244 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10245 * bits/mman-linux.h: ... here.
10246
aebe1003
AZ
102472014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10248
10249 * conform/conformtest.pl: Add standard definition when calling C
10250 preprocessor on data files.
10251 (checknamespace): Remove unused variable.
10252
b29b6bb8
JM
102532014-03-18 Joseph Myers <joseph@codesourcery.com>
10254
10255 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10256 minus_oflow, plus_uflow and minus_uflow in expected results.
10257 * math/libm-test.inc (scalbn_test_data): Add more tests of
10258 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10259 minus_uflow.
10260 (scalbn_test): Use ALL_RM_TEST.
10261 (scalbln_test_data): Add more tests of negative arguments. Use
10262 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10263 (scalbln_test): Use ALL_RM_TEST.
10264
c8f8fa15
RM
102652014-03-18 Roland McGrath <roland@hack.frob.com>
10266
10267 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10268
fede7a5f
WN
102692014-03-18 Will Newton <will.newton@linaro.org>
10270
10271 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10272 inaccurate comment.
10273
80cf0a58
JM
102742014-03-18 Joseph Myers <joseph@codesourcery.com>
10275
10276 * Makerules [!subdir] (check-abi): Exit with error status if a
10277 test failed.
10278
b3620862
JM
102792014-03-17 Joseph Myers <joseph@codesourcery.com>
10280
10281 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10282 for rint. Include results for all rounding modes.
10283 (nearbyint_test): Use ALL_RM_TEST.
10284 (rint_test_data): Include all tests used for nearbyint.
10285
788bba36
WN
102862014-03-17 Will Newton <will.newton@linaro.org>
10287
04ec140a
WN
10288 * nptl/sysdeps/pthread/pthread.h: Revert previous
10289 change.
10290
7579d8d5
WN
10291 * sysdeps/generic/ldsodefs.h: Revert previous
10292 change.
10293
c15cf13a
WN
10294 * libio/genops.c: Revert previous change.
10295 * libio/libioP.h: Likewise.
10296 * stdio-common/vfprintf.c: Likewise.
10297
d0ac1324
WN
10298 * sysdeps/generic/math_private.h: Revert previous
10299 change.
10300
9290130a
WN
10301 * sysdeps/generic/math_private.h: Check whether
10302 HAVE_RM_CTX is defined with #ifdef rather
10303 than #if.
10304
afb466fc
WN
10305 * argp/argp-fmtstream.h: Check whether
10306 __STRICT_ANSI__ is defined with #ifdef rather
10307 than #if.
10308 * argp/argp.h: Likewise.
10309
f7efd7c3
WN
10310 * libio/genops.c: Check whether
10311 _IO_JUMPS_OFFSET is defined with #ifdef rather
10312 than #if.
10313 * libio/libioP.h: Likewise.
10314 * stdio-common/vfprintf.c: Likewise.
10315
53f1bed3
WN
10316 * sysdeps/generic/ldsodefs.h: Check whether
10317 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10318 than #if.
10319
788bba36
WN
10320 * nptl/sysdeps/pthread/pthread.h: Check
10321 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10322 its value.
10323
fcd89ebe
SP
103242014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10325
ae42bbc5
SP
10326 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10327 setting O_APPEND.
10328 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10329 test case.
10330
ea33158c
SP
10331 [BZ #16680]
10332 * libio/fileops.c (_IO_file_open): Seek to end of file but
10333 don't cache the offset.
10334 (get_file_offset): Remove function.
10335 (do_ftell): Use cached offset when available.
10336 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10337 don't cache the offset.
10338 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10339 case.
10340 (do_one_test): Call it.
10341 (do_ftell_test): Fix up expected old offset for a+ mode.
10342 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10343 available.
10344
b1dbb426
SP
10345 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10346 up test status with function return status.
10347 (do_write_test): Likewise.
10348 (do_append_test): Likewise.
10349
fcd89ebe
SP
10350 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10351 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10352 Remove.
10353
9962a2d3
JM
103542014-03-17 Joseph Myers <joseph@codesourcery.com>
10355
10356 * math/gen-libm-test.pl (parse_args): Handle results specified for
10357 each rounding mode separately.
10358 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10359 tests and results from lrint_tonearest_test_data,
10360 lrint_towardzero_test_data, lrint_downward_test_data and
10361 lrint_upward_test_data.
10362 (lrint_test): Use ALL_RM_TEST.
10363 (lrint_tonearest_test_data): Remove.
10364 (lrint_test_tonearest): Likewise.
10365 (lrint_towardzero_test_data): Likewise.
10366 (lrint_test_towardzero): Likewise.
10367 (lrint_downward_test_data): Likewise.
10368 (lrint_test_downward): Likewise.
10369 (lrint_upward_test_data): Likewise.
10370 (lrint_test_upward): Likewise.
10371 (llrint_test_data): Merge in per-rounding-mode tests and results
10372 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10373 llrint_downward_test_data and llrint_upward_test_data.
10374 (llrint_test): Use ALL_RM_TEST.
10375 (llrint_tonearest_test_data): Remove.
10376 (llrint_test_tonearest): Likewise.
10377 (llrint_towardzero_test_data): Likewise.
10378 (llrint_test_towardzero): Likewise.
10379 (llrint_downward_test_data): Likewise.
10380 (llrint_test_downward): Likewise.
10381 (llrint_upward_test_data): Likewise.
10382 (llrint_test_upward): Likewise.
10383 (rint_test_data): Merge in per-rounding-mode tests and results
10384 from rint_tonearest_test_data, rint_towardzero_test_data,
10385 rint_downward_test_data and rint_upward_test_data. Add
10386 per-rounding-mode results for tests not in those arrays.
10387 (rint_test): Use ALL_RM_TEST.
10388 (rint_tonearest_test_data): Remove.
10389 (rint_test_tonearest): Likewise.
10390 (rint_towardzero_test_data): Likewise.
10391 (rint_test_towardzero): Likewise.
10392 (rint_downward_test_data): Likewise.
10393 (rint_test_downward): Likewise.
10394 (rint_upward_test_data): Likewise.
10395 (rint_test_upward): Likewise.
10396 (main): Don't call removed functions.
10397
5006148e
RM
103982014-03-14 Roland McGrath <roland@hack.frob.com>
10399
10400 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10401 "Compiled on ..." crapola. It is anti-useful.
10402
d6fe5e58
JM
104032014-03-14 Joseph Myers <joseph@codesourcery.com>
10404
10405 * scripts/evaluate-test.sh: Handle fourth argument to determine
10406 whether test run should stop on failure.
10407 * Makeconfig (stop-on-test-failure): New variable.
10408 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10409 $(stop-on-test-failure).
10410 * Makefile (tests): Give a summary of results from testing and
10411 exit with failure status if they include an ERROR or FAIL.
10412 (xtests): Likewise.
10413 * manual/install.texi (Configuring and compiling): Mention
10414 stop-on-test-failure=y.
10415 * INSTALL: Regenerated.
10416
498a2233
RM
104172014-03-14 Roland McGrath <roland@hack.frob.com>
10418
22dbc19d
RM
10419 * scripts/versionlist.awk: New file.
10420 * Makerules [$(build-shared) = yes]
10421 (postclean-generated): Add Versions.def, not Versions.def.v and
10422 Versions.def.v.i.
10423 ($(common-objpfx)Versions.def.v.i): Target removed.
10424 ($(common-objpfx)Versions.def): New target.
10425 ($(common-objpfx)Versions.all): Depend on that rather that
10426 $(common-objpfx)Versions.def.v.
10427 * Versions.def: File removed.
10428
498a2233
RM
10429 * Makeconfig (+gccwarn): Add -Wundef.
10430 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10431 a dl-sysdep.h breaking its contract.
10432 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10433 * include/stackinfo.h: New file.
10434 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10435 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10436 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10437 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10438 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10439 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10440 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10441 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10442 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10443 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10444 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10445 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10446 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10447 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10448 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10449
c7de5025
AZ
104502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10451
10452 [BZ #16707]
10453 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10454 implementation.
10455 * math/libm-test.inc (round_test_data): Add more tests.
10456
98fb27a3
AZ
10457 [BZ #16706]
10458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10459 implementation.
10460 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10461
374f7f61
AZ
10462 [BZ #16701]
10463 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10464 implementation.
10465 * math/libm-test.inc (ceil_test_data): Add more tests.
10466
4655c291
AZ
10467 * math/libm-test.inc (trunc_test_data): Add more tests related to
10468 BZ#16414.
10469
d7329d4b
RM
104702014-03-14 Roland McGrath <roland@hack.frob.com>
10471
10472 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10473 with #if rather than #ifdef.
10474 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10475
aa4de9ce
L
104762014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10479 first. Disable AVX-512 GCC support if assembler doesn't support
10480 it.
10481 * sysdeps/x86_64/configure: Regenerated.
10482
2e03fae7
CD
104832014-03-13 Carlos O'Donell <carlos@redhat.com>
10484
10485 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10486 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10487 (__old_pthread_attr_setstack): Likewise.
10488 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10489 [!_STACK_GROWS_DOWN]: Likewise.
10490
43ca83ec
MF
104912014-03-13 Mike Frysinger <vapier@gentoo.org>
10492
10493 * config.make.in (have-bash2): Delete.
10494 * configure.ac (libc_cv_have_bash2): Delete.
10495 * configure: Regenerate.
10496 * elf/Makefile (common-ldd-rewrite): Rename to ...
10497 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10498 (sh-ldd-rewrite): Delete.
10499 (bash-ldd-rewrite): Delete.
10500 (have-bash2): Delete checks.
57f41c40
AS
10501 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10502 ldd-rewrite.
c66e48b4
MF
10503
10504 * config.make.in (have-ksh): Delete.
10505 (KSH): Delete.
10506 * configure.ac (libc_cv_have_ksh): Delete.
10507 * configure: Regenerate.
10508
b93834ef
MF
10509 * elf/Makefile: Delete $(have-ksh) check.
10510 ($(objpfx)sotruss): Change KSH to BASH.
10511 * elf/sotruss.ksh: Rename to ...
10512 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10513 function style to match POSIX. Drop ksh vim mode setting.
10514
f3a4632a
MF
10515 * manual/time.texi (Specifying the Time Zone with TZ): Change
10516 Tuesday to Thursday.
10517
5896c8bd
MF
10518 * debug/tst-longjmp_chk2.c: Update header comment.
10519 (stackoverflow_handler): Add comment. Call assert on pass value.
10520
2d63a517
IZ
105212014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10522
7e54fd04 10523 [BZ #16194]
2d63a517
IZ
10524 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10525 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10526 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10527 (La_x86_64_vector): Add zmm.
10528 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10529 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10530 ($(objpfx)tst-audit10): New target.
10531 ($(objpfx)tst-audit10.out): Likewise.
10532 (tst-audit10-ENV): New.
10533 (AVX512-CFLAGS): Likewise.
10534 (CFLAGS-tst-audit10.c): Likewise.
10535 (CFLAGS-tst-auditmod10a.c): Likewise.
10536 (CFLAGS-tst-auditmod10b.c): Likewise.
10537 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10538 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10539 * sysdeps/x86_64/configure: Regenerated.
10540 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10541 AVX-512 zmm register support.
10542 (_dl_x86_64_save_sse): Likewise.
10543 (_dl_x86_64_restore_sse): Likewise.
10544 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10545 size vector registers.
10546 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10547 (ZMM_SIZE): Likewise.
10548 * sysdeps/x86_64/tst-audit10.c: New file.
10549 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10550 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10551
44c4e5d5
RM
105522014-03-13 Roland McGrath <roland@hack.frob.com>
10553
10554 * configure.ac (HAVE_EHDR_START): New check.
10555 * configure: Regenerated.
10556 * config.h.in (HAVE_EHDR_START): New #undef.
10557 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10558 assuming the lowest-addressed segment maps the start of the file.
10559
acd6e389
JM
105602014-03-13 Joseph Myers <joseph@codesourcery.com>
10561
10562 * INSTALL: Regenerated.
10563
6f918f36
WN
105642014-03-13 Will Newton <will.newton@linaro.org>
10565
10566 * manual/setjmp.texi (System V contexts): Improve
10567 clarity and grammar of documentation.
10568
798212a0
PP
105692014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10570
10571 [BZ #16381]
798212a0 10572 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10573 (tests-pie): Add tst-pie2.
798212a0
PP
10574 * elf/tst-pie2.c: New file.
10575 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10576 for ET_EXEC.
10577 * elf/rtld.c (map_doit): Load executable as lt_executable.
10578 (dl_main): Likewise.
10579
abe6d90c
JM
105802014-03-12 Joseph Myers <joseph@codesourcery.com>
10581
10582 [BZ #16642]
10583 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10584 (__ASSUME_PSELECT): Undefine.
10585
dd3946c6
AZ
105862014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10587
10588 [BZ #16689]
10589 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10590 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10591 static build.
10592 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10593 selector for static builds.
10594
c44496df
SP
105952014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10596
10597 [BZ #16695]
10598 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10599 key in the buffer.
10600
27c7220a
AZ
106012014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10602
57f41c40
AS
10603 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10604 IFUNC selector for static builds.
27c7220a 10605
600fa361
JM
106062014-03-11 Joseph Myers <joseph@codesourcery.com>
10607
76c96cf7
JM
10608 * sysdeps/mips/math_private.h [__mips_hard_float]
10609 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10610 libc_feresetround_mips_ctx.
10611 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10612 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10613 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10614
600fa361
JM
10615 [BZ #16677]
10616 * math/s_nextafter.c (__nextafter): Do not return value from
10617 overflowing computation.
10618 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10619 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10620 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10621 Likewise.
10622 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10623 Likewise.
10624 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10625 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10626
d7706c32
RM
106272014-03-11 Roland McGrath <roland@hack.frob.com>
10628
10629 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10630 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10631 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10632 the new mov targetting sp.
10633
4facea47
AZ
106342014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10635
10636 [BZ #16683]
10637 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10638 Define it for static builds as well.
10639 (NO_BZERO_IMPL): Likewise.
10640
e65caf1f
VR
106412014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10642
10643 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10644 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10645 multiarch strspn for PPC64.
10646 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10647 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10649 (__libc_ifunc_impl_list): Likewise.
10650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10651 multiarch optimizations
10652 * string/strspn.c (strspn): Using macro to redefine symbol name.
10653
ba9cc071
AZ
106542014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10655 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10656
10657 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10658 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10659 multiarch strncat for PPC64.
10660 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10661 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10663 (__libc_ifunc_impl_list): Likewise.
10664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10665 multiarch optimizations
10666
8b4ff974
SP
106672014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10668
10669 [BZ #16639]
10670 * nscd/nscd.service: Make service type forking.
10671
54b46a4b
AZ
106722014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10673
10674 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10675 sign in non default rounding modes.
10676 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10677
e9996ef7
JM
106782014-03-08 Joseph Myers <joseph@codesourcery.com>
10679
10680 * math/libm-test.inc (ALL_RM_TEST): New macro.
10681 (ceil_test): Use ALL_RM_TEST.
10682 (cimag_test): Likewise.
10683 (conj_test): Likewise.
10684 (copysign_test): Likewise.
10685 (cproj_test): Likewise.
10686 (creal_test): Likewise.
10687 (fabs_test): Likewise.
10688 (floor_test): Likewise.
10689 (fmax_test): Likewise.
10690 (fmin_test): Likewise.
10691 (fmod_test): Likewise.
10692 (fpclassify_test): Likewise.
10693 (frexp_test): Likewise.
10694 (ilogb_test): Likewise.
10695 (isfinite_test): Likewise.
10696 (finite_test): Likewise.
10697 (isgreater_test): Likewise.
10698 (isgreaterequal_test): Likewise.
10699 (isinf_test): Likewise.
10700 (isless_test): Likewise.
10701 (islessequal_test): Likewise.
10702 (islessgreater_test): Likewise.
10703 (isnan_test): Likewise.
10704 (isnormal_test): Likewise.
10705 (issignaling_test): Likewise.
10706 (isunordered_test): Likewise.
10707 (logb_test): Likewise.
10708 (logb_downward_test_data): Remove.
10709 (logb_test_downward): Likewise.
10710 (lround_test): Use ALL_RM_TEST.
10711 (llround_test): Likewise.
10712 (modf_test): Likewise.
10713 (nexttoward_test): Likewise.
10714 (remainder_test): Likewise.
10715 (drem_test): Likewise.
10716 (remainder_tonearest_test_data): Likewise.
10717 (remainder_test_tonearest): Likewise.
10718 (drem_test_tonearest): Likewise.
10719 (remainder_towardzero_test_data): Likewise.
10720 (remainder_test_towardzero): Likewise.
10721 (drem_test_towardzero): Likewise.
10722 (remainder_downward_test_data): Likewise.
10723 (remainder_test_downward): Likewise.
10724 (drem_test_downward): Likewise.
10725 (remainder_upward_test_data): Likewise.
10726 (remainder_test_upward): Likewise.
10727 (drem_test_upward): Likewise.
10728 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10729 (round_test): Use ALL_RM_TEST.
10730 (signbit_test): Likewise.
10731 (trunc_test): Likewise.
10732 (significand_test): Likewise.
10733 (main): Don't call removed functions.
10734
bc61d27c
JM
107352014-03-07 Joseph Myers <joseph@codesourcery.com>
10736
5c780849
JM
10737 [BZ #16674]
10738 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10739 || __USE_XOPEN2K8].
10740 (ILL_ILLOPN): Likewise.
10741 (ILL_ILLADR): Likewise.
10742 (ILL_ILLTRP): Likewise.
10743 (ILL_PRVOPC): Likewise.
10744 (ILL_PRVREG): Likewise.
10745 (ILL_COPROC): Likewise.
10746 (ILL_BADSTK): Likewise.
10747 (FPE_INTDIV): Likewise.
10748 (FPE_INTOVF): Likewise.
10749 (FPE_FLTDIV): Likewise.
10750 (FPE_FLTOVF): Likewise.
10751 (FPE_FLTUND): Likewise.
10752 (FPE_FLTRES): Likewise.
10753 (FPE_FLTINV): Likewise.
10754 (FPE_FLTSUB): Likewise.
10755 (SEGV_MAPERR): Likewise.
10756 (SEGV_ACCERR): Likewise.
10757 (BUS_ADRALN): Likewise.
10758 (BUS_ADRERR): Likewise.
10759 (BUS_OBJERR): Likewise.
10760 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10761 (TRAP_TRACE): Likewise.
10762 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10763 __USE_XOPEN2K8].
10764 (CLD_KILLED): Likewise.
10765 (CLD_DUMPED): Likewise.
10766 (CLD_TRAPPED): Likewise.
10767 (CLD_STOPPED): Likewise.
10768 (CLD_CONTINUED): Likewise.
10769 (POLL_IN): Likewise.
10770 (POLL_OUT): Likewise.
10771 (POLL_MSG): Likewise.
10772 (POLL_ERR): Likewise.
10773 (POLL_PRI): Likewise.
10774 (POLL_HUP): Likewise.
10775 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10776 Likewise.
10777 (ILL_ILLOPN): Likewise.
10778 (ILL_ILLADR): Likewise.
10779 (ILL_ILLTRP): Likewise.
10780 (ILL_PRVOPC): Likewise.
10781 (ILL_PRVREG): Likewise.
10782 (ILL_COPROC): Likewise.
10783 (ILL_BADSTK): Likewise.
10784 (FPE_INTDIV): Likewise.
10785 (FPE_INTOVF): Likewise.
10786 (FPE_FLTDIV): Likewise.
10787 (FPE_FLTOVF): Likewise.
10788 (FPE_FLTUND): Likewise.
10789 (FPE_FLTRES): Likewise.
10790 (FPE_FLTINV): Likewise.
10791 (FPE_FLTSUB): Likewise.
10792 (SEGV_MAPERR): Likewise.
10793 (SEGV_ACCERR): Likewise.
10794 (BUS_ADRALN): Likewise.
10795 (BUS_ADRERR): Likewise.
10796 (BUS_OBJERR): Likewise.
10797 (BUS_MCEERR_AR): Likewise.
10798 (BUS_MCEERR_AO): Likewise.
10799 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10800 (TRAP_TRACE): Likewise.
10801 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10802 __USE_XOPEN2K8].
10803 (CLD_KILLED): Likewise.
10804 (CLD_DUMPED): Likewise.
10805 (CLD_TRAPPED): Likewise.
10806 (CLD_STOPPED): Likewise.
10807 (CLD_CONTINUED): Likewise.
10808 (POLL_IN): Likewise.
10809 (POLL_OUT): Likewise.
10810 (POLL_MSG): Likewise.
10811 (POLL_ERR): Likewise.
10812 (POLL_PRI): Likewise.
10813 (POLL_HUP): Likewise.
10814 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10815 (ILL_ILLOPN): Likewise.
10816 (ILL_ILLADR): Likewise.
10817 (ILL_ILLTRP): Likewise.
10818 (ILL_PRVOPC): Likewise.
10819 (ILL_PRVREG): Likewise.
10820 (ILL_COPROC): Likewise.
10821 (ILL_BADSTK): Likewise.
10822 (FPE_INTDIV): Likewise.
10823 (FPE_INTOVF): Likewise.
10824 (FPE_FLTDIV): Likewise.
10825 (FPE_FLTOVF): Likewise.
10826 (FPE_FLTUND): Likewise.
10827 (FPE_FLTRES): Likewise.
10828 (FPE_FLTINV): Likewise.
10829 (FPE_FLTSUB): Likewise.
10830 (SEGV_MAPERR): Likewise.
10831 (SEGV_ACCERR): Likewise.
10832 (BUS_ADRALN): Likewise.
10833 (BUS_ADRERR): Likewise.
10834 (BUS_OBJERR): Likewise.
10835 (BUS_MCEERR_AR): Likewise.
10836 (BUS_MCEERR_AO): Likewise.
10837 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10838 (TRAP_TRACE): Likewise.
10839 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10840 __USE_XOPEN2K8].
10841 (CLD_KILLED): Likewise.
10842 (CLD_DUMPED): Likewise.
10843 (CLD_TRAPPED): Likewise.
10844 (CLD_STOPPED): Likewise.
10845 (CLD_CONTINUED): Likewise.
10846 (POLL_IN): Likewise.
10847 (POLL_OUT): Likewise.
10848 (POLL_MSG): Likewise.
10849 (POLL_ERR): Likewise.
10850 (POLL_PRI): Likewise.
10851 (POLL_HUP): Likewise.
10852 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10853 Likewise.
10854 (ILL_ILLOPN): Likewise.
10855 (ILL_ILLADR): Likewise.
10856 (ILL_ILLTRP): Likewise.
10857 (ILL_PRVOPC): Likewise.
10858 (ILL_PRVREG): Likewise.
10859 (ILL_COPROC): Likewise.
10860 (ILL_BADSTK): Likewise.
10861 (ILL_BADIADDR): Likewise.
10862 (ILL_BREAK): Likewise.
10863 (FPE_INTDIV): Likewise.
10864 (FPE_INTOVF): Likewise.
10865 (FPE_FLTDIV): Likewise.
10866 (FPE_FLTOVF): Likewise.
10867 (FPE_FLTUND): Likewise.
10868 (FPE_FLTRES): Likewise.
10869 (FPE_FLTINV): Likewise.
10870 (FPE_FLTSUB): Likewise.
10871 (FPE_DECOVF): Likewise.
10872 (FPE_DECDIV): Likewise.
10873 (FPE_DECERR): Likewise.
10874 (FPE_INVASC): Likewise.
10875 (FPE_INVDEC): Likewise.
10876 (SEGV_MAPERR): Likewise.
10877 (SEGV_ACCERR): Likewise.
10878 (SEGV_PSTKOVF): Likewise.
10879 (BUS_ADRALN): Likewise.
10880 (BUS_ADRERR): Likewise.
10881 (BUS_OBJERR): Likewise.
10882 (BUS_MCEERR_AR): Likewise.
10883 (BUS_MCEERR_AO): Likewise.
10884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10885 (TRAP_TRACE): Likewise.
10886 (TRAP_BRANCH): Likewise.
10887 (TRAP_HWBKPT): Likewise.
10888 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10889 __USE_XOPEN2K8].
10890 (CLD_KILLED): Likewise.
10891 (CLD_DUMPED): Likewise.
10892 (CLD_TRAPPED): Likewise.
10893 (CLD_STOPPED): Likewise.
10894 (CLD_CONTINUED): Likewise.
10895 (POLL_IN): Likewise.
10896 (POLL_OUT): Likewise.
10897 (POLL_MSG): Likewise.
10898 (POLL_ERR): Likewise.
10899 (POLL_PRI): Likewise.
10900 (POLL_HUP): Likewise.
10901 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10902 (ILL_ILLOPN): Likewise.
10903 (ILL_ILLADR): Likewise.
10904 (ILL_ILLTRP): Likewise.
10905 (ILL_PRVOPC): Likewise.
10906 (ILL_PRVREG): Likewise.
10907 (ILL_COPROC): Likewise.
10908 (ILL_BADSTK): Likewise.
10909 (FPE_INTDIV): Likewise.
10910 (FPE_INTOVF): Likewise.
10911 (FPE_FLTDIV): Likewise.
10912 (FPE_FLTOVF): Likewise.
10913 (FPE_FLTUND): Likewise.
10914 (FPE_FLTRES): Likewise.
10915 (FPE_FLTINV): Likewise.
10916 (FPE_FLTSUB): Likewise.
10917 (SEGV_MAPERR): Likewise.
10918 (SEGV_ACCERR): Likewise.
10919 (BUS_ADRALN): Likewise.
10920 (BUS_ADRERR): Likewise.
10921 (BUS_OBJERR): Likewise.
10922 (BUS_MCEERR_AR): Likewise.
10923 (BUS_MCEERR_AO): Likewise.
10924 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10925 (TRAP_TRACE): Likewise.
10926 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10927 __USE_XOPEN2K8].
10928 (CLD_KILLED): Likewise.
10929 (CLD_DUMPED): Likewise.
10930 (CLD_TRAPPED): Likewise.
10931 (CLD_STOPPED): Likewise.
10932 (CLD_CONTINUED): Likewise.
10933 (POLL_IN): Likewise.
10934 (POLL_OUT): Likewise.
10935 (POLL_MSG): Likewise.
10936 (POLL_ERR): Likewise.
10937 (POLL_PRI): Likewise.
10938 (POLL_HUP): Likewise.
10939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10940 (ILL_ILLOPN): Likewise.
10941 (ILL_ILLADR): Likewise.
10942 (ILL_ILLTRP): Likewise.
10943 (ILL_PRVOPC): Likewise.
10944 (ILL_PRVREG): Likewise.
10945 (ILL_COPROC): Likewise.
10946 (ILL_BADSTK): Likewise.
10947 (FPE_INTDIV): Likewise.
10948 (FPE_INTOVF): Likewise.
10949 (FPE_FLTDIV): Likewise.
10950 (FPE_FLTOVF): Likewise.
10951 (FPE_FLTUND): Likewise.
10952 (FPE_FLTRES): Likewise.
10953 (FPE_FLTINV): Likewise.
10954 (FPE_FLTSUB): Likewise.
10955 (SEGV_MAPERR): Likewise.
10956 (SEGV_ACCERR): Likewise.
10957 (BUS_ADRALN): Likewise.
10958 (BUS_ADRERR): Likewise.
10959 (BUS_OBJERR): Likewise.
10960 (BUS_MCEERR_AR): Likewise.
10961 (BUS_MCEERR_AO): Likewise.
10962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10963 (TRAP_TRACE): Likewise.
10964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10965 __USE_XOPEN2K8].
10966 (CLD_KILLED): Likewise.
10967 (CLD_DUMPED): Likewise.
10968 (CLD_TRAPPED): Likewise.
10969 (CLD_STOPPED): Likewise.
10970 (CLD_CONTINUED): Likewise.
10971 (POLL_IN): Likewise.
10972 (POLL_OUT): Likewise.
10973 (POLL_MSG): Likewise.
10974 (POLL_ERR): Likewise.
10975 (POLL_PRI): Likewise.
10976 (POLL_HUP): Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10978 (ILL_ILLOPN): Likewise.
10979 (ILL_ILLADR): Likewise.
10980 (ILL_ILLTRP): Likewise.
10981 (ILL_PRVOPC): Likewise.
10982 (ILL_PRVREG): Likewise.
10983 (ILL_COPROC): Likewise.
10984 (ILL_BADSTK): Likewise.
10985 (FPE_INTDIV): Likewise.
10986 (FPE_INTOVF): Likewise.
10987 (FPE_FLTDIV): Likewise.
10988 (FPE_FLTOVF): Likewise.
10989 (FPE_FLTUND): Likewise.
10990 (FPE_FLTRES): Likewise.
10991 (FPE_FLTINV): Likewise.
10992 (FPE_FLTSUB): Likewise.
10993 (SEGV_MAPERR): Likewise.
10994 (SEGV_ACCERR): Likewise.
10995 (BUS_ADRALN): Likewise.
10996 (BUS_ADRERR): Likewise.
10997 (BUS_OBJERR): Likewise.
10998 (BUS_MCEERR_AR): Likewise.
10999 (BUS_MCEERR_AO): Likewise.
11000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11001 (TRAP_TRACE): Likewise.
11002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11003 __USE_XOPEN2K8].
11004 (CLD_KILLED): Likewise.
11005 (CLD_DUMPED): Likewise.
11006 (CLD_TRAPPED): Likewise.
11007 (CLD_STOPPED): Likewise.
11008 (CLD_CONTINUED): Likewise.
11009 (POLL_IN): Likewise.
11010 (POLL_OUT): Likewise.
11011 (POLL_MSG): Likewise.
11012 (POLL_ERR): Likewise.
11013 (POLL_PRI): Likewise.
11014 (POLL_HUP): Likewise.
11015 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11016 (ILL_ILLOPN): Likewise.
11017 (ILL_ILLADR): Likewise.
11018 (ILL_ILLTRP): Likewise.
11019 (ILL_PRVOPC): Likewise.
11020 (ILL_PRVREG): Likewise.
11021 (ILL_COPROC): Likewise.
11022 (ILL_BADSTK): Likewise.
11023 (ILL_DBLFLT): Likewise.
11024 (ILL_HARDWALL): Likewise.
11025 (FPE_INTDIV): Likewise.
11026 (FPE_INTOVF): Likewise.
11027 (FPE_FLTDIV): Likewise.
11028 (FPE_FLTOVF): Likewise.
11029 (FPE_FLTUND): Likewise.
11030 (FPE_FLTRES): Likewise.
11031 (FPE_FLTINV): Likewise.
11032 (FPE_FLTSUB): Likewise.
11033 (SEGV_MAPERR): Likewise.
11034 (SEGV_ACCERR): Likewise.
11035 (BUS_ADRALN): Likewise.
11036 (BUS_ADRERR): Likewise.
11037 (BUS_OBJERR): Likewise.
11038 (BUS_MCEERR_AR): Likewise.
11039 (BUS_MCEERR_AO): Likewise.
11040 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11041 (TRAP_TRACE): Likewise.
11042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11043 __USE_XOPEN2K8].
11044 (CLD_KILLED): Likewise.
11045 (CLD_DUMPED): Likewise.
11046 (CLD_TRAPPED): Likewise.
11047 (CLD_STOPPED): Likewise.
11048 (CLD_CONTINUED): Likewise.
11049 (POLL_IN): Likewise.
11050 (POLL_OUT): Likewise.
11051 (POLL_MSG): Likewise.
11052 (POLL_ERR): Likewise.
11053 (POLL_PRI): Likewise.
11054 (POLL_HUP): Likewise.
11055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11056 (ILL_ILLOPN): Likewise.
11057 (ILL_ILLADR): Likewise.
11058 (ILL_ILLTRP): Likewise.
11059 (ILL_PRVOPC): Likewise.
11060 (ILL_PRVREG): Likewise.
11061 (ILL_COPROC): Likewise.
11062 (ILL_BADSTK): Likewise.
11063 (FPE_INTDIV): Likewise.
11064 (FPE_INTOVF): Likewise.
11065 (FPE_FLTDIV): Likewise.
11066 (FPE_FLTOVF): Likewise.
11067 (FPE_FLTUND): Likewise.
11068 (FPE_FLTRES): Likewise.
11069 (FPE_FLTINV): Likewise.
11070 (FPE_FLTSUB): Likewise.
11071 (SEGV_MAPERR): Likewise.
11072 (SEGV_ACCERR): Likewise.
11073 (BUS_ADRALN): Likewise.
11074 (BUS_ADRERR): Likewise.
11075 (BUS_OBJERR): Likewise.
11076 (BUS_MCEERR_AR): Likewise.
11077 (BUS_MCEERR_AO): Likewise.
11078 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11079 (TRAP_TRACE): Likewise.
11080 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11081 __USE_XOPEN2K8].
11082 (CLD_KILLED): Likewise.
11083 (CLD_DUMPED): Likewise.
11084 (CLD_TRAPPED): Likewise.
11085 (CLD_STOPPED): Likewise.
11086 (CLD_CONTINUED): Likewise.
11087 (POLL_IN): Likewise.
11088 (POLL_OUT): Likewise.
11089 (POLL_MSG): Likewise.
11090 (POLL_ERR): Likewise.
11091 (POLL_PRI): Likewise.
11092 (POLL_HUP): Likewise.
11093 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11094 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11095
bc61d27c
JM
11096 [BZ #16670]
11097 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11098 before #include of <time.h>.
11099 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11100 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11101 (test-xfail-UNIX98/sched.h/conform): Likewise.
11102
302949e2
MS
111032014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11104
11105 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11106 error absence of trapping exception support.
11107 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11108
a00f522a
JM
111092014-03-07 Joseph Myers <joseph@codesourcery.com>
11110
6f99f280
JM
11111 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11112 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11113 * timezone/Makefile (testdata): Move definition above include of
11114 Rules.
11115 (test-zones): New variable.
11116 (tests-special): Add zone files.
11117 (build-testdata): Use $(evaluate-test).
11118
0b20a9e8
JM
11119 * elf/Makefile (tests-special): Rename tests to end with .out.
11120 ($(objpfx)noload-mem): Likewise.
11121 ($(objpfx)tst-leaks1-mem): Likewise.
11122 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11123 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11124 $(objpfx)test-iconvconfig.out.
11125 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11126 set -e inside subshell and redirect output to file.
11127 * iconvdata/Makefile (generated): Rename tests to end with .out.
11128 Correct type.
11129 (tests-special): Rename tests to end with .out.
11130 ($(objpfx)mtrace-tst-loading): Likewise.
11131 * intl/Makefile (generated): Likewise.
11132 (tests-special): Likewise.
11133 ($(objpfx)mtrace-tst-gettext): Likewise.
11134 * misc/Makefile (generated): Likewise.
11135 (tests-special): Likewise.
11136 ($(objpfx)tst-error1-mem): Likewise.
11137 * nptl/Makefile (tests-special): Likewise.
11138 ($(objpfx)tst-stack3-mem): Likewise.
11139 (generated): Likewise.
11140 * posix/Makefile (generated): Likewise.
11141 (tests-special): Likewise.
11142 (xtests-special): Likewise.
11143 ($(objpfx)tst-fnmatch-mem): Likewise.
11144 ($(objpfx)bug-regex2-mem): Likewise.
11145 ($(objpfx)bug-regex14-mem): Likewise.
11146 ($(objpfx)bug-regex21-mem): Likewise.
11147 ($(objpfx)bug-regex31-mem): Likewise.
11148 ($(objpfx)tst-vfork3-mem): Likewise.
11149 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11150 ($(objpfx)tst-pcre-mem): Likewise.
11151 ($(objpfx)tst-boost-mem): Likewise.
11152 ($(objpfx)bug-ga2-mem): Likewise.
11153 ($(objpfx)bug-glob2-mem): Likewise.
11154 * resolv/Makefile (generate): Likewise.
11155 (tests-special): Likewise.
11156 (xtests-special): Likewise.
11157 (generated): Likewise.
11158 ($(objpfx)mtrace-tst-leaks): Likewise.
11159 ($(objpfx)mtrace-tst-leaks2): Likewise.
11160
265d52ab
JM
11161 * scripts/merge-test-results.sh: New file.
11162 * Makefile (tests-special-notdir): New variable.
11163 (tests): Run merge-test-results.sh.
11164 (xtests): Likewise.
11165 * Rules (tests-special-notdir): New variable.
11166 (xtests-special-notdir): Likewise.
11167 (tests): Run merge-test-results.sh
11168 (xtests): Likewise.
11169
54ee292d
JM
11170 * Makeconfig (test-xfail-name): New variable.
11171 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11172 compute variable name for expected failures.
11173 * conform/Makefile (conformtest-headers-data): New variable.
11174 (conformtest-standards): Likewise.
11175 (conformtest-headers-ISO): Likewise.
11176 (conformtest-headers-ISO99): Likewise.
11177 (conformtest-headers-ISO11): Likewise.
11178 (conformtest-headers-POSIX): Likewise.
11179 (conformtest-headers-XPG3): Likewise.
11180 (conformtest-headers-XPG4): Likewise.
11181 (conformtest-headers-UNIX98): Likewise.
11182 (conformtest-headers-XOPEN2K): Likewise.
11183 (conformtest-headers-POSIX2008): Likewise.
11184 (conformtest-headers-XOPEN2K8): Likewise.
11185 (conformtest-header-list-base): Likewise.
11186 (conformtest-header-list-tests): Likewise.
11187 (conformtest-header-base): Likewise.
11188 (conformtest-header-tests): Likewise.
11189 (tests-special): Add $(conformtest-header-list-tests). If
11190 [$(fast-check) && !$(cross-compiling)], add
11191 $(conformtest-header-tests) instead of
11192 $(objpfx)run-conformtest.out.
11193 (generated): Add $(conformtest-header-list-base). If
11194 [$(fast-check) && !$(cross-compiling)], add
11195 $(conformtest-header-base). Remove previous setting.
11196 ($(conformtest-header-list-tests)): New target.
11197 (test-xfail-run-conformtest): Remove variable.
11198 ($(objpfx)run-conformtest.out): Remove target.
11199 (test-xfail-ISO11/complex.h/conform): New variable.
11200 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11201 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11202 (test-xfail-XPG3/varargs.h/conform): Likewise.
11203 (test-xfail-XPG4/varargs.h/conform): Likewise.
11204 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11205 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11206 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11207 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11208 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11209 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11210 (test-xfail-XPG3/ftw.h/conform): Likewise.
11211 (test-xfail-XPG3/grp.h/conform): Likewise.
11212 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11213 (test-xfail-XPG3/limits.h/conform): Likewise.
11214 (test-xfail-XPG3/pwd.h/conform): Likewise.
11215 (test-xfail-XPG3/search.h/conform): Likewise.
11216 (test-xfail-XPG3/signal.h/conform): Likewise.
11217 (test-xfail-XPG3/stdio.h/conform): Likewise.
11218 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11219 (test-xfail-XPG3/string.h/conform): Likewise.
11220 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11221 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11222 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11223 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11224 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11225 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11226 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11227 (test-xfail-XPG3/termios.h/conform): Likewise.
11228 (test-xfail-XPG3/time.h/conform): Likewise.
11229 (test-xfail-XPG3/unistd.h/conform): Likewise.
11230 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11231 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11232 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11233 (test-xfail-XPG4/netdb.h/conform): Likewise.
11234 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11235 (test-xfail-XPG4/signal.h/conform): Likewise.
11236 (test-xfail-XPG4/stdio.h/conform): Likewise.
11237 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11238 (test-xfail-XPG4/stropts.h/conform): Likewise.
11239 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11240 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11241 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11242 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11243 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11244 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11245 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11246 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11247 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11248 (test-xfail-XPG4/termios.h/conform): Likewise.
11249 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11250 (test-xfail-XPG4/unistd.h/conform): Likewise.
11251 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11252 (test-xfail-POSIX/sched.h/conform): Likewise.
11253 (test-xfail-POSIX/signal.h/conform): Likewise.
11254 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11255 (test-xfail-POSIX/tar.h/conform): Likewise.
11256 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11257 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11258 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11259 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11260 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11261 (test-xfail-UNIX98/sched.h/conform): Likewise.
11262 (test-xfail-UNIX98/signal.h/conform): Likewise.
11263 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11264 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11265 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11266 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11267 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11268 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11269 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11270 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11271 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11272 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11273 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11274 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11275 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11276 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11277 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11278 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11279 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11280 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11281 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11282 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11283 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11284 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11285 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11286 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11287 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11288 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11289 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11290 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11291 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11292 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11293 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11294 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11295 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11296 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11297 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11298 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11299 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11300 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11301 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11302 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11303 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11304 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11305 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11306 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11307 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11308 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11309 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11310 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11311 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11312 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11313 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11314 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11315 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11316 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11317 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11318 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11319 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11320 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11321 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11322 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11323 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11324 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11325 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11326 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11327 (conformtest-cc-flags): Likewise.
11328 ($(conformtest-header-tests): New target.
11329 * conform/check-header-lists.sh: New file.
11330 * conform/run-conformtest.sh: Remove.
11331
a00f522a
JM
11332 * conform/conformtest.pl: Allow ' and \ in values given for
11333 constants.
11334 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11335 inclusion.
11336 [POSIX] (sys/types.h): Likewise.
11337 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11338 inclusion.
11339 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11340 inclusion.
11341 * conform/data/signal.h-data (SIGIO): Remove expectation.
11342 [XPG3] (SIGBUS): Do not expect.
11343 [POSIX || XPG3] (SIGPOLL): Likewise.
11344 [POSIX || XPG3] (SIGPROF): Likewise.
11345 [POSIX || XPG3] (SIGSYS): Likewise.
11346 [XPG3] (SIGTRAP): Likewise.
11347 [POSIX || XPG3] (SIGURG): Likewise.
11348 [POSIX || XPG3] (SIGVTALRM): Likewise.
11349 [POSIX || XPG3] (SIGXCPU): Likewise.
11350 [POSIX || XPG3] (SIGXFSZ): Likewise.
11351 [POSIX] (SA_SIGINFO): Expect.
11352 [XPG3] (siginfo_t): Do not expect type or contents.
11353 [POSIX] (si_pid): Do not expect element.
11354 [POSIX] (si_uid): Likewise.
11355 [POSIX] (si_addr): Likewise.
11356 [POSIX] (si_status): Likewise.
11357 [POSIX] (si_band): Likewise.
11358 [XPG4] (si_value): Likewise.
11359 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11360 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11361 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11362 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11363 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11364 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11365 [POSIX || XPG3] (ILL_COPROC): Likewise.
11366 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11367 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11368 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11369 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11370 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11371 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11372 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11373 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11374 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11375 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11376 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11377 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11378 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11379 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11380 [POSIX || XPG3] (CLD_EXITED): Likewise.
11381 [POSIX || XPG3] (CLD_KILLED): Likewise.
11382 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11383 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11384 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11385 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11386 [POSIX || XPG3] (POLL_IN): Likewise.
11387 [POSIX || XPG3] (POLL_OUT): Likewise.
11388 [POSIX || XPG3] (POLL_MSG): Likewise.
11389 [POSIX || XPG3] (POLL_ERR): Likewise.
11390 [POSIX || XPG3] (POLL_PRI): Likewise.
11391 [POSIX || XPG3] (POLL_HUP): Likewise.
11392 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11393 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11394 (SIG*): Do not allow.
11395 [XPG3] (si_*): Likewise.
11396 [XPG3] (SI_*): Likewise.
11397 [XPG3 || XPG4] (sigev_*): Likewise.
11398 [XPG3 || XPG4] (SIGEV_*): Likewise.
11399 [XPG3 || XPG4] (sival_*): Likewise.
11400 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11401 [POSIX || XPG3] (BUS_*): Likewise.
11402 [POSIX || XPG3] (CLD_*): Likewise.
11403 [POSIX || XPG3] (FPE_*): Likewise.
11404 [POSIX || XPG3] (ILL_*): Likewise.
11405 [POSIX || XPG3] (POLL_*): Likewise.
11406 [POSIX || XPG3] (SEGV_*): Likewise.
11407 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11408 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11409 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11410 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11411 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11412 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11413 Specify type and value.
11414 (TVERSLEN): Likewise.
11415 (REGTYPE): Likewise.
11416 (AREGTYPE): Likewise.
11417 (LNKTYPE): Likewise.
11418 (SYMTYPE): Likewise.
11419 (CHRTYPE): Likewise.
11420 (BLKTYPE): Likewise.
11421 (DIRTYPE): Likewise.
11422 (FIFOTYPE): Likewise.
11423 (CONTTYPE): Likewise.
11424 (TSUID): Likewise.
11425 (TSGID): Likewise.
11426 (TSVTX): Likewise.
11427 (TUREAD): Likewise.
11428 (TUWRITE): Likewise.
11429 (TUEXEC): Likewise.
11430 (TGREAD): Likewise.
11431 (TGWRITE): Likewise.
11432 (TGEXEC): Likewise.
11433 (TOREAD): Likewise.
11434 (TOWRITE): Likewise.
11435 (TOEXEC): Likewise.
11436 [POSIX] (TSVTX): Expect constant.
11437
aa97dee1
JM
114382014-03-06 Joseph Myers <joseph@codesourcery.com>
11439
f214606a
JM
11440 * Makefile (tests): Change dependencies to ....
11441 (tests-special): ... additions to this variable.
11442 (tests): Depend on $(tests-special).
11443 * Makerules (check-abi-list): New variable.
11444 (check-abi): Depend on $(check-abi-list).
11445 [$(subdir) = elf] (tests-special): Add
11446 $(objpfx)check-abi-libc.out.
11447 [$(build-shared) = yes && subdir] (tests-special): Add
11448 $(check-abi-list).
11449 [$(build-shared) = yes && subdir] (tests): Do not depend on
11450 check-abi.
11451 * Rules (tests): Depend on $(tests-special).
11452 (xtests): Depend on $(xtests-special).
11453 * catgets/Makefile (tests): Change dependencies to ....
11454 (tests-special): ... additions to this variable.
11455 * conform/Makefile (tests): Change dependencies to ....
11456 (tests-special): ... additions to this variable.
11457 * elf/Makefile (tests): Change dependencies to ....
11458 (tests-special): ... additions to this variable.
11459 * grp/Makefile (tests): Change dependencies to ....
11460 (tests-special): ... additions to this variable.
11461 * iconv/Makefile (xtests): Change dependencies to ....
11462 (xtests-special): ... additions to this variable.
11463 * iconvdata/Makefile (tests): Change dependencies to ....
11464 (tests-special): ... additions to this variable.
11465 * intl/Makefile (tests): Change dependencies to ....
11466 (tests-special): ... additions to this variable. Also add
11467 $(objpfx)tst-gettext.out.
11468 * io/Makefile (tests): Change dependencies to ....
11469 (tests-special): ... additions to this variable.
11470 * libio/Makefile (tests): Change dependencies to ....
11471 (tests-special): ... additions to this variable.
11472 * malloc/Makefile (tests): Change dependencies to ....
11473 (tests-special): ... additions to this variable.
11474 * misc/Makefile (tests): Change dependencies to ....
11475 (tests-special): ... additions to this variable.
11476 * nptl/Makefile (tests): Change dependencies to ....
11477 (tests-special): ... additions to this variable.
11478 * nptl_db/Makefile (tests): Change dependencies to ....
11479 (tests-special): ... additions to this variable.
11480 * posix/Makefile (tests): Change dependencies to ....
11481 (tests-special): ... additions to this variable.
11482 (xtests): Change dependencies to ....
11483 (xtests-special): ... additions to this variable.
11484 * resolv/Makefile (tests): Change dependencies to ....
11485 (tests-special): ... additions to this variable.
11486 (xtests): Change dependencies to ....
11487 (xtests-special): ... additions to this variable.
11488 * stdio-common/Makefile (tests): Change dependencies to ....
11489 (tests-special): ... additions to this variable.
11490 (do-tst-unbputc): Remove target.
11491 (do-tst-printf): Likewise.
11492 * stdlib/Makefile (tests): Change dependencies to ....
11493 (tests-special): ... additions to this variable.
11494 * string/Makefile (tests): Change dependencies to ....
11495 (tests-special): ... additions to this variable.
11496 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11497 (tests-special): ... additions to this variable.
11498
81700b53
JM
11499 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11500 whole file.
11501 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11502 whole file.
11503 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11504 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11505
2ea18461
JM
11506 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11507 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11508 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11509 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11510 * conform/data/libgen.h-data [XPG3]: Likewise.
11511 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11512 * conform/data/ndbm.h-data [XPG3]: Likewise.
11513 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11514 * conform/data/netdb.h-data [XPG3]: Likewise.
11515 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11516 * conform/data/poll.h-data [XPG3]: Likewise.
11517 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11518 * conform/data/strings.h-data [XPG3]: Likewise.
11519 * conform/data/stropts.h-data [XPG3]: Likewise.
11520 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11521 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11522 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11523 Likewise.
11524 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11525 * conform/data/sys/time.h-data [XPG3]: Likewise.
11526 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11527 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11528 * conform/data/sys/un.h-data [XPG3]: Likewise.
11529 * conform/data/syslog.h-data [XPG3]: Likewise.
11530 * conform/data/ucontext.h-data [XPG3]: Likewise.
11531 * conform/data/utmpx.h-data [XPG3]: Likewise.
11532 * conform/data/varargs.h-data [UNIX98]: Enable file.
11533
355bc986
JM
11534 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11535
215db402
JM
11536 * math/libm-test.inc (struct test_f_f_data): Move expected results
11537 into structure for each rounding mode.
11538 (struct test_ff_f_data): Likewise.
11539 (struct test_ff_f_data_nexttoward): Likewise.
11540 (struct test_fi_f_data): Likewise.
11541 (struct test_fl_f_data): Likewise.
11542 (struct test_if_f_data): Likewise.
11543 (struct test_fff_f_data): Likewise.
11544 (struct test_c_f_data): Likewise.
11545 (struct test_f_f1_data): Likewise.
11546 (struct test_fF_f1_data): Likewise.
11547 (struct test_ffI_f1_data): Likewise.
11548 (struct test_c_c_data): Likewise.
11549 (struct test_cc_c_data): Likewise.
11550 (struct test_f_i_data): Likewise.
11551 (struct test_ff_i_data): Likewise.
11552 (struct test_f_l_data): Likewise.
11553 (struct test_f_L_data): Likewise.
11554 (struct test_fFF_11_data): Likewise.
11555 (RM_): New macro.
11556 (RM_FE_DOWNWARD): Likewise.
11557 (RM_FE_TONEAREST): Likewise.
11558 (RM_FE_TOWARDZERO): Likewise.
11559 (RM_FE_UPWARD): Likewise.
11560 (RUN_TEST_LOOP_f_f): Update references to expected results.
11561 (RUN_TEST_LOOP_2_f): Likewise.
11562 (RUN_TEST_LOOP_fff_f): Likewise.
11563 (RUN_TEST_LOOP_c_f): Likewise.
11564 (RUN_TEST_LOOP_f_f1): Likewise.
11565 (RUN_TEST_LOOP_fF_f1): Likewise.
11566 (RUN_TEST_LOOP_fI_f1): Likewise.
11567 (RUN_TEST_LOOP_ffI_f1): Likewise.
11568 (RUN_TEST_LOOP_c_c): Likewise.
11569 (RUN_TEST_LOOP_cc_c): Likewise.
11570 (RUN_TEST_LOOP_f_i): Likewise.
11571 (RUN_TEST_LOOP_f_i_tg): Likewise.
11572 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11573 (RUN_TEST_LOOP_f_b): Likewise.
11574 (RUN_TEST_LOOP_f_b_tg): Likewise.
11575 (RUN_TEST_LOOP_f_l): Likewise.
11576 (RUN_TEST_LOOP_f_L): Likewise.
11577 (RUN_TEST_LOOP_fFF_11): Likewise.
11578 * math/gen-libm-test.pl (parse_args): Output four copies of
11579 expected results for each test.
11580
67737b8f
JM
11581 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11582 (__ASSUME_UTIMES): Remove.
11583 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11584 (__ASSUME_UTIMES): Likewise.
11585
aa97dee1
JM
11586 * math/gen-auto-libm-tests.c: Update comment on output format.
11587 (output_for_one_input_case): Generate before-rounding and
11588 after-rounding information as conditions on output flags not
11589 floating-point format.
11590 * math/auto-libm-test-out: Regenerated.
11591 * math/gen-libm-test.pl (cond_value): New function.
11592 (or_cond_value): Use cond_value.
11593 (generate_testfile): Handle conditional exceptions.
11594
e6b6a857
JM
115952014-03-05 Joseph Myers <joseph@codesourcery.com>
11596
2f0a0f44
JM
11597 * math/libm-test.inc (max_valid_error): New variable.
11598 (init_max_error): Take new argument specifying whether function
11599 results are exactly determined. Set max_valid_error and bound
11600 other variables for errors based on this argument.
11601 (set_max_error): Do not record results above max_valid_error.
11602 (check_float_internal): Only accept errors of up to 0.5ulps if
11603 also at most max_valid_error.
11604 (START): Take new argument EXACT and pass it to init_max_error.
11605 (acos_test): Update call to START.
11606 (acos_test_tonearest): Likewise.
11607 (acos_test_towardzero): Likewise.
11608 (acos_test_downward): Likewise.
11609 (acos_test_upward): Likewise.
11610 (acosh_test): Likewise.
11611 (asin_test): Likewise.
11612 (asin_test_tonearest): Likewise.
11613 (asin_test_towardzero): Likewise.
11614 (asin_test_downward): Likewise.
11615 (asin_test_upward): Likewise.
11616 (asinh_test): Likewise.
11617 (atan_test): Likewise.
11618 (atanh_test): Likewise.
11619 (atan2_test): Likewise.
11620 (cabs_test): Likewise.
11621 (cacos_test): Likewise.
11622 (cacosh_test): Likewise.
11623 (carg_test): Likewise.
11624 (casin_test): Likewise.
11625 (casinh_test): Likewise.
11626 (catan_test): Likewise.
11627 (catanh_test): Likewise.
11628 (cbrt_test): Likewise.
11629 (ccos_test): Likewise.
11630 (ccosh_test): Likewise.
11631 (ceil_test): Likewise.
11632 (cexp_test): Likewise.
11633 (cimag_test): Likewise.
11634 (clog_test): Likewise.
11635 (clog10_test): Likewise.
11636 (conj_test): Likewise.
11637 (copysign_test): Likewise.
11638 (cos_test): Likewise.
11639 (cos_test_tonearest): Likewise.
11640 (cos_test_towardzero): Likewise.
11641 (cos_test_downward): Likewise.
11642 (cos_test_upward): Likewise.
11643 (cosh_test): Likewise.
11644 (cosh_test_tonearest): Likewise.
11645 (cosh_test_towardzero): Likewise.
11646 (cosh_test_downward): Likewise.
11647 (cosh_test_upward): Likewise.
11648 (cpow_test): Likewise.
11649 (cproj_test): Likewise.
11650 (creal_test): Likewise.
11651 (csin_test): Likewise.
11652 (csinh_test): Likewise.
11653 (csqrt_test): Likewise.
11654 (ctan_test): Likewise.
11655 (ctan_test_tonearest): Likewise.
11656 (ctan_test_towardzero): Likewise.
11657 (ctan_test_downward): Likewise.
11658 (ctan_test_upward): Likewise.
11659 (ctanh_test): Likewise.
11660 (ctanh_test_tonearest): Likewise.
11661 (ctanh_test_towardzero): Likewise.
11662 (ctanh_test_downward): Likewise.
11663 (ctanh_test_upward): Likewise.
11664 (erf_test): Likewise.
11665 (erfc_test): Likewise.
11666 (exp_test): Likewise.
11667 (exp_test_tonearest): Likewise.
11668 (exp_test_towardzero): Likewise.
11669 (exp_test_downward): Likewise.
11670 (exp_test_upward): Likewise.
11671 (exp10_test): Likewise.
11672 (exp10_test_tonearest): Likewise.
11673 (exp10_test_towardzero): Likewise.
11674 (exp10_test_downward): Likewise.
11675 (exp10_test_upward): Likewise.
11676 (pow10_test): Likewise.
11677 (exp2_test): Likewise.
11678 (expm1_test): Likewise.
11679 (expm1_test_tonearest): Likewise.
11680 (expm1_test_towardzero): Likewise.
11681 (expm1_test_downward): Likewise.
11682 (expm1_test_upward): Likewise.
11683 (fabs_test): Likewise.
11684 (fdim_test): Likewise.
11685 (floor_test): Likewise.
11686 (fma_test): Likewise.
11687 (fma_test_towardzero): Likewise.
11688 (fma_test_downward): Likewise.
11689 (fma_test_upward): Likewise.
11690 (fmax_test): Likewise.
11691 (fmin_test): Likewise.
11692 (fmod_test): Likewise.
11693 (fpclassify_test): Likewise.
11694 (frexp_test): Likewise.
11695 (hypot_test): Likewise.
11696 (ilogb_test): Likewise.
11697 (isfinite_test): Likewise.
11698 (finite_test): Likewise.
11699 (isgreater_test): Likewise.
11700 (isgreaterequal_test): Likewise.
11701 (isinf_test): Likewise.
11702 (isless_test): Likewise.
11703 (islessequal_test): Likewise.
11704 (islessgreater_test): Likewise.
11705 (isnan_test): Likewise.
11706 (isnormal_test): Likewise.
11707 (issignaling_test): Likewise.
11708 (isunordered_test): Likewise.
11709 (j0_test): Likewise.
11710 (j1_test): Likewise.
11711 (jn_test): Likewise.
11712 (ldexp_test): Likewise.
11713 (lgamma_test): Likewise.
11714 (gamma_test): Likewise.
11715 (lrint_test): Likewise.
11716 (lrint_test_tonearest): Likewise.
11717 (lrint_test_towardzero): Likewise.
11718 (lrint_test_downward): Likewise.
11719 (lrint_test_upward): Likewise.
11720 (llrint_test): Likewise.
11721 (llrint_test_tonearest): Likewise.
11722 (llrint_test_towardzero): Likewise.
11723 (llrint_test_downward): Likewise.
11724 (llrint_test_upward): Likewise.
11725 (log_test): Likewise.
11726 (log10_test): Likewise.
11727 (log1p_test): Likewise.
11728 (log2_test): Likewise.
11729 (logb_test): Likewise.
11730 (logb_test_downward): Likewise.
11731 (lround_test): Likewise.
11732 (llround_test): Likewise.
11733 (modf_test): Likewise.
11734 (nearbyint_test): Likewise.
11735 (nextafter_test): Likewise.
11736 (nexttoward_test): Likewise.
11737 (pow_test): Likewise.
11738 (pow_test_tonearest): Likewise.
11739 (pow_test_towardzero): Likewise.
11740 (pow_test_downward): Likewise.
11741 (pow_test_upward): Likewise.
11742 (remainder_test): Likewise.
11743 (drem_test): Likewise.
11744 (remainder_test_tonearest): Likewise.
11745 (drem_test_tonearest): Likewise.
11746 (remainder_test_towardzero): Likewise.
11747 (drem_test_towardzero): Likewise.
11748 (remainder_test_downward): Likewise.
11749 (drem_test_downward): Likewise.
11750 (remainder_test_upward): Likewise.
11751 (drem_test_upward): Likewise.
11752 (remquo_test): Likewise.
11753 (rint_test): Likewise.
11754 (rint_test_tonearest): Likewise.
11755 (rint_test_towardzero): Likewise.
11756 (rint_test_downward): Likewise.
11757 (rint_test_upward): Likewise.
11758 (round_test): Likewise.
11759 (scalb_test): Likewise.
11760 (scalbn_test): Likewise.
11761 (scalbln_test): Likewise.
11762 (signbit_test): Likewise.
11763 (sin_test): Likewise.
11764 (sin_test_tonearest): Likewise.
11765 (sin_test_towardzero): Likewise.
11766 (sin_test_downward): Likewise.
11767 (sin_test_upward): Likewise.
11768 (sincos_test): Likewise.
11769 (sinh_test): Likewise.
11770 (sinh_test_tonearest): Likewise.
11771 (sinh_test_towardzero): Likewise.
11772 (sinh_test_downward): Likewise.
11773 (sinh_test_upward): Likewise.
11774 (sqrt_test): Likewise.
11775 (sqrt_test_tonearest): Likewise.
11776 (sqrt_test_towardzero): Likewise.
11777 (sqrt_test_downward): Likewise.
11778 (sqrt_test_upward): Likewise.
11779 (tan_test): Likewise.
11780 (tan_test_tonearest): Likewise.
11781 (tan_test_towardzero): Likewise.
11782 (tan_test_downward): Likewise.
11783 (tan_test_upward): Likewise.
11784 (tanh_test): Likewise.
11785 (tgamma_test): Likewise.
11786 (trunc_test): Likewise.
11787 (y0_test): Likewise.
11788 (y1_test): Likewise.
11789 (yn_test): Likewise.
11790 (significand_test): Likewise.
11791
e6b6a857
JM
11792 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11793 individual tests in comment.
11794 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11795 (prev_max_error): New variable.
11796 (prev_real_max_error): Likewise.
11797 (prev_imag_max_error): Likewise.
11798 (compare_ulp_data): Don't refer to test names in comment.
11799 (find_test_ulps): Remove function.
11800 (find_function_ulps): Likewise.
11801 (find_complex_function_ulps): Likewise.
11802 (init_max_error): Take function name as argument. Look up ulps
11803 for that function.
11804 (print_ulps): Remove function.
11805 (print_max_error): Use prev_max_error instead of calling
11806 find_function_ulps.
11807 (print_complex_max_error): Use prev_real_max_error and
11808 prev_imag_max_error instead of calling find_complex_function_ulps.
11809 (check_float_internal): Take max_ulp parameter instead of calling
11810 find_test_ulps. Don't call print_ulps.
11811 (check_float): Update call to check_float_internal.
11812 (check_complex): Update calls to check_float_internal.
11813 (START): Pass argument to init_max_error.
11814 * math/gen-libm-test.pl (%results): Don't include "kind"
11815 information.
11816 (parse_ulps): Don't handle ulps of individual tests.
11817 (print_ulps_file): Likewise.
11818 (output_ulps): Likewise.
11819 * math/README.libm-test: Update.
11820 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11821 individual tests.
11822 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11823 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11824 * sysdeps/arm/libm-test-ulps: Likewise.
11825 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11826 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11827 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11828 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11829 * sysdeps/microblaze/libm-test-ulps: Likewise.
11830 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11831 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11832 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11833 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11834 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11835 * sysdeps/sh/libm-test-ulps: Likewise.
11836 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11837 * sysdeps/tile/libm-test-ulps: Likewise.
11838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11839
45adef3c
JM
118402014-03-04 Joseph Myers <joseph@codesourcery.com>
11841
11842 * math/libm-test.inc (print_complex_max_error): Check separately
11843 whether real and imaginary errors are within allowed range and
11844 pass 0 to print_complex_function_ulps instead of value within
11845 allowed range.
11846
000232b9
SP
118472014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11848
d4b17258
SP
11849 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11850 formatting.
11851 (get_handles_fopen): Likewise.
11852 (do_write_test): Likewise.
11853
091eff71
SP
11854 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11855
fa3cd248
SP
11856 * libio/fileops.c (do_ftell): Use cached offset when
11857 available.
11858 * libio/iofwide.c (do_ftell_wide): Likewise.
11859 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11860 _IO_file_attach.
11861 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11862
000232b9
SP
11863 [BZ #16532]
11864 * libio/libioP.h (get_file_offset): New function.
11865 * libio/fileops.c (get_file_offset): Likewise.
11866 (do_ftell): Likewise.
11867 (_IO_new_file_seekoff): Split out ftell logic.
11868 * libio/wfileops.c (do_ftell_wide): Likewise.
11869 (_IO_wfile_seekoff): Split out ftell logic.
11870 * libio/tst-ftell-active-handler.c: New test case.
11871 * libio/Makefile (tests): Add it.
11872
116f4d1a
RM
118732014-03-03 Roland McGrath <roland@hack.frob.com>
11874
11875 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11876 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11877
532a6035
SP
118782014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11879
11880 [BZ #16639]
11881 * nscd/connections.c (nscd_init): Call do_exit.
11882 (start_threads): Call do_exit and notify_parent.
11883 (begin_drop_privileges): Call do_exit.
11884 (finish_drop_privileges): Likewise.
11885 * nscd/selinux.c (preserve_capabilities): Likewise.
11886 (install_real_capabilities): Likewise.
11887 (nscd_selinux_enabled): Likewise.
11888 (avc_create_thread): Likewise.
11889 (avc_alloc_lock): Likewise.
11890 (nscd_avc_init): Likewise.
11891 * nscd/nscd.c (parent_fd): New static variable.
11892 (main): Create a pipe between parent and child processes.
11893 Skip closing parent_fd.
11894 (monitor_child): New function.
11895 (do_exit): Likewise.
11896 (notify_parent): Likewise.
11897 * nscd/nscd.h (notify_parent): Likewise.
11898 (do_exit): Likewise.
11899
d6285c9f
CD
119002014-03-03 Carlos O'Donell <carlos@redhat.com>
11901
11902 * malloc/malloc.c (__libc_calloc): Revert last change.
11903
2b85d2a0
AZ
119042014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11905
11906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11907
c7debbdf
RS
119082014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11909
11910 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11912 implementation.
11913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11914 (__libc_ifunc_impl_list): Likewise.
11915 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11916 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11917 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11918 * string/strrchr.c: Define STRRCHR.
11919
235eed86
OB
119202014-02-28 Ondřej Bílka <neleai@seznam.cz>
11921
11922 * benchtest/bench-strtok.c (simple_strtok): Delete.
11923 (strtok_string): Use as benchmark.
11924 * string/strtok (STRTOK): New macro.
11925
8e25d1e7
CD
119262014-02-28 Carlos O'Donell <carlos@redhat.com>
11927
ef563f92
CD
11928 * manual/threads.texi: Add header and standard comments to all
11929 functions.
11930
8e25d1e7
CD
11931 * elf/dl-lookup.c (check_match): New function.
11932 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11933 (do_lookup_x): Remove nested function check_match. Use non-nested
11934 function check_match.
11935
ff71cc37
RM
119362014-02-28 Roland McGrath <roland@hack.frob.com>
11937
f08e9a26
RM
11938 * csu/Makefile (generated, before-compile): Use += rather than =.
11939 * catgets/Makefile (generated, generated-dirs): Likewise.
11940 * debug/Makefile (generated): Likewise.
11941 * dlfcn/Makefile (generated): Likewise.
11942 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11943 * iconvdata/Makefile (before-compile, generated): Likewise.
11944 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11945 * libio/Makefile (generated): Likewise.
11946 * malloc/Makefile (generated): Likewise.
11947 * manual/Makefile (generated, generated-dirs): Likewise.
11948 * misc/Makefile (generated): Likewise.
11949 * posix/Makefile (generated): Likewise.
11950 * resolv/Makefile (generated): Likewise.
11951 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11952 * timezone/Makefile (generated, generated-dirs): Likewise.
11953
ff71cc37
RM
11954 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11955
fe13a20c
AZ
119562014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11957
57f41c40
AS
11958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11959 power8 implementation.
11960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11961 file: POWER8 llround ifunc implementation.
11962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11963 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
11964 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11965 POWER8 llround implementation.
11966
57f41c40
AS
11967 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11968 power8 implementation.
11969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11970 file: POWER8 llrint ifunc implementation.
11971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11972 Add POWER8 implementation.
1ad8950a
AZ
11973 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11974 POWER8 llrint implementation.
11975
57f41c40
AS
11976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11977 power8 implementation.
11978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11979 file: POWER8 finite ifunc implementation.
11980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11981 Add POWER8 implementation.
cac626d6
AZ
11982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11983 Likewise.
11984 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11985 POWER8 finite implementation.
11986 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11987
57f41c40
AS
11988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11989 power8 implementation.
11990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11991 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
11992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11993 POWER8 implementation.
11994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11995 Likewise.
57f41c40
AS
11996 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11997 isinf implementation.
4393fc11
AZ
11998 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11999
57f41c40
AS
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12001 (INIT_ARCH): Add hwcap2 initialization.
12002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12003 power8 implementation.
12004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12005 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12007 POWER8 implementation.
12008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12009 Likewise.
57f41c40
AS
12010 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12011 isnan implementation.
487972ae
AZ
12012 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12013
7d92b787
JY
120142014-02-27 Joey Ye <joey.ye@arm.com>
12015
12016 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12017 (_FP_NANFRAC_Q): Set to zero.
12018
1cadc858
SP
120192014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12020
12021 [BZ #16623]
12022 * math/auto-libm-test-in: New test inputs.
12023 * math/auto-libm-test-out: Regenerate.
12024 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12025 and DA.
12026 (__cos): Likewise.
12027 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12028
f8c17e79
JM
120292014-02-27 Joseph Myers <joseph@codesourcery.com>
12030
12031 * scripts/evaluate-test.sh: Take new argument indicating whether
12032 failure is expected.
12033 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12034 indicating whether failure is expected.
12035 * conform/Makefile (test-xfail-run-conformtest): New variable.
12036 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12037 level.
12038 * posix/Makefile (test-xfail-annexc): New variable.
12039 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12040
a5f891ac
JM
120412014-02-26 Joseph Myers <joseph@codesourcery.com>
12042
12043 * argp/Makefile: Include Makeconfig immediately after defining
12044 subdir.
12045 * assert/Makefile: Likewise.
12046 * benchtests/Makefile: Likewise.
12047 * catgets/Makefile: Likewise.
12048 * conform/Makefile: Likewise.
12049 * crypt/Makefile: Likewise.
12050 * csu/Makefile: Likewise.
12051 (all): Remove target.
12052 * ctype/Makefile: Include Makeconfig immediately after defining
12053 subdir.
12054 * debug/Makefile: Likewise.
12055 * dirent/Makefile: Likewise.
12056 * dlfcn/Makefile: Likewise.
12057 * gmon/Makefile: Likewise.
12058 * gnulib/Makefile: Likewise.
12059 * grp/Makefile: Likewise.
12060 * gshadow/Makefile: Likewise.
12061 * hesiod/Makefile: Likewise.
12062 * hurd/Makefile: Likewise.
12063 (all): Remove target.
12064 * iconvdata/Makefile: Include Makeconfig immediately after
12065 defining subdir.
12066 * inet/Makefile: Likewise.
12067 * intl/Makefile: Likewise.
12068 * io/Makefile: Likewise.
12069 * libio/Makefile: Likewise.
12070 (all): Remove target.
12071 * locale/Makefile: Include Makeconfig immediately after defining
12072 subdir.
12073 * login/Makefile: Likewise.
12074 * mach/Makefile: Likewise.
12075 (all): Remove target.
12076 * malloc/Makefile: Include Makeconfig immediately after defining
12077 subdir.
12078 (all): Remove target.
12079 * manual/Makefile: Include Makeconfig immediately after defining
12080 subdir.
12081 * math/Makefile: Likewise.
12082 * misc/Makefile: Likewise.
12083 * nis/Makefile: Likewise.
12084 * nss/Makefile: Likewise.
12085 * po/Makefile: Likewise.
12086 (all): Remove target.
12087 * posix/Makefile: Include Makeconfig immediately after defining
12088 subdir.
12089 * pwd/Makefile: Likewise.
12090 * resolv/Makefile: Likewise.
12091 * resource/Makefile: Likewise.
12092 * rt/Makefile: Likewise.
12093 * setjmp/Makefile: Likewise.
12094 * shadow/Makefile: Likewise.
12095 * signal/Makefile: Likewise.
12096 * socket/Makefile: Likewise.
12097 * soft-fp/Makefile: Likewise.
12098 * stdio-common/Makefile: Likewise.
12099 * stdlib/Makefile: Likewise.
12100 * streams/Makefile: Likewise.
12101 * string/Makefile: Likewise.
12102 * sunrpc/Makefile: Likewise.
12103 (all): Remove target.
12104 * sysvipc/Makefile: Include Makeconfig immediately after defining
12105 subdir.
12106 * termios/Makefile: Likewise.
12107 * time/Makefile: Likewise.
12108 * timezone/Makefile: Likewise.
12109 (all): Remove target.
12110 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12111 subdir.
12112 * wctype/Makefile: Likewise.
12113
5b456e9d
SE
121142014-02-26 Steve Ellcey <sellcey@mips.com>
12115
12116 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12117 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12118 (libc_feholdexcept_setround_mips): Ditto.
12119 (libc_feholdsetround): New.
12120 (libc_feholdsetroundf): New.
12121 (libc_feholdsetroundl): New.
12122 (libc_feupdateenv_test_mips): New.
12123 (libc_feupdateenv_test): New.
12124 (libc_feupdateenv_testf): New.
12125 (libc_feupdateenv_testl): New.
12126 (libc_feresetround): New.
12127 (libc_feresetroundf): New.
12128 (libc_feresetroundl): New.
12129 (libc_fetestexcept_mips): New.
12130 (libc_fetestexcept): New.
12131 (libc_fetestexceptf): New.
12132 (libc_fetestexceptl): New.
12133 (HAVE_RM_CTX): New.
12134 (libc_feholdexcept_setround_mips_ctx): New.
12135 (libc_feholdexcept_setround_ctx): New.
12136 (libc_feholdexcept_setroundf_ctx): New.
12137 (libc_feholdexcept_setroundl_ctx): New.
12138 (libc_fesetenv_mips_ctx): New.
12139 (libc_fesetenv_ctx): New.
12140 (libc_fesetenv_ctxf): New.
12141 (libc_fesetenv_ctxl): New.
12142 (libc_feupdateenv_mips_ctx): New.
12143 (libc_feupdateenv_ctx): New.
12144 (libc_feupdateenvf_ctx): New.
12145 (libc_feupdateenvl_ctx): New.
12146 (libc_feholdsetround_mips_ctx): New.
12147 (libc_feholdsetround_ctx): New.
12148 (libc_feholdsetroundf_ctx): New.
12149 (libc_feholdsetroundl_ctx): New.
12150 (libc_feresetround_mips_ctx): New.
12151 (libc_feresetround_ctx): New.
12152 (libc_feresetroundf_ctx): New.
12153 (libc_feresetroundl_ctx): New.
12154
085d0e35
CD
121552014-02-26 Carlos O'Donell <carlos@redhat.com>
12156
f067bf1f
CD
12157 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12158
085d0e35
CD
12159 * manual/ipc.texi: New file.
12160 * manual/Makefile (chapters): Add ipc.
12161 * manual/job.texi: Add "Inter-Process Communication" to next.
12162 * manual/process.texi: Add "Inter-Process Communication" to prev.
12163
86e58c08
AZ
121642014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12165
12166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12167
4248f0da
OB
121682014-02-26 Ondřej Bílka <neleai@seznam.cz>
12169
12170 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12171
cf822e3c
OB
12172 * manual/arith.texi: Fix spaces after sentences.
12173 * manual/charset.texi: Likewise.
12174 * manual/errno.texi: Likewise.
12175 * manual/install.texi: Likewise.
12176 * manual/llio.texi: Likewise.
12177 * manual/locale.texi: Likewise.
12178 * manual/maint.texi: Likewise.
12179 * manual/math.texi: Likewise.
12180 * manual/memory.texi: Likewise.
12181 * manual/message.texi: Likewise.
12182 * manual/probes.texi: Likewise.
12183 * manual/resource.texi: Likewise.
12184 * manual/signal.texi: Likewise.
12185 * manual/socket.texi: Likewise.
12186 * manual/stdio.texi: Likewise.
12187 * manual/string.texi: Likewise.
12188 * manual/time.texi: Likewise.
12189 * manual/users.texi: Likewise.
12190
ade40b10
CD
121912014-02-25 Carlos O'Donell <carlos@redhat.com>
12192
12193 [BZ #16632]
12194 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12195 _DEFAULT_SOURCE is defined.
12196
d0503676
CD
121972014-02-25 Ulrich Drepper <drepper@gmail.com>
12198 Carlos O'Donell <carlos@redhat.com>
12199
12200 [BZ #16613]
12201 * elf/dl-tls.c (_dl_count_modids): New function.
12202 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12203 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12204 audit library and increment generation counter.
12205 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12206 * elf/tst-audit9.c: New file.
12207 * elf/tst-auditmod9a.c: New file.
12208 * elf/tst-auditmod9b.c: New file.
12209 * elf/Makefile: Add rules to build and run tst-audit9.
12210
4cbf380c
FW
122112014-02-25 Florian Weimer <fweimer@redhat.com>
12212
12213 [BZ #15347]
12214 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12215
80a56cc3
WN
122162014-02-25 Will Newton <will.newton@linaro.org>
12217
12218 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12219 (__longjmp): Restore sp and lr before restoring callee
12220 saved registers. Add longjmp and longjmp_target
12221 SystemTap probe point.
12222 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12223 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12224 Define to zero to match jmpbuf layout.
12225 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12226 (__sigsetjmp): Save sp and lr before saving callee
12227 saved registers. Add setjmp SystemTap probe point.
12228
3ea0f74e
SL
122292014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12230
12231 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12232
b04acb26
AS
122332014-02-24 Andreas Schwab <schwab@suse.de>
12234
12235 [BZ #15804]
12236 * elf/pldd.c (wait_for_ptrace_stop): New function.
12237 (main): Call it after attaching.
12238
098ad55c
RM
122392014-02-22 Roland McGrath <roland@hack.frob.com>
12240
d4ec6ae1
RM
12241 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12242 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12243 Versions files is now verboten.
12244 * hurd/Versions (libc: GLIBC_2.0):
12245 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12246 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12247 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12248 * mach/Versions: Likewise.
12249
098ad55c
RM
12250 * csu/Versions: Remove unused %include.
12251 * resolv/Versions: Likewise.
12252
acd7f096
JM
122532014-02-21 Joseph Myers <joseph@codesourcery.com>
12254
f0881698
JM
12255 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12256 ($(objpfx)check-local-headers.out): Likewise.
12257 ($(objpfx)begin-end-check.out): Likewise.
12258 * Makerules (check-abi-%.out): Likewise.
12259 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12260 ($(objpfx)test2.cat): Likewise.
12261 ($(objpfx)de/libc.cat): Likewise.
12262 ($(objpfx)test-gencat.out): Likewise.
12263 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12264 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12265 ($(objpfx)noload-mem): Likewise.
12266 ($(objpfx)tst-pathopt.out): Likewise.
12267 ($(objpfx)tst-rtld-load-self.out): Likewise.
12268 ($(objpfx)tst-array1-cmp.out): Likewise.
12269 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12270 ($(objpfx)tst-array2-cmp.out): Likewise.
12271 ($(objpfx)tst-array3-cmp.out): Likewise.
12272 ($(objpfx)tst-array4-cmp.out): Likewise.
12273 ($(objpfx)tst-array5-cmp.out): Likewise.
12274 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12275 ($(objpfx)check-textrel.out): Likewise.
12276 ($(objpfx)check-execstack.out): Likewise.
12277 ($(objpfx)check-localplt.out): Likewise.
12278 ($(objpfx)order2-cmp.out): Likewise.
12279 ($(objpfx)tst-leaks1-mem): Likewise.
12280 ($(objpfx)tst-leaks1-static-mem): Likewise.
12281 ($(objpfx)tst-initorder-cmp.out): Likewise.
12282 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12283 ($(objpfx)tst-unused-dep.out): Likewise.
12284 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12285 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12286 * iconv/Makefile (test-iconvconfig): Likewise.
12287 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12288 ($(objpfx)iconv-test.out): Likewise.
12289 ($(objpfx)tst-tables.out): Likewise.
12290 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12291 ($(objpfx)tst-gettext.out): Likewise.
12292 ($(objpfx)tst-translit.out): Likewise.
12293 ($(objpfx)tst-gettext2.out): Likewise.
12294 ($(objpfx)tst-gettext4.out): Likewise.
12295 ($(objpfx)tst-gettext6.out): Likewise.
12296 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12297 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12298 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12299 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12300 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12301 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12302 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12303 ($(objpfx)wordexp-tst.out): Likewise.
12304 ($(objpfx)annexc.out): Likewise.
12305 ($(objpfx)tst-fnmatch-mem): Likewise.
12306 ($(objpfx)bug-regex2-mem): Likewise.
12307 ($(objpfx)bug-regex14-mem): Likewise.
12308 ($(objpfx)bug-regex21-mem): Likewise.
12309 ($(objpfx)bug-regex31-mem): Likewise.
12310 ($(objpfx)tst-vfork3-mem): Likewise.
12311 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12312 ($(objpfx)tst-pcre-mem): Likewise.
12313 ($(objpfx)tst-boost-mem): Likewise.
12314 ($(objpfx)tst-getconf.out): Likewise.
12315 ($(objpfx)bug-ga2-mem): Likewise.
12316 ($(objpfx)bug-glob2-mem): Likewise.
12317 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12318 ($(objpfx)mtrace-tst-leaks2): Likewise.
12319 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12320 ($(objpfx)tst-printf.out): Likewise.
12321 ($(objpfx)tst-setvbuf1.out): Likewise.
12322 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12323 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12324 ($(objpfx)tst-fmtmsg.out): Likewise.
12325 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12326 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12327
acd7f096
JM
12328 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12329 * bits/sigaction.h [__USE_MISC]: Likewise.
12330 * bits/waitstatus.h: Update #endif comments.
12331 * ctype/ctype.h: Likewise.
12332 * dirent/dirent.h: Likewise.
12333 [__USE_MISC]: Remove redundant conditionals.
12334 * grp/grp.h: Update #endif comments.
12335 [__USE_GNU]: Remove redundant conditionals.
12336 [__USE_MISC]: Likewise.
12337 * inet/netinet/in.h [__USE_GNU]: Likewise.
12338 * io/sys/stat.h [__USE_MISC]: Likewise.
12339 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12340 * libio/bits/stdio.h: Update #endif comments.
12341 [__USE_MISC]: Remove redundant conditionals.
12342 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12343 * libio/stdio.h: Update #endif comments.
12344 [__USE_MISC]: Remove redundant conditionals.
12345 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12346 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12347 * math/math.h: Update #else and #endif comments.
12348 [__USE_MISC]: Remove redundant conditionals.
12349 * misc/sys/uio.h: Update #endif comments.
12350 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12351 * posix/glob.h [__USE_MISC]: Likewise.
12352 * posix/sys/types.h: Update #endif comments.
12353 [__USE_MISC]: Remove redundant conditionals.
12354 * posix/sys/wait.h: Update #endif comments.
12355 [__USE_MISC]: Remove redundant conditionals.
12356 * posix/unistd.h: Update #endif comments.
12357 [__USE_MISC]: Remove redundant conditionals.
12358 * pwd/pwd.h [__USE_GNU]: Likewise.
12359 [__USE_MISC]: Likewise.
12360 * resolv/netdb.h [__USE_GNU]: Likewise.
12361 * signal/signal.h: Update #endif comments.
12362 [__USE_MISC]: Remove redundant conditionals.
12363 * stdlib/stdlib.h: Update #else and #endif comments.
12364 [__USE_MISC]: Remove redundant conditionals.
12365 [__USE_GNU]: Likewise.
12366 * string/bits/string2.h [__USE_MISC]: Likewise.
12367 * string/string.h: Update #endif comments.
12368 [__USE_MISC]: Remove redundant conditionals.
12369 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12370 Likewise.
12371 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12372 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12373 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12374 Likewise.
12375 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12376 Likewise.
12377 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12378 comments.
12379 [__USE_MISC]: Remove redundant conditionals.
12380 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12381 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12382 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12383 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12384 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12385 Likewise.
12386 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12387 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12388 Likewise.
12389 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12390 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12391 Likewise.
12392 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12393 Likewise.
12394 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12395 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12396 Likewise.
12397 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12398 Likewise.
12399 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12400 * sysdeps/x86/bits/string.h: Update #endif comments.
12401 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12402 conditionals.
12403 * time/sys/time.h: Update #endif comments.
12404 * time/time.h: Likewise.
12405 [__USE_MISC]: Remove redundant conditionals.
12406
a5d82e4e
YG
124072014-02-21 Yury Gribov <y.gribov@samsung.com>
12408
12409 [BZ #16600]
12410 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12411
9a80491d
AS
124122014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12413
12414 * Versions.def (librt): Add GLIBC_2.17.
12415
105fa381
AC
124162014-02-21 Adam Conrad <adconrad@0c3.net>
12417
12418 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12419 synonym for _SYS_AUXV_H to allow direct inclusion.
12420 * sysdeps/sparc/bits/hwcap.h: Likewise.
12421 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12422 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12423 * sysdeps/sparc/sysdep.h: Likewise.
12424
b8cd1c4e
SP
124252014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12426
12427 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12428
bd939d23
RS
124292014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12430
12431 * benchtests/bench-strrchr.c: Print length instead of position.
12432
5d7b57ca
JM
124332014-02-20 Joseph Myers <joseph@codesourcery.com>
12434
bc688c10
JM
12435 [BZ #16611]
12436 * sysdeps/unix/sysv/linux/kernel-features.h
12437 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12438 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12439 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12440 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12441 Likewise.
12442 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12443 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12444 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12445 (__ASSUME_SENDMMSG): Define instead of using previous
12446 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12447 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12448 (__ASSUME_SENDMMSG_SYSCALL): Define.
12449 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12450 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12451 Likewise.
12452 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12453 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12454 Likewise.
12455 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12456 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12457 Likewise.
12458 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12459 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12460 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12461 [__ASSUME_SENDMMSG]: Change conditionals to
12462 [__ASSUME_SENDMMSG_SOCKETCALL].
12463 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12464 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12465 Define.
12466 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12467 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12468 Likewise.
12469 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12470 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12471 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12472 [!__ASSUME_SENDMMSG]: Change conditional to
12473 [!__ASSUME_SENDMMSG_SOCKETCALL].
12474 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12475 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12476 Define.
12477
0e31b18c
JM
12478 [BZ #16610]
12479 * sysdeps/unix/sysv/linux/kernel-features.h
12480 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12481 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12482 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12483 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12484 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12485 [__i386__ || __sparc__]
12486 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12487 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12488 (__ASSUME_RECVMMSG): Define instead of using previous
12489 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12490 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12491 (__ASSUME_RECVMMSG_SYSCALL): Define.
12492 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12493 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12494 Likewise.
12495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12496 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12497 Likewise.
12498 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12499 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12500 Likewise.
12501 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12502 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12503 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12504 [__ASSUME_RECVMMSG]: Change condition to
12505 [__ASSUME_RECVMMSG_SOCKETCALL].
12506 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12507 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12508 Define.
12509 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12510 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12511 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12512 Likewise.
12513 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12514 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12515 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12516 [!__ASSUME_RECVMMSG]: Change condition to
12517 [!__ASSUME_RECVMMSG_SOCKETCALL].
12518 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12519 (__ASSUME_RECVMMSG_SYSCALL): Define.
12520
dd481ccf
JM
12521 [BZ #16609]
12522 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12523 __powerpc__ || __s390__ || __sh__ || __sparc__]
12524 (__ASSUME_SOCKETCALL): Define.
12525 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12526 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12527 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12528 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12529 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12530 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12531 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12532 (__ASSUME_ACCEPT4): Define instead of using previous
12533 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12534 __powerpc__ || __sparc__ || __s390__)] condition.
12535 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12536 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12537 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12538 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12539 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12540 [!__ASSUME_ACCEPT4]: Change condition to
12541 [!__ASSUME_ACCEPT4_SOCKETCALL].
12542 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12543 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12544 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12545 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12546 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12547 __ASSUME_ACCEPT4_SYSCALL.
12548 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12549 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12550 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12551 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12552 __ASSUME_ACCEPT4_SYSCALL.
12553 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12554 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12555 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12556 [__ASSUME_ACCEPT4]: Change condition to
12557 [__ASSUME_ACCEPT4_SOCKETCALL].
12558 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12559 (__ASSUME_SOCKETCALL): Define.
12560 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12561 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12562 (__ASSUME_SOCKETCALL): Define.
12563 (__ASSUME_ACCEPT4): Remove.
12564 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12565 Define.
12566 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12567 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12568 Likewise.
12569 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12570 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12571
5d7b57ca
JM
12572 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12573 macro.
12574 (HWCAP_ARM_LPAE): Likewise.
12575 (HWCAP_ARM_EVTSTRM): Likewise.
12576 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12577 Add vpfd32, lpae and evtstrm.
12578 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12579 Increase to 22.
12580
63689d61
JM
125812014-02-19 Joseph Myers <joseph@codesourcery.com>
12582
12583 * math/auto-libm-test-in: Add tests of clog10.
12584 * math/auto-libm-test-out: Regenerated.
12585 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12586 * sysdeps/i386/fpu/libm-test-ulps: Update.
12587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12588
ab09bf61
AS
125892014-02-18 Andreas Schwab <schwab@suse.de>
12590
12591 [BZ #16574]
12592 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12593 Store non-zero if the second buffer was newly allocated.
12594 (send_dg): Likewise.
12595 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12596 to send_vc and send_dg.
12597 (res_nsend): Pass NULL for ansp2_malloced.
12598 * resolv/res_query.c (__libc_res_nquery): Add parameter
12599 answerp2_malloced and pass it down to __libc_res_nsend.
12600 (res_nquery): Pass additional NULL to __libc_res_nquery.
12601 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12602 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12603 second answer buffer if answerp2_malloced was set.
12604 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12605 (__libc_res_nquerydomain): Add parameter
12606 answerp2_malloced and pass it down to __libc_res_nquery.
12607 (res_nquerydomain): Pass additional NULL to
12608 __libc_res_nquerydomain.
12609 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12610 additional NULL to __libc_res_nsend and __libc_res_nquery.
12611 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12612 additional NULL to __libc_res_nsearch.
12613 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12614 parameter of __libc_res_nsearch to check for separately allocated
12615 second buffer.
12616 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12617 __libc_res_nquery.
12618 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12619 additional NULL to __libc_res_nquery.
12620 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12621 __libc_res_nsearch.
12622 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12623 * include/resolv.h: Update prototypes of __libc_res_nquery,
12624 __libc_res_nsearch, __libc_res_nsend.
12625
a4fb7861
JM
126262014-02-18 Joseph Myers <joseph@codesourcery.com>
12627
c6af2d89
JM
12628 * math/auto-libm-test-in: Add tests of fma.
12629 * math/auto-libm-test-out: Regenerated.
12630 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12631 (fma_towardzero_test_data): Likewise.
12632 (fma_downward_test_data): Likewise.
12633 (fma_upward_test_data): Likewise.
12634 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12635 mpc_mode.
12636 (rounding_modes): Add values for new field.
12637 (func_calc_method): Add value mpfr_fff_f.
12638 (func_calc_desc): Add mpfr_fff_f union field.
12639 (test_function): Add field exact_args.
12640 (FUNC): Add macro argument EXACT_ARGS.
12641 (FUNC_mpfr_f_f): Update call to FUNC.
12642 (FUNC_mpfr_f_f): Likewise.
12643 (FUNC_mpfr_ff_f): Likewise.
12644 (FUNC_mpfr_if_f): Likewise.
12645 (FUNC_mpc_c_f): Likewise.
12646 (FUNC_mpc_c_c): Likewise.
12647 (test_functions): Add fma. Update calls to FUNC.
12648 (handle_input_arg): Add argument exact_args.
12649 (add_test): Update call to handle_input_arg.
12650 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12651 (output_for_one_input_case): Update call to calc_generic_results.
12652 Recalculate exact zero results in each rounding mode.
12653
a4fb7861
JM
12654 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12655 non-negative before setting low bit.
12656 * math/auto-libm-test-in: Mark one asin test possibly having
12657 spurious underflow.
12658 * math/auto-libm-test-out: Regenerated.
12659 * sysdeps/i386/fpu/libm-test-ulps: Update.
12660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12661
ef114eaf
DH
126622014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12663
2b7f4f2c
SP
12664 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12665 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12666 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12667 * README: Add missing listing for microblaze*-*-linux-gnu.
12668
8125aedc
AM
126692014-02-16 Ondřej Bílka <neleai@seznam.cz>
12670
12671 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12672 duplicate code
12673
c70a4b1d
MF
126742014-02-16 Mike Frysinger <vapier@gentoo.org>
12675
12676 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12677 * sysdeps/unix/sysv/linux/ia64: Move directory from
12678 ports/sysdeps/unix/sysv/linux/ia64.
12679 * README: Update listing for ia64-*-linux-gnu.
12680
591aeaf7
TD
126812014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12682 Joseph Myers <joseph@codesourcery.com>
12683
12684 * Makeconfig (test-name): New variable.
12685 (evaluate-test): Likewise.
12686 * Makerules (do-test-clean): Remove .test-result files.
12687 (common-mostlyclean): Likewise.
12688 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12689 * scripts/evaluate-test.sh: New file.
12690
6e89caf1
JM
126912014-02-14 Joseph Myers <joseph@codesourcery.com>
12692
7f98f180
JM
12693 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12694 separate $(objpfx)tst-fopenloc-cmp.out and
12695 $(objpfx)tst-fopenloc-mem.out targets.
12696 (tests): Update dependencies.
12697 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12698 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12699 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12700 (tst-rxspencer-no-utf8-ARGS): New variable.
12701 (tst-rxspencer-no-utf8-ENV): Likewise.
12702 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12703 instead of $(objpfx)tst-rxspencer-mem.
12704 ($(objpfx)tst-rxspencer-mem): Change target to
12705 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12706 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12707 * posix/tst-rxspencer-no-utf8.c: New file.
12708
6e89caf1
JM
12709 * elf/Makefile ($(objpfx)order.out): Remove rule.
12710 [$(run-built-tests) = yes] (tests): Depend on
12711 $(objpfx)order-cmp.out.
12712 ($(objpfx)order-cmp.out): New rule.
12713 [$(run-built-tests) = yes] (tests): Depend on
12714 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12715 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12716 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12717 $(objpfx)tst-array5-static-cmp.out.
12718 ($(objpfx)tst-array1.out): Remove rule.
12719 ($(objpfx)tst-array1-cmp.out): New rule.
12720 ($(objpfx)tst-array1-static.out): Remove rule.
12721 ($(objpfx)tst-array1-static-cmp.out): New rule.
12722 ($(objpfx)tst-array2.out): Remove rule.
12723 ($(objpfx)tst-array2-cmp.out): New rule.
12724 ($(objpfx)tst-array3.out): Remove rule.
12725 ($(objpfx)tst-array3-cmp.out): New rule.
12726 ($(objpfx)tst-array4.out): Remove rule.
12727 ($(objpfx)tst-array4-cmp.out): New rule.
12728 ($(objpfx)tst-array5.out): Remove rule.
12729 ($(objpfx)tst-array5-cmp.out): New rule.
12730 ($(objpfx)tst-array5-static.out): Remove rule.
12731 ($(objpfx)tst-array5-static-cmp.out): New rule.
12732 [$(run-built-tests) = yes] (tests): Depend on
12733 $(objpfx)order2-cmp.out.
12734 ($(objpfx)order2.out): Remove rule.
12735 ($(objpfx)order2-cmp.out): New rule.
12736 ($(objpfx)tst-initorder.out): Remove rule.
12737 [$(run-built-tests) = yes] (tests): Depend on
12738 $(objpfx)tst-initorder-cmp.out.
12739 ($(objpfx)tst-initorder-cmp.out): New rule.
12740 ($(objpfx)tst-initorder2.out): Remove rule.
12741 [$(run-built-tests) = yes] (tests): Depend on
12742 $(objpfx)tst-initorder2-cmp.out.
12743 ($(objpfx)tst-initorder2-cmp.out): New rule.
12744 [$(run-built-tests) = yes] (tests): Depend on
12745 $(objpfx)tst-unused-dep-cmp.out.
12746 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12747 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12748 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12749 on $(objpfx)tst-setvbuf1-cmp.out.
12750 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12751 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12752 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12753 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12754 ($(objpfx)tst-svc.out): Remove rule.
12755 ($(objpfx)tst-svc-cmp.out): New rule.
12756
ed9a38e2
JM
127572014-02-13 Joseph Myers <joseph@codesourcery.com>
12758
12759 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12760 * ctype/ctype.h [__USE_MISC]: Likewise.
12761 * dirent/dirent.h [__USE_MISC]: Likewise.
12762 * grp/grp.h [__USE_MISC]: Likewise.
12763 * io/fcntl.h [__USE_MISC]: Likewise.
12764 * io/sys/stat.h [__USE_MISC]: Likewise.
12765 * libio/stdio.h [__USE_MISC]: Likewise.
12766 * posix/unistd.h [__USE_MISC]: Likewise.
12767 * pwd/pwd.h [__USE_MISC]: Likewise.
12768 * stdlib.h [__USE_MISC]: Likewise.
12769 * string/bits/string2.h [__USE_MISC]: Likewise.
12770 * string/string.h [__USE_MISC]: Likewise.
12771 * time/time.h [__USE_MISC]: Likewise.
12772
d6680619
AS
127732014-02-13 Andreas Schwab <schwab@suse.de>
12774
12775 [BZ #16574]
12776 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12777 second answer buffer if it was separately allocated.
12778
ace614b8
JM
127792014-02-12 Joseph Myers <joseph@codesourcery.com>
12780
743151ae
JM
12781 * sysdeps/mips/math-tests.h: Include <features.h>.
12782 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12783 (ROUNDING_TESTS_long_double): Do not define.
12784 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12785 (EXCEPTION_TESTS_long_double): Likewise.
12786 * sysdeps/mips/mips64/libm-test-ulps: Update.
12787
498afc54
JM
12788 * include/features.h (__USE_BSD): Remove macro definitions.
12789 (__USE_SVID): Likewise.
12790 (_BSD_SOURCE): Likewise.
12791 (_SVID_SOURCE): Likewise.
12792 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12793 from definition of _DEFAULT_SOURCE.
12794 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12795 [_DEFAULT_SOURCE].
12796 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12797 * bits/mman.h [__USE_BSD]: Likewise.
12798 * bits/termios.h [__USE_BSD]: Likewise.
12799 * bits/waitstatus.h [__USE_BSD]: Likewise.
12800 * ctype/ctype.h [__USE_SVID]: Likewise.
12801 * dirent/dirent.h [__USE_BSD]: Likewise.
12802 * grp/grp.h [__USE_SVID]: Likewise.
12803 [__USE_BSD]: Likewise.
12804 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12805 * io/fcntl.h [__USE_BSD]: Likewise.
12806 * io/ftw.h [__USE_BSD]: Likewise.
12807 * io/sys/stat.h [__USE_BSD]: Likewise.
12808 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12809 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12810 * libio/stdio.h [__USE_SVID]: Likewise.
12811 [__USE_BSD]: Likewise.
12812 * math/math.h [__USE_SVID]: Likewise.
12813 [__USE_BSD]: Likewise.
12814 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12815 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12816 * misc/search.h [__USE_SVID]: Likewise.
12817 * misc/sys/mman.h [__USE_BSD]: Likewise.
12818 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12819 * misc/sys/uio.h [__USE_BSD]: Likewise.
12820 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12821 * posix/glob.h [__USE_BSD]: Likewise.
12822 * posix/regex.h [__USE_BSD]: Likewise.
12823 * posix/sys/types.h [__USE_BSD]: Likewise.
12824 [__USE_SVID]: Likewise.
12825 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12826 * posix/sys/wait.h [__USE_BSD]: Likewise.
12827 [__USE_SVID]: Likewise.
12828 * posix/unistd.h [__USE_BSD]: Likewise.
12829 [__USE_SVID]: Likewise.
12830 * pwd/pwd.h [__USE_SVID]: Likewise.
12831 * resolv/netdb.h [__USE_BSD]: Likewise.
12832 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12833 * signal/signal.h [__USE_BSD]: Likewise.
12834 [__USE_SVID]: Likewise.
12835 * socket/sys/socket.h [__USE_BSD]: Likewise.
12836 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12837 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12838 [__USE_SVID]: Likewise.
12839 * string/bits/string2.h [__USE_BSD]: Likewise.
12840 [__USE_SVID]: Likewise.
12841 * string/bits/string3.h [__USE_BSD]: Likewise.
12842 * string/endian.h [__USE_BSD]: Likewise.
12843 * string/string.h [__USE_SVID]: Likewise.
12844 [__USE_BSD]: Likewise.
12845 * string/strings.h [__USE_BSD]: Likewise.
12846 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12847 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12848 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12849 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12850 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12851 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12852 Likewise.
12853 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12854 Likewise.
12855 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12856 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12857 Likewise.
12858 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12859 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12860 Likewise.
12861 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12862 Likewise.
12863 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12864 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12865 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12866 Likewise.
12867 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12868 Likewise.
12869 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12870 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12871 * termios/termios.h [__USE_BSD]: Likewise.
12872 * time/sys/time.h [__USE_BSD]: Likewise.
12873 * time/time.h [__USE_BSD]: Likewise.
12874 [__USE_SVID]: Likewise.
12875
dd7b064c
JM
12876 * Makefile (subdir_targets): Remove subdir_lint.out.
12877
a2c4c199
JM
12878 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12879 (do-tst-printf): Likewise.
12880 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12881 $(objpfx)tst-printf.out.
12882
8756f740
JM
12883 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12884
1b6dd3f1
JM
12885 * Makerules (check-abi-%): Change target to
12886 $(objpfx)check-abi-%.out.
12887 (check-abi target): Update dependencies.
12888 (check-abi-pattern variable): Redirect output of diff to $@.
12889 (check-abi variable): Likewise.
12890 * elf/Makefile (check-abi): Update dependencies.
12891
ace614b8
JM
12892 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12893 unused.
12894 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12895 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12896 subnormal range.
12897 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12898 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12899 value has largest subnormal exponent.
12900 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12901 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12902 * sysdeps/aarch64/soft-fp/sfp-machine.h
12903 (_FP_TININESS_AFTER_ROUNDING): New macro.
12904 * sysdeps/alpha/soft-fp/sfp-machine.h
12905 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12906 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12907 Likewise.
12908 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12909 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12910 * sysdeps/mips/soft-fp/sfp-machine.h
12911 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12912 * sysdeps/powerpc/soft-fp/sfp-machine.h
12913 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12914 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12915 Likewise.
12916 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12917 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12918 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12919 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12920 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12921 Likewise.
12922
fbfdf9cb
DAS
129232014-02-12 Dylan Alex Simon <dylan@dylex.net>
12924
12925 [BZ #16545]
12926 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12927 model 1.
12928
68b7efaa
RH
129292014-02-12 Richard Henderson <rth@redhat.com>
12930
c70a4b1d 12931 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
12932 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12933 * sysdeps/unix/sysv/linux/alpha: Move directory from
12934 ports/sysdeps/unix/sysv/linux/alpha.
12935 * README: Update listing for alpha-*-linux-gnu.
12936
cb4a2928
JM
129372014-02-11 Joseph Myers <joseph@codesourcery.com>
12938
c941736c
JM
12939 * include/features.h: Update comment documenting feature test
12940 macros.
12941 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12942 _DEFAULT_SOURCE.
12943 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12944 (_SVID_SOURCE): Likewise.
12945 (_DEFAULT_SOURCE): Update description of default features.
12946 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12947 with _GNU_SOURCE.
12948 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12949 (S_ISVTX): Likewise.
12950 * manual/math.texi (Mathematical Constants): Likewise.
12951 * manual/signal.texi (Interrupted Primitives): Likewise.
12952 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12953 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12954 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12955 Don't refer to _SVID_SOURCE in warning text.
12956
e8d8d7ec
JM
12957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12958
cb4a2928
JM
12959 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12960 already defined.
12961 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12962 * sysdeps/mips/dl-lookup.c: Remove.
12963 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12964
7e6424e3
AK
129652014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12966
12967 [BZ #16447]
12968 * math/auto-libm-test-in: Add testcase for expl.
12969 * math/auto-libm-test-out: Regenerate.
12970 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12971 calculation of unsafe.
12972 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12973
75eff3fe
MS
129742014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12975
12976 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12977 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12978 ports/sysdeps/unix/sysv/linux/aarch64.
12979 * README: Update listing for aarch64*-*-linux-gnu.
12980
d35f1e80
WN
129812014-02-11 Will Newton <will.newton@linaro.org>
12982
12983 * manual/probes.texi (Mathematical Function Probes): Use
12984 "triggered" instead of "hit".
12985
7b3436d4
WN
12986 * manual/probes.texi (Internal Probes): Add documentation
12987 of setjmp, longjmp and longjmp_target probes.
12988
b4f12ca3
WN
12989 * include/stap-probe.h: Add comment about probe argument
12990 format.
12991
c13a72b7
WN
12992 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12993 definition. (tr_where, tr_freehook, tr_mallochook,
12994 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12995
195b8165
DM
129962014-02-11 David S. Miller <davem@davemloft.net>
12997
12998 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12999 processing int_tests.
13000
2ad7600b
JM
130012014-02-10 Joseph Myers <joseph@codesourcery.com>
13002
13003 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13004 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13005 * sysdeps/unix/sysv/linux/mips: Move directory from
13006 ports/sysdeps/unix/sysv/linux/mips.
13007 * README: Update listing for mips-*-linux-gnu and
13008 mips64-*-linux-gnu.
13009
73588a72
AS
130102014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13011
13012 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13013 * sysdeps/unix/sysv/linux/m68k: Move directory from
13014 ports/sysdeps/unix/sysv/linux/m68k.
13015 * README: Update listing for m68k-*-linux-gnu.
13016
4372980f
CM
130172014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13018
13019 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13020 * sysdeps/unix/sysv/linux/generic: Move directory from
13021 ports/sysdeps/unix/sysv/linux/generic.
13022 * sysdeps/unix/sysv/linux/tile: Move directory from
13023 ports/sysdeps/unix/sysv/linux/tile.
13024 * README: Update listing for tile*-*-linux-gnu.
13025
a1ffb40e
OB
130262014-02-10 Ondřej Bílka <neleai@seznam.cz>
13027
57f41c40
AS
13028 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13029 __builtin_expect.
a1ffb40e
OB
13030 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13031 * catgets/open_catalog.c (__open_catalog): Likewise.
13032 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13033 * debug/confstr_chk.c: Likewise.
13034 * debug/fread_chk.c (__fread_chk): Likewise.
13035 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13036 * debug/getgroups_chk.c: Likewise.
13037 * debug/mbsnrtowcs_chk.c: Likewise.
13038 * debug/mbsrtowcs_chk.c: Likewise.
13039 * debug/mbstowcs_chk.c: Likewise.
13040 * debug/memcpy_chk.c: Likewise.
13041 * debug/memmove_chk.c: Likewise.
13042 * debug/mempcpy_chk.c: Likewise.
13043 * debug/memset_chk.c: Likewise.
13044 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13045 * debug/strcat_chk.c (__strcat_chk): Likewise.
13046 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13047 * debug/strncat_chk.c (__strncat_chk): Likewise.
13048 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13049 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13050 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13051 * debug/wcpncpy_chk.c: Likewise.
13052 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13053 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13054 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13055 * debug/wcsncpy_chk.c: Likewise.
13056 * debug/wcsnrtombs_chk.c: Likewise.
13057 * debug/wcsrtombs_chk.c: Likewise.
13058 * debug/wcstombs_chk.c: Likewise.
13059 * debug/wmemcpy_chk.c: Likewise.
13060 * debug/wmemmove_chk.c: Likewise.
13061 * debug/wmempcpy_chk.c: Likewise.
13062 * debug/wmemset_chk.c: Likewise.
13063 * dirent/scandirat.c (SCANDIRAT): Likewise.
13064 * dlfcn/dladdr1.c (dladdr1): Likewise.
13065 * dlfcn/dladdr.c (dladdr): Likewise.
13066 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13067 * dlfcn/dlerror.c (__dlerror): Likewise.
13068 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13069 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13070 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13071 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13072 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13073 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13074 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13075 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13076 Likewise.
13077 * elf/dl-conflict.c: Likewise.
13078 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13079 * elf/dl-dst.h: Likewise.
13080 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13081 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13082 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13083 * elf/dl-init.c (call_init, _dl_init): Likewise.
13084 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13085 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13086 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13087 Likewise.
a1ffb40e
OB
13088 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13089 Likewise.
13090 * elf/dl-minimal.c (__libc_memalign): Likewise.
13091 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13092 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13093 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13094 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13095 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13096 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13097 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13098 * elf/dl-writev.h (_dl_writev): Likewise.
13099 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13100 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13101 (dl_main): Likewise.
a1ffb40e
OB
13102 * elf/setup-vdso.h (setup_vdso): Likewise.
13103 * grp/compat-initgroups.c (compat_call): Likewise.
13104 * grp/fgetgrent.c (fgetgrent): Likewise.
13105 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13106 * grp/putgrent.c (putgrent): Likewise.
13107 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13108 Likewise.
13109 * hurd/hurdinit.c: Likewise.
13110 * iconvdata/8bit-gap.c (struct): Likewise.
13111 * iconvdata/ansi_x3.110.c : Likewise.
13112 * iconvdata/big5.c : Likewise.
13113 * iconvdata/big5hkscs.c : Likewise.
13114 * iconvdata/cp1255.c: Likewise.
13115 * iconvdata/cp1258.c : Likewise.
13116 * iconvdata/cp932.c : Likewise.
13117 * iconvdata/euc-cn.c: Likewise.
13118 * iconvdata/euc-jisx0213.c : Likewise.
13119 * iconvdata/euc-jp.c: Likewise.
13120 * iconvdata/euc-jp-ms.c : Likewise.
13121 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13122 * iconvdata/gb18030.c : Likewise.
13123 * iconvdata/gbbig5.c (const): Likewise.
13124 * iconvdata/gbgbk.c: Likewise.
13125 * iconvdata/gbk.c : Likewise.
13126 * iconvdata/ibm1364.c : Likewise.
13127 * iconvdata/ibm930.c : Likewise.
13128 * iconvdata/ibm932.c: Likewise.
13129 * iconvdata/ibm933.c : Likewise.
13130 * iconvdata/ibm935.c : Likewise.
13131 * iconvdata/ibm937.c : Likewise.
13132 * iconvdata/ibm939.c : Likewise.
13133 * iconvdata/ibm943.c: Likewise.
13134 * iconvdata/iso_11548-1.c: Likewise.
13135 * iconvdata/iso-2022-cn.c : Likewise.
13136 * iconvdata/iso-2022-cn-ext.c : Likewise.
13137 * iconvdata/iso-2022-jp-3.c: Likewise.
13138 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13139 * iconvdata/iso-2022-kr.c : Likewise.
13140 * iconvdata/iso646.c (gconv_end): Likewise.
13141 * iconvdata/iso_6937-2.c : Likewise.
13142 * iconvdata/iso_6937.c : Likewise.
13143 * iconvdata/iso8859-1.c: Likewise.
13144 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13145 * iconvdata/shift_jisx0213.c : Likewise.
13146 * iconvdata/sjis.c : Likewise.
13147 * iconvdata/t.61.c : Likewise.
13148 * iconvdata/tcvn5712-1.c : Likewise.
13149 * iconvdata/tscii.c: Likewise.
13150 * iconvdata/uhc.c : Likewise.
13151 * iconvdata/unicode.c (gconv_end): Likewise.
13152 * iconvdata/utf-16.c (gconv_end): Likewise.
13153 * iconvdata/utf-32.c (gconv_end): Likewise.
13154 * iconvdata/utf-7.c (base64): Likewise.
13155 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13156 * iconv/gconv_close.c (__gconv_close): Likewise.
13157 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13158 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13159 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13160 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13161 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13162 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13163 * iconv/iconv.c (iconv): Likewise.
13164 * iconv/iconv_close.c: Likewise.
13165 * iconv/loop.c (SINGLE): Likewise.
13166 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13167 * include/atomic.h: Likewise.
13168 * inet/inet6_option.c (option_alloc): Likewise.
13169 * intl/bindtextdom.c (set_binding_values): Likewise.
13170 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13171 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13172 * intl/localealias.c (read_alias_file): Likewise.
13173 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13174 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13175 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13176 * libio/fmemopen.c (fmemopen): Likewise.
13177 * libio/iofgets.c (_IO_fgets): Likewise.
13178 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13179 * libio/iofgetws.c (fgetws): Likewise.
13180 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13181 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13182 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13183 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13184 * locale/findlocale.c (_nl_find_locale): Likewise.
13185 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13186 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13187 Likewise.
13188 * locale/setlocale.c (setlocale): Likewise.
13189 * login/programs/pt_chown.c (main): Likewise.
13190 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13191 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13192 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13193 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13194 * math/e_exp2l.c: Likewise.
13195 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13196 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13197 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13198 * math/s_catan.c (__catan): Likewise.
13199 * math/s_catanf.c (__catanf): Likewise.
13200 * math/s_catanh.c (__catanh): Likewise.
13201 * math/s_catanhf.c (__catanhf): Likewise.
13202 * math/s_catanhl.c (__catanhl): Likewise.
13203 * math/s_catanl.c (__catanl): Likewise.
13204 * math/s_ccosh.c (__ccosh): Likewise.
13205 * math/s_ccoshf.c (__ccoshf): Likewise.
13206 * math/s_ccoshl.c (__ccoshl): Likewise.
13207 * math/s_cexp.c (__cexp): Likewise.
13208 * math/s_cexpf.c (__cexpf): Likewise.
13209 * math/s_cexpl.c (__cexpl): Likewise.
13210 * math/s_clog10.c (__clog10): Likewise.
13211 * math/s_clog10f.c (__clog10f): Likewise.
13212 * math/s_clog10l.c (__clog10l): Likewise.
13213 * math/s_clog.c (__clog): Likewise.
13214 * math/s_clogf.c (__clogf): Likewise.
13215 * math/s_clogl.c (__clogl): Likewise.
13216 * math/s_csin.c (__csin): Likewise.
13217 * math/s_csinf.c (__csinf): Likewise.
13218 * math/s_csinh.c (__csinh): Likewise.
13219 * math/s_csinhf.c (__csinhf): Likewise.
13220 * math/s_csinhl.c (__csinhl): Likewise.
13221 * math/s_csinl.c (__csinl): Likewise.
13222 * math/s_csqrt.c (__csqrt): Likewise.
13223 * math/s_csqrtf.c (__csqrtf): Likewise.
13224 * math/s_csqrtl.c (__csqrtl): Likewise.
13225 * math/s_ctan.c (__ctan): Likewise.
13226 * math/s_ctanf.c (__ctanf): Likewise.
13227 * math/s_ctanh.c (__ctanh): Likewise.
13228 * math/s_ctanhf.c (__ctanhf): Likewise.
13229 * math/s_ctanhl.c (__ctanhl): Likewise.
13230 * math/s_ctanl.c (__ctanl): Likewise.
13231 * math/w_pow.c: Likewise.
13232 * math/w_powf.c: Likewise.
13233 * math/w_powl.c: Likewise.
13234 * math/w_scalb.c (sysv_scalb): Likewise.
13235 * math/w_scalbf.c (sysv_scalbf): Likewise.
13236 * math/w_scalbl.c (sysv_scalbl): Likewise.
13237 * misc/error.c (error_tail): Likewise.
13238 * misc/pselect.c (__pselect): Likewise.
13239 * nis/nis_callback.c (__nis_create_callback): Likewise.
13240 * nis/nis_call.c (__nisfind_server): Likewise.
13241 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13242 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13243 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13244 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13245 * nis/nis_lookup.c (nis_lookup): Likewise.
13246 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13247 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13248 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13249 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13250 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13251 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13252 * nis/nss_compat/compat-initgroups.c (add_group)
13253 (internal_getgrent_r): Likewise.
13254 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13255 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13256 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13257 (internal_getspnam_r): Likewise.
13258 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13259 (_nss_nis_getaliasbyname_r): Likewise.
13260 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13261 (_nss_nis_getntohost_r): Likewise.
13262 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13263 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13264 (_nss_nis_getgrgid_r): Likewise.
13265 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13266 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13267 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13268 (_nss_nis_gethostbyname4_r): Likewise.
13269 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13270 (initgroups_netid): Likewise.
a1ffb40e 13271 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13272 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13273 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13274 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13275 (_nss_nis_getprotobynumber_r): Likewise.
13276 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13277 (_nss_nis_getsecretkey): Likewise.
13278 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13279 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13280 (_nss_nis_getpwuid_r): Likewise.
13281 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13282 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13283 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13284 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13285 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13286 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13287 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13288 Likewise.
57f41c40
AS
13289 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13290 (_nss_nisplus_getntohost_r): Likewise.
13291 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13292 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13293 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13294 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13295 Likewise.
57f41c40
AS
13296 * nis/nss_nisplus/nisplus-initgroups.c
13297 (_nss_nisplus_initgroups_dyn): Likewise.
13298 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13299 (_nss_nisplus_getnetbyaddr_r): Likewise.
13300 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13301 (_nss_nisplus_getprotobynumber_r): Likewise.
13302 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13303 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13304 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13305 Likewise.
57f41c40
AS
13306 * nis/nss_nisplus/nisplus-service.c
13307 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13308 (_nss_nisplus_getservbyport_r): Likewise.
13309 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13310 (_nss_nisplus_getspnam_r): Likewise.
13311 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13312 Likewise.
a1ffb40e
OB
13313 * nscd/aicache.c (addhstaiX): Likewise.
13314 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13315 * nscd/connections.c (register_traced_file, send_ro_fd)
13316 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13317 (main_loop_epoll): Likewise.
a1ffb40e
OB
13318 * nscd/grpcache.c (addgrbyX): Likewise.
13319 * nscd/hstcache.c (addhstbyX): Likewise.
13320 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13321 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13322 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13323 (addinnetgrX): Likewise.
13324 * nscd/nscd-client.h (__nscd_acquire_maplock)
13325 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13326 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13327 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13328 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13329 Likewise.
13330 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13331 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13332 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13333 (__nscd_get_map_ref): Likewise.
a1ffb40e 13334 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13335 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13336 Likewise.
a1ffb40e
OB
13337 * nscd/pwdcache.c (addpwbyX): Likewise.
13338 * nscd/selinux.c (preserve_capabilities): Likewise.
13339 * nscd/servicescache.c (addservbyX): Likewise.
13340 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13341 * posix/fnmatch.c (fnmatch): Likewise.
13342 * posix/getopt.c (_getopt_internal_r): Likewise.
13343 * posix/glob.c (glob, glob_in_dir): Likewise.
13344 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13345 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13346 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13347 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13348 * resolv/res_init.c: Likewise.
13349 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13350 * resolv/res_query.c (__libc_res_nquery): Likewise.
13351 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13352 Likewise.
13353 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13354 * stdio-common/perror.c (perror): Likewise.
13355 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13356 * stdio-common/tmpnam.c (tmpnam): Likewise.
13357 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13358 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13359 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13360 Likewise.
a1ffb40e
OB
13361 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13362 * stdlib/putenv.c (putenv): Likewise.
13363 * stdlib/setenv.c (__add_to_environ): Likewise.
13364 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13365 * stdlib/strtol_l.c (INTERNAL): Likewise.
13366 * string/memmem.c (memmem): Likewise.
13367 * string/strerror.c (strerror): Likewise.
13368 * string/strnlen.c (__strnlen): Likewise.
13369 * string/test-memmem.c (simple_memmem): Likewise.
13370 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13371 * sunrpc/pm_getport.c (__get_socket): Likewise.
13372 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13373 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13374 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13375 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13376 Likewise.
13377 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13378 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13379 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13380 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13381 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13382 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13383 Likewise.
13384 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13385 Likewise.
a1ffb40e
OB
13386 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13387 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13388 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13389 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13390 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13392 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13393 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13394 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13395 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13396 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13397 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13398 Likewise.
13399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13400 Likewise.
13401 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13402 Likewise.
13403 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13407 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13408 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13409 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13410 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13412 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13413 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13414 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13415 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13416 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13418 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13419 Likewise.
a1ffb40e
OB
13420 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13421 Likewise.
13422 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13423 Likewise.
13424 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13425 Likewise.
13426 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13428 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13429 Likewise.
13430 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13431 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13432 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13433 * sysdeps/posix/sleep.c: Likewise.
13434 * sysdeps/posix/tempname.c: Likewise.
13435 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13436 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13437 Likewise.
57f41c40
AS
13438 * sysdeps/powerpc/powerpc32/dl-machine.h
13439 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13440 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13442 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13443 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13444 Likewise.
13445 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13446 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13447 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13448 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13449 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13450 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13451 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13452 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13453 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13454 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13455 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13456 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13457 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13458 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13459 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13460 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13461 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13462 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13463 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13464 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13465 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13466 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13468 Likewise.
13469 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13470 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13471 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13472 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13473 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13474 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13475 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13476 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13477 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13478 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13479 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13480 Likewise.
13481 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13482 (__posix_fallocate64_l64): Likewise.
13483 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13484 (posix_fallocate): Likewise.
57f41c40
AS
13485 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13486 Likewise.
a1ffb40e 13487 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13488 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13489 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13490 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13491 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13492 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13493 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13494 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13495 (__posix_fallocate64_l64): Likewise.
13496 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13497 Likewise.
13498 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13499 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13500 (__get_clockfreq): Likewise.
a1ffb40e
OB
13501 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13502 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13503 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13505 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13506 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13507 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13508 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13509 Likewise.
13510 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13511 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13512 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13513 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13514 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13515 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13516 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13517 Likewise.
13518 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13519 (posix_fallocate): Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13521 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13522 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13523 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13524 (elf_machine_rela, elf_machine_rela_relative)
13525 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13526 * time/asctime.c (asctime_internal): Likewise.
13527 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13528 * time/tzset.c (__tzset_parse_tz): Likewise.
13529 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13530 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13531 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13532 * wcsmbs/wcsmbsload.h: Likewise.
13533
f3d338c9
OB
13534 [BZ #15894]
13535 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13536
57f41c40
AS
13537 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13538 (arena_get2): Remove THREAD_STATS conditionals.
13539 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13540 (__malloc_stats, int): Likewise.
bdfe308a 13541
d674667c
MF
135422014-02-08 Mike Frysinger <vapier@gentoo.org>
13543
13544 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13545 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13546
6349768c
MF
13547 * manual/setjmp.texi: Fix typos/grammar errors.
13548
0b7c7473
MF
13549 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13550 Only return early when n is <= 0. Delete unused return statement.
13551
ac8cc9e3
MF
13552 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13553 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13554 * debug/tst-longjmp_chk3.c: New file.
13555
c5bb8e23
MF
13556 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13557 (test_main): Replace code with set_fortify_handler call.
13558 * debug/test-strcpy_chk.c: Likewise.
13559 * debug/tst-chk1.c: Likewise.
13560 * debug/tst-longjmp_chk.c: Likewise.
13561 * test-skeleton.c: Include fcntl.h & paths.h
13562 (set_fortify_handler): Define.
13563
10444e42
MF
13564 * debug/tst-longjmp_chk.c: Add header comment and include
13565 ../test-skeleton.c.
13566 (do_test): Mark static.
13567 (TEST_FUNCTION): Define.
13568
1e805e8d
MF
13569 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13570 (IP_PMTUDISC_INTERFACE): Likewise.
13571 (IP_MULTICAST_IF): Likewise.
13572 (IP_MULTICAST_TTL): Likewise.
13573 (IP_MULTICAST_LOOP): Likewise.
13574 (IP_ADD_MEMBERSHIP): Likewise.
13575 (IP_DROP_MEMBERSHIP): Likewise.
13576 (IP_UNBLOCK_SOURCE): Likewise.
13577 (IP_BLOCK_SOURCE): Likewise.
13578 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13579 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13580 (IP_MSFILTER): Likewise.
13581 (MCAST_JOIN_GROUP): Likewise.
13582 (MCAST_BLOCK_SOURCE): Likewise.
13583 (MCAST_UNBLOCK_SOURCE): Likewise.
13584 (MCAST_LEAVE_GROUP): Likewise.
13585 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13586 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13587 (MCAST_MSFILTER): Likewise.
13588 (IP_MULTICAST_ALL): Likewise.
13589 (IP_UNICAST_IF): Likewise.
13590
73f79bb7
MF
13591 * timezone/Makefile: Delete $(have-ksh) check.
13592 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13593 * timezone/tzselect.ksh: Add +x mode bits.
13594
8da79b60
MF
13595 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13596 (ANON_INODE_FS_MAGIC): Likewise.
13597 (BDEVFS_MAGIC): Likewise.
13598 (BINFMTFS_MAGIC): Likewise.
13599 (BTRFS_TEST_MAGIC): Likewise.
13600 (CRAMFS_MAGIC_WEND): Likewise.
13601 (DEBUGFS_MAGIC): Likewise.
13602 (ECRYPTFS_SUPER_MAGIC): Likewise.
13603 (EXT3_SUPER_MAGIC): Likewise.
13604 (EXT4_SUPER_MAGIC): Likewise.
13605 (FUTEXFS_SUPER_MAGIC): Likewise.
13606 (HOSTFS_SUPER_MAGIC): Likewise.
13607 (HUGETLBFS_MAGIC): Likewise.
13608 (MINIX3_SUPER_MAGIC): Likewise.
13609 (MTD_INODE_FS_MAGIC): Likewise.
13610 (NILFS_SUPER_MAGIC): Likewise.
13611 (OPENPROM_SUPER_MAGIC): Likewise.
13612 (PIPEFS_MAGIC): Likewise.
13613 (PSTOREFS_MAGIC): Likewise.
13614 (QNX6_SUPER_MAGIC): Likewise.
13615 (RAMFS_MAGIC): Likewise.
13616 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13617 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13618 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13619 (SECURITYFS_MAGIC): Likewise.
13620 (SELINUX_MAGIC): Likewise.
13621 (SMACK_MAGIC): Likewise.
13622 (SOCKFS_MAGIC): Likewise.
13623 (SQUASHFS_MAGIC): Likewise.
13624 (STACK_END_MAGIC): Likewise.
13625 (TMPFS_MAGIC): Likewise.
13626 (USBDEVICE_SUPER_MAGIC): Likewise.
13627 (V9FS_MAGIC): Likewise.
13628 (XENFS_SUPER_MAGIC): Likewise.
13629 (CRAMFS_MAGIC): Fix typo in comment.
13630 (EXT2_SUPER_MAGIC): Update comment.
13631 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13632
464263cc
JM
136332014-02-08 Joseph Myers <joseph@codesourcery.com>
13634
c6bfe5c4
JM
13635 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13636 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13637 * sysdeps/unix/sysv/linux/arm: Move directory from
13638 ports/sysdeps/unix/sysv/linux/arm.
13639 * README: Update listing for arm-*-linux-gnueabi.
13640
464263cc
JM
13641 * README: Remove mention of am33.
13642
32749f6c
RM
136432014-02-07 Roland McGrath <roland@hack.frob.com>
13644
13645 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13646 than the comma operator, to avoid "rhs of comma has no effect"
13647 compiler warnings.
13648 (__sigfillset, __sigandset, __sigorset): Likewise.
13649 * include/signal.h (__sigemptyset): Likewise.
13650 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13651
d5b396c1
AM
136522014-02-07 Allan McRae <allan@archlinux.org>
13653
13654 * version.h (RELEASE): Set to "development".
13655 (VERSION): Set to "2.19.90"
13656 * NEWS: Add 2.20 section.
13657
3bfff2ed
CD
136582014-02-06 Carlos O'Donell <carlos@redhat.com>
13659
13660 [BZ #16529]
13661 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13662
ee7cc385
SP
136632014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13664
13665 * manual/contrib.texi: Update entry for Carlos O'Donell,
13666 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13667
f877c4f2
CD
136682014-02-05 Carlos O'Donell <carlos@rehdat.com>
13669
27e839f6
CD
13670 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13671
f877c4f2
CD
13672 * sysdeps/unix/sysv/linux/kernel-features.h
13673 [__LINUX_KERNEL_VERSION >= 0x020621]
13674 (__ASSUME_PROC_PID_TASK_COMM): Define.
13675
68159946
SP
136762014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13677
ba17cdbd
SP
13678 [BZ #16398]
13679 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13680 conversion when destination buffer does not have enough space.
13681 * libio/tst-ftell-partial-wide.c: New test case.
13682 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13683
68159946
SP
13684 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13685 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13686 Leonard and Allan McRae.
13687
2b528732
DM
136882014-02-04 David S. Miller <davem@davemloft.net>
13689
13690 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13691 32-bit.
13692
0ff82463
AZ
136932014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13694
57f41c40
AS
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13696 New file
c01603f7
AZ
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13698 New file
57f41c40
AS
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13700 New file.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13702 New file.
c01603f7
AZ
13703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13704 New file.
57f41c40
AS
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13706 New file.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13708 New file.
c01603f7
AZ
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13710 New file.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13712 New file.
13713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13714 New file.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13716 New file.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13718 New file.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13720 New file.
13721
137222014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13723
0ff82463
AZ
13724 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13725 * shlib-versions: Likewise.
13726
1695c773
AZ
137272014-02-04 Roland McGrath <roland@hack.frob.com>
13728 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13729
13730 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13731 (abilist-pattern): New variable, set to %-le.abilist.
13732
13733 * Makerules (abilist-pattern): New variable.
13734 (vpath): Use $(abilist-pattern) in place of %.abilist.
13735 (check-abi-% pattern rule): Likewise.
13736 (check-abi, update-abi): Likewise.
13737
6c0ce4b4
EW
137382014-02-04 Eric Wong <normalperson@yhbt.net>
13739
13740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13741
481e3524
CD
137422014-02-03 Carlos O'Donell <carlos@redhat.com>
13743
13744 * manual/startup.texi: Add next, previous, and top entries for
13745 the `Program Arguments' and `Environment Variables' nodes.
13746
375592d3
AO
137472014-02-03 Alexandre Oliva <aoliva@redhat.com>
13748
13749 * manual/macros.texi: Add comments before MTASC-safety macros.
13750
f54838ba
AO
13751 * manual/users.texi: Document MTASC-safety properties.
13752
57f41c40
AS
13753 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13754 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
13755 @deftypefun, and add @safety note.
13756 * manual/signal.texi: Move comments that analyze the above
13757 functions to their home place.
13758
fd3daba4
AM
137592014-02-03 Allan McRae <allan@archlinux.org>
13760
13761 * po/sl.po: Update Slovenian translation from translation project.
13762
597636d7
AO
137632014-02-02 Alexandre Oliva <aoliva@redhat.com>
13764
13765 * manual/time.texi (timegm): Add missing blank after @c.
13766 Reported by Joseph Myers <joseph@codesourcery.com>.
13767
ee196e3c
AO
137682014-02-01 Alexandre Oliva <aoliva@redhat.com>
13769
13770 * manual/check-safety.sh: New.
13771 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13772
f8d529d5
AO
13773 * manual/terminal.texi: Document MTASC-safety properties.
13774
de55fdf4
AO
13775 * manual/filesys.texi: Document MTASC-safety properties.
13776
c3299c08
AO
13777 * manual/errno.texi: Document MTASC-safety properties.
13778
06e90b14
AO
13779 * manual/intro.texi: Document safety identifiers and
13780 conditionals.
13781
1acd4371
AO
13782 * manual/string.texi (wcstok): Fix prototype.
13783 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13784
23e5b8cb
AO
13785 * manual/time.texi: Document MTASC-safety properties.
13786
11087373
AO
13787 * manual/string.texi: Document MTASC-safety properties.
13788
5da2c93d
AO
13789 * manual/threads.texi: Document MTASC-safety properties.
13790
171e9210
AO
13791 * manual/stdio.texi: Document MTASC-safety properties.
13792
d9e02532
AO
13793 * manual/syslog.texi: Document MTASC-safety properties.
13794
6af8bab7
AO
13795 * manual/sysinfo.texi: Document MTASC-safety properties.
13796
663b02d7
AO
13797 * manual/startup.texi: Document MTASC-safety properties.
13798
973f180b
AO
13799 * manual/socket.texi: Document MTASC-safety properties.
13800
8f3c25c8
AO
13801 * manual/signal.texi: Document MTASC-safety properties.
13802
542210fb
AO
138032014-01-31 Alexandre Oliva <aoliva@redhat.com>
13804
13805 * manual/setjmp.texi: Document MTASC-safety properties.
13806
433c45a2
AO
13807 * manual/search.texi: Document MTASC-safety properties.
13808
c8ce789c
AO
13809 * manual/resource.texi: Document MTASC-safety properties.
13810
19f5d29c
AO
13811 * manual/process.texi: Document MTASC-safety properties.
13812
e2dfb7f4
AO
13813 * manual/platform.texi: Document MTASC-safety properties.
13814
8c1413f5
AO
13815 * manual/pipe.texi: Document MTASC-safety properties.
13816
03483ada
AO
13817 * manual/pattern.texi: Document MTASC-safety properties.
13818
29e7e2df
AO
13819 * manual/message.texi: Document MTASC-safety properties.
13820
9f529d7c
AO
13821 [BZ #12751]
13822 * manual/memory.texi: Document MTASC-safety properties.
13823
27aaa791
AO
13824 * manual/math.texi: Document MTASC-safety properties.
13825
f2d58726
AO
13826 * manual/locale.texi: Document MTASC-safety properties.
13827
2cc3615c
AO
13828 * manual/llio.texi: Document MTASC-safety properties.
13829
d9f0ec97
AO
13830 * manual/libdl.texi: New.
13831
e7c4409a
AO
13832 * manual/lang.texi: Document MTASC-safety properties.
13833
27bdc63c
AO
13834 * manual/job.texi: Document MTASC-safety properties.
13835
a7b90ea9
AO
13836 * manual/getopt.texi: Document MTASC-safety properties.
13837
c49130e3
AO
13838 * manual/ctype.texi: Document MTASC-safety properties.
13839
0d23a5c1
MR
138402014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13841
13842 [BZ #16046]
13843 * csu/libc-tls.c (static_map): Remove variable.
13844 (__libc_setup_tls): Use main executable's link map for TLS data.
13845 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13846 casing for LM_ID_BASE and GL(dl_nns).
13847 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13848 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13849 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13850 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13851 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13852 member.
13853 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13854 l_phnum members.
13855
0037bb60
AO
138562014-01-30 Alexandre Oliva <aoliva@redhat.com>
13857
13858 * manual/debug.texi: Document MTASC-safety properties.
13859
409e00bd
L
138602014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13861
13862 [BZ #16510]
13863 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13864 of __x86_64__ when disabling x87 inline functions.
13865
86e60666
AO
138662014-01-29 Alexandre Oliva <aoliva@redhat.com>
13867
13868 * manual/charset.texi: Document MTASC-safety properties.
13869
76167637
AO
13870 * manual/crypt.texi: Document MTASC-safety properties.
13871
e567f2a0
AO
13872 * manual/conf.texi: Document MTASC-safety properties.
13873
b719dafd
AO
13874 * manual/arith.texi: Document MTASC-safety properties.
13875
4a16c662
AO
13876 * manual/argp.texi: Document MTASC-safety properties.
13877
0a57b83e
AO
13878 * manual/macros.texi: Introduce macros to document multi
13879 thread, asynchronous signal and asynchronous cancellation
13880 safety properties.
13881 * manual/intro.texi: Introduce the properties themselves.
13882
feab2397
KK
138832014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13884
13885 * sysdeps/sh/sh4/Makefile: New file.
13886
1c0d11bc
AS
138872014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13888
13889 * math/gen-libm-test.pl ($srcdir): New variable.
13890 ($auto_input): Use it.
13891
af37a8a3
SP
138922014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13893
d7b00f98
SP
13894 [BZ #16506]
13895 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13896 access beyond array bounds when parsing netgroups file.
13897
af37a8a3
SP
13898 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13899 the old buffer before realloc.
13900
0c00f062
AM
139012014-01-27 Allan McRae <allan@archlinux.org>
13902
13903 * po/fr.po: Update French translation from translation project.
13904
7d69a1b0
KK
139052014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13906
13907 * sysdeps/sh/libm-test-ulps: Regenerate.
13908
6e697ff7
DM
139092014-01-24 David S. Miller <davem@davemloft.net>
13910
13911 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13912
9cadb35c
KK
139132014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13914
13915 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13916 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13917
5d41dadf
SP
139182013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13919
13920 [BZ #16474]
13921 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13922 string pointers after reallocation.
13923
0bad441c
KK
139242014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13925
13926 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13927 __SH4A__ instead of __SH_FPU_ANY__.
13928
7007c661
KK
139292014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13930
13931 * sysdeps/sh/fpu_control.h: New file.
13932 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13933 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13934 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13935 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13936 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13937 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13938 * sysdeps/sh/sys/ucontext.h: Remove.
13939 * sysdeps/sh/sys: Remove directory.
13940
0f0c35e4
AK
139412014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13942
13943 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13944 s390/sys/ucontext.h.
13945 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13946 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13947
4959e284
L
139482014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13949
13950 [BZ #15605]
13951 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13952
d98720e0
AZ
139532014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13954
13955 [BZ#16431]
13956 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13957 Adjust the vDSO correctly for internal calls.
13958 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13959
91cbd0bc
AM
139602014-01-20 Allan McRae <allan@archlinux.org>
13961
13962 * po/ca.po: Update Catalan translation from translation project.
13963
7a02cfad
MF
139642014-01-16 Mike Frysinger <vapier@gentoo.org>
13965
13966 * sysdeps/s390/sotruss-lib.c: New file.
13967
736c304a
AZ
139682014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13969
13970 [BZ#16430]
6e077ee5 13971 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
13972 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13973 local calls issues by not having a PLT stub required for IFUNC calls.
13974 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13975
94d0cea0
JM
139762014-01-16 Joseph Myers <joseph@codesourcery.com>
13977
13978 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13979 * math/test-fpucw-static.c: Likewise.
13980
980cb518
SP
139812013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13982
13983 [BZ #16453]
13984 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13985
2393fc01
AZ
139862014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13987
13988 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13989 implementation for powerpc.
13990
d359bcc2
OB
139912014-01-15 Ondřej Bílka <neleai@seznam.cz>
13992
13993 [BZ #14782]
13994 * sysdeps/posix/system.c (__libc_system): Do not enable
13995 asynchronous cancellation.
13996
7beb48cb
AK
139972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13998
13999 [BZ #16427]
14000 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14001 handling only for numbers special also in the IEEE case.
14002
c20d5bf5
AK
140032014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14004
14005 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14006
e83bd4ee
AM
140072014-01-11 Allan McRae <allan@archlinux.org>
14008
76d0ea69
AM
14009 * po/bg.po: Update Bulgarian translation from translation project.
14010
e83bd4ee
AM
14011 * po/de.po: Update German translation from translation project.
14012
bc2ba20a
RM
140132014-01-10 Roland McGrath <roland@hack.frob.com>
14014
14015 * sysdeps/generic/gcc-compat.h: New file.
14016
649ecea2
SP
140172014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14018
14019 * benchtests/asin-inputs: Correct slow inputs.
14020 * benchtests/acos-inputs: Likewise.
14021
1b19c006
AM
140222014-01-10 Allan McRae <allan@archlinux.org>
14023
a46dab08
AM
14024 * po:sv.po: Update Swedish translation from translation project.
14025
421df74a
AM
14026 * po/vi.po: Update Vietnamese translation from translation project.
14027
d61c51a7
AM
14028 * po/eo.po: Update Esperanto translation from translation project.
14029
0339a319
AM
14030 * po/cs.po: Update Czech translation from translation project.
14031
94ad3e99
AM
14032 * po/nl.po: Update Dutch translation from translation project.
14033
e349ca71
AM
14034 * po/pl.po: Update Polish translation from translation project.
14035
ddf930c1
AM
14036 * po/ru.po: Update Russian translation from translation project.
14037
1b19c006
AM
14038 * po/uk.po: Update Ukrainian translation from translation project.
14039
9f236c49
BM
140402014-01-08 Brooks Moses <bmoses@google.com>
14041
14042 * elf/dl-load.c: Fix comment typo.
14043
cd6701cf
CD
140442014-01-08 Carlos O'Donell <carlos@redhat.com>
14045
14046 * po/header.pot: Rename to...
14047 * po/pot.header: ... this.
14048 * po/Makefile: Use pot.header.
14049
66671c84
YK
140502014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14051 Maxim Kuvyrkov <maxim@kugelworks.com>
14052
14053 [BZ #16394]
cd6701cf
CD
14054 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14055 SRC and DEST against LEN.
66671c84 14056
38f34581
AZ
140572014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14058
14059 [BZ #16414]
14060 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14061 implementation.
14062 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14063
140642014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14065
14066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14067
4c327f2a
JM
140682014-01-08 Joseph Myers <joseph@codesourcery.com>
14069
14070 [BZ #16408]
14071 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14072 for large positive arguments.
14073
b821f414
JM
140742014-01-07 Joseph Myers <joseph@codesourcery.com>
14075
1f0f2067
JM
14076 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14077
a5a326f6
JM
14078 * math/auto-libm-test-in: Mark various tests with
14079 xfail-rounding:ldbl-128ibm.
14080 * math/auto-libm-test-out: Regenerated.
14081
b821f414
JM
14082 [BZ #16407]
14083 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14084 Increase overflow threshold.
14085
94c8a4bc
OB
140862014-01-07 Ondřej Bílka <neleai@seznam.cz>
14087
14088 [BZ #14286]
14089 * stdio-common/vfprintf.c: Check for integer overflow.
14090
87ded0c3
AK
140912014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14092
14093 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14094 the first argument and return value of __tls_get_addr_internal.
14095
c5eebdd0
AK
140962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14097
14098 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14099 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14100
05d138ef
AK
141012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14102
14103 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14104 * sysdeps/s390/rtld-global-offsets.sym: New file.
14105 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14106 GLIBC_2.19 symbol.
14107 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14108 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14109 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14110 ... this.
14111 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14112 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14113 ... this.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14115 Regenerate.
14116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14117 Regenerate.
14118 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14119 halfs of GPRs for high_gprs contexts.
14120 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14121 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14122 field.
14123 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14124 uc_flags field.
14125 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14126 64 bit versions:
14127 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14128 for high GPRs (uc_high_gprs) and for future extensions
14129 (__reserved).
14130 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14131 for future extensions (__reserved).
14132 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14133 64 bit versions:
14134 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14135 SC_HIGHGPRS offset definition.
14136 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14137 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14138
93a45ff1
AK
14139 * Versions.def: Add GLIBC_2.19 for libpthread.
14140 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14141 siglongjmp for libpthread with GLIBC_2.19 symver.
14142 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14143 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14144 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14145 * sysdeps/s390/__longjmp.c: New file.
14146 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14147 * sysdeps/s390/longjmp.c: New file.
14148 * sysdeps/s390/setjmp.S: New file.
14149 * sysdeps/s390/sigjmp.S: New file.
14150 * sysdeps/s390/v1-longjmp.c: New file.
14151 * sysdeps/s390/v1-setjmp.h: New file.
14152 * sysdeps/s390/v1-sigjmp.c: New file.
14153 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14154 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14155 GLIBC_2.19 version.
14156 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14157 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14158 versioned symbols for ____longjmp_chk.
14159 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14160 Likewise.
14161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14162 Regenerate.
14163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14164 Regenerate.
14165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14166 Regenerate.
14167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14168 Regenerate.
14169 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14170 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14171 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14172 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14173 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14174 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14175 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14176 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14177 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14178 * sysdeps/s390/rtld-__longjmp.c: New file.
14179 * sysdeps/s390/rtld-setjmp.S: New file.
14180
eb3fc44b
JM
141812014-01-06 Joseph Myers <joseph@codesourcery.com>
14182
14183 [BZ #16400]
14184 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14185 Return -__logl (x) for small positive arguments without evaluating
14186 a polynomial.
14187
9341dde4
MF
141882014-01-06 Mike Frysinger <vapier@gentoo.org>
14189
14190 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14191 Rename to ...
14192 (__ptrace_peeksiginfo_args): ... this.
14193 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14196
4cff0293
AM
141972014-01-06 Allan McRae <allan@archlinux.org>
14198
14199 * inet/netinet/in.h: Fix typo in comment.
14200
75595dcf
AJ
142012014-01-05 Andreas Jaeger <aj@suse.de>
14202
14203 * sysdeps/i386/fpu/libm-test-ulps: Update.
14204
79c1e109
AM
142052014-01-05 Allan McRae <allan@archlinux.org>
14206
dd804818
AM
14207 * po/libc.pot: Regenerated.
14208
79c1e109
AM
14209 * malloc/memusagestat.c: Fix gettext call formatting.
14210
0c813d1f
SK
142112014-01-04 Sami Kerola <kerolasa@iki.fi>
14212
14213 * nscd/nscd.c: Improve usage() output.
14214
20f4a8d9
MF
142152014-01-04 Mike Frysinger <vapier@gentoo.org>
14216
14217 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14218 * sysdeps/unix/sysv/linux/configure: Regenerated.
14219 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14220 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14221
22562bb2
JM
142222014-01-03 Joseph Myers <joseph@codesourcery.com>
14223
14224 [BZ #16390]
14225 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14226 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14227
d7ad2d9b
AZ
142282014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14229
14230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14231 extra tokens at end of #undef directive.
14232 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14233 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14234 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14235
7dd009d8
JM
142362014-01-03 Joseph Myers <joseph@codesourcery.com>
14237
24db925a
JM
14238 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14239
7dd009d8
JM
14240 * math/auto-libm-test-in: Mark various tests with
14241 xfail-rounding:ldbl-128ibm.
14242 * math/auto-libm-test-out: Regenerated.
14243
396e3ecf
JM
142442014-01-02 Joseph Myers <joseph@codesourcery.com>
14245
819e5d50
JM
14246 [BZ #16386]
14247 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14248 numbers with subnormal high part when calculating exponent.
14249
90b6a1e5
JM
14250 [BZ #16385]
14251 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14252 fabs.
14253
396e3ecf
JM
14254 [BZ #16384]
14255 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14256 M_LN2l.
14257 (__ieee754_acoshl): Use __log1pl not __log1p.
14258
6c8dbf00
OB
142592013-01-02 Ondřej Bílka <neleai@seznam.cz>
14260
57f41c40
AS
14261 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14262 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14263 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14264 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14265 (reused_arena, arena_get2): Convert to GNU style.
14266 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14267 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14268 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14269 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14270 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14271 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14272 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14273 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14274 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14275 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14276 * malloc/malloc.h: Likewise.
57f41c40
AS
14277 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14278 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14279 * malloc/mcheck.h: Likewise.
57f41c40
AS
14280 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14281 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14282 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14283 * malloc/morecore.c (__default_morecore): Likewise.
14284 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14285 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14286 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14287 (print_and_abort): Likewise.
6c8dbf00
OB
14288 * malloc/obstack.h: Likewise.
14289 * malloc/set-freeres.c (__libc_freeres): Likewise.
14290 * malloc/tst-mallocstate.c (main): Likewise.
14291 * malloc/tst-mtrace.c (main): Likewise.
14292 * malloc/tst-realloc.c (do_test): Likewise.
14293
d4124212
SP
142942013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14295
9a3c6a6f
SP
14296 [BZ #16366]
14297 * nscd/netgroupcache.c (do_notfound): New function.
14298 (addgetnetgrentX): Use it.
14299
d4124212
SP
14300 [BZ # 16365]
14301 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14302 NSS_STATUS_NOTFOUND.
14303
97b9a009
JM
143042014-01-01 Joseph Myers <joseph@codesourcery.com>
14305
14306 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14308
d4697bc9
AM
143092014-01-01 Allan McRae <allan@archlinux.org>
14310
ddb3687f
AM
14311 * scripts/update-copyrights: Update configure input file suffix.
14312
88726d48
AM
14313 * NEWS: Update copyright year.
14314 * catgets/gencat.c: Likewise.
14315 * csu/version.c: Likewise.
14316 * debug/catchsegv.sh: Likewise.
14317 * debug/pcprofiledump.c: Likewise.
14318 * debug/xtrace.sh: Likewise.
14319 * elf/ldconfig.c: Likewise.
14320 * elf/ldd.bash.in: Likewise.
14321 * elf/pldd.c: Likewise.
14322 * elf/sotruss.ksh: Likewise.
14323 * elf/sprof.c: Likewise.
14324 * iconv/iconv_prog.c: Likewise.
14325 * iconv/iconvconfig.c: Likewise.
14326 * locale/programs/locale.c: Likewise.
14327 * locale/programs/localedef.c: Likewise.
14328 * login/programs/pt_chown.c: Likewise.
14329 * malloc/memusage.sh: Likewise.
14330 * malloc/memusagestat.c: Likewise.
14331 * malloc/mtrace.pl: Likewise.
14332 * manual/libc.texinfo: Likewise.
14333 * nscd/nscd.c: Likewise.
14334 * nss/getent.c: Likewise.
14335 * nss/makedb.c: Likewise.
14336 * posix/getconf.c: Likewise.
14337 * scripts/test-installation.pl: Likewise.
14338
d4697bc9
AM
14339 * All files with FSF copyright notices: Update copyright dates
14340 using scripts/update-copyrights.
14341 * intl/plural.c: Regenerated.
14342 * locale/programs/charmap-kw.h: Likewise.
14343 * locale/programs/locfile-kw.h: Likewise.
14344
c8590f9d
MF
143452013-12-31 Mike Frysinger <vapier@gentoo.org>
14346
14347 * sysdeps/unix/sysv/linux/configure: Regenerated.
14348 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14349 the linux/fanotify.h header.
14350 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14351 HAVE_LINUX_FANOTIFY_H is defined.
14352
b19221b9
SP
143532013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14354
dd1d85e5
SP
14355 * benchtests/cos-inputs: New inputs.
14356 * benchtests/sin-inputs: Likewise.
14357
1acbb90f
SP
14358 * benchtests/atan-inputs: New inputs. Fix name of multiple
14359 precision fallback inputs.
14360
4c012ed3
SP
14361 * benchtests/atanh-inputs: New inputs.
14362 * benchtests/tanh-inputs: Likewise.
14363
eff98324
SP
14364 * benchtests/acosh-inputs: New inputs.
14365 * benchtests/asinh-inputs: Likewise.
14366
ce641152
SP
14367 * benchtests/cosh-inputs: New inputs.
14368 * benchtests/sinh-inputs: Likewise.
14369
b19221b9
SP
14370 * benchtests/acos-inputs: Add more inputs.
14371 * benchtests/asin-inputs: Likewise.
14372
030a4976 143732013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14374
030a4976 14375 [BZ #16375]
9dcc8f11
VS
14376 * manual/arith.texi: Fix spelling.
14377 * manual/charset.texi: Likewise.
14378 * manual/errno.texi: Likewise.
14379 * manual/filesys.texi: Likewise.
14380 * manual/lang.texi: Likewise.
14381 * manual/llio.texi: Likewise.
14382 * manual/locale.texi: Likewise.
14383 * manual/message.texi: Likewise.
14384 * manual/resource.texi: Likewise.
14385 * manual/search.texi: Likewise.
14386 * manual/setjmp.texi: Likewise.
14387 * manual/stdio.texi: Likewise.
14388 * manual/string.texi: Likewise.
14389 * manual/sysinfo.texi: Likewise.
14390 * manual/time.texi: Likewise.
14391
11520a57
CD
143922013-12-27 Carlos O'Donell <carlos@redhat.com>
14393
14394 * po/sl.po: New file.
14395
471103ae
MF
143962013-12-27 Mike Frysinger <vapier@gentoo.org>
14397
14398 * .gitignore: Add core/.gdbinit/.gdb_history.
14399
6c9642ed
AM
144002013-12-27 Allan McRae <allan@archlinux.org>
14401
14402 [BZ #16369]
14403 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14404 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14405
3f637079
BM
144062013-12-24 Brooks Moses <bmoses@google.com>
14407
14408 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14409 all compilers that claim C++98 compliance, not just GCC.
14410 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14411 Likewise.
14412
abc26e99
MK
144132013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14414
14415 * NEWS: Restore accidentally deleted bug-fix entries.
14416
362b47fe
MK
144172013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14418 Ondřej Bílka <neleai@seznam.cz>
14419
14420 [BZ #15073]
14421 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14422 have_lock.
362b47fe 14423
b9bcbbcb
OB
144242013-12-23 Ondřej Bílka <neleai@seznam.cz>
14425
14426 [BZ #12986]
14427 * manual/stdio.texi (String Input Conversions): Clarify that character
14428 classes are not supported.
14429
fb55fcd2
AZ
144302013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14431
14432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14433
ef7344f0
JM
144342013-12-22 Joseph Myers <joseph@codesourcery.com>
14435
4f40e4b3
JM
14436 [BZ #16337]
14437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14438 Calculate results for small negative arguments directly rather
14439 than using reflection formula with special underflow handling.
14440
ef7344f0
JM
14441 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14442 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14443 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14444 (fchflags): Likewise.
14445 (revoke): Likewise.
14446 (setlogin): Likewise.
14447 (sigaltstack): Likewise.
14448 (wait4): Likewise.
14449 (sigblock): Remove.
14450 (sigsetmask): Likewise.
14451 (wait3): Likewise.
14452 (waitpid): Likewise.
14453 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14454 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14455 file.
14456 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14457 * sysdeps/unix/bsd/Makefile: ... here.
14458 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14459 * sysdeps/unix/bsd/Versions: ... here.
14460 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14461 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14462 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14463 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14464 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14465 * sysdeps/unix/bsd/sigblock.c: ... here.
14466 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14467 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14468 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14469 * sysdeps/unix/bsd/sigvec.c: ... here.
14470 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14471 * sysdeps/unix/bsd/tcdrain.c: ... here.
14472 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14473 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14474 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14475 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14476 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14477 * sysdeps/unix/bsd/wait.c: ... here.
14478 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14479 * sysdeps/unix/bsd/wait3.c: ... here.
14480 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14481 * sysdeps/unix/bsd/waitpid.c: ... here.
14482
5b0626b9
JM
144832013-12-21 Joseph Myers <joseph@codesourcery.com>
14484
14485 [BZ #16356]
14486 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14487 round-to-nearest for [!USE_AS_EXPM1L].
14488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14489 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14490 more tests of exp and exp10. Expect some exp10 tests to miss
14491 exceptions or fail in directed rounding modes.
14492 * math/auto-libm-test-out: Regenerated.
14493 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14494 (exp10_test_tonearest): New function.
14495 (exp10_towardzero_test_data): New array.
14496 (exp10_test_towardzero): New function.
14497 (exp10_downward_test_data): New array.
14498 (exp10_test_downward): New function.
14499 (exp10_upward_test_data): New array.
14500 (exp10_test_upward): New function.
14501 (main): Call the new functions.
14502 * sysdeps/i386/fpu/libm-test-ulps: Update.
14503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14504
7fda5682
JM
145052013-12-20 Joseph Myers <joseph@codesourcery.com>
14506
31e3a405
JM
14507 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14508 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14509 * math/auto-libm-test-out: Regenerated.
14510 * math/libm-test.inc (acosh_test_data): Add more tests.
14511 (atanh_test_data): Likewise.
14512 (ceil_test_data): Likewise.
14513 (copysign_test_data): Likewise.
14514 * sysdeps/i386/fpu/libm-test-ulps: Update.
14515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14516
85bff96a
JM
14517 * timezone/checktab.awk: Update from tzcode 2013i.
14518 * timezone/private.h: Likewise.
14519 * timezone/scheck.c: Likewise.
14520 * timezone/tzfile.h: Likewise.
14521 * timezone/tzselect.ksh: Likewise.
14522 * timezone/zdump.c: Likewise.
14523 * timezone/zic.c: Likewise.
14524
b7867a3b
JM
14525 * math/auto-libm-test-in: Add tests of cpow.
14526 * math/auto-libm-test-out: Regenerated.
14527 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14528 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14529 mpc_cc_c.
14530 (func_calc_desc): Add mpc_cc_c union field.
14531 (test_functions): Add cpow.
14532 (special_fill_2pi): New function.
14533 (special_real_inputs): Add 2pi.
14534 (calc_generic_results): Handle mpc_cc_c.
14535 * sysdeps/i386/fpu/libm-test-ulps: Update.
14536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14537
7fda5682
JM
14538 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14539 csqrt, ctan and ctanh.
14540 * math/auto-libm-test-out: Regenerated.
14541 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14542 (TEST_COND_x86): Likewise.
14543 (ccos_test_data): Use AUTO_TESTS_c_c.
14544 (ccosh_test_data): Likewise.
14545 (cexp_test_data): Likewise.
14546 (clog_test_data): Likewise.
14547 (csqrt_test_data): Likewise.
14548 (ctan_test_data): Likewise.
14549 (ctan_tonearest_test_data): Likewise.
14550 (ctan_towardzero_test_data): Likewise.
14551 (ctan_downward_test_data): Likewise.
14552 (ctan_upward_test_data): Likewise.
14553 (ctanh_test_data): Likewise.
14554 (ctanh_tonearest_test_data): Likewise.
14555 (ctanh_towardzero_test_data): Likewise.
14556 (ctanh_downward_test_data): Likewise.
14557 (ctanh_upward_test_data): Likewise.
14558 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14559 mpc_c_c.
14560 (func_calc_desc): Add mpc_c_c union field.
14561 (FUNC_mpc_c_c): New macro.
14562 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14563 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14564 ctanh.
14565 (special_fill_min_subnorm_p120): New function.
14566 (special_real_inputs): Add min_subnorm_p120.
14567 (calc_generic_results): Handle mpc_c_c.
14568 * sysdeps/i386/fpu/libm-test-ulps: Update.
14569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14570
5ff8d60e
SP
145712013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14572
57f41c40
AS
14573 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14574 (do_sin_slow): New functions.
14575 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14576 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14577
84ba214c
SP
14578 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14579 Use M to change sign of result instead of X. Assume X is
14580 positive.
14581 (csloww1): Likewise.
14582 (__sin): Adjust.
14583 (__cos): Adjust.
14584
975195e4
SP
14585 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14586 arguments A and DA.
14587 (__sin): Adjust.
14588 (__cos): Likewise.
14589
5ff8d60e
SP
14590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14591 (__cos): Likewise.
14592 (sloww1): Don't adjust sign of DX.
14593 (csloww1): Likewise.
14594 (sloww2): Use X directly and don't adjust sign of DX.
14595 (csloww2): Likewise.
14596
eb983568
JM
145972013-12-19 Joseph Myers <joseph@codesourcery.com>
14598
64a17f1a
JM
14599 * math/auto-libm-test-in: Add tests of cabs and carg.
14600 * math/auto-libm-test-out: Regenerated.
14601 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14602 (carg_test_data): Likewise.
14603 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14604 mpc_c_f.
14605 (func_calc_desc): Add mpc_c_f union field.
14606 (test_functions): Add cabs and carg.
14607 (calc_generic_results): Handle mpc_c_f.
14608
eb983568
JM
14609 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14610 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14611 as a macro and a compat symbol.
14612 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14613 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14614 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14615 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14616 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14618 not use .hidden.
14619 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14620 Likewise.
14621 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14622 Likewise.
14623 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14624 Likewise.
14625 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14626 Likewise.
14627 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14628 Likewise.
14629 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14630 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14631 from GLIBC_2.3.2.
14632
6eeb678a
AZ
146332013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14634
14635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14636
6f6fc482
JM
146372013-12-19 Joseph Myers <joseph@codesourcery.com>
14638
21fea2e2
JM
14639 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14640 trailing whitespace removed.
14641 * scripts/config.guess: Update to version 2013-11-29.
14642 * scripts/config.sub: Update to version 2013-10-01.
14643
6f6fc482
JM
14644 * math/auto-libm-test-in: Add tests of sincos.
14645 * math/auto-libm-test-out: Regenerated.
14646 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14647 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14648 mpfr_f_11.
14649 (func_calc_desc): Add mpfr_f_11 union field.
14650 (test_functions): Add sincos.
14651 (calc_generic_results): Handle mpfr_f_11.
14652 * sysdeps/i386/fpu/libm-test-ulps: Update.
14653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14654
83f5c32d
AS
146552013-12-19 Andreas Schwab <schwab@suse.de>
14656
14657 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14658 CALL_MCOUNT.
14659 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14660 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14661 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14662
c688b419
JM
146632013-12-19 Joseph Myers <joseph@codesourcery.com>
14664
335ee092
JM
14665 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14666 * sysdeps/i386/fpu/libm-test-ulps: Update.
14667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14668
f88acd39
JM
14669 [BZ #16293]
14670 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14671 round-to-nearest mode when using frndint.
14672 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14673 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14674 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14675 Likewise.
14676 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14677 sinh test to fail.
14678 * math/auto-libm-test-out: Regenerated.
14679 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14680 (TEST_COND_x86): Likewise.
14681 (expm1_tonearest_test_data): New array.
14682 (expm1_test_tonearest): New function.
14683 (expm1_towardzero_test_data): New array.
14684 (expm1_test_towardzero): New function.
14685 (expm1_downward_test_data): New array.
14686 (expm1_test_downward): New function.
14687 (expm1_upward_test_data): New array.
14688 (expm1_test_upward): New function.
14689 (main): Run the new test functions.
14690 * sysdeps/i386/fpu/libm-test-ulps: Update.
14691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14692
c688b419
JM
14693 * include/features.h: Update comment documenting feature test
14694 macros. Mention _DEFAULT_SOURCE in comment.
14695 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14696 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14697 _BSD_SOURCE and _SVID_SOURCE.
14698 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14699 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14700 !_SVID_SOURCE]: Likewise.
14701 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14702 (__USE_POSIX_IMPLICITLY): Define.
14703 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14704 (_POSIX_SOURCE): Undefine and redefine.
14705 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14706 (_POSIX_C_SOURCE): Likewise.
14707 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14708 (Feature Test Macros): Update documentation of default features.
14709
9f6e964c
RS
147102013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14711
14712 * benchtests/Makefile: Add bench-strtok.
14713 * benchtests/bench-strtok.c: New file: strtok benchtest.
14714
ee0a148a
AM
147152013-12-19 Allan McRae <allan@archlinux.org>
14716
14717 * manual/install.texi: Suppress menu for plain text output.
14718 * INSTALL: Regenerated.
14719
b9ab448f
BM
147202013-12-18 Brooks Moses <bmoses@google.com>
14721
14722 [BZ #15846]
14723 * misc/getauxval.c: Include errno.h.
14724 (__getauxval): Set errno to ENOENT if the requested type is not
14725 found.
14726 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14727 don't declare with __attribute_const__.
14728 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14729 * manual/startup.texi: Document that getauxval sets errno.
14730
23776487
JM
147312013-12-18 Joseph Myers <joseph@codesourcery.com>
14732
f889953b
JM
14733 * math/auto-libm-test-in: Add tests of jn and yn.
14734 * math/auto-libm-test-out: Regenerated.
14735 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14736 (yn_test_data): Likewise.
14737 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14738 mpfr_if_f.
14739 (func_calc_desc): Add mpfr_if_f union field.
14740 (FUNC_mpfr_if_f): New macro.
14741 (test_functions): Add jn and yn.
14742 (calc_generic_results): Assert type of second input for
14743 mpfr_ff_f. Handle mpfr_if_f.
14744 (output_for_one_input_case): Disable all checking for arguments
14745 fitting floating-point types in case of an integer argument.
14746 * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14748
23776487
JM
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14750 Don't expect fegetround reference in libm.so.
14751
cb756c6d
MS
147522013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14753
14754 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14755 $(config-cflags-nofma).
14756
2dec468f
JM
147572013-12-18 Joseph Myers <joseph@codesourcery.com>
14758
5953eb3a
JM
14759 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14760 * math/auto-libm-test-out: Regenerated.
14761
2dec468f
JM
14762 [BZ #16338]
14763 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14764 to determine exponent and adjust argument to have exponent of -1.
14765 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14766 log2.
14767 * math/auto-libm-test-out: Regenerated.
14768 * sysdeps/i386/fpu/libm-test-ulps: Update.
14769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14770
4d84e6ad
OB
147712013-12-18 Ondřej Bílka <neleai@seznam.cz>
14772
14773 * manual/probes.texi: Remove cases when per-thread arenas are
14774 disabled.
14775
1818483b
AS
147762013-12-18 Andreas Schwab <schwab@suse.de>
14777
14778 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14779 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14780 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14781 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14782 * sysdeps/i386/i686/multiarch/Makefile: Update.
14783 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14784
25de95bf
JM
147852013-12-17 Joseph Myers <joseph@codesourcery.com>
14786
14787 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14788 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14789
674762d9
PE
147902013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14791
ed27ed83 14792 [BZ #15968]
0748546f
PE
14793 Support TZ transition times < 00:00:00.
14794 This is needed for version-3 tz-format files; it supports time
14795 stamps past 2037 for America/Godthab (the only entry in the tz
14796 database for which this change is relevant).
14797 * manual/time.texi (TZ Variable): Document transition times
14798 from -167:59:59 through -00:00:01.
14799 * time/tzset.c (tz_rule): Time of day is now signed.
14800 (__tzset_parse_tz): Parse negative time of day.
14801
4480e934
PE
14802 Document TZ transition times >= 25:00:00.
14803 * manual/time.texi (TZ Variable): Document transition times from
14804 25:00:00 through 167:59:59. These are already supported, and this
14805 support will help with version-3 tz-format files.
14806
69947401
PE
14807 * manual/time.texi (TZ Variable): Modernize North America example
14808 to reflect current (i.e., 2007-and-later) daylight saving rules.
14809
674762d9
PE
14810 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14811
7011c262
JM
148122013-12-17 Joseph Myers <joseph@codesourcery.com>
14813
2fc6557e
JM
14814 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14815 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14816 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14818 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14819 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14820 * sysdeps/unix/bsd/clock.c: Likewise.
14821 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14822 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14823 * sysdeps/unix/bsd/init-posix.c: Likewise.
14824 * sysdeps/unix/bsd/poll.c: Likewise.
14825 * sysdeps/unix/bsd/ptsname.c: Likewise.
14826 * sysdeps/unix/bsd/seekdir.c: Likewise.
14827 * sysdeps/unix/bsd/setegid.c: Likewise.
14828 * sysdeps/unix/bsd/seteuid.c: Likewise.
14829 * sysdeps/unix/bsd/setgid.c: Likewise.
14830 * sysdeps/unix/bsd/setrgid.c: Likewise.
14831 * sysdeps/unix/bsd/setruid.c: Likewise.
14832 * sysdeps/unix/bsd/setsid.c: Likewise.
14833 * sysdeps/unix/bsd/setuid.c: Likewise.
14834 * sysdeps/unix/bsd/sigaction.c: Likewise.
14835 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14836 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14837 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14838 * sysdeps/unix/bsd/telldir.c: Likewise.
14839 * sysdeps/unix/bsd/times.c: Likewise.
14840 * sysdeps/unix/bsd/usleep.c: Likewise.
14841
029c7b25
JM
14842 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14843 ($(objpfx)libbsd-compat.a): Remove rule.
14844
7011c262
JM
14845 * include/features.h (__FAVOR_BSD): Do not define.
14846 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14847 features conflicting with POSIX.
14848 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14849 (_BSD_SOURCE): Remove description of not being a subset of other
14850 feature test macros.
14851 * manual/job.texi (getpgrp): Do not document BSD version.
14852 (getpgid): Do not document by reference to BSD getpgrp.
14853 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14854 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14855 * signal/signal.h [__FAVOR_BSD]: Likewise.
14856 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14857 instead of making contents conditional on [__FAVOR_BSD].
14858 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14859
affb6f78
AZ
148602013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14861
14862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14863
c88769dd
JM
148642013-12-17 Joseph Myers <joseph@codesourcery.com>
14865
6432a540
JM
14866 [BZ #16314]
14867 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14868 values below 2**-450, not 2**-500.
14869 * math/auto-libm-test-in: Don't allow spurious underflow from
14870 hypot.
14871 * math/auto-libm-test-out: Regenerated.
14872
c88769dd
JM
14873 [BZ #16316]
14874 [BZ #16330]
14875 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14876 values of ha and hb and sort them after adjusting subnormal
14877 arguments.
14878 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14879 Likewise.
14880 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14881 values of ea and eb and sort them after adjusting subnormal
14882 arguments.
14883 * math/auto-libm-test-in: Do not expect some hypot tests of
14884 subnormals to fail. Add more hypot tests.
14885 * math/auto-libm-test-out: Regenerated.
14886
29618f6b
KK
148872013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14888
14889 [BZ #13304]
14890 * sysdeps/sh/s_fma.c: New file.
14891 * sysdeps/sh/s_fmaf.c: New file.
14892 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14893 version.
14894 * sysdeps/sh/Implies: Add sh/soft-fp.
14895
eacfdfbf
RM
148962013-12-16 Roland McGrath <roland@hack.frob.com>
14897
14898 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14899 level of indirection to members `objname', `errstring', `malloced'.
14900 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14901 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14902 it as the __longjmp argument (just pass 1 instead).
14903 (_dl_catch_error): Initialize C with argument pointers and address of
14904 volatile local ERRCODE rather than copying values out of C at return.
14905
ff362e5b
JM
149062013-12-16 Joseph Myers <joseph@codesourcery.com>
14907
14908 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14909 * math/auto-libm-test-out: Regenerated.
14910 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14911 (hypot_test_data): Likewise.
14912 (pow_test_data): Likewise.
14913 (pow_tonearest_test_data): Likewise.
14914 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14915 mpfr_ff_f.
14916 (func_calc_desc): Add mpfr_ff_f union field.
14917 (FUNC_mpfr_ff_f): New macro.
14918 (test_functions): Add atan2, hypot and pow.
14919 (special_fill_min): New function.
14920 (special_fill_minus_min): Likewise.
14921 (special_fill_min_subnorm): Likewise.
14922 (special_fill_minus_min_subnorm): Likewise.
14923 (special_real_inputs): Add min, -min, min_subnorm and
14924 -min_subnorm.
14925 (calc_generic_results): Handle mpfr_ff_f.
14926 * sysdeps/i386/fpu/libm-test-ulps: Update.
14927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928
5764c27f
WN
149292013-12-16 Will Newton <will.newton@linaro.org>
14930
14931 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14932 (Aligned Memory Blocks): Add documentation for aligned_alloc
14933 and suggest it as an alternative to posix_memalign.
14934 (Hooks for Malloc): Document __memalign_hook is also called
14935 for aligned_alloc. (Summary of Malloc): Add summary for
14936 aligned alloc. Document __memalign_hook is also called
14937 for aligned_alloc.
14938
0a096e44
WN
149392013-12-16 Will Newton <will.newton@linaro.org>
14940
14941 * manual/memory.texi (Malloc Examples): Clarify default
14942 alignment documentation. Suggest posix_memalign rather
14943 than memalign or valloc.
14944 (Aligned Memory Blocks): Remove suggestion to use memalign
14945 or valloc. Remove obsolete comment about BSD.
14946 Document memalign errno values and mark the function obsolete.
14947 Document posix_memalign returned error codes. Mark valloc
14948 as obsolete. (Hooks for Malloc): __memalign_hook is also
14949 called for posix_memalign and valloc.
14950 (Summary of Malloc): Add posix_memalign to function summary.
14951 __memalign_hook is also called for posix_memalign and valloc.
14952
8d561986
SP
149532013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14954
14955 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14956 TAYLOR_SIN.
14957 (__sin): Adjust.
14958 (__cos): Likewise.
14959 (sloww): Use mynumber union. Expand ternary operator into
14960 if-else statements.
14961 (cslow): use mynumber union.
14962
73616a74
AM
149632013-12-16 Allan McRae <allan@archlinux.org>
14964
9e8ac24b
AM
14965 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14966 * configure: Regenerated.
14967
6f8e37eb
AM
14968 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14969
8894bad3
AM
14970 [BZ #14120]
14971 * configure.ac: Added --enable-maintainer-mode. Check for
14972 autoconf when enabled.
14973 * configure: Regenerated.
14974
73616a74
AM
14975 * nscd/nscd.service: New file.
14976 * nscd/nscd.tmpfiles: New file.
14977
584b18eb
OB
149782013-12-14 Ondřej Bílka <neleai@seznam.cz>
14979
14980 [BZ #12100]
14981 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14982 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14983 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14984 (strstr): Add __strstr_sse2_unaligned ifunc.
14985 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14986 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14987 (strcasestr): Remove __strcasestr_sse42 ifunc.
14988 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14991
8a5c7897
KK
149922013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14993
14994 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14995 * sysdeps/sh/bits/fenv.h: ... here.
14996 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14997
fd712ef3
AZ
149982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14999
15000 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15001
42fcb46c
AZ
15002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15003 hypotf multiarch implementations.
15004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15006 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15007 multiarch hypot for PPC64.
15008 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15009 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15010 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15011 multiarch hypotf for PPC64.
15012
83efded4
AZ
15013 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15014 modff multiarch implementations.
15015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15018 multiarch modf for PPC64.
15019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15022 multiarch modff for PPC64.
15023
43e246d2
AZ
15024 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15025 and logl multiarch implementations.
15026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15029 multiarch logb for PPC64.
15030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15033 multiarch logb for PPC64.
15034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15037 multiarch logb for PPC64.
15038
8fdad123
AZ
15039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15040 isinff multiarch implementation.
15041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15042 file.
15043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15045 multiarch isinf for PPC64.
15046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15047 file.
15048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15049 multiarch isinff for PPC64.
15050
1481d706
AZ
15051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15052 finitef multiarch implementation.
15053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15054 file.
15055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15057 multiarch finite for PPC64.
15058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15059 file.
15060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15061 multiarch finitef for PPC64.
15062
5ccd5fc8
AZ
15063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15064 lrint multiarch implementation.
15065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15066 file.
15067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15069 multiarch llrint for PPC64.
15070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15071 multiarch lrint for PPC64.
15072
2568f3fa
AZ
15073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15074 copysignf multiarch implementation.
15075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15076 file.
15077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15078 file.
15079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15080 multiarch copysign for PPC64.
15081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15082 multiarch copysignf for PPC64.
15083
1cb341fd
AZ
15084 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15085 multiarch implementation.
15086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15087 file.
15088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15089 file.
15090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15091 file.
15092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15093 file.
15094 multiarch llround for PPC64.
15095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15096 multiarch trunc for PPC64.
15097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15098 multiarch truncf for PPC64.
15099
59a3e194
AZ
15100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15101 multiarch implementation.
15102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15103 file.
15104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15105 file.
15106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15107 file.
15108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15109 file.
15110 multiarch llround for PPC64.
15111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15112 multiarch round for PPC64.
15113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15114 multiarch roundf for PPC64.
15115
357fd3b4
AZ
15116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15117 multiarch implementation.
15118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15119 file.
15120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15121 file.
15122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15123 file.
15124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15125 file.
15126 multiarch llround for PPC64.
15127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15128 multiarch floor for PPC64.
15129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15130 multiarch floorf for PPC64.
15131
96770f12
AZ
15132 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15133 multiarch implementation.
15134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15135 file.
15136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15137 file.
15138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15139 file.
15140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15141 file.
15142 multiarch llround for PPC64.
15143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15144 multiarch ceil for PPC64.
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15146 multiarch ceilf for PPC64.
15147
c3627f6e
AZ
15148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15149 multiarch implementation.
15150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15151 file.
15152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15153 file.
15154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15155 file.
15156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15157 multiarch llround for PPC64.
15158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15159 multiarch lround for PPC64.
15160
b2284ad7
AZ
15161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15162 multiarch implementation.
15163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15166 file.
15167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15170 multiarch isnan for PPC64.
15171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15172 multiarch isnanf for PPC64.
15173
69bbc63d
AZ
15174 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15175 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15176 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15177 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15178 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15180
c24517c9
AZ
15181 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15182 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15183 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15184 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15185
a52374e8
AZ
15186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15187 multiarch implementations.
15188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15189 (__libc_ifunc_impl_list): Likewise.
15190 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15191 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15192 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15193 multiarch stpcpy for PPC64.
15194
7f5ec113
AZ
15195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15196 multiarch implementations.
15197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15198 (__libc_ifunc_impl_list): Likewise.
15199 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15200 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15201 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15202 multiarch strcpy for PPC64.
15203
e28bcd42
AZ
15204 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15205 redefine function name.
15206 (_wordcopy_fwd_dest_aligned): Likewise.
15207 (_wordcopy_bwd_aligned): Likewise.
15208 (_wordcopy_bwd_dest_aligned): Likewise.
15209 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15210 multiarch implementations.
15211 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15212 (__libc_ifunc_impl_list): Likewise.
15213 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15214 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15215 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15216 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15217 multiarch wcscpy for PPC64.
15218
92cacfce
AZ
15219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15220 multiarch implementations.
15221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15222 (__libc_ifunc_impl_list): Likewise.
15223 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15226 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15227 multiarch wcscpy for PPC64.
15228
7b714620
AZ
15229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15230 multiarch implementations.
15231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15232 (__libc_ifunc_impl_list): Likewise.
15233 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15234 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15235 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15236 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15237 multiarch wcsrchr for PPC64.
15238
16fd2ae3
AZ
15239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15240 multiarch implementations.
15241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15242 (__libc_ifunc_impl_list): Likewise.
15243 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15244 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15245 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15246 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15247 multiarch wcschr for PPC64.
15248
9ee2969b
AZ
15249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15250 multiarch implementations.
15251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15252 (__libc_ifunc_impl_list): Likewise.
15253 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15254 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15255 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15256 multiarch strchrnul for PPC64.
15257
372dc060
AZ
15258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15259 implementations.
15260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15261 (__libc_ifunc_impl_list): Likewise.
15262 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15263 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15264 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15265 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15266 strchr for PPC64.
15267
24c2c3b9
AZ
15268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15269 implementations.
15270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15271 (__libc_ifunc_impl_list): Likewise.
15272 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15273 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15274 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15275 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15276 strncmp for PPC64.
15277
1c92d9a0
AZ
15278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15279 multiarch implementations.
15280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15281 (__libc_ifunc_impl_list): Likewise.
15282 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15283 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15284 strncasecmp for PPC64.
15285 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15286 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15287 multiarch strncasecmp_l for PPC64.
15288
17de3ee3
AZ
15289 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15290 multiarch implementations.
15291 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15292 (__libc_ifunc_impl_list): Likewise.
15293 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15294 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15295 multiarch strcasecmp for PPC64.
15296 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15297 file.
15298 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15299 multiarch strcasecmp_l for PPC64.
15300
62982bf9
AZ
15301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15302 implementations.
15303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15304 (__libc_ifunc_impl_list): Likewise.
15305 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15306 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15307 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15308 strnlen for PPC64.
15309
a65f4904
AZ
15310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15311 implementations.
15312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15313 (__libc_ifunc_impl_list): Likewise.
15314 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15315 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15316 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15317 strlen for PPC64.
15318
1fd005ad
AZ
15319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15320 implementations.
15321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15322 (__libc_ifunc_impl_list): Likewise.
15323 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15324 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15325 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15326 rawmemrchr for PPC64.
15327
cd05ba91
AZ
15328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15329 implementation.
15330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15331 (__libc_ifunc_impl_list): Likewise.
15332 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15333 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15334 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15335 memrchr for PPC64.
15336
870f8676
AZ
15337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15338 implementation.
15339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15340 (__libc_ifunc_impl_list): Likewise.
15341 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15342 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15343 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15344 memchr for PPC64.
15345
f00be62b
AZ
15346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15347 implementation.
15348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15349 (__libc_ifunc_impl_list): Likewise.
15350 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15351 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15352 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15353 mempcpy for PPC64.
15354
8a29a3d0
AZ
15355 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15356 avoid cretion of __bzero symbol.
15357 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15358 Likewise.
15359 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15360 Likewise.
15361 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15362 Likewise.
15363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15364 multiarch implementations.
15365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15366 (__libc_ifunc_impl_list): Likewise.
15367 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15368 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15369 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15370 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15371 bzero for PPC32.
15372 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15373 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15374 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15375 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15376 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15377 memset for PPC64.
15378 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15379
07253fcf
AZ
15380 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15381 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15382 implementations.
15383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15384 (__libc_ifunc_impl_list): Likewise.
15385 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15386 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15387 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15388 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15389 memcmp for PPC64.
15390
b5beafbc
AZ
15391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15392 multiarch for POWER/PPC64.
15393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15394 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15395 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15396 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15397 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15398 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15399 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15400 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15401 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15402 memcpy for PPC64.
15403
5e6a4d4b
AZ
15404 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15405 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15406 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15407 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15408 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15409 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15411 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15412 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15413 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15414 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15415 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15416 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15417 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15418 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15426
ddfab6dc
KK
154272013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15428
15429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15430
19b5525e
SP
154312013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15432
15433 * benchtests/Makefile (bench): Add exp2 and log2.
15434 (LDLIBS-bench-exp2): Add -lm.
15435 (LDLIBS-bench-log2): Likewise.
15436 * benchtests/exp2-inputs: New inputs file.
15437 * benchtests/log2-inputs: New inputs file.
15438 * benchtests/log-inputs: Add new inputs.
15439 * benchtests/tan-inputs: Likewise.
15440
196f7f5d
SP
154412013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15442
7a74607f
SP
15443 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15444 definition...
57f41c40
AS
15445 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15446 (csloww2): ... from here.
7a74607f 15447
196f7f5d
SP
15448 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15449 instead of structures.
15450 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15451 (POLYNOMIAL): Likewise.
15452 (TAYLOR_SLOW): Likewise.
15453 (__sin): Likewise.
15454 (__cos): Likewise.
15455 (slow1): Likewise.
15456 (slow2): Likewise.
15457 (sloww): Likewise.
15458 (sloww1); Likewise.
15459 (sloww2): Likewise.
15460 (bsloww1): Likewise.
15461 (bsloww2): Likewise.
15462 (cslow2): Likewise.
15463 (csloww): Likewise.
15464 (csloww1): Likewise.
15465 (csloww2): Likewise.
15466
0dfa665c
OB
154672013-12-10 Ondřej Bílka <neleai@seznam.cz>
15468
15469 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15470 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15471 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15472 * malloc/hooks.c (realloc_check): Likewise.
15473
5782a80f
OB
15474 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15475 * malloc/arena.c: Remove PER_THREAD conditional.
15476 [!PER_THREAD]: Remove code.
15477 (ptmalloc_unlock_all2): Likewise.
15478 (ptmalloc_init): Likewise.
15479 (_int_new_arena): Likewise.
15480 (arena_get2): Likewise.
15481 * malloc/hooks.c (__malloc_get_state): Likewise.
15482 (__malloc_set_state): Likewise.
15483 * malloc/malloc.c: Likewise.
15484 (struct malloc_state): Likewise.
15485 (struct malloc_par): Likewise.
15486 (__libc_realloc): Likewise.
15487 (__libc_mallopt): Likewise.
15488
aeb95445
AZ
154892013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15490
15491 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15492
e8349efd
OB
154932013-12-09 Ondřej Bílka <neleai@seznam.cz>
15494
15495 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15496 macro to a function. Check for zero perturb_byte.
15497 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15498
f3eeb3fc 15499 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15500 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15501 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15502 force_reg by atomic_forced_read.
15503 * malloc/arena.c (ptmalloc_init): Likewise.
15504 * malloc/hooks.c (top_check): Likewise.
15505
be2f9009
AZ
155062013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15507
15508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15509
e7b914bd
MT
155102013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15511
15512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15513
9f0be4f8
JM
155142013-12-08 Joseph Myers <joseph@codesourcery.com>
15515
15516 * math/auto-libm-test-in: Add tests of lgamma.
15517 * math/auto-libm-test-out: Regenerated.
15518 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15519 (M_LOG_2_SQRT_PIl): Likewise.
15520 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15521 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15522 mpfr_f_f1.
15523 (func_calc_desc): Add mpfr_f_f1 union field.
15524 (ARGS1): New macro.
15525 (ARGS2): Likewise.
15526 (ARGS3): Likewise.
15527 (ARGS4): Likewise.
15528 (RET1): Likewise.
15529 (RET2): Likewise.
15530 (CALC): Likewise.
15531 (FUNC): Likewise.
15532 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15533 (test_functions): Add lgamma.
15534 (calc_generic_results): Handle mpfr_f_f1.
15535 * sysdeps/i386/fpu/libm-test-ulps: Update.
15536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15537
24eeafdb
AZ
155382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15539
15540 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15541 __mpn_add_n for PowerPC64/POWER7.
15542 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15543 __mpn_sub_n for PowerPC64/POWER7.
15544
4a2c0fd4
AZ
15545 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15546 __mpn_addmul_1 for PowerPC64.
15547 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15548 __mpn_submul_1 for PowerPC64.
15549 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15550 for PowerPC64.
15551 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15552 for PowerPC64.
15553
4b5b548c
FS
155542013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15555
15556 [BZ #15089]
15557 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15558
0a3ac0aa
AZ
155592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15560
15561 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15562
ccdc8438
AZ
15563 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15564 add multiarch folders.
15565 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15566 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15567 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15568 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15569 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15570 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15571 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15572 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15573 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15574 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15575 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15582
2e973d99
AZ
15583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15584 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15586 New file.
15587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15588 New file.
15589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15590 multiarch __ieee754_hypot for PowerPC32.
15591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15592 New file.
15593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15594 New file.
15595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15596 multiarch __ieee754_hypotf for PowerPC32.
15597
2d9470b2
AZ
15598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15599 long_double_symbol only if __logbl is defined.
15600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15601 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15602 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15603 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15605 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15607 path for implementation.
15608 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15609 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15611 logb, and logbl multiarch implementations for PowerPC32.
15612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15613 file.
15614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15615 file.
15616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15617 multiarch logb for PowerPC32.
15618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15619 file.
15620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15621 file.
15622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15623 multiarch logbf for PowerPC32.
15624 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15626 file.
15627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15628 multiarch logbl implementation for PowerPC32.
15629
5212ffce
AZ
15630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15631 and modff multiarch implementations.
15632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15633 New file.
15634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15635 New file.
15636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15637 multiarch modf for PowerPC32.
15638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15639 New file.
15640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15641 New file.
15642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15643 multiarch modff for PowerPC32.
15644
79dccf31
AZ
15645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15646 and lrintf multiarch implementations.
15647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15648 New file.
15649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15650 New file.
15651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15652 multiarch lrint for PowerPC32.
15653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15654 file: multiarch lrintf for PowerPC32.
15655
deb66480
AZ
15656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15657 and lroundf multiarch implementations.
15658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15659 New file.
15660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15661 New file.
15662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15663 New file.
15664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15665 multiarch lround for PowerPC32.
15666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15667 file: multiarch lroundf for PowerPC32.
15668
264b036b
AZ
15669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15670 copysign and copysignf multiarch implementations.
15671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15672 New file.
15673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15674 New file.
15675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15676 file: multiarch copysign for PowerPC32.
15677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15678 file: multiarch copysignf for PowerPC32.
15679
d47db6c9
AZ
15680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15681 and truncf multiarch implementations.
15682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15683 New file.
15684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15685 file.
15686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15687 multiarch trunc for PowerPC32.
15688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15689 New file.
15690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15691 New file.
15692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15693 multiarch truncf for PowerPC32.
15694
ddb60b5a
AZ
15695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15696 and roundf multiarch implementations.
15697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15698 New file.
15699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15700 file.
15701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15702 multiarch round for PowerPC32.
15703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15704 New file.
15705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15706 New file.
15707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15708 multiarch roundf for PowerPC32.
15709
bedcf49b
AZ
15710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15711 and floorf multiarch implementations.
15712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15713 New file.
15714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15715 file.
15716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15717 multiarch floor for PowerPC32.
15718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15719 New file.
15720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15721 New file.
15722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15723 multiarch floorf for PowerPC32.
15724
35ae5b40
AZ
15725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15726 and ceilf multiarch implementations.
15727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15728 New file.
15729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15730 file.
15731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15732 multiarch ceil for PowerPC32.
15733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15734 New file.
15735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15736 file.
15737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15738 multiarch ceilf for PowerPC32.
15739
ae1a4cd9
AZ
15740 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15741 is defined.
15742 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15743 FINITEF is defined.
15744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15745 and finitef multiarch implementations.
15746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15747 New file.
15748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15749 file.
15750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15751 multiarch finite for PowerPC32.
15752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15753 New file.
15754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15755 file: multiarch finitef for PowerPC32.
15756
64fffd65
AZ
15757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15758 and isinff multiarch implementations.
15759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15760 file.
15761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15762 file.
15763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15764 multiarch isinf for PowerPC32.
15765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15766 New file.
15767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15768 multiarch isinff for PowerPC32.
15769
8e4e7ba2
AZ
15770 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15771 alias when __isnan is defined.
15772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15773 and isnanf multiarch implementations.
15774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15775 file.
15776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15777 file.
15778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15779 file.
15780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15781 file.
15782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15783 multiarch isnan for PowerPC32.
15784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15785 New file.
15786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15787 New file.
15788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15789 multiarch isnanf for PowerPC32.
15790
ddba588e
AZ
15791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15792 and sqrtf multiarch implementations.
15793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15794 file.
15795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15796 file.
15797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15798 multiarch sqrt for PowerPC32.
15799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15800 file.
15801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15802 file.
15803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15804 multiarch sqrtf for PowerPC32.
15805
0f96a2f0
AZ
15806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15807 and llroundf multiarch implementations.
15808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15809 New file.
15810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15811 New file.
15812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15813 New file.
15814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15815 file: multiarch llround for PowerPC32.
15816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15817 file: multiarch llroundf for PowerPC32.
15818
c9b5d79e
AZ
15819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15820 multiarch PowerPC32 fpu implementations.
15821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15822 New file.
15823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15824 New file.
15825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15826 multiarch llrint for PowerPC32.
15827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15828 New file.
15829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15830 New file.
15831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15832 file.
15833
9cbb3aab
AZ
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15835
ea5a72f8
AZ
15836 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15837 file.
15838 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15839 file.
15840 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15841 file.
15842 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15843 multiarch wordcopy for PPC32.
15844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15845 wordcopy objects.
15846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15847 (__libc_ifunc_impl_list): Likewise.
15848 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15849 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15850 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15851 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15852 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15853 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15854
93be09e7
AZ
15855 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15857 file.
15858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15859 file.
15860 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15861 file.
15862 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15863 multiarch wcscpy for PPC32.
15864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15865 multiarch objects.
15866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15867 (__libc_ifunc_impl_list): Likewise.
15868 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15869 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15870 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15871 sysdeps/powerpc/power6/wcscpy.c.
15872
bb04e529
AZ
15873 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15874 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15875 file.
15876 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15877 file.
15878 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15879 file.
15880 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15881 multiarch wcsrchr for PPC32.
15882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15883 multiarch objects.
15884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15885 (__libc_ifunc_impl_list): Likewise.
15886 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15887 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15888 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15889 sysdeps/powerpc/power6/wcsrchr.c.
15890
05b5cd1c
AZ
15891 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15892 file.
15893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15894 file.
15895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15896 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15897 multiarch wcschr for PPc32.
15898 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15899 multiarch objects.
15900 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15901 (__libc_ifunc_impl_list): Likewise.
15902 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15903 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15904 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15905 sysdeps/powerpc/power6/wcschr.c.
15906
ba964147
AZ
15907 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15908 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15909 file.
15910 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15911 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15912 file: multiarch strchr for PPC32.
15913 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15914 multiarch objects.
15915 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15916 (__libc_ifunc_impl_list): Likewise.
15917
31c81aaa
AZ
15918 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15919 name.
15920 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15921 file.
15922 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15923 file.
15924 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15925 multiarch strchrnul for PPC32.
15926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15927 multiarch objects.
15928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15929 (__libc_ifunc_impl_list): Likewise.
15930
0d0607d9
AZ
15931 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15932 file.
15933 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15934 multiarch strncasecmp for PPC32.
15935 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15936 file.
15937 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15938 multiarch strncasecmp_l for PPC32.
15939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15940 strncasecmp multiarch objects.
15941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15942 (__libc_ifunc_impl_list): Likewise.
15943
4dfd5c86
AZ
15944 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15945 file.
15946 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15947 multiarch strncasecmp for PPC32.
15948 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15949 New file.
15950 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15951 multiarch strcasecmp_l for PPC32.
15952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15953 multiarch objects.
15954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15955 (__libc_ifunc_impl_list): Likewise.
15956
a19e01a3
AZ
15957 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15958 file.
15959 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15960 file.
15961 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15962 multiarch strncmp for PPC32.
15963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15964 multiarch objects.
15965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15966 (__libc_ifunc_impl_list): Likewise.
15967
ae9cf7a2
AZ
15968 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15969 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15970 file.
15971 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15972 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15974 multiarch objects.
15975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15976 (__libc_ifunc_impl_list): Likewise.
15977
3148bb7d
AZ
15978 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15979 file.
15980 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15981 file.
15982 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15984 multiarch objects.
15985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15986 (__libc_ifunc_impl_list): Likewise.
15987
7af8b946
AZ
15988 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15989 file.
15990 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15991 file.
15992 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15993 multiarch rawmemchr for PPC32.
15994 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15995 multiarch objects.
15996 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15997 (__libc_ifunc_impl_list): Likewise.
15998
03a6aa6a
AZ
15999 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16000 file.
16001 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16002 file.
16003 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16004 file: memrchr multiarch for PPC32.
16005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16006 multiarch objects.
16007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16008 (__libc_ifunc_impl_list): Likewise.
16009
1c62e6d9
AZ
16010 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16011 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16012 file.
16013 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16014 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16015 multiarch memchr for PPC32.
16016 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16017 multiarch objects.
16018 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16019 (__libc_ifunc_impl_list): Likewise.
16020
87da8bdb
AZ
16021 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16022 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16023 file.
16024 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16025 file.
16026 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16027 file: multiarch mempcpy for PPC32.
16028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16029 multiarch objects.
16030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16031 (__libc_ifunc_impl_list): Likewise.
16032
20ed4714
AZ
16033 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16034 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16035 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16036 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16037 multiarch bzero for PPC32.
16038 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16039 file.
16040 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16041 file.
16042 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16043 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16044 file: multiarch memset for PPC32.
16045 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16046 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16047 memset multiarch objects.
16048 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16049 (__libc_ifunc_impl_list): Likewise.
16050
ab3e3a46
AZ
16051 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16052 file.
16053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16055 memcmp for PPC32.
16056 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16057 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16058 multiarch objects.
16059 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16060 (__libc_ifunc_impl_list): Likewise.
16061
930de6f0
AZ
16062 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16065 file.
16066 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16067 file.
16068 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16069 file.
16070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16071 multiarch memcpy for PPC32.
16072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16073 multiarch objects.
16074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16075 (__libc_ifunc_impl_list): Likewise.
16076
4c628e00
AZ
16077 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16078 support multiarch for POWER/PPC32.
16079 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16080 Likewise.
16081 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16083 Implies file to make multiarch folder appers before the fpu and
16084 default folder for power4 configuration.
16085
f4479220
SP
160862013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16087
16088 * scripts/bench.pl: Append volatile keyword to type.
16089
8517800f
KK
160902013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16091
16092 * sysdeps/sh/sotruss-lib.c: New file.
16093 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16094
180138f1
AZ
160952013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16096
16097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16098
bbf37bdc
JM
160992013-12-05 Joseph Myers <joseph@codesourcery.com>
16100
e47cc4e0
JM
16101 [BZ #6810]
16102 * math/w_tgamma.c: Include <errno.h>.
16103 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16104 * math/w_tgammaf.c: Include <errno.h>.
16105 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16106 * math/w_tgammal.c: Include <errno.h>.
16107 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16108 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16109 underflow. Add more tgamma tests.
16110 * math/auto-libm-test-out: Regenerated.
16111 * sysdeps/i386/fpu/libm-test-ulps: Update.
16112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16113
bbf37bdc
JM
16114 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16115 sin, sinh, tan, tanh, tgamma, y0 and y1.
16116 * math/auto-libm-test-out: Regenerated.
16117 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16118 (TEST_COND_x86): Likewise.
16119 (M_E2l): Remove macro.
16120 (M_E3l): Likewise.
16121 (M_2_SQRT_PIl): Likewise.
16122 (M_SQRT_PIl): Likewise.
16123 (M_1_DIV_El): Likewise.
16124 (log_test_data): Use AUTO_TESTS_f_f.
16125 (log10_test_data): Likewise.
16126 (log1p_test_data): Likewise.
16127 (log2_test_data): Likewise.
16128 (sin_test_data): Likewise.
16129 (sin_tonearest_test_data): Likewise.
16130 (sin_towardzero_test_data): Likewise.
16131 (sin_downward_test_data): Likewise.
16132 (sin_upward_test_data): Likewise.
16133 (sinh_test_data): Likewise.
16134 (sinh_tonearest_test_data): Likewise.
16135 (sinh_towardzero_test_data): Likewise.
16136 (sinh_downward_test_data): Likewise.
16137 (sinh_upward_test_data): Likewise.
16138 (tan_test_data): Likewise.
16139 (tan_tonearest_test_data): Likewise.
16140 (tan_towardzero_test_data): Likewise.
16141 (tan_downward_test_data): Likewise.
16142 (tan_upward_test_data): Likewise.
16143 (tanh_test_data): Likewise.
16144 (tgamma_test_data): Likewise.
16145 (y0_test_data): Likewise.
16146 (y1_test_data): Likewise.
16147 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16148 (special_real_inputs): Add pi/4.
16149 * sysdeps/i386/fpu/libm-test-ulps: Update.
16150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16151
eb5ad6b9
AZ
161522013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16153
16154 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16155 "longjmp_target" static probes.
16156 (__longjmp): Rename to __longjmp_symbol.
16157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16158 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16159 on which longjmp to generate.
16160 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16161 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16162 probe.
16163 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16164 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16165 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16166 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16167 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16168 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16170 __longjmp_symbol based on which __longjmp to generate.
16171 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16172 probe.
16173 (setjmp): Rename to setjmp_symbol.
16174 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16175 (_setjmp): Rename to _setjmp_symbol.
16176 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16177 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16178 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16179 which setjmp to generate.
16180 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16181 "longjmp_target" static probes.
16182
d136c6dc
SP
161832013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16184
9298ecba
SP
16185 * benchtests/README: Add note about output arguments.
16186 * benchtests/bench-sincos.c: Remove file.
16187 * benchtests/sincos-inputs: New file.
16188 * scripts/bench.pl: Identify output arguments and define
16189 static variables for them.
16190
232983e9
SP
16191 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16192
d136c6dc
SP
16193 [BZ #15941]
16194 * Makefile (INSTALL): Add install-plain.texi as the primary
16195 dependency.
16196 * manual/install-plain.texi: New file.
16197 * manual/install.texi: Include node directive only for
16198 non-plaintext output.
16199
699ff837
JM
162002013-12-04 Joseph Myers <joseph@codesourcery.com>
16201
ab07cea8
JM
16202 * stdlib/longlong.h: Update from GCC.
16203
699ff837
JM
16204 [BZ #6807]
16205 [BZ #15901]
16206 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16207 * math/w_j0f.c (y0f): Likewise.
16208 * math/w_j0l.c (__y0l): Likewise.
16209 * math/w_j1.c (y1): Likewise.
16210 * math/w_j1f.c (y1f): Likewise.
16211 * math/w_j1l.c (__y1l): Likewise
16212 * math/w_jn.c (yn): Likewise.
16213 * math/w_jnf.c (ynf): Likewise.
16214 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16215 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16216 value for Bessel function domain errors outside _SVID_ mode.
16217 Adjust sign of return value for yn (negative integer, 0).
16218 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16219 by zero in return for negative x and set sign appropriately for
16220 negative n.
16221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16222 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16223 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16224 expectations in error cases.
16225 (y1_test_data): Likewise.
16226 (yn_test_data): Likewise.
16227 * sysdeps/i386/fpu/libm-test-ulps: Update.
16228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16229
5b118558
UW
162302013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16231
16232 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16233 "64" to "64-v1". Add "64-v2".
16234 (abi-64-options): Rename to ...
16235 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16236 (abi-64-condition): Rename to ...
16237 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16238 (abi-64-ld-soname): Rename to ...
16239 (abi-64-v1-ld-soname): ... this.
16240 (abi-64-v2-options): Define.
16241 (abi-64-v2-condition): Likewise.
16242 (abi-64-v2-ld-soname): Likewise.
16243 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16244 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16248
61cd8fe4
UW
162492013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16250 Alan Modra <amodra@gmail.com>
16251
16252 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16253 New versions for use with the ELFv2 ABI.
16254 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16255 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16256 declaration.
16257 (struct La_ppc64v2_retval): Likewise.
16258 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16259 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16260 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16261 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16262 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16263 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16264 Do not save or restore CR.
16265 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16266 (_dl_profile_resolve): Do no save or restore CR. Support extended
16267 return values for ELFv2 ABI. Fix location of FPR return registers.
16268 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16269 updated values for _CALL_ELF == 2.
16270 (La_regs, La_retval, int_retval): Likewise.
16271
8b8a692c
UW
162722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16273
16274 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16275 (FRAME_MIN_SIZE_PARM): Likewise.
16276 (FRAME_BACKCHAIN): Likewise.
16277 (FRAME_CR_SAVE): Likewise.
16278 (FRAME_LR_SAVE): Likewise.
16279 (FRAME_TOC_SAVE): Likewise.
16280 (FRAME_PARM_SAVE): Likewise.
16281 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16282 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16283 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16284 (call_mcount_parm_offset): New macro.
16285 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16286 (PROF): Use symbolic stack frame offsets.
16287 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16288 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16289 Redefine in terms of FRAME_MIN_SIZE.
16290 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16291 (_dl_profile_resolve): Likewise. Update comment.
16292 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16293 symbols stack frame offsets.
16294 (__sigsetjmp): Likewise.
16295 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16296 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16297 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16298 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16299
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16301 (FRAME_BACKCHAIN): Remove.
16302 (FRAME_CR_SAVE): Likewise.
16303 (FRAME_LR_SAVE): Likewise.
16304 (FRAME_COMPILER_DW): Likewise.
16305 (FRAME_LINKER_DW): Likewise.
16306 (FRAME_TOC_SAVE): Likewise.
16307 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16308 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16309 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16310 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16312 (CHECK_SP): Use symbolic stack frame offsets.
16313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16314 zone" instead of caller's parameter save area for temp storage.
16315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16316 Likewise. Also, use symbolic stack frame offsets.
16317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16318 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16319 our own stack frame instead of the caller's.
16320 (__socket): Use symbolic stack frame offsets.
16321
122b66de
UW
163222013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16323 Alan Modra <amodra@gmail.com>
16324
16325 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16326 Define.
57f41c40
AS
16327 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16328 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16329 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16330 New function.
16331 (elf_machine_fixup_plt): Call it.
16332 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16333 reloc arguments.
16334 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16335 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16336 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16337 r2 before calling target.
16338
696caf1d
UW
163392013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16340 Alan Modra <amodra@gmail.com>
16341
16342 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16343 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16344 versions of macros to support ELFv2 ABI.
16345 (LOCALENTRY): New macro.
16346 (ENTRY, EALIGN): Use it.
16347 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16348 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16349 fall through into ENTRY entry point.
16350 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16351 Only define if _CALL_ELF != 2.
16352
16353 (elf_machine_matches_host): Verify ABI version matches.
16354 (RTLD_START): Use LOCALENTRY.
16355 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16356 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16357 (PLT_ENTRY_WORDS): New macro.
16358 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16359 (elf_machine_runtime_setup): Support ELFv2 ABI.
16360 (elf_machine_fixup_plt): Likewise.
16361 (elf_machine_plt_conflict): Likewise.
16362 (resolve_ifunc): Likewise.
16363 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16364 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16365 Likewise.
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16367 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16369 (makecontext): Support ELFv2 ABI.
16370 * elf/elf.h (EF_PPC64_ABI): Define.
16371
d31beafa
UW
163722013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16373
57f41c40
AS
16374 * sysdeps/powerpc/powerpc64/sysdep.h
16375 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16376 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16377 (ENTRY) [ASSEMBLER]: ... but instead here ...
16378 (EALIGN) [ASSEMBLER]: ... and here.
16379 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16380 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16381 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16382 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16383 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16384 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16385 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16386 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16388 Use PPC64_LOAD_FUNCPTR.
16389
b525166b
UW
16390 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16391
7ec07d9a
AM
163922013-12-04 Alan Modra <amodra@gmail.com>
16393
16394 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16395 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16396 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16397 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16398
16399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16400 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16401 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16402 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16403 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16404 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16405
5162e7dd
UW
164062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16407
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16409 (__makecontext): Fix incorrect CFI when backtracing out of
16410 context created via makecontext.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16412 (__setcontext): Fix incorrect CFI during switch to new context.
16413 (__novec_setcontext): Likewise.
16414
19e3372b
OB
164152013-12-04 Ondřej Bílka <neleai@seznam.cz>
16416
16417 [BZ #4772]
16418 * time/strptime_l.c (__strptime_internal): Allow modifiers
16419 in strptime.
16420 * time/tst-strptime.c (day_tests): Add testcase.
16421
ecaf142d
SP
164222013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16423
16424 * scripts/bench.pl: Skip over blank lines.
16425
fbf964ae
PE
164262013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16427
16428 [BZ #926]
16429 * manual/time.texi (Calendar Time): Clarify what timezone functions
16430 use.
16431
fa60a674
AZ
164322013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16433
16434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16435
d674f0ef
OB
164362013-12-04 Ondřej Bílka <neleai@seznam.cz>
16437
16438 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16439 implementation.
16440 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16441 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16442 * debug/memset_chk.c (__memset_chk): Likewise.
16443 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16444 * debug/strncpy_chk.c: Likewise.
16445
17dea188
JM
164462013-12-03 Joseph Myers <joseph@codesourcery.com>
16447
749008ff
JM
16448 [BZ #15268]
16449 [BZ #15425]
16450 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16451 (__ieee754_exp): For possibly underflowing results, check size of
16452 result and force underflow exception if required.
16453 * math/auto-libm-test-in: Add more tests of exp.
16454 * math/auto-libm-test-out: Regenerated.
16455 * sysdeps/i386/fpu/libm-test-ulps: Update.
16456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16457
17dea188
JM
16458 [BZ #16283]
16459 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16460 * math/w_exp2f.c (__exp2f): Likewise.
16461 * math/w_exp2l.c (__exp2l): Likewise.
16462 * math/auto-libm-test-in: Do not allow missing errno on exp2
16463 underflow.
16464 * math/auto-libm-test-out: Regenerated.
16465
b20de2c3
OB
164662013-12-03 Ondřej Bílka <neleai@seznam.cz>
16467
16468 [BZ #16274]
16469 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16470 handle filename validation.
16471 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16472 (do_open): Delete.
16473
d8e2dbe3
JM
164742013-12-03 Joseph Myers <joseph@codesourcery.com>
16475
34e16df5
JM
16476 [BZ #6786]
16477 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16478 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16479 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16480 <float.h>.
16481 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16482 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16483 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16484 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16485 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16486 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16487 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16488 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16489 Add more erfc tests.
16490 * math/auto-libm-test-out: Regenerated.
16491 * sysdeps/i386/fpu/libm-test-ulps: Update.
16492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16493
d8e2dbe3
JM
16494 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16495 exp2, expm1, j0 and j1.
16496 * math/auto-libm-test-out: Regenerated.
16497 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16498 (erfc_test_data): Likewise.
16499 (exp_test_data): Likewise.
16500 (exp_tonearest_test_data): Likewise.
16501 (exp_towardzero_test_data): Likewise.
16502 (exp_downward_test_data): Likewise.
16503 (exp_upward_test_data): Likewise.
16504 (exp10_test_data): Likewise.
16505 (exp2_test_data): Likewise.
16506 (expm1_test_data): Likewise.
16507 (j0_test_data): Likewise.
16508 (j1_test_data): Likewise.
16509 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16510 (input_flag_type): Add flag_xfail_rounding.
16511 (input_flags): Add xfail-rounding.
16512 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16513 (output_for_one_input_case): Handle flag_xfail_rounding.
16514 * sysdeps/i386/fpu/libm-test-ulps: Update.
16515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16516
18d14251
AJ
165172013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16518
3d2e6075 16519 [BZ #16289]
18d14251
AJ
16520 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16521 division by 0.
16522
520d437b
SP
165232013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16524
16525 [BZ #16195]
16526 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16527 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16528 (STAP_PROBE0): New macro.
16529 (STAP_PROBE1): Likewise.
16530 (STAP_PROBE2): Likewise.
16531 (STAP_PROBE3): Likewise.
16532 (STAP_PROBE4): Likewise.
16533
416e0145
OB
165342013-12-02 Ondřej Bílka <neleai@seznam.cz>
16535
16536 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16537
9d17796a
SE
165382013-12-02 Steve Ellcey <sellcey@mips.com>
16539
16540 * benchtests/Makefile (bench): Add sqrt.
16541 (LDLIBS-bench-sqrt): New.
16542 * benchtests/sqrt-input: New.
16543
f524d6a8
PS
165442013-12-02 Pavel Simerda <psimerda@redhat.com>
16545
639a0ef8
PS
16546 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16547 (GAIH_EAI): Likewise.
16548 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16549 (gaih_inet): Likewise.
16550 (getaddrinfo): Don't use GAIH_EAI.
16551
f524d6a8
PS
16552 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16553 (struct gaih): Remove definition.
16554
df3aedaf
SP
165552013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16556
16557 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16558 Use HERRNOP directly.
16559
1ab19dec
AZ
165602013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16561
b42ad38d 16562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16563
176b0c79
JM
165642013-11-30 Joseph Myers <joseph@codesourcery.com>
16565
16566 * math/gen-auto-libm-tests.c (test_functions): Add more
16567 single-argument functions.
16568 (special_fill_pi_2): New function.
16569 (special_fill_minus_pi_2): Likewise.
16570 (special_fill_pi_6): Likewise.
16571 (special_fill_minus_pi_6): Likewise.
16572 (special_fill_pi_3): Likewise.
16573 (special_fill_2pi_3): Likewise.
16574 (special_fill_e): Likewise.
16575 (special_fill_1_e): Likewise.
16576 (special_fill_e_minus_1): Likewise.
16577 (special_real_inputs): Add more special inputs.
16578 (output_for_one_input_case): Do not require ERANGE on underflow to
16579 zero if round-to-nearest result does not underflow to zero, unless
16580 exact results required.
16581 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16582 atan, atanh, cbrt, cos and cosh.
16583 * math/auto-libm-test-out: Regenerated.
16584 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16585 (acos_tonearest_test_data): Likewise.
16586 (acos_towardzero_test_data): Likewise.
16587 (acos_downward_test_data): Likewise.
16588 (acos_upward_test_data): Likewise.
16589 (acosh_test_data): Likewise.
16590 (asin_test_data): Likewise.
16591 (asin_tonearest_test_data): Likewise.
16592 (asin_towardzero_test_data): Likewise.
16593 (asin_upward_test_data): Likewise.
16594 (asinh_test_data): Likewise.
16595 (atan_test_data): Likewise.
16596 (atanh_test_data): Likewise.
16597 (cbrt_test_data): Likewise.
16598 (cos_test_data): Likewise.
16599 (cos_tonearest_test_data): Likewise.
16600 (cos_towardzero_test_data): Likewise.
16601 (cos_downward_test_data): Likewise.
16602 (cos_upward_test_data): Likewise.
16603 (cosh_test_data): Likewise.
16604 (cosh_tonearest_test_data): Likewise.
16605 (cosh_towardzero_test_data): Likewise.
16606 (cosh_downward_test_data): Likewise.
16607 (cosh_upward_test_data): Likewise.
16608 * sysdeps/i386/fpu/libm-test-ulps: Update.
16609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16610
ffb536d0
JM
166112013-11-29 Joseph Myers <joseph@codesourcery.com>
16612
2a77a467
JM
16613 [BZ #6787]
16614 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16615 * math/w_exp10f.c (__exp10f): Likewise.
16616 * math/w_exp10l.c (__exp10l): Likewise.
16617 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16618 errno settings in existing tests.
16619
ea3bc4e8
JM
16620 [BZ #14032]
16621 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16622 precision control set to double precision.
16623 * sysdeps/i386/fpu/w_sqrt.c: New file.
16624 * math/auto-libm-test-in: Add more tests.
16625 * math/auto-libm-test-out: Update.
16626
0712c9d8
JM
16627 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16628 (sqrt_test_tonearest): New function.
16629 (sqrt_towardzero_test_data): New variable.
16630 (sqrt_test_towardzero): New function.
16631 (sqrt_downward_test_data): New variable.
16632 (sqrt_test_downward): New function.
16633 (sqrt_upward_test_data): New variable.
16634 (sqrt_test_upward): New function.
16635 (main): Call the new functions.
16636
ffb536d0
JM
16637 * math/gen-auto-libm-tests.c: New file.
16638 * math/auto-libm-test-in: Likewise.
16639 * math/auto-libm-test-out: New generated file.
16640 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16641 variables.
16642 (%beautify): Add generated representations of zero.
16643 (top level): Set $auto_input and call parse_auto_input.
16644 (beautify): Remove trailing "f" from hex float constants.
16645 (parse_args): Handle XFAIL_TEST.
16646 (convert_condition): New function.
16647 (or_value): Likewise.
16648 (or_cond_value): Likewise.
16649 (generate_testfile): Handle AUTO_TESTS_* lines.
16650 (parse_auto_input): New function.
16651 * math/libm-test.inc (XFAIL_TEST): New macro.
16652 (ERRNO_UNCHANGED): Update value.
16653 (ERRNO_EDOM): Likewise.
16654 (ERRNO_ERANGE): Likewise.
16655 (IGNORE_RESULT): Likewise.
16656 (TEST_COND_flt_32): New macro.
16657 (TEST_COND_dbl_64): Likewise.
16658 (TEST_COND_ldbl_96_intel): Likewise.
16659 (TEST_COND_ldbl_96_m68k): Likewise.
16660 (TEST_COND_ldbl_128): Likewise.
16661 (TEST_COND_ldbl_128ibm): Likewise.
16662 (TEST_COND_long32): Likewise.
16663 (TEST_COND_long64): Likewise.
16664 (TEST_COND_before_rounding): Likewise.
16665 (TEST_COND_after_rounding): Likewise.
16666 (enable_test): Handle XFAIL_TEST flag.
16667 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16668 with finite results.
16669 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16670 auto-libm-test-out.
16671
acd98a8e
AK
166722013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16673 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16674
16675 [BZ #16214]
16676 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16677 __tls_get_addr_internal instead of __tls_get_offset in order to
16678 avoid GOT pointer dependency. Make rtld export
16679 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16680 __tls_get_addr since we are a __tls_get_offset platform.
16681 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16682 GOT pointer being set up before.
16683 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16684
3c1c46a6
JM
166852013-11-28 Joseph Myers <joseph@codesourcery.com>
16686
7475aef5
JM
16687 * manual/math.texi (Errors in Math Functions): Document accuracy
16688 goals.
16689
8bca7cd8
JM
16690 [BZ #15004]
16691 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16692 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16694 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16695 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16696 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16697 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16698 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16699 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16700 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16701 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16702 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16703 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16704 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16705 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16706 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16707
91a1f3fe
JM
16708 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16709 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16710 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16711 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16712 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16713 Likewise.
16714 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16715 Likewise.
16716 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16717 Likewise.
16718 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16719 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16720 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16721 atomic-feupdateenv and flt-rounds.
16722 * sysdeps/powerpc/nofpu/Versions (libc): Add
16723 __atomic_feholdexcept, __atomic_feclearexcept,
16724 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16725 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16726 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16727 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16728 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16729 here.
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16731 Update.
16732
c5df7609
JM
16733 * manual/arith.texi (FP Exceptions): Document that exceptions may
16734 not be raised when matherr is used.
16735 (Math Error Reporting): Document overflow in directed rounding
16736 modes. Document that errno may not be set when finite values are
16737 returned on overflow. Document intent to set errno on underflow
16738 only for underflow to zero.
16739
3c1c46a6
JM
16740 [BZ #16271]
16741 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16742 round-to-nearest then adjust result for other rounding modes.
16743 * include/fenv.h (fegetround): Use libm_hidden_proto.
16744 * math/fegetround.c (fegetround): Use libm_hidden_def.
16745 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16746 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16747 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16748 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16749 Likewise.
16750 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16751 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16752 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16753 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16754
5a4c6d53
SP
167552013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16756
16757 [BZ #16077]
16758 * nss/Versions (libnss_files): Add
16759 _nss_files_gethostbyname3_r.
16760 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16761 New function.
16762 (HOST_DB_LOOKUP): Remove macro.
16763 (_nss_files_gethostbyname_r): Implement function without the
16764 HOST_DB_LOOKUP macro.
16765 (_nss_files_gethostbyname2_r): Likewise.
16766
897b98ba
OB
167672013-11-28 Ondřej Bílka <neleai@seznam.cz>
16768
16769 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16770
6f476861
UB
167712013-11-26 Uros Bizjak <ubizjak@gmail.com>
16772
16773 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16774 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16775 warning.
16776
bd12ab55
AZ
167772013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16778
16779 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16780 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16781 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16782 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16783 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16784 __fe_nomask_env_priv and attribute_hidden.
16785 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16786 (libc_feupdateenv_test_ppc): Likewise.
16787 (libc_feresetround_ppc): Likewise.
16788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16789 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16790 compat_symbol macro.
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16792 (__fe_nomask_env): Likewise.
16793 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16794
52bb6543
OB
167952013-11-26 Ondřej Bílka <neleai@seznam.cz>
16796
16797 * string/Makefile: Remove ifunc tests.
16798 * string/test-string.h: Define TEST_IFUNC.
16799 * string/test-bcopy-ifunc.c: Remove.
16800 * string/test-bzero-ifunc.c: Likewise.
16801 * string/test-memccpy-ifunc.c: Likewise.
16802 * string/test-memchr-ifunc.c: Likewise.
16803 * string/test-memcmp-ifunc.c: Likewise.
16804 * string/test-memcpy-ifunc.c: Likewise.
16805 * string/test-memmem-ifunc.c: Likewise.
16806 * string/test-memmove-ifunc.c: Likewise.
16807 * string/test-mempcpy-ifunc.c: Likewise.
16808 * string/test-memrchr-ifunc.c: Likewise.
16809 * string/test-memset-ifunc.c: Likewise.
16810 * string/test-rawmemchr-ifunc.c: Likewise.
16811 * string/test-stpcpy-ifunc.c: Likewise.
16812 * string/test-stpncpy-ifunc.c: Likewise.
16813 * string/test-strcasecmp-ifunc.c: Likewise.
16814 * string/test-strcasestr-ifunc.c: Likewise.
16815 * string/test-strcat-ifunc.c: Likewise.
16816 * string/test-strchr-ifunc.c: Likewise.
16817 * string/test-strchrnul-ifunc.c: Likewise.
16818 * string/test-strcmp-ifunc.c: Likewise.
16819 * string/test-strcpy-ifunc.c: Likewise.
16820 * string/test-strcspn-ifunc.c: Likewise.
16821 * string/test-strlen-ifunc.c: Likewise.
16822 * string/test-strncasecmp-ifunc.c: Likewise.
16823 * string/test-strncat-ifunc.c: Likewise.
16824 * string/test-strncmp-ifunc.c: Likewise.
16825 * string/test-strncpy-ifunc.c: Likewise.
16826 * string/test-strnlen-ifunc.c: Likewise.
16827 * string/test-strpbrk-ifunc.c: Likewise.
16828 * string/test-strrchr-ifunc.c: Likewise.
16829 * string/test-strspn-ifunc.c: Likewise.
16830 * string/test-strstr-ifunc.c: Likewise.
16831
ab260039 168322013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
16833
16834 * benchtests/Makefile: Remove ifunc tests.
16835 * benchtests/bench-string.h: Define TEST_IFUNC.
16836 * benchtests/bench-bcopy-ifunc.c: Remove.
16837 * benchtests/bench-bzero-ifunc.c: Likewise.
16838 * benchtests/bench-memccpy-ifunc.c: Likewise.
16839 * benchtests/bench-memchr-ifunc.c: Likewise.
16840 * benchtests/bench-memcmp-ifunc.c: Likewise.
16841 * benchtests/bench-memcpy-ifunc.c: Likewise.
16842 * benchtests/bench-memmem-ifunc.c: Likewise.
16843 * benchtests/bench-memmove-ifunc.c: Likewise.
16844 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16845 * benchtests/bench-memrchr-ifunc.c: Likewise.
16846 * benchtests/bench-memset-ifunc.c: Likewise.
16847 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16848 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16849 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16850 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16851 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16852 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16853 * benchtests/bench-strcat-ifunc.c: Likewise.
16854 * benchtests/bench-strchr-ifunc.c: Likewise.
16855 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16856 * benchtests/bench-strcmp-ifunc.c: Likewise.
16857 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16858 * benchtests/bench-strcpy-ifunc.c: Likewise.
16859 * benchtests/bench-strcspn-ifunc.c: Likewise.
16860 * benchtests/bench-strlen-ifunc.c: Likewise.
16861 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16862 * benchtests/bench-strncat-ifunc.c: Likewise.
16863 * benchtests/bench-strncmp-ifunc.c: Likewise.
16864 * benchtests/bench-strncpy-ifunc.c: Likewise.
16865 * benchtests/bench-strnlen-ifunc.c: Likewise.
16866 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16867 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 16868 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
16869 * benchtests/bench-strspn-ifunc.c: Likewise.
16870 * benchtests/bench-strstr-ifunc.c: Likewise.
16871
168722013-11-26 Ondřej Bílka <neleai@seznam.cz>
16873
ab260039
OB
16874 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16875
d1d9eaf4 168762013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 16877
d1d9eaf4
OB
16878 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16879 * rt/aio.h: Likewise.
16880 * sysdeps/gnu/bits/utmp.h: Likewise.
16881 * sysdeps/gnu/bits/utmpx.h: Likewise.
16882 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16883 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16884 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16885 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16886 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16887 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16888 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16889 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16890 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16891 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16892 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16893 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16894 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16896 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16897 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16898 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16899 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16900 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16901 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16902 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16903 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16904 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16905 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16906 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16907 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16908 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16909 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16910 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16911 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16912 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16913 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16915 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16916 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16917 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16918 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16919 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16920 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16921 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16922 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16923 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16924
a7624ed9
CD
169252013-11-25 Carlos O'Donell <carlos@redhat.com>
16926
16927 [BZ #16245]
16928 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16929 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16930
63cfe52b
JM
169312013-11-25 Joseph Myers <joseph@codesourcery.com>
16932
16933 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16934 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16935 Likewise.
16936
41e8926a
AZ
169372013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16938
16939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16940 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16941 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16942 (__fesetround): Remove define.
16943 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16944 rounding and exceptions handling.
16945 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16946 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16947 (__fe_nomask_env): Likewise.
16948 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16949 __fegetround instead of fegetround.
16950 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16951 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16952
6851bd4d
RM
169532013-11-21 Roland McGrath <roland@hack.frob.com>
16954
070906ff
RM
16955 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16956 it's there.
16957
6851bd4d
RM
16958 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16959
84ae135d
MI
169602013-11-21 Meador Inge <meadori@codesourcery.com>
16961
16962 [BZ #11157]
16963 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16964 (encrypt_r): Likewise.
16965 * malloc/obstack.h (obstack_free): Likewise.
16966 * posix/unistd.h (encrypt): Likewise.
16967
daf75146
GM
169682013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16969
16970 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16971 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16972 DL_CALL_DT_FINI() that call the functions directly.
16973 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16974 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16975 * elf/dl-fini.c: Likewise.
16976
10ad46bc
OB
169772013-11-20 Ondřej Bílka <neleai@seznam.cz>
16978
16979 * malloc/hooks.c (memalign_check): Add alignment rounding.
16980 * malloc/malloc.c (_mid_memalign): New function.
16981 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16982 Implement by calling _mid_memalign.
16983 * manual/probes.texi (Memory Allocation Probes): Remove
16984 memory_valloc_retry and memory_pvalloc_retry.
16985
f3fd2628
SP
169862013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16987
4712799f
SP
16988 * locale/programs/locarchive.c (open_archive): Add const
16989 qualifier to ARCHIVEFNAME and copy default fname to
16990 DEFAULT_FNAME.
16991
0417b20f
SP
16992 [BZ #15601]
16993 * libio/tst-widetext.input: Rename Oriya to Odia.
16994 * locale/iso-639.def: Likewise.
16995
f3fd2628
SP
16996 * manual/probes.texi (Mathematical Function Probes): Add
16997 documentation for sin, cos, asin and acos probes.
16998 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16999 (__sin32): Add slowasin probe.
17000 (__cos32): Add slowacos probe.
17001 (__mpsin): Add slowsin probe.
17002 (__mpcos): Add slowcos probe.
17003
73c1ce4f
JM
170042013-11-19 Joseph Myers <joseph@codesourcery.com>
17005
17006 [BZ #15483]
17007 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17008 thread-local __sim_exceptions_thread and global
17009 __sim_exceptions_global.
17010 (__sim_disabled_exceptions): Change to thread-local
17011 __sim_disabled_exceptions_thread and global
17012 __sim_disabled_exceptions_global.
17013 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17014 and global __sim_round_mode_global.
17015 (__simulate_exceptions): Use thread-local floating-point state and
17016 set global state from it as needed.
17017 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17018 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17019 __sim_round_mode_thread.
17020 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17021 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17022 and global __sim_exceptions_global.
17023 (__sim_disabled_exceptions): Change to thread-local
17024 __sim_disabled_exceptions_thread and global
17025 __sim_disabled_exceptions_global.
17026 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17027 and global __sim_round_mode_global.
17028 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17029 (SIM_SET_GLOBAL): Likewise.
17030 * sysdeps/powerpc/soft-fp/sfp-machine.h
17031 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17032 __sim_round_mode_thread.
17033 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17034 __sim_disabled_exceptions_thread.
17035 (__sim_exceptions): Change to __sim_exceptions_thread.
17036 (__sim_disabled_exceptions): Change to
17037 __sim_disabled_exceptions_thread.
17038 (__sim_round_mode): Change to __sim_round_mode_thread.
17039 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17040 thread-local floating-point state and set global state from it as
17041 needed.
17042 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17043 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17044 (__sim_disabled_exceptions): Remove extern declaration.
17045 (feenableexcept): Use thread-local floating-point state and set
17046 global state from it as needed.
17047 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17048 extern declaration.
17049 (__sim_disabled_exceptions): Likewise.
17050 (__sim_round_mode): Likewise.
17051 (__fegetenv): Use thread-local floating-point state.
17052 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17053 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17054 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17055 floating-point state and set global state from it as needed.
17056 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17057 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17058 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17059 Likewise.
17060 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17061 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17062 Likewise.
17063 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17064 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17065 Use __sim_round_mode_thread.
17066 * math/test-fenv-tls.c: New file.
17067 * math/Makefile (tests): Add test-fenv-tls.
17068 ($(objpfx)test-fenv-tls): Depend on
17069 $(common-objpfx)nptl/libpthread.so.
17070
b5449b12
AS
170712013-11-19 Andreas Schwab <schwab@suse.de>
17072
17073 * locale/programs/locale.c (show_info): Decode wordarray elements.
17074 * locale/categories.def (LC_MONETARY): Add element for
17075 _NL_MONETARY_CRNCYSTR.
17076 * locale/C-monetary.c (conversion_rate): New variable.
17077 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17078 element.
17079
e186536b
CM
170802013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17081
17082 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17083 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17084
5c349950
PP
170852013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17086
17087 * elf/Makefile (tst-auxv): New test.
17088 * elf/tst-auxv.c: New
17089 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17090
699df45b
JM
170912013-11-18 Joseph Myers <joseph@codesourcery.com>
17092
17093 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17094 (hidden_proto): Caller changed.
17095 (hidden_tls_proto): New macro.
17096 (libc_hidden_tls_proto): Likewise.
17097 (rtld_hidden_tls_proto): Likewise.
17098 (libm_hidden_tls_proto): Likewise.
17099 (libresolv_hidden_tls_proto): Likewise.
17100 (librt_hidden_tls_proto): Likewise.
17101 (libdl_hidden_tls_proto): Likewise.
17102 (libnss_files_hidden_tls_proto): Likewise.
17103 (libnsl_hidden_tls_proto): Likewise.
17104 (libnss_nisplus_hidden_tls_proto): Likewise.
17105 (libutil_hidden_tls_proto): Likewise.
17106
b7589107
OB
171072013-11-18 Ondřej Bílka <neleai@seznam.cz>
17108
17109 [BZ #10253]
17110 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17111 (decompose_rpath): Defer expansion to fillin_rpath.
17112 (_dl_init_paths): Pass linkmap to fillin_rpath.
17113
250c23bd
RS
171142013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17115
17116 * benchtests/Makefile: Add strsep.
17117 * benchtests/bench-strsep.c: New file: strsep benchtest.
17118 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17119
a7931fcf
AS
171202013-11-18 Andreas Schwab <schwab@suse.de>
17121
17122 * locale/programs/locale.c (show_info) [case byte]: Check for
17123 '\377' instead of '\177'.
17124 * locale/C-monetary.c (not_available): Always use "\377".
17125 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17126 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17127 detect unavailable sign_posn locale elements.
17128 * locale/localeconv.c (__localeconv): For grouping and
17129 mon_grouping handle "\177" and "\377" like no grouping.
17130 (INT_ELEM): New macro. Use it to set all numeric members.
17131 * locale/programs/ld-monetary.c (monetary_read)
17132 <tok_mon_grouping>: Normalize single -1 to the empty string.
17133 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17134 Likewise.
17135
728dab0e
OB
171362013-11-07 Ondřej Bílka <neleai@seznam.cz>
17137
17138 [BZ #16055]
17139 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17140 when we match (nil).
17141 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17142
66294491
JM
171432013-11-16 Joseph Myers <joseph@codesourcery.com>
17144
ce665817
JM
17145 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17146 (NO_TEST_INLINE): Update value.
17147 (ERRNO_UNCHANGED): Likewise.
17148 (ERRNO_EDOM): Likewise.
17149 (ERRNO_ERANGE): Likewise.
17150 (IGNORE_RESULT): Likewise.
17151 (check_float_internal): Check signs of NaN results if
17152 TEST_NAN_SIGN used.
17153 (check_complex): Pass TEST_NAN_SIGN flag through to second
17154 check_float_internal call.
17155 (copysign_test_data): Add tests with quiet NaNs as second
17156 argument. Use TEST_NAN_SIGN.
17157 (fabs_test_data): Add test of negative quiet NaN argument. Use
17158 TEST_NAN_SIGN.
17159 (signbit_test_data): Add tests of quiet NaN argument.
17160 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17161
ee1466a9
JM
17162 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17163 $ignore_result.
17164 (parse_args): Handle function results specified as IGNORE.
17165 * math/libm-test.inc (IGNORE_RESULT): New macro.
17166 (check_float_internal): Do not check numerical result if flag
17167 IGNORE_RESULT set.
17168 (check_complex): Pass through IGNORE_RESULT to second
17169 check_float_internal call.
17170 (check_int): Do not check numerical result if flag IGNORE_RESULT
17171 set.
17172 (check_long): Likewise.
17173 (check_bool): Likewise.
17174 (check_longlong): Likewise.
17175 (lrint_test_data): Add tests of infinite and NaN arguments.
17176 (lrint_tonearest_test_data): Likewise.
17177 (lrint_towardzero_test_data): Likewise.
17178 (lrint_downward_test_data): Likewise.
17179 (lrint_upward_test_data): Likewise.
17180 (llrint_test_data): Likewise.
17181 (llrint_tonearest_test_data): Likewise.
17182 (llrint_towardzero_test_data): Likewise.
17183 (llrint_downward_test_data): Likewise.
17184 (llrint_upward_test_data): Likewise.
17185 (lround_test_data): Likewise.
17186 (llround_test_data): Likewise.
17187
14407b7e
JM
17188 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17189 (ERRNO_UNCHANGED): Update value.
17190 (ERRNO_EDOM): Likewise.
17191 (ERRNO_ERANGE): Likewise.
17192 (NO_TEST_INLINE_FLOAT): New macro.
17193 (NO_TEST_INLINE_DOUBLE): Likewise.
17194 (enable_test): New function.
17195 (RUN_TEST_f_f): Check enable_test before running test.
17196 (RUN_TEST_2_f): Likewise.
17197 (RUN_TEST_fff_f): Likewise.
17198 (RUN_TEST_c_f): Likewise.
17199 (RUN_TEST_f_f1): Likewise.
17200 (RUN_TEST_fF_f1): Likewise.
17201 (RUN_TEST_fI_f1): Likewise.
17202 (RUN_TEST_ffI_f1): Likewise.
17203 (RUN_TEST_c_c): Likewise.
17204 (RUN_TEST_cc_c): Likewise.
17205 (RUN_TEST_f_i): Likewise.
17206 (RUN_TEST_f_i_tg): Likewise.
17207 (RUN_TEST_ff_i_tg): Likewise.
17208 (RUN_TEST_f_b): Likewise.
17209 (RUN_TEST_f_b_tg): Likewise.
17210 (RUN_TEST_f_l): Likewise.
17211 (RUN_TEST_f_L): Likewise.
17212 (RUN_TEST_fFF_11): Likewise.
17213 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17214 conditionals.
17215 (cosh_test_data): Likewise.
17216 (exp_test_data): Likewise.
17217 (expm1_test_data): Likewise.
17218 (hypot_test_data): Likewise.
17219 (pow_test_data): Likewise.
17220 (sinh_test_data): Likewise.
17221 (tanh_test_data): Likewise.
17222 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17223 flags argument.
17224
ca07f197
JM
17225 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17226 tests with quiet NaN input and output.
17227 (acosh_test_data): Likewise.
17228 (asin_test_data): Likewise.
17229 (asinh_test_data): Likewise.
17230 (atan_test_data): Likewise.
17231 (atanh_test_data): Likewise.
17232 (atan2_test_data): Likewise.
17233 (cbrt_test_data): Likewise.
17234 (cos_test_data): Likewise.
17235 (cosh_test_data): Likewise.
17236 (erf_test_data): Likewise.
17237 (erfc_test_data): Likewise.
17238 (exp_test_data): Likewise.
17239 (exp10_test_data): Likewise.
17240 (exp2_test_data): Likewise.
17241 (expm1_test_data): Likewise.
17242 (hypot_test_data): Likewise.
17243 (j0_test_data): Likewise.
17244 (j1_test_data): Likewise.
17245 (jn_test_data): Likewise.
17246 (lgamma_test_data): Likewise.
17247 (log_test_data): Likewise.
17248 (log10_test_data): Likewise.
17249 (log1p_test_data): Likewise.
17250 (log2_test_data): Likewise.
17251 (pow_test_data): Likewise.
17252 (scalb_test_data): Likewise.
17253 (sin_test_data): Likewise.
17254 (sincos_test_data): Likewise.
17255 (sinh_test_data): Likewise.
17256 (tan_test_data): Likewise.
17257 (tanh_test_data): Likewise.
17258 (tgamma_test_data): Likewise.
17259 (y0_test_data): Likewise.
17260 (y1_test_data): Likewise.
17261 (yn_test_data): Likewise.
17262
66294491
JM
17263 [BZ #16167]
17264 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17265 argument being NaN and avoid computations with second argument in
17266 that case.
17267 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17268 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17269 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17270
1820b143
CL
172712013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17272
17273 * locale/iso-639.def: Add Chitwani Tharu (the).
17274
714bd261
AS
172752013-11-14 Andreas Schwab <schwab@suse.de>
17276
17277 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17278 word instead of empty string.
17279
7ab44563
AZ
172802013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17281
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17283 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17285 (__fe_nomask_env): Likewise.
17286
e8470ea2
SE
172872013-11-13 Steve Ellcey <sellcey@mips.com>
17288
17289 * benchtests/bench-timing.h: Include time.h.
17290
17c1d9f0
L
172912013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17292
17293 [BZ #15997]
17294 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17295 to 3.4.0 for x32.
17296 * sysdeps/unix/sysv/linux/configure: Regenerated.
17297
9310c284
JM
172982013-11-13 Joseph Myers <joseph@codesourcery.com>
17299
17300 [BZ #16151]
17301 * stdlib/strtod_l.c (round_and_return): Do not consider
17302 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17303 exponent one less than half the least subnormal exponent.
17304 * stdlib/test-strtod-round-data: Add more tests.
17305 * stdlib/tst-strtod-round.c (tests): Regenerated.
17306
7a2ad8cf
AZ
173072013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17308
17309 [BZ #14143]
17310 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17311 (__fe_mask_env): Likewise.
17312 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17313 libm_hidden_proto and add function prototype.
17314 (__fe_mask_env): Add function prototype.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17316 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17318 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17320 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17321
50727aa7
MS
173222013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17323
b2f386c1 17324 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17325 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17326
a615be46
MS
173272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17328
17329 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17330 of htab_find_slot().
17331
7ddace62
DM
173322013-11-11 David S. Miller <davem@davemloft.net>
17333
17334 [BZ #16150]
17335 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17336 symbol in the non-vis3 case in static builds.
17337 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17338 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17339 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17340 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17341
9182aa67
JK
173422013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17343
17344 [BZ #387]
17345 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17346 it is empty.
17347
450a2e2d
AZ
173482013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17349
b2f386c1
SP
17350 * benchtests/Makefile: Add bench-strtod.
17351 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17352
8ec3f656
AS
173532013-11-11 Andreas Schwab <schwab@suse.de>
17354
17355 [BZ #16153]
17356 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17357 terminating NUL in key length.
17358
76a9b998
AZ
173592013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17360
17361 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17362 Add artificial ODP entry for vDSO symbol for PPC64.
17363 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17364 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17365
e4368156
OB
173662013-11-07 Ondřej Bílka <neleai@seznam.cz>
17367
17368 [BZ #15374]
17369 * nss/getent.c (services_keys): Recognize services starting with digit.
17370
8d6bb57c
DM
173712013-11-06 David S. Miller <davem@davemloft.net>
17372
17373 [BZ #15985]
17374 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17375 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17376
e256c421
WN
173772013-11-06 Will Newton <will.newton@linaro.org>
17378
17379 * manual/memory.texi (Malloc Examples): Remove register
17380 keyword from examples.
17381
f6e12daa 173822013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17383
f6e12daa 17384 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17385
9d880655
AS
173862013-11-04 Joseph Myers <joseph@codesourcery.com>
17387
fd2f9486 17388 [BZ #6981]
9d880655
AS
17389 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17390 depending on [__GCC_IEC_559 > 0].
17391 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17392 depending on [__GCC_IEC_559_COMPLEX > 0].
17393
ae129d3c
CL
173942013-11-03 Chris Leonard <cjl@sugarlabs.org>
17395
17396 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17397 to iso-639.def.
17398
4a15c2a4 173992013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17400
17401 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17402
8b35e35d
OB
174032013-11-01 Ondřej Bílka <neleai@seznam.cz>
17404
17405 [BZ #16112]
17406 * malloc/malloc (malloc_info): Do not handle first bin as
17407 special case.
17408
1d70fd6c
CL
174092013-11-01 Chris Leonard <cjl@sugarlabs.org>
17410
17411 * locale/iso-639.def: Add Central Nahuatl (nhn).
17412
8c5c2600
BH
174132013-11-01 Bruno Haible <bruno@clisp.org>
17414
17415 [BZ #7003]
17416 * manual/math.texi (BSD Random): Specify range upper bound as
17417 in POSIX.
17418
da5579c2
CL
174192013-10-31 Chris Leonard <cjl@sugarlabs.org>
17420
17421 * locale/iso-639.def: Add Meadow Mari (mhr).
17422
5d30d853
OB
174232013-10-31 Ondřej Bílka <neleai@seznam.cz>
17424
17425 [BZ #14752], [BZ #15763]
17426 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17427 Validate name.
17428 * rt/tst_shm.c: Add test for escaping directory.
17429
a4966c61
AS
174302013-10-31 Andreas Schwab <schwab@suse.de>
17431
8a43e768 17432 [BZ #15917]
a4966c61
AS
17433 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17434 followed by 'x' as part of digit sequence.
17435 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17436
28d708c4
MAP
174372013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17438
17439 [BZ #16037]
17440 * configure.ac: allow GNU Make 4.0 and greater.
17441 * configure: Regenerated.
17442
a56ee40b
WN
174432013-10-30 Will Newton <will.newton@linaro.org>
17444
17445 [BZ #16038]
17446 * malloc/hooks.c (memalign_check): Limit alignment to the
17447 maximum representable power of two.
17448 * malloc/malloc.c (__libc_memalign): Likewise.
17449 * malloc/tst-memalign.c (do_test): Add test for very
17450 large alignment values.
17451 * malloc/tst-posix_memalign.c (do_test): Likewise.
17452
c6e4925d
OB
174532013-10-30 Ondřej Bílka <neleai@seznam.cz>
17454
17455 [BZ #11087]
17456 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17457 (munmap_chunk): Likewise.
17458 (mremap_chunk): Likewise.
17459
174602013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17461
8a43e768 17462 [BZ #15799]
bbea82f7
OB
17463 * stdlib/div.c (div): Remove obsolete code.
17464 * stdlib/ldiv.c (ldiv): Likewise.
17465 * stdlib/lldiv.c (lldiv): Likewise.
17466
977f4b31
SP
174672013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17468
17469 [BZ #16071]
17470 * nss/nss_files/files-XXX.c (get_contents_ret): New
17471 enumerator.
17472 (get_contents): New function.
17473 (internal_getent): Use it. Expand size of LINEBUFLEN.
17474
cb8a6dbd
MF
174752013-10-30 Mike Frysinger <vapier@gentoo.org>
17476
17477 * configure.in: Moved to ...
17478 * configure.ac: ... here. Change reference to configure.in
17479 to configure.ac.
17480 * sysdeps/arm/preconfigure.ac: ... here.
17481 configure.in to configure.ac.
17482 * sysdeps/gnu/configure.in: Moved to ...
17483 * sysdeps/gnu/configure.ac: ... here.
17484 * sysdeps/i386/configure.in: Moved to ...
17485 * sysdeps/i386/configure.ac: ... here.
17486 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17487 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17488 * sysdeps/mach/configure.in: Moved to ...
17489 * sysdeps/mach/configure.ac: ... here.
17490 * sysdeps/mach/hurd/configure.in: Moved to ...
17491 * sysdeps/mach/hurd/configure.ac: ... here.
17492 * sysdeps/powerpc/configure.in: Moved to ...
17493 * sysdeps/powerpc/configure.ac: ... here.
17494 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17495 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17496 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17497 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17498 * sysdeps/s390/s390-32/configure.in: Moved to ...
17499 * sysdeps/s390/s390-32/configure.ac: ... here.
17500 * sysdeps/s390/s390-64/configure.in: Moved to ...
17501 * sysdeps/s390/s390-64/configure.ac: ... here.
17502 * sysdeps/sh/configure.in: Moved to ...
17503 * sysdeps/sh/configure.ac: ... here.
17504 * sysdeps/sparc/configure.in: Moved to ...
17505 * sysdeps/sparc/configure.ac: ... here.
17506 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17507 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17508 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17509 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17510 * sysdeps/x86_64/configure.in: Moved to ...
17511 * sysdeps/x86_64/configure.ac: ... here.
17512 * sysdeps/x86_64/preconfigure.in: Moved to ...
17513 * sysdeps/x86_64/preconfigure.ac: ... here.
17514 * aclocal.m4: Change reference to configure.in to configure.ac.
17515 * config.h.in: Likewise.
17516 * manual/install.texi: Likewise.
17517 * manual/maint.texi: Likewise.
17518 * Makefile: Likewise.
17519 * malloc/Makefile: Likewise.
17520 * nscd/Makefile: Likewise.
17521 * Makeconfig: Change reference to configure.in and
17522 preconfigure.in to configure.ac and preconfigure.ac
17523 respectively.
17524 * INSTALL: Regenerated.
17525 * configure: Likewise.
17526 * sysdeps/gnu/configure: Likewise.
17527 * sysdeps/i386/configure: Likewise.
17528 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17529 * sysdeps/mach/configure: Likewise.
17530 * sysdeps/mach/hurd/configure: Likewise.
17531 * sysdeps/powerpc/configure: Likewise.
17532 * sysdeps/powerpc/powerpc32/configure: Likewise.
17533 * sysdeps/powerpc/powerpc64/configure: Likewise.
17534 * sysdeps/s390/s390-32/configure: Likewise.
17535 * sysdeps/s390/s390-64/configure: Likewise.
17536 * sysdeps/sh/configure: Likewise.
17537 * sysdeps/sparc/configure: Likewise.
17538 * sysdeps/unix/sysv/linux/configure: Likewise.
17539 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17540 * sysdeps/x86_64/configure: Likewise.
17541 * sysdeps/x86_64/preconfigure: Likewise.
17542
36a4953a
AS
175432013-10-29 Andreas Schwab <schwab@suse.de>
17544
17545 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17546
c79a1204
SP
175472013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17548
dfa1b402
SP
17549 * benchtests/pow-inputs: Add new inputs.
17550
54f73d9c
SP
17551 * benchtests/exp-inputs: Add new inputs.
17552
c79a1204
SP
17553 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17554 conditional check for return value.
17555 (__cos32): Likewise.
17556
67beb545 175572013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17558
17559 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17560 to provide a boost for large inputs with word alignment.
17561 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17562 implementation based on optimized PPC64 strcpy.
17563 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17564 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17565 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17566 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17567
151659f6
OB
175682013-10-25 Ondřej Bílka <neleai@seznam.cz>
17569
482a077e 17570 [BZ #2801]
151659f6
OB
17571 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17572
10b0f26b
OB
175732013-10-25 Ondřej Bílka <neleai@seznam.cz>
17574
17575 [BZ #14876]
17576 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17577 * time/tst-strptime.c (day_tests): Add testcase.
17578
ca42d35e
OB
175792013-10-25 Ondřej Bílka <neleai@seznam.cz>
17580
482a077e 17581 [BZ #14029]
ca42d35e
OB
17582 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17583
52e6d801
FB
175842013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17585
17586 [BZ #16074]
17587 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17588 MAP_FAILED on error.
17589
7cbcdb36
SP
175902013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17591
17592 [BZ #16072]
17593 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17594 heap for large requests.
17595
894f3f10
AM
175962013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17597
17598 [BZ #9954]
17599 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17600 result if the result has no associated interface.
17601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17602 interface for all 127.X.Y.Z addresses.
17603
b85545a6
CL
176042013-10-24 Chris Leonard <cjl@sugarlabs.org>
17605
17606 * locale/iso-639.def: Add Ligurian (lij)
17607
d1f23d46
OB
176082013-10-21 Ondřej Bílka <neleai@seznam.cz>
17609
17610 [BZ #15825]
17611 * sunrpc/rpc_main.c: Document rpcgen -5.
17612
4db5b08f
MS
176132013-10-19 Michael Stahl <mstahl@redhat.com>
17614
17615 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17616
a471e96a
OB
176172013-10-19 Ondřej Bílka <neleai@seznam.cz>
17618
d1f23d46 17619 [BZ #10278]
a471e96a
OB
17620 * posix/glob.c: Match only directories when trailing slash is present.
17621 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17622 (main): Add testcase.
17623
45c30c61
OB
176242013-10-19 Ondřej Bílka <neleai@seznam.cz>
17625
17626 [BZ #15670]
17627 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17628
484c12fb
CD
176292013-10-18 Carlos O'Donell <carlos@redhat.com>
17630
3d7dc513
CD
17631 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17632 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17633 AUTH_DES and cindex for FIPS 140-2.
17634 (DES Encryption): Add cindex FIPS 46-3.
17635
484c12fb
CD
17636 * locale/locarchive.h (struct locarhandle): Add fname.
17637 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17638 if an optional argument was specified to --list-archive,
17639 otherwise NULL.
17640 * locale/programs/locarchive.c (show_archive_content): Take new
17641 argument fname and pass it via ah.fname to open_archive.
17642 * locale/programs/localedef.h: Update decl.
17643 (open_archive): If AH->fname is non-null, open that file
17644 rather than the default file name, and don't ignore ENOENT.
17645 (create_archive): Set AH.fname to NULL.
17646 (delete_locales_from_archive): Likewise.
17647 (add_locales_to_archive): Likewise.
17648 * locale/programs/locfile.c (write_all_categories): Likewise.
17649
3c8325fb
JM
176502013-10-18 Joseph Myers <joseph@codesourcery.com>
17651 Aldy Hernandez <aldyh@redhat.com>
17652
17653 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17654 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17655 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17656 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17657 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17658 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17659 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17660 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17661 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17662 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17663 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17664 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17665 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17666 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17667 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17668 Likewise.
17669 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17670 Likewise.
17671 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17672 Likewise.
17673 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17674 Likewise.
17675 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17676 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17677 Likewise.
17678 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17679 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17680 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17681 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17682 Likewise.
17683 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17684 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17685 * sysdeps/powerpc/preconfigure: Likewise.
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17687 Likewise.
17688 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17689 Replace contents of file by #include of <fenv_libc.h>.
17690 * sysdeps/powerpc/soft-fp/sfp-machine.h
17691 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17692 and <sys/prctl.h>.
17693 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17696 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17697 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17698 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17699 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17703 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17706 Allow copysignl PLT reference to be missing.
17707
5abe0682
RS
177082013-10-18 Richard Sandiford <richard@codesourcery.com>
17709 Joseph Myers <joseph@codesourcery.com
17710
17711 [BZ #15948]
17712 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17713 single character.
17714 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17715
c7738d08
SP
177162013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17717
17718 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17719 * elf/tst-tls1.c: Likewise.
17720 * elf/tst-tls10.h: Likewise.
17721 * elf/tst-tls14.c: Likewise.
17722 * elf/tst-tls2.c: Likewise.
17723 * elf/tst-tls3.c: Likewise.
17724 * elf/tst-tls4.c: Likewise.
17725 * elf/tst-tls5.c: Likewise.
17726 * elf/tst-tls6.c: Likewise.
17727 * elf/tst-tls7.c: Likewise.
17728 * elf/tst-tls8.c: Likewise.
17729 * elf/tst-tls9.c: Likewise.
17730 * elf/tst-tlsmod1.c: Likewise.
17731 * elf/tst-tlsmod13.c: Likewise.
17732 * elf/tst-tlsmod13a.c: Likewise.
17733 * elf/tst-tlsmod14a.c: Likewise.
17734 * elf/tst-tlsmod16a.c: Likewise.
17735 * elf/tst-tlsmod16b.c: Likewise.
17736 * elf/tst-tlsmod2.c: Likewise.
17737 * elf/tst-tlsmod3.c: Likewise.
17738 * elf/tst-tlsmod4.c: Likewise.
17739 * elf/tst-tlsmod5.c: Likewise.
17740 * elf/tst-tlsmod6.c: Likewise.
17741
0bfcf2c7
OB
177422013-10-18 Ondřej Bílka <neleai@seznam.cz>
17743
17744 [BZ #12486]
17745 * malloc/malloc.c: remove checks for statistics.
17746
264aad1e
OB
177472013-10-17 Ondřej Bílka <neleai@seznam.cz>
17748
17749 [BZ #15277]
17750 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17751 * inet/tst-network.c: Add testcase.
17752
b957ced8
AS
177532013-10-17 Andreas Schwab <schwab@suse.de>
17754
17755 [BZ #15218]
17756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17757 to determine canonical name.
17758
c5d5d574
OB
177592013-10-17 Ondřej Bílka <neleai@seznam.cz>
17760
17761 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17762 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17767 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17768 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17780 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17785 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17786 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17788 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17789 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17790 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17791 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17792 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17793 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17794 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17795 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17796 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17797 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17798 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17801 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17802 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17819
e5c2c2d0
JM
178202013-10-17 Joseph Myers <joseph@codesourcery.com>
17821
17822 [BZ #16041]
17823 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17824 make result into a quiet NaN.
17825
51ca9e29
JM
178262013-10-16 Joseph Myers <joseph@codesourcery.com>
17827
17828 * soft-fp/adddf3.c: Fix horizontal whitespace.
17829 * soft-fp/addsf3.c: Likewise.
17830 * soft-fp/addtf3.c: Likewise.
17831 * soft-fp/divdf3.c: Likewise.
17832 * soft-fp/divsf3.c: Likewise.
17833 * soft-fp/divtf3.c: Likewise.
17834 * soft-fp/double.h: Likewise.
17835 * soft-fp/eqdf2.c: Likewise.
17836 * soft-fp/eqsf2.c: Likewise.
17837 * soft-fp/eqtf2.c: Likewise.
17838 * soft-fp/extenddftf2.c: Likewise.
17839 * soft-fp/extended.h: Likewise.
17840 * soft-fp/extendsfdf2.c: Likewise.
17841 * soft-fp/extendsftf2.c: Likewise.
17842 * soft-fp/extendxftf2.c: Likewise.
17843 * soft-fp/fixdfdi.c: Likewise.
17844 * soft-fp/fixdfsi.c: Likewise.
17845 * soft-fp/fixdfti.c: Likewise.
17846 * soft-fp/fixsfdi.c: Likewise.
17847 * soft-fp/fixsfsi.c: Likewise.
17848 * soft-fp/fixsfti.c: Likewise.
17849 * soft-fp/fixtfdi.c: Likewise.
17850 * soft-fp/fixtfsi.c: Likewise.
17851 * soft-fp/fixtfti.c: Likewise.
17852 * soft-fp/fixunsdfdi.c: Likewise.
17853 * soft-fp/fixunsdfsi.c: Likewise.
17854 * soft-fp/fixunsdfti.c: Likewise.
17855 * soft-fp/fixunssfdi.c: Likewise.
17856 * soft-fp/fixunssfsi.c: Likewise.
17857 * soft-fp/fixunssfti.c: Likewise.
17858 * soft-fp/fixunstfdi.c: Likewise.
17859 * soft-fp/fixunstfsi.c: Likewise.
17860 * soft-fp/fixunstfti.c: Likewise.
17861 * soft-fp/floatdidf.c: Likewise.
17862 * soft-fp/floatdisf.c: Likewise.
17863 * soft-fp/floatditf.c: Likewise.
17864 * soft-fp/floatsidf.c: Likewise.
17865 * soft-fp/floatsisf.c: Likewise.
17866 * soft-fp/floatsitf.c: Likewise.
17867 * soft-fp/floattidf.c: Likewise.
17868 * soft-fp/floattisf.c: Likewise.
17869 * soft-fp/floattitf.c: Likewise.
17870 * soft-fp/floatundidf.c: Likewise.
17871 * soft-fp/floatundisf.c: Likewise.
17872 * soft-fp/floatunditf.c: Likewise.
17873 * soft-fp/floatunsidf.c: Likewise.
17874 * soft-fp/floatunsisf.c: Likewise.
17875 * soft-fp/floatunsitf.c: Likewise.
17876 * soft-fp/floatuntidf.c: Likewise.
17877 * soft-fp/floatuntisf.c: Likewise.
17878 * soft-fp/floatuntitf.c: Likewise.
17879 * soft-fp/fmadf4.c: Likewise.
17880 * soft-fp/fmasf4.c: Likewise.
17881 * soft-fp/fmatf4.c: Likewise.
17882 * soft-fp/gedf2.c: Likewise.
17883 * soft-fp/gesf2.c: Likewise.
17884 * soft-fp/getf2.c: Likewise.
17885 * soft-fp/ledf2.c: Likewise.
17886 * soft-fp/lesf2.c: Likewise.
17887 * soft-fp/letf2.c: Likewise.
17888 * soft-fp/muldf3.c: Likewise.
17889 * soft-fp/mulsf3.c: Likewise.
17890 * soft-fp/multf3.c: Likewise.
17891 * soft-fp/negdf2.c: Likewise.
17892 * soft-fp/negsf2.c: Likewise.
17893 * soft-fp/negtf2.c: Likewise.
17894 * soft-fp/op-1.h: Likewise.
17895 * soft-fp/op-2.h: Likewise.
17896 * soft-fp/op-4.h: Likewise.
17897 * soft-fp/op-8.h: Likewise.
17898 * soft-fp/op-common.h: Likewise.
17899 * soft-fp/quad.h: Likewise.
17900 * soft-fp/single.h: Likewise.
17901 * soft-fp/soft-fp.h: Likewise.
17902 * soft-fp/sqrtdf2.c: Likewise.
17903 * soft-fp/sqrtsf2.c: Likewise.
17904 * soft-fp/sqrttf2.c: Likewise.
17905 * soft-fp/subdf3.c: Likewise.
17906 * soft-fp/subsf3.c: Likewise.
17907 * soft-fp/subtf3.c: Likewise.
17908 * soft-fp/truncdfsf2.c: Likewise.
17909 * soft-fp/trunctfdf2.c: Likewise.
17910 * soft-fp/trunctfsf2.c: Likewise.
17911 * soft-fp/trunctfxf2.c: Likewise.
17912 * soft-fp/unorddf2.c: Likewise.
17913 * soft-fp/unordsf2.c: Likewise.
17914 * soft-fp/unordtf2.c: Likewise.
17915
9ebb0332
JM
179162013-10-15 Joseph Myers <joseph@codesourcery.com>
17917
17918 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17919 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17920
4b1a6d8b
OB
179212013-10-15 Ondřej Bílka <neleai@seznam.cz>
17922
17923 * elf/dl-libc.c: Clear initfini list after freeing.
17924
1e145589
JM
179252013-10-14 Joseph Myers <joseph@codesourcery.com>
17926
17927 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17928 * soft-fp/addsf3.c: Likewise.
17929 * soft-fp/addtf3.c: Likewise.
17930 * soft-fp/divdf3.c: Likewise.
17931 * soft-fp/divsf3.c: Likewise.
17932 * soft-fp/divtf3.c: Likewise.
17933 * soft-fp/double.h: Likewise.
17934 * soft-fp/eqdf2.c: Likewise.
17935 * soft-fp/eqsf2.c: Likewise.
17936 * soft-fp/eqtf2.c: Likewise.
17937 * soft-fp/extenddftf2.c: Likewise.
17938 * soft-fp/extended.h: Likewise.
17939 * soft-fp/extendsfdf2.c: Likewise.
17940 * soft-fp/extendsftf2.c: Likewise.
17941 * soft-fp/extendxftf2.c: Likewise.
17942 * soft-fp/fixdfdi.c: Likewise.
17943 * soft-fp/fixdfsi.c: Likewise.
17944 * soft-fp/fixdfti.c: Likewise.
17945 * soft-fp/fixsfdi.c: Likewise.
17946 * soft-fp/fixsfsi.c: Likewise.
17947 * soft-fp/fixsfti.c: Likewise.
17948 * soft-fp/fixtfdi.c: Likewise.
17949 * soft-fp/fixtfsi.c: Likewise.
17950 * soft-fp/fixtfti.c: Likewise.
17951 * soft-fp/fixunsdfdi.c: Likewise.
17952 * soft-fp/fixunsdfsi.c: Likewise.
17953 * soft-fp/fixunsdfti.c: Likewise.
17954 * soft-fp/fixunssfdi.c: Likewise.
17955 * soft-fp/fixunssfsi.c: Likewise.
17956 * soft-fp/fixunssfti.c: Likewise.
17957 * soft-fp/fixunstfdi.c: Likewise.
17958 * soft-fp/fixunstfsi.c: Likewise.
17959 * soft-fp/fixunstfti.c: Likewise.
17960 * soft-fp/floatdidf.c: Likewise.
17961 * soft-fp/floatdisf.c: Likewise.
17962 * soft-fp/floatditf.c: Likewise.
17963 * soft-fp/floatsidf.c: Likewise.
17964 * soft-fp/floatsisf.c: Likewise.
17965 * soft-fp/floatsitf.c: Likewise.
17966 * soft-fp/floattidf.c: Likewise.
17967 * soft-fp/floattisf.c: Likewise.
17968 * soft-fp/floattitf.c: Likewise.
17969 * soft-fp/floatundidf.c: Likewise.
17970 * soft-fp/floatundisf.c: Likewise.
17971 * soft-fp/floatunsidf.c: Likewise.
17972 * soft-fp/floatunsisf.c: Likewise.
17973 * soft-fp/floatuntidf.c: Likewise.
17974 * soft-fp/floatuntisf.c: Likewise.
17975 * soft-fp/floatuntitf.c: Likewise.
17976 * soft-fp/fmadf4.c: Likewise.
17977 * soft-fp/fmasf4.c: Likewise.
17978 * soft-fp/fmatf4.c: Likewise.
17979 * soft-fp/gedf2.c: Likewise.
17980 * soft-fp/gesf2.c: Likewise.
17981 * soft-fp/getf2.c: Likewise.
17982 * soft-fp/ledf2.c: Likewise.
17983 * soft-fp/lesf2.c: Likewise.
17984 * soft-fp/letf2.c: Likewise.
17985 * soft-fp/muldf3.c: Likewise.
17986 * soft-fp/mulsf3.c: Likewise.
17987 * soft-fp/multf3.c: Likewise.
17988 * soft-fp/negdf2.c: Likewise.
17989 * soft-fp/negsf2.c: Likewise.
17990 * soft-fp/negtf2.c: Likewise.
17991 * soft-fp/op-1.h: Likewise.
17992 * soft-fp/op-2.h: Likewise.
17993 * soft-fp/op-4.h: Likewise.
17994 * soft-fp/op-8.h: Likewise.
17995 * soft-fp/op-common.h: Likewise.
17996 * soft-fp/quad.h: Likewise.
17997 * soft-fp/single.h: Likewise.
17998 * soft-fp/soft-fp.h: Likewise.
17999 * soft-fp/sqrtdf2.c: Likewise.
18000 * soft-fp/sqrtsf2.c: Likewise.
18001 * soft-fp/sqrttf2.c: Likewise.
18002 * soft-fp/subdf3.c: Likewise.
18003 * soft-fp/subsf3.c: Likewise.
18004 * soft-fp/subtf3.c: Likewise.
18005 * soft-fp/truncdfsf2.c: Likewise.
18006 * soft-fp/trunctfdf2.c: Likewise.
18007 * soft-fp/trunctfsf2.c: Likewise.
18008 * soft-fp/trunctfxf2.c: Likewise.
18009 * soft-fp/unorddf2.c: Likewise.
18010 * soft-fp/unordsf2.c: Likewise.
18011 * soft-fp/unordtf2.c: Likewise.
18012
17c48a60
OB
180132013-10-14 Ondřej Bílka <neleai@seznam.cz>
18014
18015 [BZ #15672]
18016 * misc/error.c (error_tail): Fix possible buffer overflow.
18017
cabba934
OB
180182013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18019
18020 [BZ #13028]
18021 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18022 address.
18023
94bf958a
PM
180242013-10-14 P. J. McDermott <pj@pehjota.net>
18025
18026 [BZ #832]
18027 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18028 testing pipefail option.
18029
71b4dea7
JM
180302013-10-12 Joseph Myers <joseph@codesourcery.com>
18031
18032 * soft-fp/double.h: Indent preprocessor directives inside #if.
18033 * soft-fp/extended.h: Likewise.
18034 * soft-fp/op-2.h: Likewise.
18035 * soft-fp/op-4.h: Likewise.
18036 * soft-fp/op-common.h: Likewise.
18037 * soft-fp/quad.h: Likewise.
18038 * soft-fp/single.h: Likewise.
18039 * soft-fp/soft-fp.h: Likewise.
18040
55602758
YC
180412013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18042
18043 * iconv/iconv_prog.c: Fix typos.
18044 * stdio-common/psiginfo-data.h: Likewise.
18045
9cd83302
RT
180462013-10-12 Reuben Thomas <rrt@sc3d.org>
18047
18048 [BZ #15764]
18049 * locale/setlocale.c: Fix typo.
18050
99fd9f47
JM
180512013-10-12 Joseph Myers <joseph@codesourcery.com>
18052
b7ea74f0
JM
18053 [BZ #16036]
18054 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18055 signaling NaN arguments.
18056 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18057 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18058
8a509447
JM
18059 [BZ #14910]
18060 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18061 unordered operands.
18062 * soft-fp/gesf2.c (__gesf2): Likewise.
18063 * soft-fp/getf2.c (__getf2): Likewise.
18064 * soft-fp/ledf2.c (__ledf2): Likewise.
18065 * soft-fp/lesf2.c (__lesf2): Likewise.
18066 * soft-fp/letf2.c (__letf2): Likewise.
18067
98998e9f
JM
18068 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18069 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18070 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18071 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18072 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18073 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18074 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18075 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18076 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18077 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18078 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18079 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18080 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18081 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18082 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18083 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18084 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18085 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18086 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18087 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18088 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18089 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18090 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18091 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18092 * soft-fp/floattidf.c (__floattidf): Likewise.
18093 * soft-fp/floattisf.c (__floattisf): Likewise.
18094 * soft-fp/floattitf.c (__floattitf): Likewise.
18095 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18096 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18097 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18098 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18099 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18100 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18101 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18102 * soft-fp/gesf2.c (__gesf2): Likewise.
18103 * soft-fp/getf2.c (__getf2): Likewise.
18104 * soft-fp/ledf2.c (__ledf2): Likewise.
18105 * soft-fp/lesf2.c (__lesf2): Likewise.
18106 * soft-fp/letf2.c (__letf2): Likewise.
18107
8edc4a11
JM
18108 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18109 Undefine and redefine.
18110 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18111 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18112 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18113 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18114 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18115 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18116 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18117 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18118 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18119 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18120 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18121 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18122 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18123 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18124 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18125
8399acaf
JM
18126 [BZ #16032]
18127 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18128 without decrementing exponent if mantissa >= that for the
18129 denominator, not >.
18130 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18131 denominator, not >. Decrement exponent in < case instead of
18132 incrementing in >= case.
18133 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18134 without decrementing exponent if mantissa >= that for the
18135 denominator, not >.
18136
99fd9f47
JM
18137 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18138 computing saturated result for unsigned overflow.
18139
10e1cf6b
SP
181402013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18141 Jeff Law <law@redhat.com>
18142
18143 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18144 (atan2Mp): Add systemtap probe marker.
18145 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18146 (__ieee754_log): Add systemtap probe marker.
18147 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18148 (atanMp): Add systemtap probe marker.
18149 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18150 (tanMp): Add systemtap probe marker.
18151 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18152 (__slowexp): Add systemtap probe marker.
18153 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18154 (__slowpow): Add systemtap probe marker.
18155 * manual/probes.texi: Document probes.
18156
3d110c7c
EB
181572013-10-11 Eric Biggers <ebiggers3@gmail.com>
18158
18159 [BZ #15362]
18160 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18161 written.
18162 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18163 written.
18164 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18165 written to buffer but not flushed.
18166 * libio/iofwrite_u.c: Likewise.
18167 * libio/iopadn.c: Return bytes returned even if EOF was
18168 encountered.
18169 * libio/iowpadn.c: Likewise.
18170 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18171 if _IO_padn does not write the whole buffer.
18172 [!COMPILE_WPRINTF] (PAD): Likewise.
18173
75b4202a
DM
181742013-10-10 David S. Miller <davem@davemloft.net>
18175
18176 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18177 directory block.
18178
6c6352e6
JM
181792013-10-10 Joseph Myers <joseph@codesourcery.com>
18180
33b853c3
JM
18181 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18182 instead of FSF address.
18183 * soft-fp/fixdfti.c: Likewise.
18184 * soft-fp/fixsfti.c: Likewise.
18185 * soft-fp/fixtfti.c: Likewise.
18186 * soft-fp/fixunsdfti.c: Likewise.
18187 * soft-fp/fixunssfti.c: Likewise.
18188 * soft-fp/fixunstfti.c: Likewise.
18189 * soft-fp/floattidf.c: Likewise.
18190 * soft-fp/floattisf.c: Likewise.
18191 * soft-fp/floattitf.c: Likewise.
18192 * soft-fp/floatuntidf.c: Likewise.
18193 * soft-fp/floatuntisf.c: Likewise.
18194 * soft-fp/floatuntitf.c: Likewise.
18195 * soft-fp/trunctfxf2.c: Likewise.
18196
6c6352e6
JM
18197 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18198 * soft-fp/fixdfti.c: Likewise.
18199 * soft-fp/fixsfti.c: Likewise.
18200 * soft-fp/fixtfti.c: Likewise.
18201 * soft-fp/fixunsdfti.c: Likewise.
18202 * soft-fp/fixunssfti.c: Likewise.
18203 * soft-fp/fixunstfti.c: Likewise.
18204 * soft-fp/floattidf.c: Likewise.
18205 * soft-fp/floattisf.c: Likewise.
18206 * soft-fp/floattitf.c: Likewise.
18207 * soft-fp/floatuntidf.c: Likewise.
18208 * soft-fp/floatuntisf.c: Likewise.
18209 * soft-fp/floatuntitf.c: Likewise.
18210 * soft-fp/trunctfxf2.c: Likewise.
18211
3bf78b71
DM
182122013-10-10 David S. Miller <davem@davemloft.net>
18213
18214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18215
6f10289e
JM
182162013-10-10 Joseph Myers <joseph@codsourcery.com>
18217
bd878fc0
JM
18218 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18219 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18220 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18221 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18222 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18223 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18224 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18225
6f10289e
JM
18226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18227 for NaNs before doing comparisons on argument.
18228 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18229 Likewise.
18230
321e2684
WN
182312013-10-10 Will Newton <will.newton@linaro.org>
18232
18233 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18234 passed to _int_memalign does not overflow.
18235
40fefba1
TR
182362013-10-10 Torvald Riegel <triegel@redhat.com>
18237
18238 * scripts/bench.pl: Add include-sources directive.
18239 * benchtests/README: Update documentation.
18240
2ae21ed2
JM
182412013-10-10 Joseph Myers <joseph@codesourcery.com>
18242
dcc2dd3f
JM
18243 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18244 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18245 instead of FP_INIT_ROUNDMODE.
18246 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18247 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18248
2ae21ed2
JM
18249 [BZ #16034]
18250 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18251 copy class of input value.
18252 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18253 not handle exceptions.
18254 * soft-fp/negsf2.c (__negsf2): Likewise.
18255 * soft-fp/negtf2.c (__negtf2): Likewise.
18256 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18257
cb8f9562
JM
182582013-10-09 Joseph Myers <joseph@codesourcery.com>
18259
18260 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18261 semicolon. From Linux kernel.
18262
5b60c59d
AB
182632013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18264
18265 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18266
b86835ca
YC
182672013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18268
18269 [BZ #156]
18270 * manual/socket.texi: Added statement about buffer
18271 for gethostbyname2_r.
18272
e7044ea7
OB
182732013-10-08 Ondřej Bílka <neleai@seznam.cz>
18274
18275 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18276 Use .p2align directive instead, throughout.
18277 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18278 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18279 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18280 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18281 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18282 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18283 * sysdeps/x86_64/strchr.S: Likewise.
18284 * sysdeps/x86_64/strrchr.S: Likewise.
18285
09544cbc
SP
182862013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18287
88576635
SP
18288 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18289
e7b2d1dd
SP
18290 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18291
09544cbc
SP
18292 * sysdeps/generic/math_private.h (__mpsin1): Remove
18293 declaration.
18294 (__mpcos1): Likewise.
18295 (__mpsin): New argument __range_reduce.
18296 (__mpcos): Likewise.
18297 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18298 (slow): Use __mpsin and __mpcos.
18299 (slow1): Likewise.
18300 (slow2): Likewise.
18301 (sloww): Likewise.
18302 (sloww1): Likewise.
18303 (sloww2): Likewise.
18304 (bsloww): Likewise.
18305 (bsloww1): Likewise.
18306 (bsloww2): Likewise.
18307 (cslow2): Likewise.
18308 (csloww): Likewise.
18309 (csloww1): Likewise.
18310 (csloww2): Likewise.
18311 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18312 range_reduce. Merge in __mpsin1.
18313 (__mpcos): Likewise.
18314 (__mpsin1): Remove.
18315 (__mpcos1): Likewise.
18316
7602d070
JM
183172013-10-07 Joseph Myers <joseph@codesourcery.com>
18318
18319 * locale/loadlocale.c (_nl_intern_locale_data): Use
18320 LOCFILE_ALIGNED_P.
18321 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18322 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18323 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18324 obstack data is appropriately aligned.
18325 (obstack_int32_grow_fast): Likewise.
18326 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18327 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18328 (add_locale_uint32_array): Likewise.
18329
a357259b
SP
183302013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18331
18332 * benchtests/Makefile: Remove ARGLIST and RET variables.
18333 ($(objpfx)bench-%.c): Pass only function name to the script.
18334 * benchtests/README: Update documentation.
18335 * benchtests/acos-inputs: Add new directives.
18336 * benchtests/acosh-inputs: Likewise.
18337 * benchtests/asin-inputs: Likewise.
18338 * benchtests/asinh-inputs: Likewise.
18339 * benchtests/atan-inputs: Likewise.
18340 * benchtests/atanh-inputs: Likewise.
18341 * benchtests/cos-inputs: Likewise.
18342 * benchtests/cosh-inputs: Likewise.
18343 * benchtests/exp-inputs: Likewise.
18344 * benchtests/log-inputs: Likewise.
18345 * benchtests/pow-inputs: Likewise.
18346 * benchtests/rint-inputs: Likewise.
18347 * benchtests/sin-inputs: Likewise.
18348 * benchtests/sinh-inputs: Likewise.
18349 * benchtests/tan-inputs: Likewise.
18350 * benchtests/tanh-inputs: Likewise.
18351 * scripts/bench.pl: Add support for new directives.
18352
9ec1b13d
AM
183532013-10-07 Alan Modra <amodra@gmail.com>
18354
18355 * README: Fix careless merge.
18356
8b7d57cd
AM
183572013-10-05 Alan Modra <amodra@gmail.com>
18358
18359 * NEWS: Mention powerpc64le support and bugs fixed.
18360 * README: Both big-endian and little-endian powerpc64 supported.
18361
7b7bab13
ST
183622013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18363
57f41c40
AS
18364 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18365 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18366 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18367 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18368
d39baad1
RA
183692013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18370
18371 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18372 match prototype.
18373
cd78f7e7
JM
183742013-10-04 Joseph Myers <joseph@codesourcery.com>
18375
29d73d86
JM
18376 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18377 Move -mhard-float appending from
18378 ports/sysdeps/powerpc/powerpc32/Makefile.
18379 [$(with-fp) = yes] (ASFLAGS): Likewise.
18380 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18381 * sysdeps/powerpc/nofpu: Move directory from
18382 ports/sysdeps/powerpc/nofpu.
18383 * sysdeps/powerpc/soft-fp: Move directory from
18384 ports/sysdeps/powerpc/soft-fp.
18385 * sysdeps/powerpc/powerpc32/405: Move directory from
18386 ports/sysdeps/powerpc/powerpc32/405.
18387 * sysdeps/powerpc/powerpc32/440: Move directory from
18388 ports/sysdeps/powerpc/powerpc32/440.
18389 * sysdeps/powerpc/powerpc32/464: Move directory from
18390 ports/sysdeps/powerpc/powerpc32/464.
18391 * sysdeps/powerpc/powerpc32/476: Move directory from
18392 ports/sysdeps/powerpc/powerpc32/476.
18393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18394 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18396 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18398 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18400 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18402 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18403 * README: Update for powerpc-*-linux-gnu software floating point
18404 support in libc.
18405
e246b347
JM
18406 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18407 case to powerpc/powerpc32*.
18408 * sysdeps/unix/sysv/linux/configure: Regenerated.
18409
89c2003e
JM
18410 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18411 (_FPU_MASK_OM): Define as 0x04.
18412 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18413 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18414 0x00c10080.
18415 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18416 0x0000003c.
18417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18418
cd78f7e7
JM
18419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18420 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18421 getcontext_e500.
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18423 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18424 setcontext_e500.
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18426 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18427 and setcontext_e500.
18428
c755294d
CL
184292013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18430
18431 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18432
e16d221c
SP
184332013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18434
18435 * manual/threads.texi (Default Thread Attributes): Fix typo.
18436
215c7d43
WN
184372013-10-04 Will Newton <will.newton@linaro.org>
18438
18439 * malloc/Makefile: Add tst-memalign.
18440 * malloc/tst-memalign.c: New file.
18441
27d0461b
WN
18442 * malloc/tst-posix_memalign.c: Add comments.
18443 (do_test): Add comments and call free on all potentially
18444 allocated pointers. Add space after cast.
18445
1bc92709
WN
18446 * malloc/tst-pvalloc.c: Add comments.
18447 (do_test): Add comments and call free on all potentially
18448 allocated pointers. Remove duplicate check for NULL pointer.
18449 Add space after cast.
18450
66a9be9d
WN
18451 * malloc/tst-valloc.c: Add comments.
18452 (do_test): Add comments and call free on all potentially
18453 allocated pointers. Remove duplicate check for NULL pointer.
18454 Add space after cast.
18455
4cb81307
AM
184562013-10-04 Alan Modra <amodra@gmail.com>
18457
18458 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18459 Use stdint types in rather than __attribute__((mode())).
18460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18461
f8e3e9f3
AM
184622013-10-04 Alan Modra <amodra@gmail.com>
18463
18464 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18465 Correct handling of unaligned relocs for little-endian.
18466 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18467
8f9ebb08
AM
184682013-10-04 Alan Modra <amodra@gmail.com>
18469
18470 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18471 * configure: Regenerate.
18472 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18473 * shlib-versions: Likewise.
18474
0edf96c2
AM
184752013-10-04 Alan Modra <amodra@gmail.com>
18476
18477 * string/tester.c (test_memrchr): Increment reported test cycle.
18478
e0f7a380
AM
184792013-10-04 Alan Modra <amodra@gmail.com>
18480
18481 * string/test-memcpy.c (do_one_test): When reporting errors, print
18482 string address and don't overrun end of string.
18483
466b0393
AM
184842013-10-04 Alan Modra <amodra@gmail.com>
18485
18486 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18487 insrdi. Make better use of reg selection to speed exit slightly.
18488 Schedule entry path a little better. Remove useless "are we done"
18489 checks on entry to main loop. Handle wrapping around zero address.
18490 Correct main loop count. Handle single left-over word from main
18491 loop inline rather than by using loop_small. Remove extra word
18492 case in loop_small caused by wrong loop count. Add little-endian
18493 support.
18494 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18496 cache hint.
18497 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18498 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18499 support. Avoid rlwimi.
18500 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18501
3be87c77
AM
185022013-10-04 Alan Modra <amodra@gmail.com>
18503
18504 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18505 insrdi. Formatting.
3be87c77
AM
18506 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18507 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18508 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18509 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18510 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18511 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18512
759cfef3
AM
185132013-10-04 Alan Modra <amodra@gmail.com>
18514
18515 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18516 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18517 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18518 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18519 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18520 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18522 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18523 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18524 use of regs. Use power7 mtocrf. Tidy function tails.
18525
fe6e95d7
AM
185262013-10-04 Alan Modra <amodra@gmail.com>
18527
18528 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18529 Formatting. Consistently use rXXX register defines or rN defines.
18530 Use early exit labels that avoid restoring unused non-volatile regs.
18531 Make cr field use more consistent with rWORDn compares. Rename
18532 regs used as shift registers for unaligned loop, using rN defines
18533 for short lifetime/multiple use regs.
18534 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18535 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18536 addi 1,1,64 to pop stack frame. Simplify return value code.
18537 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18538
664318c3
AM
185392013-10-04 Alan Modra <amodra@gmail.com>
18540
18541 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18542 support. Correct typos, formatting. Optimize tail. Use insrdi
18543 rather than rlwimi.
18544 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18545 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18546 little-endian support. Correct typos.
18547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18548 rather than rlwimi.
18549 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18550 in loop and entry code to keep "and." results.
18551 (strchr): Add little-endian support. Comment. Move cntlzd
18552 earlier in tail.
18553 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18554
43b84013
AM
185552013-10-04 Alan Modra <amodra@gmail.com>
18556
18557 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18558 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18559 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18560 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18561
8a7413f9
AM
185622013-10-04 Alan Modra <amodra@gmail.com>
18563
18564 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18565 (rTMP): Define as r11.
18566 (strcmp): Add little-endian support. Optimise tail.
18567 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18568 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18569 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18571 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18573 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18574
33ee81de
AM
185752013-10-04 Alan Modra <amodra@gmail.com>
18576
18577 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18578 little-endian support. Remove unnecessary "are we done" tests.
18579 Handle "s" wrapping around zero and extremely large "size".
18580 Correct main loop count. Handle single left-over word from main
18581 loop inline rather than by using small_loop. Correct comments.
18582 Delete "zero" tail, use "end_max" instead.
18583 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18584
db9b4570
AM
185852013-10-04 Alan Modra <amodra@gmail.com>
18586
18587 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18588 support. Don't branch over align.
18589 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18590 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18591 support. Rearrange tmp reg use to suit. Comment.
18592 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18593
f7c399cf
AM
185942013-10-04 Alan Modra <amodra@gmail.com>
18595
18596 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18597
0b2c2ace
AM
185982013-10-04 Alan Modra <amodra@gmail.com>
18599
18600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18601 conditional form of branch and link when obtaining pc.
18602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18603
02f04a6c
AM
186042013-10-04 Alan Modra <amodra@gmail.com>
18605
18606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18607 HIWORD/LOWORD.
18608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18610
9b874b2f
AM
186112013-10-04 Alan Modra <amodra@gmail.com>
18612
18613 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18614 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18615 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18616 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18617 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18618 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18619 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18620 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18621 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18622 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18623
be1e5d31
AB
186242013-10-04 Anton Blanchard <anton@au1.ibm.com>
18625 Alistair Popple <alistair@ozlabs.au.ibm.com>
18626 Alan Modra <amodra@gmail.com>
18627
18628 [BZ #15723]
18629 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18630 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18631 _dl_hwcap access for little-endian.
18632 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18633 destroy vmx regs when saving unaligned.
18634 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18636 destroy vmx regs when saving unaligned.
18637
fef13a78
AM
186382013-10-04 Alan Modra <amodra@gmail.com>
18639
18640 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18641 Don't use a union to pack hi/low value.
18642
76a66d51
AB
186432013-10-04 Anton Blanchard <anton@au1.ibm.com>
18644
18645 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18646 for little-endian.
18647 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18648 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18649 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18650 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18651 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18652
6a31fe7f
AM
186532013-10-04 Alan Modra <amodra@gmail.com>
18654
18655 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18656 constants to usual value for .cst8 section, and remove redundant
18657 high address load.
18658 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18659 constant for 0x1p52. Load little-endian words of double from
18660 correct stack offsets.
18661
7b88401f
AM
186622013-10-04 Alan Modra <amodra@gmail.com>
18663
18664 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18665 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18666 words of double from correct stack offsets.
18667 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18668 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18669 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18670 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18673 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18674 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18675 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18677 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18678 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18679 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18680 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18681 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18682 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18683 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18684
9c008155
AM
186852013-10-04 Alan Modra <amodra@gmail.com>
18686
18687 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18688 64-bit int/double union.
18689 (_FPU_SETCW): Likewise.
18690 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18691 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18692
da13146d
AM
186932013-10-04 Alan Modra <amodra@gmail.com>
18694
18695 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18696 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18697
603e8410
AM
186982013-10-04 Alan Modra <amodra@gmail.com>
18699
18700 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18701 use vector int constants.
18702 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18703
4a28b3ca
AB
187042013-10-04 Anton Blanchard <anton@au1.ibm.com>
18705
18706 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18707 array with long long.
18708 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18709 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18710 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18711 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18712 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18713 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18714 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18715 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18716 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18717 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18718 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18719 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18720 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18721
2ca85d2b
AB
187222013-10-04 Anton Blanchard <anton@au1.ibm.com>
18723
18724 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18725 (__signbit): Likewise. Correct for little-endian.
18726 (__signbitl): Call __signbit.
18727 (lrint): Correct for little-endian.
18728 (lrintf): Call lrint.
18729
62a728ae
AM
187302013-10-04 Alan Modra <amodra@gmail.com>
18731
18732 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18733 union 32-bit int array member with 64-bit int array.
18734 (t515, tm256): Double rather than long double.
18735 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18736
32c301df
AM
187372013-10-04 Alan Modra <amodra@gmail.com>
18738
18739 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18740 Delete.
18741 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18743 version of math_ldbl.h.
18744
650ef4bd
AM
187452013-10-04 Alan Modra <amodra@gmail.com>
18746
18747 [BZ #15734], [BZ #15735]
18748 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18749 all uses of ieee875 long double macros and unions. Simplify test
18750 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18751 ldbl_extract_mantissa value for ix,iy exponents. Properly
18752 normalize after ldbl_extract_mantissa, and don't add hidden bit
18753 already handled. Don't treat low word of ieee854 mantissa like
18754 low word of IBM long double and mask off bit when testing for
18755 zero.
18756 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18757 all uses of ieee875 long double macros and unions. Simplify tests
18758 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18759 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18760 two1022, instead use their values. Recognise that tests for large
18761 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18763 Rewrite all uses of ieee875 long double macros and unions. Simplify
18764 test for 0.0L and nan. Correct negation.
18765 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18766 ieee875 long double macros and unions. Correct output for large
18767 magnitude x. Correct absolute value calculation.
18768 (__erfcl): Likewise.
18769 * math/libm-test.inc: Add tests for errors discovered in IBM long
18770 double versions of fmodl, remainderl, erfl and erfcl.
18771
765714ca
AM
187722013-10-04 Alan Modra <amodra@gmail.com>
18773
18774 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18775 all uses of ieee854 long double macros and unions. Simplify tests
18776 for long doubles that are fully specified by the high double.
18777 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18778 Likewise.
18779 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18780 Remove dead code too.
18781 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18782 (__ieee754_ynl): Likewise.
18783 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18784 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18785 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18786 Remove dead code too.
18787 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18788 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18789 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18790 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18791 Simplify.
18792 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18793 Simplify.
18794 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18797 Comment on variable precision.
18798 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18800 Likewise.
18801 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18805 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18806
4ebd120c
AM
188072013-10-04 Alan Modra <amodra@gmail.com>
18808
18809 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18810 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18811 all uses of ieee854 long double macros and unions.
18812 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18818 Likewise.
18819 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18820 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18821 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18823 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18824 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18825 Simplify sign and nan test too.
18826 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18827 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18828 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18829 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18830 Likewise.
18831 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18832 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18833 Likewise.
18834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18835 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18837 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18840
1b6adf88
AM
188412013-10-04 Alan Modra <amodra@gmail.com>
18842
18843 * stdio-common/printf_size.c (__printf_size): Don't use
18844 union ieee854_long_double in fpnum union.
18845 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18846 signbit macro to retrieve sign from long double.
18847 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18848 retrieve sign from long double.
18849 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18850 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18851 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18852 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18853 * math/test-misc.c (main): Don't use union ieee854_long_double.
18854
4cf69995
AM
188552013-10-04 Alan Modra <amodra@gmail.com>
18856
18857 [BZ #15680]
18858 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18859 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18860 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18861 calculation. Remove unnecessary test for denormal exponent.
18862 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18863 Correct handling of denormals. Avoid undefined shift behaviour.
18864 Correct normalisation of low mantissa when low double is denormal.
18865 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18866 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18867 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18868 Correct normalisation of low mantissa. Test for overflow of high
18869 mantissa and normalise.
18870 (ldbl_nearbyint): Use more readable constant for two52.
18871 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18872 (__mpn_construct_long_double): Fix test for overflow of high
18873 mantissa and correct normalisation. Avoid undefined shift.
18874
9605ca6c
AM
188752013-10-04 Alan Modra <amodra@gmail.com>
18876
18877 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18878 (union ibm_extended_long_double): Define as an array of ieee754_double.
18879 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18880 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18881 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18882 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18885 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18886 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18887 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18888 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18889 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18890
975569d0
JM
188912013-10-03 Joseph Myers <joseph@codesourcery.com>
18892
d3d23756
JM
18893 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18894 page size instead of calling getpagesize.
18895
975569d0
JM
18896 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18897 (LOCFILE_ALIGN_MASK): Likewise.
18898 (LOCFILE_ALIGN_UP): Likewise.
18899 (LOCFILE_ALIGNED_P): Likewise.
18900 * locale/programs/ld-collate.c (collate_output): Use the new
18901 macros instead of __alignof__ (int32_t).
18902 * locale/weight.h (findidx): Likewise.
18903
b1fe1f2b
OB
189042013-10-03 Ondřej Bílka <neleai@seznam.cz>
18905
18906 [BZ #431]
18907 * manual/string.texi: Fix strncat and wcsncat.
18908
5f855e35
BM
189092013-10-03 Brooks Moses <bmoses@google.com>
18910
18911 [BZ #15915]
18912 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18913 * Makerules: ...here, and adjust associated comments.
18914
3cef6009
WN
189152013-10-02 Will Newton <will.newton@linaro.org>
18916
18917 * malloc/Makefile: Add tst-pvalloc.
18918 * malloc/tst-pvalloc.c: New file.
18919
7815420b
WN
189202013-10-02 Will Newton <will.newton@linaro.org>
18921
18922 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18923 improve test coverage.
18924
4868b204
WN
189252013-10-02 Will Newton <will.newton@linaro.org>
18926
18927 * malloc/Makefile: Add tst-posix_memalign.
18928 * malloc/tst-posix_memalign.c: New file.
18929
29c793b3
EB
189302013-10-01 Eric Blake <eblake@redhat.com>
18931
18932 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18933 Use __THROWNL rather than __THROW on static functions.
18934
fd967522
PM
189352013-09-30 Petr Machata <pmachata@redhat.com>
18936
18937 * elf/elf.h (R_AARCH64_ABS16): New macro.
18938 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18939 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18940 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18941 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18942 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18943 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18944 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18945 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18946 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18947 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18948 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18949 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18950 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18951 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18952 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18953 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18954 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18955 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18956 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18957 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18958 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18959 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18960 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18961 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18962 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18963 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18964 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18965 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18966 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18967 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18968 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18969 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18970 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18971 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18972 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18973 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18974 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18975 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18976 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18977 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18978 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18979 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18980 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18981 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18982 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18983 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18984 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18985 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18986 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18987 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18988 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18989 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18990 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18991 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18992 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18993 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18994 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18995 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18996 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18997 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18998 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18999 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19000 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19001 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19002 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19003 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19004 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19005 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19006 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19007 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19008 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19009 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19010 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19011 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19012 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19013 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19014 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19015 (R_AARCH64_TLSDESC_LDR): Likewise.
19016 (R_AARCH64_TLSDESC_ADD): Likewise.
19017 (R_AARCH64_TLSDESC_CALL): Likewise.
19018
b2179107
AS
190192013-09-30 Andreas Schwab <schwab@suse.de>
19020
19021 [BZ #15048]
19022 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19023 the nss database lookup.
19024 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19026
47f28d0a
MF
190272013-09-28 Mike Frysinger <vapier@gentoo.org>
19028
19029 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19030
190312013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19032
19033 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19034 ${Bash-specific parameter/pattern/string} parameter expansion.
19035 * sysdeps/unix/make-syscalls.sh: Likewise.
19036
f4518a17
KK
190372013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19038
19039 * sysdeps/sh/stackguard-macros.h: New file.
19040
dc1a95c7
OB
190412013-09-26 Ondřej Bílka <neleai@seznam.cz>
19042
19043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19045 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19046 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19047 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19048 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19049
5ebbff8f
AZ
190502013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19051
19052 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19053 Fix thread ID register.
19054
4fd2cf9f
JM
190552013-09-25 Joseph Myers <joseph@codesourcery.com>
19056
19057 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19058 [POSIX || UNIX98]: Require rather than permitting all symbols from
19059 <time.h>.
19060 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19061 element of struct sched_param.
19062 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19063 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19064 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19065 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19066 constant.
19067
12c22bc4
OL
190682013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19069
19070 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19071 argument calculation.
19072
a03d8ea7
JM
190732013-09-24 Joseph Myers <joseph@codesourcery.com>
19074
19075 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19076 Expect macro.
19077 [POSIX] (pthread_attr_t): Do not require type.
19078 [POSIX] (pthread_cond_t): Likewise.
19079 [POSIX] (pthread_condattr_t): Likewise.
19080 [POSIX] (pthread_key_t): Likewise.
19081 [POSIX] (pthread_mutex_t): Likewise.
19082 [POSIX] (pthread_mutexattr_t): Likewise.
19083 [POSIX] (pthread_once_t): Likewise.
19084 [POSIX] (pthread_t): Likewise.
19085 [POSIX-based standards] (pthread_atfork): Expect function.
19086
6055173a
JM
190872013-09-24 Joseph Myers <joseph@codesourcery.com>
19088 Richard Sandiford <richard@codesourcery.com>
19089
19090 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19091 (swap_endianness_p): New extern variable.
19092 (set_big_endian): New inline function.
19093 (maybe_swap_uint32): Likewise.
19094 (maybe_swap_uint32_array): Likewise.
19095 (maybe_swap_uint32_obstack): Likewise.
19096 * locale/programs/locfile.c: Include <stdbool.h>.
19097 (swap_endianness_p): New variable.
19098 (add_locale_uint32): Call maybe_swap_uint32.
19099 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19100 (write_locale_data): Call maybe_swap_uint32_array.
19101 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19102 maybe_swap_uint32.
19103 (obstack_int32_grow_fast): Likewise.
19104 (output_weightwc): Call maybe_swap_uint32_obstack.
19105 (collate_output): Likewise.
19106 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19107 (OPT_LITTLE_ENDIAN): Likewise.
19108 (options): Add --little-endian and --big-endian options.
19109 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19110 * locale/programs/locarchive.c: Include "locfile.h".
19111 (GET): New macro.
19112 (SET): Likewise.
19113 (INC): Likewise.
19114 (create_archive): Use the new macros to access fields of
19115 structures directly mapped from or written to locale archives.
19116 (oldlocrecentcmp): Likewise.
19117 (enlarge_archive): Likewise.
19118 (insert_name): Likewise.
19119 (add_alias): Likewise.
19120 (add_locale): Likewise.
19121 (delete_locales_from_archive): Likewise.
19122 (show_archive_content): Likewise.
19123 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19124 locale data.
19125
39bf0bb4
RM
191262013-09-24 Roland McGrath <roland@hack.frob.com>
19127
19128 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19129 http://www.gnu.org/doc/freemanuals.texi.
19130 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19131
f02eed10
WN
191322013-09-24 Will Newton <will.newton@linaro.org>
19133
19134 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19135 macro.
19136
a3a6c312
JM
191372013-09-23 Joseph Myers <joseph@codesourcery.com>
19138
19139 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19140 unsigned char.
19141
107375ac
MR
191422013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19143
19144 * manual/threads.texi (POSIX Threads): Fix a typo.
19145
141f3a77
SP
191462013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19147
303e567a
SP
19148 [BZ #14547]
19149 * string/tst-strcoll-overflow.c: New test case.
19150 * string/Makefile (xtests): Add tst-strcoll-overflow.
19151 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19152 cache if string sizes may cause integer overflow.
19153
141f3a77
SP
19154 [BZ #14547]
19155 * string/strcoll_l.c (coll_seq): New members rule, idx,
19156 save_idx and back_us.
19157 (get_next_seq_nocache): New function.
19158 (do_compare_nocache): New function.
19159 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19160 when malloc fails.
19161
c61b4d41
CD
191622013-09-23 Carlos O'Donell <carlos@redhat.com>
19163
0b1f8e35
CD
19164 [BZ #15754]
19165 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19166 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19167 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19168
c61b4d41
CD
19169 [BZ #15754]
19170 * elf/Makefile (tests): Add tst-ptrguard1.
19171 (tests-static): Add tst-ptrguard1-static.
19172 (tst-ptrguard1-ARGS): Define.
19173 (tst-ptrguard1-static-ARGS): Define.
19174 * elf/tst-ptrguard1.c: New file.
19175 * elf/tst-ptrguard1-static.c: New file.
19176 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19177 * sysdeps/i386/stackguard-macros.h: Likewise.
19178 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19179 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19180 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19181 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19182 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19183 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19184
191852013-09-23 Hector Marco <hecmargi@upv.es>
19186 Ismael Ripoll <iripoll@disca.upv.es>
19187 Carlos O'Donell <carlos@redhat.com>
19188
19189 [BZ #15754]
19190 * sysdeps/generic/stackguard-macros.h: Define
19191 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19192 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19193 Define __pointer_chk_guard_local.
19194 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19195 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19196
f5f4e7b4
VV
191972013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19198
19199 [BZ #15859]
19200 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19201
5bb43a43
AS
192022013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19203
19204 * include/string.h (__ffs): Declare as hidden.
19205 * string/ffs.c (__ffs): Define as hidden.
19206 * sysdeps/i386/ffs.c (__ffs): Likewise.
19207 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19208 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19209 * sysdeps/s390/ffs.c (__ffs): Likewise.
19210 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19211
3ea5be54
AO
192122013-09-20 Alexandre Oliva <aoliva@redhat.com>
19213
ffb89e53
AO
19214 * NEWS: Mention malloc probes.
19215
322dea08
AO
19216 * malloc/arena.c (new_heap): New memory_heap_new probe.
19217 (grow_heap): New memory_heap_more probe.
19218 (shrink_heap): New memory_heap_less probe.
19219 (heap_trim): New memory_heap_free probe.
19220 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19221 (systrim): New memory_sbrk_less probe.
19222 * manual/probes.texi: Document them.
19223
655673f3
AO
19224 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19225 * manual/probes.texi: Document it.
19226
35fed6f1
AO
19227 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19228 (__libc_realloc): Add memory_realloc_retry probe.
19229 (__libc_memalign): Add memory_memalign_retry probe.
19230 (__libc_valloc): Add memory_valloc_retry probe.
19231 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19232 (__libc_calloc): Add memory_calloc_retry probe.
19233 * manual/probes.texi: Document them.
19234
6999d38c
AO
19235 * malloc/arena.c (get_free_list): Add probe
19236 memory_arena_reuse_free_list.
19237 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19238 and memory_arena_reuse.
19239 (arena_get2) [!PER_THREAD]: Likewise.
19240 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19241 memory_arena_reuse_realloc.
19242 * manual/probes.texi: Document them.
19243
0653427f
AO
19244 * malloc/malloc.c (__libc_free): Add
19245 memory_mallopt_free_dyn_thresholds probe.
19246 (__libc_mallopt): Add multiple memory_mallopt probes.
19247 * manual/probes.texi: Document them.
19248
3ea5be54
AO
19249 * malloc/malloc.c: Include stap-probe.h.
19250 (__libc_mallopt): Add memory_mallopt probe.
19251 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19252 * manual/probes.texi: New.
19253 * manual/Makefile (chapters): Add probes.
19254 * manual/threads.texi: Set next node.
19255
e35696c3 192562013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19257
e35696c3
CL
19258 [BZ #15963, #13985]
19259 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19260 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19261 Add `Chinese' to `nan' entry name.
19262
4aafb73c
SP
192632013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19264
19265 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19266 (POLYNOMIAL): Likewise.
19267 (TAYLOR_SINCOS): Likewise.
19268 (TAYLOR_SLOW): Likewise.
19269 (__sin): Use TAYLOR_SINCOS.
19270 (__cos): Likewise.
19271 (slow): Use TAYLOR_SLOW.
19272 (sloww): Likewise.
19273 (bsloww): Likewise.
19274 (csloww): Likewise.
19275
d84f25c7
LD
192762013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19277
19278 * stdlib/strtod_l.c: Fix buffer overrun.
19279
5eea0404
SP
192802013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19281
7849ff93
SP
19282 * benchtests/Makefile (bench): Add sincos.
19283 * benchtests/bench-sincos.c: New file.
19284
cfa3c886
SP
19285 * math/libm-test.inc (cos_test_data): New test inputs.
19286 (sin_test_data): Likewise.
19287
b348e1e3
SP
19288 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19289 macro.
19290 (__sin): Use it.
19291 (__cos): Likewise.
19292 (slow1): Likewise.
19293 (slow2): Likewise.
19294 (sloww1): Likewise.
19295 (sloww2): Likewise.
19296 (bsloww1): Likewise.
19297 (bsloww2): Likewise.
19298 (cslow2): Likewise.
19299 (csloww1): Likewise.
19300 (csloww2): Likewise.
19301
6cce25f8
SP
19302 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19303 function.
19304 (__sin): Use it.
19305 (__cos): Likewise.
19306
5eea0404
SP
19307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19308 gotos.
19309 (__cos): Likewise.
19310
9c21573c
MR
193112013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19312
19313 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19314 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19315 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19316 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19317 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19318 * elf/cache.c (print_entry): Handle the new cache flags.
19319
24d22e65
JM
193202013-09-18 Joseph Myers <joseph@codesourcery.com>
19321 Aldy Hernandez <aldyh@redhat.com>
19322
19323 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19324 Change condition to [_SOFT_FLOAT].
19325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19337 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19340 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19341 declaration.
19342
d13ef066
JM
193432013-09-18 Joseph Myers <joseph@codesourcery.com>
19344
2e071de0
JM
19345 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19346 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19347 (__longjmp): Use LOAD_GP to load saved GPRs.
19348 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19349 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19350 (__sigsetjmp): Use SAVE_GP to save GPRs.
19351
d13ef066
JM
19352 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19353 Do not append -msoft-float.
19354 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19355
97a0650b
SP
193562013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19357
19358 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19359
11ca09e9
JM
193602013-09-17 Joseph Myers <joseph@codesourcery.com>
19361
19362 [BZ #15966]
19363 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19364 (_FPU_GETCW): Use initial "__" on variable and field names but not
19365 on macro parameter name.
19366 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19367 parentheses around reference to macro parameter.
19368
08ffcf34
RS
193692013-09-13 Richard Sandiford <richard@codesourcery.com>
19370
19371 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19372 prototype.
19373 (ctype_startup): Use uint32_t in cast and sizeof for
19374 ctype->charnames.
19375
ae7080d3
JL
193762013-09-11 Jia Liu <proljc@gmail.com>
19377
19378 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19379 __daddr_t_defined.
19380 [__FreeBSD__]: Likewise.
19381
5905e7b3
OB
193822013-09-11 Ondřej Bílka <neleai@seznam.cz>
19383
19384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19385 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19386 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19387 (strchr): Remove __strchr_sse42 ifunc selection.
19388 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19389 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19390
b987c776
WN
193912013-09-11 Will Newton <will.newton@linaro.org>
19392
19393 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19394 parameter to RES. Remove hardcoded 1000 value.
19395 * benchtests/bench-skeleton.c (main): Pass RES parameter
19396 to TIMING_INIT and multiply result by 1000.
19397
ddf985af
AZ
193982013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19399
19400 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19401
ffdd3181
AS
194022013-09-11 Andreas Schwab <schwab@suse.de>
19403
19404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19405 if not defined.
19406 (O_TMPFILE) [__USE_GNU]: Define.
19407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19408 Define.
19409
b73ed247
WN
194102013-09-11 Will Newton <will.newton@linaro.org>
19411
19412 [BZ #15857]
19413 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19414 does not overflow.
19415
55e17aad
WN
194162013-09-11 Will Newton <will.newton@linaro.org>
19417
19418 [BZ #15856]
19419 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19420 does not overflow.
19421
1159a193
WN
194222013-09-11 Will Newton <will.newton@linaro.org>
19423
19424 [BZ #15855]
19425 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19426 does not overflow.
19427
5905e7b3 194282013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19429
19430 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19431 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19435
cdfc721b
AM
194362013-09-10 Allan McRae <allan@archlinux.org>
19437
aa04af00
AM
19438 [BZ #15748]
19439 * manual/arith.texi (Parsing of Floats): Clarify
19440 cross-reference.
19441
cdfc721b
AM
19442 [BZ #15849]
19443 * manual/install.texi (Running make install): Mention
19444 --enable-pt-chown.
19445 * INSTALL: Regenerated.
19446
95e7cf29
MR
194472013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19448
19449 * csu/init-first.c (_init): Remove the !SHARED condition around
19450 FPU control word initialization.
19451 * elf/dl-support.c (_dl_fpu_control): New variable.
19452 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19453 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19454 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19455 * math/test-fpucw-static.c: New file.
19456 * math/test-fpucw-ieee.c: New file.
19457 * math/test-fpucw-ieee-static.c: New file.
19458 * math/Makefile (tests): Add `test-fpucw-ieee' and
19459 `$(tests-static)'.
19460 (tests-static): New variable.
19461 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19462 dependency to...
19463 [($(build-shared),yes)]
19464 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19465 ... this.
19466 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19467 New dependency.
19468
83e43bf0
AM
194692013-09-09 Allan McRae <allan@archlinux.org>
19470
a9f5ce09
AM
19471 [BZ #15939]
19472 * manual/string.texi (Collation Functions): Fix typo in
19473 strcoll example.
19474 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19475
34829bc2
AM
19476 [BZ #15893]
19477 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19478
3932737d
AM
19479 [BZ #15892]
19480 * libio/memstream.c (open_memstream): Fix memory leak.
19481 * libio/wmemstream.c (open_wmemstream): Likewise.
19482
83e43bf0
AM
19483 [BZ #15895]
19484 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19485
0c66b8e9
WN
194862013-09-09 Will Newton <will.newton@linaro.org>
19487
19488 * malloc/Makefile: Add tst-realloc to tests.
19489 * malloc/tst-realloc.c: New file.
19490
f6b00fd1
AM
194912013-09-09 Allan McRae <allan@archlinux.org>
19492
19493 [BZ #15844]
19494 * COPYING: Update from GNU website to fix FSF address.
19495 * COPYING.LIB: Likewise.
19496
eec55e16
DM
194972013-09-06 David S. Miller <davem@davemloft.net>
19498
19499 * po/zh_TW.po: Update Chinese (traditional) translation from
19500 translation project.
19501
1ecbb381
RS
195022013-09-06 Richard Sandiford <richard@codesourcery.com>
19503 Joseph Myers <joseph@codesourcery.com>
19504
19505 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19506 "localeinfo.h".
19507 (obstack_chunk_alloc): New macro.
19508 (obstack_chunk_free): Likewise.
19509 (record_offset): New function.
19510 (init_locale_data): Likewise.
19511 (align_locale_data): Likewise.
19512 (add_locale_empty): Likewise.
19513 (add_locale_raw_data): Likewise.
19514 (add_locale_raw_obstack): Likewise.
19515 (add_locale_string): Likewise.
19516 (add_locale_wstring): Likewise.
19517 (add_locale_uint32): Likewise.
19518 (add_locale_uint32_array): Likewise.
19519 (add_locale_char): Likewise.
19520 (start_locale_structure): Likewise.
19521 (end_locale_structure): Likewise.
19522 (start_locale_prelude): Likewise.
19523 (end_locale_prelude): Likewise.
19524 (write_locale_data): Take locale_file structure rather than an
19525 iovec.
19526 * locale/programs/locfile.h: Include "obstack.h".
19527 (struct locale_file): Change to store locale file contents instead
19528 of header.
19529 (init_locale_data): New prototype.
19530 (align_locale_data): Likewise.
19531 (add_locale_empty): Likewise.
19532 (add_locale_raw_data): Likewise.
19533 (add_locale_raw_obstack): Likewise.
19534 (add_locale_string): Likewise.
19535 (add_locale_wstring): Likewise.
19536 (add_locale_uint32): Likewise.
19537 (add_locale_uint32_array): Likewise.
19538 (add_locale_char): Likewise.
19539 (start_locale_structure): Likewise.
19540 (end_locale_structure): Likewise.
19541 (start_locale_prelude): Likewise.
19542 (end_locale_prelude): Likewise.
19543 (write_locale_data): Update prototype.
19544 * locale/programs/3level.h (struct TABLE): Remove result field.
19545 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19546 Use new locale_file interface.
19547 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19548 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19549 * locale/programs/ld-address.c (address_output): Use new
19550 locale_file interface.
19551 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19552 NO_ADD_LOCALE.
19553 (collate_finish): Don't call collseq_table_finalize.
19554 (collate_output): Use new locale_file interface.
19555 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19556 in file.
19557 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19558 (TABLE): Move defines earlier in file.
19559 (ELEMENT): Likewise.
19560 (DEFAULT): Likewise.
19561 (wctrans_table_add): Move macro and inline function earlier in
19562 file.
19563 (struct wctype_table): Move type earlier in file.
19564 (add_locale_wctype_table): New static prototype.
19565 (struct locale_ctype_t): Use logical types instead of struct iovec
19566 pointers for members.
19567 (ctype_output): Use new locale_file interface.
19568 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19569 new locale_file interface.
19570 (allocate_arrays): Update for use of new locale_file interface.
19571 * locale/programs/ld-identification.c (identification_output): Use
19572 new locale_file interface.
19573 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19574 * locale/programs/ld-messages.c (messages_output): Likewise.
19575 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19576 * locale/programs/ld-name.c (name_output): Likewise.
19577 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19578 * locale/programs/ld-paper.c (paper_output): Likewise.
19579 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19580 * locale/programs/ld-time.c (time_output): Likewise.
19581
e029e2e5
AZ
195822013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19583
19584 * benchtests/Makefile: Add memrchr benchmark.
19585 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19586 benchmark as memrchr.
19587 * benchtests/bench-memrchr-ifunc.c: New file.
19588 * benchtests/bench-memrchr.c: New file.
19589
bbf6e8e4
WN
195902013-09-06 Will Newton <will.newton@linaro.org>
19591
19592 * benchtests/Makefile (string-bench): Add memcpy.
19593
6c82a2f8
CD
195942013-09-05 Carlos O'Donell <carlos@redhat.com>
19595 Cong Wang <amwang@redhat.com>
19596
e732c5f0 19597 [BZ #15850]
6c82a2f8
CD
19598 * sysdeps/unix/sysv/linux/bits/in.h
19599 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19600 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19601 before __USE_KERNEL_IPV6_DEFS uses.
19602 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19603 IPPROTO_BEETPH.
19604 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19605 sockaddr_in6, or ipv6_mreq.
19606
5430fc65
AZ
196072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19608
19609 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19610 memory access for final bytes in some large inputs.
19611 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19612
4660856c
AZ
196132013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19614
19615 * string/test-memrchr.c: New file.
19616 * string/test-memrchr-ifunc.c: New file.
19617 * string/Makefile: Add new memrchr testcase.
19618
bb8ea713
MF
196192013-09-05 Mike Frysinger <vapier@gentoo.org>
19620
19621 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19622 fanotify_init returns EPERM.
19623
b92a20b5
JM
196242013-09-04 Joseph Myers <joseph@codesourcery.com>
19625
19626 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19627 errors.
19628 (top level): Treat second token from macro or constant entries for
19629 allowed headers as allowed.
19630 * include/complex.h: Condition internal declarations on
19631 [!_ISOMAC].
19632 * include/fenv.h: Condition include of <stdbool.h> and internal
19633 declarations on [!_ISOMAC].
7447ccd9
CL
19634
196352013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19636
3e181dda 19637 [BZ #15923]
7447ccd9
CL
19638 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19639
3f2e46a4
JM
196402013-09-04 Joseph Myers <joseph@codesourcery.com>
19641
19642 * configure.in (--enable-versioning): Remove configure option.
19643 (libc_cv_asm_symver_directive): Remove configure test.
19644 (libc_cv_ld_version_script_option): Likewise.
19645 (VERSIONING): Remove variable and AC_SUBST.
19646 (DO_VERSIONING): Remove AC_DEFINE.
19647 * configure: Regenerated.
19648 * config.h.in (DO_VERSIONING): Remove macro.
19649 * Makerules [$(versioning) = yes]: Change conditionals to
19650 [$(build-shared) = yes].
19651 * config.make.in (versioning): Remove variable.
19652 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19653 [$(build-shared) = yes].
19654 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19655 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19656 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19657 [$(build-shared) = yes].
19658 * extra-lib.mk [$(versioning) = yes]: Likewise.
19659 * hurd/Makefile [$(versioning) = yes]: Likewise.
19660 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19661 [SHARED].
19662 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19663 [SHARED].
19664 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19665 [SHARED && !NO_HIDDEN].
19666 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19667 [SHARED].
19668 [SHARED && DO_VERSIONING]: Likewise..
19669 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19670 [$(build-shared) = yes].
19671 * manual/install.texi (--disable-versioning): Remove
19672 documentation.
19673 * INSTALL: Regenerated.
19674 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19675 to [SHARED].
19676 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19677 [$(build-shared) = yes].
19678 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19679 * sysdeps/i386/i686/multiarch/strstr-c.c
19680 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19681 [SHARED && !NO_HIDDEN].
19682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19683 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19684 * sysdeps/powerpc/powerpc32/dl-machine.c
19685 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19686 * sysdeps/powerpc/powerpc32/sysdep.h
19687 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19688 to [SHARED && PIC && !NO_HIDDEN].
19689 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19690 conditional to [SHARED].
19691
44558701
WN
196922013-09-04 Will Newton <will.newton@linaro.org>
19693
19694 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19695 * benchtests/bench-string.h: Include bench-timing.h instead
19696 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19697 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19698 call to HP_TIMING_DIFF_INIT.
19699 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19700 instead of hp-timing.h macros.
19701 * benchtests/bench-memchr.c: Likewise.
19702 * benchtests/bench-memcmp.c: Likewise.
19703 * benchtests/bench-memcpy.c: Likewise.
19704 * benchtests/bench-memmem.c: Likewise.
19705 * benchtests/bench-memmove.c: Likewise.
19706 * benchtests/bench-memset.c: Likewise.
19707 * benchtests/bench-rawmemchr.c: Likewise.
19708 * benchtests/bench-strcasecmp.c: Likewise.
19709 * benchtests/bench-strcasestr.c: Likewise.
19710 * benchtests/bench-strcat.c: Likewise.
19711 * benchtests/bench-strchr.c: Likewise.
19712 * benchtests/bench-strcmp.c: Likewise.
19713 * benchtests/bench-strcpy.c: Likewise.
19714 * benchtests/bench-strcpy_chk.c: Likewise.
19715 * benchtests/bench-strlen.c: Likewise.
19716 * benchtests/bench-strncasecmp.c: Likewise.
19717 * benchtests/bench-strncat.c: Likewise.
19718 * benchtests/bench-strncmp.c: Likewise.
19719 * benchtests/bench-strncpy.c: Likewise.
19720 * benchtests/bench-strnlen.c: Likewise.
19721 * benchtests/bench-strpbrk.c: Likewise.
19722 * benchtests/bench-strrchr.c: Likewise.
19723 * benchtests/bench-strspn.c: Likewise.
19724 * benchtests/bench-strstr.c: Likewise.
19725
cae16d66
WN
197262013-09-04 Will Newton <will.newton@linaro.org>
19727
19728 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19729
ffa3cd7f
JM
197302013-09-03 Joseph Myers <joseph@codesourcery.com>
19731
19732 [BZ #15427]
19733 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19734 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19735 * math/libm-test.inc (lgamma_test_data): Add more tests.
19736 * sysdeps/i386/fpu/libm-test-ulps: Update.
19737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19738
8f02859f
OB
197392013-09-03 Ondřej Bílka <neleai@seznam.cz>
19740
19741 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19742 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19743 Add ifunc.
19744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19745 Add strcmp-sse2-unaligned
19746 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19747
18d43716
MF
197482013-09-02 Mike Frysinger <vapier@gentoo.org>
19749
19750 * Versions.def (libc): Add GLIBC_2.19.
19751
ac444012
MF
197522013-09-02 Mike Frysinger <vapier@gentoo.org>
19753
19754 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19755 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19756
b7835e32
JM
197572013-09-02 Joseph Myers <joseph@codesourcery.com>
19758
19759 [BZ #14155]
19760 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19761 intermediate calculations in recurrence.
19762 (__ieee754_ynf): Likewise.
19763 * math/libm-test.inc (jn_test_data): Do not allow spurious
19764 underflow exception. Add more tests.
19765 (yn_test_data): Add more tests.
19766 * sysdeps/i386/fpu/libm-test-ulps: Update.
19767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768
8220f4f0
OB
197692013-09-02 Ondřej Bílka <neleai@seznam.cz>
19770
19771 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19772
f24a6d08
OB
197732013-08-30 Ondřej Bílka <neleai@seznam.cz>
19774
19775 * csu/init-first.c: Fix then/than typos.
19776 * locale/programs/ld-collate.c: Likewise.
19777 * locale/programs/linereader.h: Likewise.
19778 * manual/charset.texi: Likewise.
19779 * manual/filesys.texi: Likewise.
19780 * manual/stdio.texi: Likewise.
19781 * manual/string.texi: Likewise.
19782 * stdlib/fmtmsg.c: Likewise.
19783 * sysdeps/i386/stpncpy.S: Likewise.
19784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19785 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19786 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19787 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19788
382466e0
OB
197892013-08-30 Ondřej Bílka <neleai@seznam.cz>
19790
19791 * elf/dl-open.c: Fix typos.
19792 * iconvdata/gbbig5.c: Likewise.
19793 * iconvdata/iso-2022-jp.c: Likewise.
19794 * iconv/gconv_int.h: Likewise.
19795 * iconv/loop.c: Likewise.
19796 * nis/rpcsvc/nis.h: Likewise.
19797 * resolv/ns_name.c: Likewise.
19798 * stdio-common/vfscanf.c: Likewise.
19799 * streams/stropts.h: Likewise.
19800 * sunrpc/rpc_thread.c: Likewise.
19801 * sysdeps/i386/strpbrk.S: Likewise.
19802 * sysdeps/ieee754/k_standard.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19805 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19806 * sysdeps/mach/hurd/profil.c: Likewise.
19807 * sysdeps/s390/dl-procinfo.h: Likewise.
19808 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19809 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19810 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19811 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19812 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19813
0186c6e9
OB
198142013-08-30 Ondřej Bílka <neleai@seznam.cz>
19815
19816 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19817 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19818
d4e16af1
OB
198192013-08-29 Ondřej Bílka <neleai@seznam.cz>
19820
19821 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19822 aix specific files.
19823 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19824 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19825 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19826 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19827 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19829 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19830 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19831
88335980
TS
198322013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19833 Roland McGrath <roland@hack.frob.com>
19834
19835 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19836 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19837
ed479b02
ST
198382013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19839
19840 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19841 __executable_start symbol instead of _start.
19842
f1cc4c86
TS
198432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19844
d821f07c
TS
19845 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19846 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19847 Move macros to...
19848 * sysdeps/gnu/ldsodefs.h: ... this new file.
19849
c54290cf
TS
19850 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19851 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19852 instead of ELFOSABI_LINUX.
19853
0007fc9b 19854 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
19855 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19856 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19857 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19858 Likewise.
19859 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19860 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19861 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19862 Likewise.
19863 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19864 (ibm_extended_long_double): Add ieee_nan member.
19865 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19866 (do_test): New function.
19867
f1cc4c86
TS
19868 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19869 TEST_TRUNC.
19870 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19871 functions, renamed from truncdfsf_test, trunctfsf_test,
19872 trunctfdf_test.
19873 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19874 functions.
19875 (do_test): Run all these.
19876
6f65e668
OB
198772013-08-29 Ondřej Bílka <neleai@seznam.cz>
19878
19879 * argp/argp-help.c: Fix typos.
19880 * argp/argp-parse.c: Likewise.
19881 * debug/backtracesyms.c: Likewise.
19882 * elf/elf.h: Likewise.
19883 * malloc/malloc.c: Likewise.
19884 * nis/nis_print.c: Likewise.
19885 * resolv/res_comp.c: Likewise.
19886 * stdlib/stdlib.h: Likewise.
19887 * sunrpc/clnt_tcp.c: Likewise.
19888 * sunrpc/clnt_udp.c: Likewise.
19889 * sunrpc/clnt_unix.c: Likewise.
19890 * sysdeps/unix/bsd/ptsname.c: Likewise.
19891 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19894 Likewise.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19896 Likewise.
19897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19898 Likewise.
6f65e668
OB
19899 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19900
3a309239
SP
199012013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19902
19903 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19905
3b813b29
MF
199062013-08-27 Mike Frysinger <vapier@gentoo.org>
19907
19908 [BZ #15897]
19909 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19910 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19911 ($(objpfx)bug-dl-leaf): New rule.
19912 ($(objpfx)bug-dl-leaf.so): Likewise.
19913 ($(objpfx)bug-dl-leaf.out): Likewise.
19914 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19915 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19916 * dlfcn/bug-dl-leaf.c: New test.
19917 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19918 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19919 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19920 (dlclose): Likewise.
19921 (dlmopen): Likewise.
19922
8cc3269f
RM
199232013-08-27 Roland McGrath <roland@hack.frob.com>
19924
7f9d0034
RM
19925 * include/netdb.h [!_ISOMAC]:
19926 Don't include <tls.h>.
19927 (h_errno, __libc_h_errno): Move declaration and macros out of
19928 [_LIBC_REENTRANT].
19929
fb431262
RM
19930 * include/resolv.h [_RESOLV_H_]:
19931 Don't include <tls.h>.
19932 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19933 * resolv/res_libc.c: Don't include <tls.h>.
19934 (_res): Use __attribute__ ((nocommon)) in place of
19935 __attribute__ ((section (".bss"))).
19936
bd81123a
RM
19937 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19938 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19939
c4e42566
RM
19940 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19941
f890a59b
RM
19942 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19943 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19944
19945 * resolv/res_mkquery.c: Include <sys/time.h>.
19946
5d1f0a09
RM
19947 * inet/ifreq.c: Moved to ...
19948 * sysdeps/unix/ifreq.c: ... here.
19949 * inet/ifreq.c: New file, true stub version.
19950
6fcf28b3
RM
19951 * socket/sa_len.c: New file.
19952 * socket/Makefile (aux): Add it.
19953 * sysdeps/unix/sysv/linux/Makefile
19954 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19955 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19956 and #include <socket/sa_len.c>.
19957 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19958 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19959
e041fb8b
RM
19960 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19961 * bits/socket.h: ... here.
19962
8cc3269f
RM
19963 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19964 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19965 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19966
5d228a43
AS
199672013-08-27 Andreas Schwab <schwab@suse.de>
19968
45b8accc
AS
19969 [BZ #15736]
19970 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19971 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19972 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19973 * string/test-strcasecmp.c (test_main): Run tests in several
19974 locales.
19975 * string/test-strncasecmp.c (test_main): Likewise.
19976
5d228a43
AS
19977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19978 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19979 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19980 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19981 (__strncasecmp_ssse3) [PIC]: Likewise.
19982
59d112a4
RM
199832013-08-26 Roland McGrath <roland@hack.frob.com>
19984
53234cc3
RM
19985 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19986
59d112a4
RM
19987 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19988 instead of explicitly declaring xdecrypt.
19989 * nis/nss_nis/nis-publickey.c: Likewise.
19990
595aba70
SP
199912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19992
19993 [BZ #15890]
19994 * nscd/aicache.c: Include res_hconf.h.
19995 (addhstaiX): Initialize res_hconf.
19996
ffabd393
AS
199972013-08-26 Andreas Schwab <schwab@suse.de>
19998
19999 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20000 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20001
e0a69f5c
SP
200022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20003
20004 * nscd/aicache.c (addhstaiX): Fix indentation.
20005
8c12f01d
MF
200062013-08-25 Mike Frysinger <vapier@gentoo.org>
20007
20008 * configure.ac: Quote $build_pt_chown test.
20009 * configure: Regenerated.
20010
8fe89494
JM
200112013-08-23 Joseph Myers <joseph@codesourcery.com>
20012
20013 [BZ #15532]
20014 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20015 * math/s_cexpf.c (__cexpf): Likewise.
20016 * math/s_cexpl.c (__cexpl): Likewise.
20017 * math/libm-test.inc (cexp_test_data): Correct expected return
20018 value for NaN + i0. Add another test.
20019
75b181d6
DM
200202013-08-22 David S. Miller <davem@davemloft.net>
20021
20022 * po/ca.po: Update Catalan translation from translation project.
936241e4 20023 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20024
acd06bb1
JM
200252013-08-21 Joseph Myers <joseph@codesourcery.com>
20026
20027 [BZ #15797]
20028 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20029 is infinite, not alongside NaN test.
20030 * math/s_fdimf.c (__fdimf): Likewise.
20031 * math/s_fdiml.c (__fdiml): Likewise.
20032 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20033 errno is unchanged.
20034
c0c3f78a
OB
200352013-08-21 Ondřej Bílka <neleai@seznam.cz>
20036
20037 * argp/argp-help.c: Fix typos.
20038 * crypt/speeds.c: Likewise.
20039 * csu/check_fds.c: Likewise.
20040 * elf/dl-load.c: Likewise.
20041 * elf/dl-open.c: Likewise.
20042 * elf/reldep3.c: Likewise.
20043 * elf/reldep.c: Likewise.
20044 * elf/sprof.c: Likewise.
20045 * iconv/iconv_charmap.c: Likewise.
20046 * iconv/skeleton.c: Likewise.
20047 * iconv/strtab.c: Likewise.
20048 * io/lockf64.c: Likewise.
20049 * libio/libioP.h: Likewise.
20050 * resolv/gai_notify.c: Likewise.
20051 * resolv/ns_name.c: Likewise.
20052 * resolv/ns_samedomain.c: Likewise.
20053 * resolv/res_send.c: Likewise.
20054 * stdlib/random.c: Likewise.
20055 * sunrpc/rpc/xdr.h: Likewise.
20056 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20057 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20058 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20059 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20060 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20061 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20062 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20063 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20064 * sysdeps/mach/hurd/check_fds.c: Likewise.
20065 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20066 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20067 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20069 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20070 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20071 * sysdeps/pthread/aio_notify.c: Likewise.
20072 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20073 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20074 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20075 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20076 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20077
46ed1038
LD
200782013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20079
20080 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20081 version if bit_Slow_SSE4_2 is set.
20082 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20083 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20084
d400dcac
AZ
200852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20086
20087 [BZ #15867]
20088 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20089 trampoline stack frame information.
20090 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20091 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20092 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20093 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20094 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20095 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20096 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20097 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20098 sa_flags value.
20099 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20100 interrupting a syscall and set with option SA_SIGINFO.
20101
42c8fdd8
JM
201022013-08-20 Joseph Myers <joseph@codesourcery.com>
20103
c980f2f4
JM
20104 [BZ #15531]
20105 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20106 argument is infinite.
20107 * math/s_cprojf.c (__cprojf): Likewise.
20108 * math/s_cprojl.c (__cprojl): Likewise.
20109 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20110 * math/libm-test.inc (cproj_test_data): Add more tests.
20111
0716c4fc
JM
20112 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20113
42c8fdd8
JM
20114 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20115 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20116 size. Use __ffs to determine corresponding shift.
20117
b31469d0
JM
201182013-08-20 Joseph Myers <joseph@codesourcery.com>
20119 Roland McGrath <roland@hack.frob.com>
20120
20121 * Makefile (INSTALL): Remove trailing blank lines from output of
20122 makeinfo.
20123
4e39af6e
AK
201242013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20125
20126 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20127 Align 32 bit compat elf_greg to 8 bytes.
20128
f315524e
AA
201292013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20130
20131 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20132
1326ba1a
SP
201332013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20134
20135 * string/strcoll_l.c (coll_seq): New structure.
20136 (get_next_seq_cached): New function.
20137 (get_next_seq): New function.
20138 (do_compare): New function.
20139 (STRCOLL): Use GNU style definition. Simplify implementation
20140 by using get_next_seq, get_next_seq_cached and do_compare.
20141
91ce4085
FW
201422013-08-16 Florian Weimer <fweimer@redhat.com>
20143
20144 [BZ #14699]
20145 CVE-2013-4237
20146 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20147 member.
20148 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20149 member.
20150 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20151 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20152 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20153 conditional.
20154 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20155 GETDENTS_64BIT_ALIGNED.
20156 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20157 * manual/filesys.texi (Reading/Closing Directory): Document
20158 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20159 strongly.
20160 * manual/conf.texi (Limits for Files): Add portability note to
20161 NAME_MAX, PATH_MAX.
20162 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20163
ca0a6bc4
AS
201642013-08-13 Andreas Schwab <schwab@suse.de>
20165
20166 [BZ #15749]
20167 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20168 of fabs.
20169 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20170 LDBL_MAX_EXP >= 16384]: Add tests for it.
20171
6c1fd795
DM
201722013-08-12 David S. Miller <davem@davemloft.net>
20173
20174 * version.h (RELEASE): Set to "development".
20175 (VERSION): Set to "2.18.90".
20176 * NEWS: Add 2.19 section.
20177
31ad488d
DM
201782013-08-03 David S. Miller <davem@davemloft.net>
20179
20180 * po/ko.po: Update Korean translation from translation project.
20181
db24e684
DM
201822013-08-01 David S. Miller <davem@davemloft.net>
20183
20184 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20185 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20186 Bilka.
20187
f723285b
DM
201882013-07-30 David S. Miller <davem@davemloft.net>
20189
20190 * po/fr.po: Update French translation from translation project.
20191
3cbc52db
DM
201922013-07-28 David S. Miller <davem@davemloft.net>
20193
30bbc0cc
DM
20194 * po/cs.po: Update Czech translation from translation project.
20195
3cbc52db
DM
20196 * po/sv.po: Update Swedish translation from translation project.
20197
d492e6d0
DM
201982013-07-27 David S. Miller <davem@davemloft.net>
20199
f1a7f492
DM
20200 * po/eo.po: Update Esperanto translation from translation project.
20201
90e62a4a
DM
20202 * po/vi.po: Update Vietnamese translation from translation project.
20203
d492e6d0
DM
20204 * po/de.po: Update German translation from translation project.
20205
d4baa62d
DM
202062013-07-26 David S. Miller <davem@davemloft.net>
20207
641aa7b4
DM
20208 * po/bg.po: Update Bulgarian translation from translation project.
20209
d4baa62d
DM
20210 * po/nl.po: Update Dutch translation from translation project.
20211 * po/pl.po: Update Polish translation from translation project.
20212 * po/ru.po: Update Russian translation from translation project.
20213
61a9dcb9
DM
202142013-07-24 David S. Miller <davem@davemloft.net>
20215
20216 * po/libc.pot: Update.
20217
7b1f8b58
AZ
202182013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20219
20220 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20221 variable page size.
20222 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20223 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20224 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20225
a8fc7a03
AK
202262013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20227
20228 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20229
e4608715
CD
202302013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20231 Andreas Schwab <schwab@suse.de>
20232 Roland McGrath <roland@hack.frob.com>
20233 Joseph Myers <joseph@codesourcery.com>
20234 Carlos O'Donell <carlos@redhat.com>
20235
20236 [BZ #15755]
20237 * config.h.in: Define HAVE_PT_CHOWN.
20238 * config.make.in (build-pt-chown): New variable.
20239 * configure.in (--enable-pt_chown): New configure option.
20240 * configure: Regenerate.
20241 * login/Makefile: Include Makeconfig. Build pt_chown only if
20242 build-pt-chown is enabled.
20243 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20244 pt_chown to fix pty ownership.
20245 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20246 CLOSE_ALL_FDS.
20247 * manual/install.texi (Configuring and compiling): Mention
20248 --enable-pt_chown. Add @findex for grantpt.
20249 * INSTALL: Regenerate.
20250
da2d62df
DM
202512013-07-20 David S. Miller <davem@davemloft.net>
20252
20253 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20254 difference between 32-bit and 64-bit.
20255
d7e06450
CD
202562013-07-15 Carlos O'Donell <carlos@redhat.com>
20257
20258 [BZ #15711]
20259 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20260 Avoid system header dependency with -ffreestanding.
20261 ($(objpfx)bits/syscall%d): Likewise.
20262
f959cfd7
DM
202632013-07-13 David S. Miller <davem@davemloft.net>
20264
20265 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20266 underflows from atanl/atan2l due to bug 15319.
20267 (casinh_test_data): Likewise.
20268
c61f8513
DM
202692013-07-07 David S. Miller <davem@davemloft.net>
20270
20271 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20272
72c90ed0
JA
202732013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20274
20275 * sysdeps/i386/fpu/libm-test-ulps: Update.
20276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20277
52dfbe13
SP
202782013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20279
20280 * configure.in (--enable-lock-elision): Fix message text.
20281 * INSTALL: Regenerate.
20282 * configure: Regenerate.
20283
3f169543
AZ
202842013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20285
20286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20287
521c6785
AJ
202882013-07-03 Andreas Jaeger <aj@suse.de>
20289
20290 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20291 define.
20292 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20293 (ptrace_peeksiginfo_args): Add.
20294 (__ptrace_peeksiginfo_flags): Add.
20295 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20297 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20298
d2cc15cb
AM
202992013-07-03 Allan McRae <allan@archlinux.org>
20300
20301 * sysdeps/i386/fpu/libm-test-ulps: Update.
20302
3aaeeca7
DM
203032013-07-02 David S. Miller <davem@davemloft.net>
20304
20305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20306
5314ed1a
MT
203072013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20308
20309 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20310
67338156
JM
203112013-07-02 Joseph Myers <joseph@codesourcery.com>
20312
20313 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20315
1717da59
AK
203162013-07-02 Andi Kleen <ak@linux.intel.com>
20317
20318 * config.h.in (ENABLE_LOCK_ELISION): Add.
20319 * configure.in (--enable-lock-elision): Add option.
20320 * manual/install.texi: Document --enable lock elision.
20321 * configure: Regenerate
20322 * INSTALL: Regenerate.
20323
1c81621c
L
203242013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20325
20326 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20327 SSE4.2 strcasecmp for libc.a.
20328 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20329
77f01ab5
JM
203302013-07-02 Joseph Myers <joseph@codesourcery.com>
20331
20332 [BZ #13304]
20333 * soft-fp/op-common.h (_FP_FMA): New macro.
20334 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20335 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20336 (_FP_MUL_MEAT_1_imm): ... here.
20337 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20338 (_FP_MUL_MEAT_1_wide): ... here.
20339 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20340 (_FP_MUL_MEAT_1_hard): ... here.
20341 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20342 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20343 (_FP_MUL_MEAT_2_wide): ... here.
20344 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20345 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20346 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20347 (_FP_MUL_MEAT_2_gmp): ... here.
20348 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20349 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20350 (_FP_MUL_MEAT_4_wide): ... here.
20351 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20352 (_FP_MUL_MEAT_4_gmp): ... here.
20353 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20354 (_FP_WFRACBITS_DW_S): Likewise.
20355 (_FP_WFRACXBITS_DW_S): Likewise.
20356 (_FP_HIGHBIT_DW_S): Likewise.
20357 (FP_FMA_S): Likewise.
20358 (_FP_FRAC_HIGH_DW_S): Likewise.
20359 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20360 (_FP_WFRACBITS_DW_D): Likewise.
20361 (_FP_WFRACXBITS_DW_D): Likewise.
20362 (_FP_HIGHBIT_DW_D): Likewise.
20363 (FP_FMA_D): Likewise.
20364 (_FP_FRAC_HIGH_DW_D): Likewise.
20365 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20366 (_FP_WFRACBITS_DW_E): Likewise.
20367 (_FP_WFRACXBITS_DW_E): Likewise.
20368 (_FP_HIGHBIT_DW_E): Likewise.
20369 (FP_FMA_E): Likewise.
20370 (_FP_FRAC_HIGH_DW_E): Likewise.
20371 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20372 (_FP_WFRACBITS_DW_Q): Likewise.
20373 (_FP_WFRACXBITS_DW_Q): Likewise.
20374 (_FP_HIGHBIT_DW_Q): Likewise.
20375 (FP_FMA_Q): Likewise.
20376 (_FP_FRAC_HIGH_DW_Q): Likewise.
20377 * soft-fp/fmasf4.c: New file.
20378 * soft-fp/fmadf4.c: Likewise.
20379 * soft-fp/fmatf4.c: Likewise.
20380
6308fd9a
LD
203812013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20382
20383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20384 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20385 Silvermont.
20386 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20387 macro.
20388 (index_Slow_SSE4_2): Likewise.
20389 (index_Prefer_PMINUB_for_stringop): Likewise.
20390 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20391 bit_Slow_SSE4_2 is set.
20392 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20393 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20394
89cd9569
RA
203952013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20396
20397 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20398 rtld_global._dl_hwcap2.
20399 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20400 POWER8.
20401 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20402 POWER8 feature descriptions defined in _dl_hwcap2.
20403 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20404 string handling for POWER8 feature bits.
20405 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20406 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20407 _dl_powerpc_cap_flags.
20408 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20409 * sysdeps/powerpc/rtld-global-offsets.sym
20410 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20411 _dl_hwcap2 in the rtld_global_ro structure.
20412
1ae8bfe0
RA
204132013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20414
20415 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20416 hardware capabilities in support of AT_HWCAP2.
20417 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20418 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20419 GLRO(dl_hwcap2).
20420 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20421 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20422 explicitly the unknown a_type display mechanism is used.
20423 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20424 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20425 struct member.
20426 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20427 to macro prototype for AT_HWCAP2 support.
20428 * sysdeps/i386/dl-procinfo.h: Likewise.
20429 * sysdeps/s390/dl-procinfo.h: Likewise.
20430 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20431 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20432 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20433 return -1 for unknown a_type display fallback.
20434 * sysdeps/sparc/dl-procinfo.h: Likewise.
20435 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20436 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20437
8fbec010
JM
204382013-06-28 Joseph Myers <joseph@codesourcery.com>
20439
20440 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20441 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20442
0432680e
PY
204432013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20444
20445 [BZ #12492]
20446 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20447 mprotect making __stack_prot writable.
20448
ce61a2ad
NF
204492013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20450 Joseph Myers <joseph@codesourcery.com>
20451
20452 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20453 as being properly aligned.
20454
f91f1c0f
MR
204552013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20456
3d0f5d0c
MR
20457 * dlfcn/modstatic5.c: New file.
20458 * dlfcn/tststatic5.c: New file.
20459 * dlfcn/Makefile (tests): Add tststatic5.
20460 (tests-static): Likewise.
20461 (modules-names): Add modstatic5.
20462 (tststatic5-ENV): New variable.
20463 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20464
f91f1c0f
MR
20465 [BZ #15022]
20466 * elf/dl-support.c (_dl_main_map): New variable.
20467 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20468 (_dl_nns, _dl_load_adds): Set to 1.
20469 (_dl_initial_searchlist): Refer to _dl_main_map.
20470 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20471 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20472 call to _dl_get_origin.
20473 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20474 around call_map.
20475 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20476 * dlfcn/modstatic3.c: New file.
20477 * dlfcn/tststatic3.c: New file.
20478 * dlfcn/tststatic4.c: New file.
20479 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20480 (tests-static): Likewise.
20481 (modules-names): Add modstatic3.
20482 (tststatic3-ENV, tststatic4-ENV): New variables.
20483 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20484 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20485
cbe7d24b
JM
204862013-06-26 Joseph Myers <joseph@codesourcery.com>
20487
20488 * configure.in (CC): Require GCC version 4.4 or later.
20489 * configure: Regenerated.
20490 * manual/install.texi (Tools for Compilation): Update GCC version
20491 requirement.
20492 * INSTALL: Regenerated.
20493
11b8a0e1
LD
204942013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20495
20496 [BZ #15674]
bb5bb87c
L
20497 * string/test-memcmp.c (check2): New.
20498 (main): Call check2.
20499
11b8a0e1
LD
20500 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20501
b0037103
MR
205022013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20503
20504 [BZ #15022]
20505 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20506 over to...
20507 (dl_open_worker) [!SHARED]: ... here.
20508
c18c701d
RA
205092013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20510
20511 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20512
1d17fa5f
RH
205132013-06-25 Richard Henderson <rth@redhat.com>
20514
20515 * locale/programs/locarchive.c: Include <libc-internal.h>
20516
8fcb833a
JM
205172013-06-25 Joseph Myers <joseph@codesourcery.com>
20518
20519 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20520 trailing whitespace removed.
20521
17db6e8d
MF
205222013-06-24 Mike Frysinger <vapier@gentoo.org>
20523
20524 [BZ #10283]
17db6e8d
MF
20525 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20526 * locale/programs/locarchive.c: Include libc-mmap.h.
20527 (prepare_address_space): Take two new outputs (the mmap base and len).
20528 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20529 values.
20530 (create_archive): Declare new mmap base and len values for
20531 prepare_address_space, and store the result in ah.
20532 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20533 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20534 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20535 Declare new mmap base and len values for
20536 prepare_address_space, and store the result in new_ah.
20537 (open_archive): Declare new mmap base and len values for
20538 prepare_address_space, and store the result in ah.
20539 (close_archive): If ah->mmap_base is not NULL, use that and
20540 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20541 * sysdeps/generic/libc-mmap.h: New file.
20542
d605071e
MF
205432013-06-24 Mike Frysinger <vapier@gentoo.org>
20544
20545 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20546 (ALIGN_UP): Likewise.
20547 (PTR_ALIGN_DOWN): Likewise.
20548 (PTR_ALIGN_UP): Likewise.
20549
2f063a6e
RA
205502013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20551
20552 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20553 entry mapped to PPC_PLATFORM_POWER8.
20554 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20555 POWER8.
20556 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20557 (_dl_string_platform): Add case for exporting platform position for
20558 POWER8.
20559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20560 search path to sysdeps/powerpc/powerpc32/power8 directory.
20561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20562 search path to sysdeps/powerpc/powerpc64/power8 directory.
20563 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20564 power7 directories.
20565 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20566 power7 directories.
20567
a31ee4b3
SP
205682013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20569
a74ca98f
SP
20570 * INSTALL: Regenerate.
20571
a31ee4b3
SP
20572 * nscd/connections.c (nscd_init): Fix comment.
20573
695c378f
JM
205742013-06-22 Joseph Myers <joseph@codesourcery.com>
20575
d8412221
JM
20576 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20577
695c378f
JM
20578 [BZ #15667]
20579 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20580 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20581
d1d54715
MR
205822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20583
20584 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20585 DL_DST_REQ_STATIC.
20586 (DL_DST_REQ_STATIC): Remove macro.
20587
8fdda7af
JM
205882013-06-21 Joseph Myers <joseph@codesourcery.com>
20589
20590 [BZ #7006]
20591 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20592 with a shift of 0 bits.
20593
f3bc5e5a
MR
205942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20595
20596 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20597 $(tststatic-ENV).
20598
be09e8c9
KK
205992013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20600
20601 [BZ #15655]
20602 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20603
85c2e611
AZ
206042013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20605
20606 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20607 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20608 accepts -fno-tree-loop-distribute-patterns.
20609 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20610 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20611 recursive call.
20612 * string/memset.c (memset): Likewise.
20613 * string/test-memmove.c (simple_memmove): Disable loop transformation
20614 to library calls.
20615 * string/test-memset.c (simple_memset): Likewise.
20616 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20617 * benchtests/bench-memset.c (simple_memset): Likewise.
20618 * configure: Regenerated.
20619
c91e0825
JM
206202013-06-20 Joseph Myers <joseph@codesourcery.com>
20621
b8c792af
JM
20622 * math/test-misc.c (main): Ignore fesetround failure when failures
20623 of subsequent rounding tests would be ignored.
20624
c91e0825
JM
20625 [BZ #15654]
20626 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20627 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20628 * math/fegetenv.c (__fegetenv): Return 0.
20629 * math/fegetexcept.c (fegetexcept): Return 0.
20630 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20631 FE_TONEAREST.
20632 * math/feholdexcpt.c (feholdexcept): Return 0.
20633 * math/fesetenv.c (__fesetenv): Return 0.
20634 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20635 argument FE_TONEAREST.
20636 * math/feupdateenv.c (__feupdateenv): Return 0.
20637 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20638
bfcacbde
RM
206392013-06-18 Roland McGrath <roland@hack.frob.com>
20640
20641 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20642 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20643 ($(objpfx)rtld-%.os rules): Use them.
20644
e55a9b25
AZ
206452013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20646
20647 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20648 fields.
20649
346d65b3
RM
206502013-06-17 Roland McGrath <roland@hack.frob.com>
20651
12086fb4
RM
20652 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20653 length of target pattern, then descending length of dependency pattern.
20654 * configure.in (AWK): Require gawk 3.1.2 or newer.
20655 * manual/install.texi (Tools for Compilation): Say that we do.
20656 * configure: Regenerated.
20657
346d65b3
RM
20658 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20659 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20660 * scripts/sysd-rules.awk: ... this new script.
20661 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20662 than a glob-style pattern.
20663
1a846317
JM
206642013-06-17 Joseph Myers <joseph@codesourcery.com>
20665
20666 * math/test-misc.c (main): Do not treat incorrectly rounded
20667 conversions as failure unless ROUNDING_TESTS passes.
20668
8fc75e6f
JM
206692013-06-15 Joseph Myers <joseph@codesourcery.com>
20670
3711a167
JM
20671 [BZ #15631]
20672 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20673 restore exception state around main square root computation, then
20674 check for inexactness explicitly.
20675
8fc75e6f
JM
20676 * math/libm-test.inc (fma_test_data): Add another test.
20677
61dd6208
SP
206782013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20679
adf23d2c
SP
20680 * manual/threads.texi (Non-POSIX Extensions): New document
20681 node. Document pthread_getattr_default_np and
20682 pthread_setattr_default_np.
20683
61dd6208
SP
20684 * Versions.def (libpthread): Add GLIBC_2.18.
20685 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20687 Likewise.
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20689 Likewise.
20690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20691 Likewise.
20692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20693 Likewise.
20694 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20695 Likewise.
20696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20697 Likewise.
20698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20699 Likewise.
20700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20701 Likewise.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20703 Likewise.
20704
d086fc7b
LD
207052013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20706
20707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20708 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20709
747ef469
SP
207102013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20711 H.J. Lu <hjl.tools@gmail.com>
20712
20713 [BZ #15627]
20714 * sysdeps/x86_64/rtld-memset.c: Remove file.
20715 * sysdeps/x86_64/rtld-memset.S: New file.
20716
1b2feed2
JM
207172013-06-14 Joseph Myers <joseph@codesourcery.com>
20718
20719 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20720 (test_in_one_mode): Take arguments for whether the rounding mode
20721 is supported for each floating-point type.
20722 (do_test): Pass new arguments to test_in_one_mode using
20723 ROUNDING_TESTS.
20724
a58ad3f8
RM
207252013-06-13 Roland McGrath <roland@hack.frob.com>
20726
20727 * posix/tst-waitid.c (do_test): Distinguish different instances of
20728 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20729 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20730 before entering the kernel for waitpid.
20731
c204ab28
SP
207322013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20733
20734 * NEWS: Fix note on clock function precision. Text by Roland
20735 McGrath.
20736
f4a29fba
RM
207372013-06-13 Roland McGrath <roland@hack.frob.com>
20738
20739 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20740 it into place only when and if the sanity check passes.
20741
1f24b9ad
JM
207422013-06-13 Joseph Myers <joseph@codesourcery.com>
20743
20744 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20745 output for whether conversion result is exact. Take argument
20746 indicating whether type is IBM long double.
20747 (round_for_all): Change need_exact field to ibm_ld.
20748 * stdlib/tst-strtod-round.c (struct exactness): New type.
20749 (struct test): Change bool ld_ok field to struct exactness exact.
20750 (TEST): Update all definitions for change to field.
20751 (tests): Regenerate array contents.
20752 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20753 field value. Check for IBM long double here.
20754 (do_test): Update calls to test_in_one_mode.
20755
58206c68
SP
207562013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20757
20758 [BZ #12515]
20759 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20760 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20761
2d6f4c5b 207622013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
20763
20764 [BZ #15605]
20765 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20766 generated by the compiler on loop optimizations.
20767 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20768 general definitions.
20769
94f2c076
JM
207702013-06-12 Joseph Myers <joseph@codesourcery.com>
20771
20772 * math/bug-nextafter.c: Include <math-tests.h>.
20773 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20774 the relevant type.
20775 * math/bug-nexttoward.c: Include <math-tests.h>.
20776 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20777 the relevant type.
20778 * math/test-misc.c: Include <math-tests.h>.
20779 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20780 the relevant type.
20781
e0e50a0a
AJ
207822013-06-12 Andreas Jaeger <aj@suse.de>
20783
20784 * po/ia.po: Update Interlingua translation from translation
20785 project.
20786
25061094
SP
207872013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20788
20789 * include/fenv.h: Include stdbool.h.
20790 (struct rm_ctx): New structure.
20791 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20792 Define macro.
20793 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20794 (SET_RESTORE_ROUNDF): Likewise.
20795 (SET_RESTORE_ROUNDL): Likewise.
20796 (SET_RESTORE_ROUND_NOEX): Likewise.
20797 (SET_RESTORE_ROUND_NOEXF): Likewise.
20798 (SET_RESTORE_ROUND_NOEXL): Likewise.
20799 (SET_RESTORE_ROUND_53BIT): Likewise.
20800 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20801 (libc_feresetround_noexf_ctx): Likewise.
20802 (libc_feresetround_noexl_ctx): Likewise.
20803 (libc_feholdsetround_53bit_ctx): Likewise.
20804 (libc_feresetround_53bit_ctx): Likewise.
20805 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20806 (libc_feholdexcept_setround_sse_ctx): New function.
20807 (libc_fesetenv_sse_ctx): Likewise.
20808 (libc_feupdateenv_sse_ctx): Likewise.
20809 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20810 (libc_feholdexcept_setround_387_ctx): Likewise.
20811 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20812 (libc_feholdsetround_387_prec_ctx): Likewise.
20813 (libc_feholdsetround_387_ctx): Likewise.
20814 (libc_feholdsetround_387_53bit_ctx): Likewise.
20815 (libc_feholdsetround_sse_ctx): Likewise.
20816 (libc_feresetround_sse_ctx): Likewise.
20817 (libc_feresetround_387_ctx): Likewise.
20818 (libc_feupdateenv_387_ctx): Likewise.
20819 (libc_feholdexcept_setroundf_ctx): Define macro.
20820 (libc_fesetenvf_ctx): Likewise.
20821 (libc_feupdateenvf_ctx): Likewise.
20822 (libc_feholdsetroundf_ctx): Likewise.
20823 (libc_feresetroundf_ctx): Likewise.
20824 (libc_feholdexcept_setround_ctx): Likewise.
20825 (libc_fesetenv_ctx): Likewise.
20826 (libc_feupdateenv_ctx): Likewise.
20827 (libc_feholdsetround_ctx): Likewise.
20828 (libc_feresetround_ctx): Likewise.
20829 (libc_feholdexcept_setroundl_ctx): Likewise.
20830 (libc_feupdateenvl_ctx): Likewise.
20831 (libc_feholdsetroundl_ctx): Likewise.
20832 (libc_feresetroundl_ctx): Likewise.
20833 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20834 (libc_feresetround_53bit_ctx): Likewise.
20835
59b30555
SP
208362013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20837
20838 * locale/iso-639.def: Convert to UTF-8.
20839
f1d73d30
JM
208402013-06-11 Joseph Myers <joseph@codesourcery.com>
20841
20842 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20843 (EXCEPTION_TESTS_double): Likewise.
20844 (EXCEPTION_TESTS_long_double): Likewise.
20845 (EXCEPTION_TESTS): Likewise.
20846 * math/libm-test.inc (test_exceptions): Only test exceptions if
20847 EXCEPTION_TESTS (FLOAT).
20848
94aca5e7
SP
208492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20850
20851 * benchtests/Makefile (string-bench): Add strcpy_chk and
20852 stpcpy_chk.
20853 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20854 * benchtests/bench-stpcpy_chk.c: New file.
20855 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20856 * benchtests/bench-strcpy_chk.c: New file.
20857 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20858 code.
20859 (do_test): Likewise.
20860
fac0c5f2
RA
208612013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20862
20863 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20864 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20865 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20866 with tabs where appropriate.
20867 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20868 dl-procinfo.h.
20869 [PPC_PLATFORM_PPC440]: Likewise.
20870 [PPC_PLATFORM_PPC464]: Likewise.
20871 [PPC_PLATFORM_PPC476]: Likewise.
20872 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20873 ppc464, and ppc476 platform strings merging from ports/
20874 dl-procinfo.h.
20875
f22bc486
AS
208762013-06-11 Andreas Schwab <schwab@suse.de>
20877
20878 [BZ #14991]
20879 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20880 (from_ucs4_idx): Regenerate.
20881 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20882 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20883 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20884 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20885 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20886 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20887 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20888 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20889 from FROM_LOOP and TO_LOOP specific macros.
20890 (BODY): Handle combining characters.
20891 * iconvdata/BIG5HKSCS.irreversible: Update.
20892 * iconvdata/BIG5HKSCS.precomposed: New file.
20893 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20894 characters.
20895 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20896
c1f75dc3
SP
208972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20898
4eacded2
SP
20899 * include/sys/time.h: Fix indentation and add copyright header.
20900
fec799f8
SP
20901 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20902 (do_test): Likewise.
20903 * string/test-memchr.c (do_one_test): Likewise.
20904 (do_test): Likewise.
20905 * string/test-memcmp.c (do_one_test): Likewise.
20906 (do_test): Likewise.
20907 * string/test-memcpy.c (do_one_test): Likewise.
20908 (do_test): Likewise.
20909 * string/test-memmem.c (do_one_test): Likewise.
20910 (do_test): Likewise.
20911 (do_random_tests): Likewise.
20912 * string/test-memmove.c (do_one_test): Likewise.
20913 (do_test): Likewise.
20914 * string/test-memset.c (do_one_test): Likewise.
20915 (do_test): Likewise.
20916 * string/test-rawmemchr.c (do_one_test): Likewise.
20917 (do_test): Likewise.
20918 * string/test-strcasecmp.c (do_one_test): Likewise.
20919 (do_test): Likewise.
20920 * string/test-strcasestr.c (do_one_test): Likewise.
20921 (do_test): Likewise.
20922 * string/test-strcat.c (do_one_test): Likewise.
20923 (do_test): Likewise.
20924 * string/test-strchr.c (do_one_test): Likewise.
20925 (do_test): Likewise.
20926 * string/test-strcmp.c (do_one_test): Likewise.
20927 (do_test): Likewise.
20928 * string/test-strcpy.c (do_one_test): Likewise.
20929 (do_test): Likewise.
20930 * string/test-string.h: Likewise.
20931 (test_init): Likewise.
20932 * string/test-strlen.c (do_one_test): Likewise.
20933 (do_test): Likewise.
20934 * string/test-strncasecmp.c (do_one_test): Likewise.
20935 (do_test): Likewise.
20936 * string/test-strncat.c (do_one_test): Likewise.
20937 (do_test): Likewise.
20938 * string/test-strncmp.c (do_one_test): Likewise.
20939 (do_test_limit): Likewise.
20940 (do_test): Likewise.
20941 * string/test-strncpy.c (do_one_test): Likewise.
20942 (do_test): Likewise.
20943 * string/test-strnlen.c (do_one_test): Likewise.
20944 (do_test): Likewise.
20945 * string/test-strpbrk.c (do_one_test): Likewise.
20946 (do_test): Likewise.
20947 * string/test-strrchr.c (do_one_test): Likewise.
20948 (do_test): Likewise.
20949 * string/test-strspn.c (do_one_test): Likewise.
20950 (do_test): Likewise.
20951 * string/test-strstr.c (do_one_test): Likewise.
20952 (do_test): Likewise.
20953
97020474
SP
20954 * benchtests/Makefile (string-bench): Add string benchmarks.
20955 * benchtests/bench-bcopy-ifunc.c: New file.
20956 * benchtests/bench-bcopy.c: New file.
20957 * benchtests/bench-bzero-ifunc.c: New file.
20958 * benchtests/bench-bzero.c: New file.
20959 * benchtests/bench-memccpy-ifunc.c: New file.
20960 * benchtests/bench-memccpy.c: New file.
20961 * benchtests/bench-memchr-ifunc.c: New file.
20962 * benchtests/bench-memchr.c: New file.
20963 * benchtests/bench-memcmp-ifunc.c: New file.
20964 * benchtests/bench-memcmp.c: New file.
20965 * benchtests/bench-memmem-ifunc.c: New file.
20966 * benchtests/bench-memmem.c: New file.
20967 * benchtests/bench-memmove-ifunc.c: New file.
20968 * benchtests/bench-memmove.c: New file.
20969 * benchtests/bench-mempcpy-ifunc.c: New file.
20970 * benchtests/bench-mempcpy.c: New file.
20971 * benchtests/bench-memset-ifunc.c: New file.
20972 * benchtests/bench-memset.c: New file.
20973 * benchtests/bench-rawmemchr-ifunc.c: New file.
20974 * benchtests/bench-rawmemchr.c: New file.
20975 * benchtests/bench-stpcpy-ifunc.c: New file.
20976 * benchtests/bench-stpcpy.c: New file.
20977 * benchtests/bench-stpncpy-ifunc.c: New file.
20978 * benchtests/bench-stpncpy.c: New file.
20979 * benchtests/bench-strcasecmp-ifunc.c: New file.
20980 * benchtests/bench-strcasecmp.c: New file.
20981 * benchtests/bench-strcasestr-ifunc.c: New file.
20982 * benchtests/bench-strcasestr.c: New file.
20983 * benchtests/bench-strcat-ifunc.c: New file.
20984 * benchtests/bench-strcat.c: New file.
20985 * benchtests/bench-strchr-ifunc.c: New file.
20986 * benchtests/bench-strchr.c: New file.
20987 * benchtests/bench-strchrnul-ifunc.c: New file.
20988 * benchtests/bench-strchrnul.c: New file.
20989 * benchtests/bench-strcmp-ifunc.c: New file.
20990 * benchtests/bench-strcmp.c: New file.
20991 * benchtests/bench-strcpy-ifunc.c: New file.
20992 * benchtests/bench-strcpy.c: New file.
20993 * benchtests/bench-strcspn-ifunc.c: New file.
20994 * benchtests/bench-strcspn.c: New file.
20995 * benchtests/bench-strlen-ifunc.c: New file.
20996 * benchtests/bench-strlen.c: New file.
20997 * benchtests/bench-strncasecmp-ifunc.c: New file.
20998 * benchtests/bench-strncasecmp.c: New file.
20999 * benchtests/bench-strncat-ifunc.c: New file.
21000 * benchtests/bench-strncat.c: New file.
21001 * benchtests/bench-strncmp-ifunc.c: New file.
21002 * benchtests/bench-strncmp.c: New file.
21003 * benchtests/bench-strncpy-ifunc.c: New file.
21004 * benchtests/bench-strncpy.c: New file.
21005 * benchtests/bench-strnlen-ifunc.c: New file.
21006 * benchtests/bench-strnlen.c: New file.
21007 * benchtests/bench-strpbrk-ifunc.c: New file.
21008 * benchtests/bench-strpbrk.c: New file.
21009 * benchtests/bench-strrchr-ifunc.c: New file.
21010 * benchtests/bench-strrchr.c: New file.
21011 * benchtests/bench-strspn-ifunc.c: New file.
21012 * benchtests/bench-strspn.c: New file.
21013 * benchtests/bench-strstr-ifunc.c: New file.
21014 * benchtests/bench-strstr.c: New file.
21015
c1f75dc3
SP
21016 * benchtests/Makefile: Disable parallel execution of targets.
21017 (string-bench): Add memcpy.
21018 (benchset): New variable to store a list of benchmark sets.
21019 (bench-func): Renamed from bench.
21020 (bench-set): New target.
21021 (bench): Depend on bench-func and bench-set.
21022 * benchtests/README: Add section on benchmark sets.
21023 * benchtests/bench-memcpy-ifunc.c: New file.
21024 * benchtests/bench-memcpy.c: New file.
21025 * benchtests/bench-string.h: New file.
21026
50fd745b
AS
210272013-06-11 Andreas Schwab <schwab@suse.de>
21028
21029 [BZ #15577]
21030 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21031 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21032 values in the triple.
21033 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21034 terminator in the group key.
21035
3ee7e9fe
AJ
210362013-06-11 Andreas Jaeger <aj@suse.de>
21037
21038 * po/zh_TW.po: Update Chinese (traditional) translation from
21039 translation project.
21040
89fb6835
SP
210412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21042
21043 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21044 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21045 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21047 (clock_getcpuclockid): Likewise.
21048 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21049 Add weak_alias and libc_hidden_def.
21050 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21051 * rt/clock_gettime.c (clock_gettime): Rename to
21052 __clock_gettime. Add weak_alias and libc_hidden_def.
21053 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21054 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21055 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21056 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21057 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21058 Likewise.
21059 * rt/clock_settime.c (clock_settime): Rename to
21060 __clock_settime. Add weak_alias and libc_hidden_def.
21061 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21062
0efa6f8b
JM
210632013-06-10 Joseph Myers <joseph@codesourcery.com>
21064
b8c61b4b
JM
21065 * mach/err_boot.sub: Remove trailing whitespace.
21066 * mach/err_ipc.sub: Likewise.
21067 * mach/err_mach.sub: Likewise.
21068
0efa6f8b
JM
21069 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21070 (ROUNDING_TESTS_double): Likewise.
21071 (ROUNDING_TESTS_long_double): Likewise.
21072 (ROUNDING_TESTS): Likewise.
21073 * math/libm-test.inc: Include <math-tests.h>.
21074 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21075 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21076 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21077 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21078
50b818bf
SP
210792013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21080
21081 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21082 of assigning.
21083
60d2f8f3
JM
210842013-06-08 Joseph Myers <joseph@codesourcery.com>
21085
4902d2c3
JM
21086 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21087 otherwise empty TRANS lines.
21088 * sysdeps/gnu/errlist.c: Regenerated.
21089
60d2f8f3
JM
21090 * catgets/gencat.c (error_print): Use (void) in function
21091 definition.
21092 * crypt/crypt_util.c (__init_des): Likewise.
21093 * crypt/speeds.c (Stop): Likewise.
21094 (main): Likewise.
21095 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21096 * inet/ruserpass.c (token): Likewise.
21097 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21098 * intl/localealias.c (extend_alias_table): Likewise.
21099 * intl/plural-exp.c (init_germanic_plural): Likewise.
21100 * libio/fcloseall.c (__fcloseall): Likewise.
21101 * libio/genops.c (_IO_flush_all): Likewise.
21102 (_IO_flush_all_linebuffered): Likewise.
21103 (_IO_cleanup): Likewise.
21104 (_IO_iter_begin): Likewise.
21105 (_IO_iter_end): Likewise.
21106 (_IO_list_lock): Likewise.
21107 (_IO_list_unlock): Likewise.
21108 (_IO_list_resetlock): Likewise.
21109 * libio/getchar.c (getchar): Likewise.
21110 * libio/getchar_u.c (getchar_unlocked): Likewise.
21111 * libio/getwchar.c (getwchar): Likewise.
21112 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21113 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21114 * login/getpt.c (__getpt): Likewise.
21115 * login/tst-utmp.c (main): Likewise.
21116 * malloc/hooks.c (__malloc_check_init): Likewise.
21117 * malloc/malloc.c (__malloc_stats): Likewise.
21118 * malloc/mtrace.c (tr_break): Likewise.
21119 (mtrace): Likewise.
21120 (muntrace): Likewise.
21121 * misc/fstab.c (endfsent): Likewise.
21122 * misc/getclktck.c (__getclktck): Likewise.
21123 * misc/getdtsz.c (__getdtablesize): Likewise.
21124 * misc/gethostid.c (gethostid): Likewise.
21125 * misc/getpagesize.c (__getpagesize): Likewise.
21126 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21127 (__get_nprocs): Likewise.
21128 (__get_phys_pages): Likewise.
21129 (__get_avphys_pages): Likewise.
21130 * misc/getttyent.c (getttyent): Likewise.
21131 (setttyent): Likewise.
21132 (endttyent): Likewise.
21133 * misc/getusershell.c (getusershell): Likewise.
21134 (endusershell): Likewise.
21135 (setusershell): Likewise.
21136 (initshells): Likewise.
21137 * misc/hsearch.c (__hdestroy): Likewise.
21138 * misc/sync.c (sync): Likewise.
21139 * misc/syslog.c (closelog_internal): Likewise.
21140 (closelog): Likewise.
21141 * misc/ttyslot.c (ttyslot): Likewise.
21142 * misc/vhangup.c (vhangup): Likewise.
21143 * posix/fork.c (__fork): Likewise.
21144 * posix/getegid.c (__getegid): Likewise.
21145 * posix/geteuid.c (__geteuid): Likewise.
21146 * posix/getgid.c (__getgid): Likewise.
21147 * posix/getpid.c (__getpid): Likewise.
21148 * posix/getppid.c (__getppid): Likewise.
21149 * posix/getuid.c (__getuid): Likewise.
21150 * posix/pause.c (pause): Likewise.
21151 * posix/setpgrp.c (setpgrp): Likewise.
21152 * posix/setsid.c (__setsid): Likewise.
21153 * posix/test-vfork.c (noop): Likewise.
21154 * resolv/gethnamaddr.c (_endhtent): Likewise.
21155 (_gethtent): Likewise.
21156 (ht_endhostent): Likewise.
21157 (gethostent): Likewise.
21158 (dns_service): Likewise.
21159 * stdlib/drand48.c (drand48): Likewise.
21160 * stdlib/lrand48.c (lrand48): Likewise.
21161 * stdlib/mrand48.c (mrand48): Likewise.
21162 * stdlib/rand.c (rand): Likewise.
21163 * stdlib/random.c (__random): Likewise.
21164 * stdlib/setenv.c (clearenv): Likewise.
21165 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21166 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21167 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21168 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21169 (__get_nprocs): Likewise.
21170 (__get_phys_pages): Likewise.
21171 (__get_avphys_pages): Likewise.
21172 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21173 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21174 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21175 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21176 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21177 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21178 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21179 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21180 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21181 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21182 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21183 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21184 * sysdeps/posix/clock.c (clock): Likewise.
21185 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21186 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21187 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21188 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21189 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21191 (__get_nprocs_conf): Likewise.
21192 (__get_phys_pages): Likewise.
21193 (__get_avphys_pages): Likewise.
21194 * time/clock.c (clock): Likewise.
21195 * time/tzset.c (__tzname_max): Likewise.
21196
2e09a79a
JM
211972013-06-07 Joseph Myers <joseph@codesourcery.com>
21198
21199 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21200 (__bswap_32): Do not use "register".
21201 * crypt/crypt.c (_ufc_doit_r): Likewise.
21202 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21203 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21204 * gmon/gmon.c (__monstartup): Likewise.
21205 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21206 * hurd/hurdmalloc.c (more_memory): Likewise.
21207 (malloc): Likewise.
21208 (free): Likewise.
21209 (realloc): Likewise.
21210 (malloc_fork_prepare): Likewise.
21211 (malloc_fork_parent): Likewise.
21212 (malloc_fork_child): Likewise.
21213 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21214 (_svcauth_des): Likewise.
21215 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21216 * inet/inet_net.c (inet_network): Likewise.
21217 * inet/inet_netof.c (inet_netof): Likewise.
21218 * inet/rcmd.c (__validuser2_sa): Likewise.
21219 * io/fts.c (fts_open): Likewise.
21220 (fts_load): Likewise.
21221 (fts_close): Likewise.
21222 (fts_read): Likewise.
21223 (fts_children): Likewise.
21224 (fts_build): Likewise.
21225 (fts_stat): Likewise.
21226 (fts_sort): Likewise.
21227 (fts_alloc): Likewise.
21228 (fts_lfree): Likewise.
21229 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21230 (_IO_file_xsgetn): Likewise.
21231 (_IO_file_xsgetn_mmap): Likewise.
21232 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21233 (_IO_cookie_write): Likewise.
21234 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21235 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21236 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21237 * malloc/obstack.c (_obstack_begin): Likewise.
21238 (_obstack_begin_1): Likewise.
21239 (_obstack_newchunk): Likewise.
21240 (_obstack_allocated_p): Likewise.
21241 (obstack_free): Likewise.
21242 (_obstack_memory_used): Likewise.
21243 * misc/getttyent.c (getttynam): Likewise.
21244 (getttyent): Likewise.
21245 (skip): Likewise.
21246 (value): Likewise.
21247 * misc/getusershell.c (initshells): Likewise.
21248 * misc/syslog.c (__vsyslog_chk): Likewise.
21249 * misc/ttyslot.c (ttyslot): Likewise.
21250 * nis/nis_hash.c (__nis_hash): Likewise.
21251 * posix/fnmatch_loop.c (FCT): Likewise.
21252 * posix/getconf.c (print_all): Likewise.
21253 (main): Likewise.
21254 * posix/getopt.c (exchange): Likewise.
21255 * posix/glob.c (globfree): Likewise.
21256 (prefix_array): Likewise.
21257 (__glob_pattern_type): Likewise.
21258 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21259 (NS_GET32): Likewise.
21260 (NS_PUT16): Likewise.
21261 (NS_PUT32): Likewise.
21262 * resolv/gethnamaddr.c (getanswer): Likewise.
21263 (gethostbyname2): Likewise.
21264 (gethostbyaddr): Likewise.
21265 (_gethtent): Likewise.
21266 (_gethtbyname2): Likewise.
21267 (_gethtbyaddr): Likewise.
21268 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21269 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21270 * resolv/res_init.c (__res_vinit): Likewise.
21271 (net_mask): Likewise.
21272 * resolv/res_mkquery.c (outchar): Likewise.
21273 (PRINT): Likewise.
21274 * stdio-common/printf_fp.c (outchar): Likewise.
21275 (PRINT): Likewise.
21276 * stdio-common/printf_fphex.c (outchar): Likewise.
21277 (PRINT): Likewise.
21278 * stdio-common/printf_size.c (outchar): Likewise.
21279 (PRINT): Likewise.
21280 * stdio-common/test_rdwr.c (main): Likewise.
21281 * stdio-common/tfformat.c (matches): Likewise.
21282 * stdio-common/vfprintf.c (outchar): Likewise.
21283 (printf_unknown): Likewise.
21284 (buffered_vfprintf): Likewise.
21285 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21286 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21287 (ReadFile): Likewise.
21288 * stdlib/qsort.c (SWAP): Likewise.
21289 (_quicksort): Likewise.
21290 * stdlib/setenv.c (__add_to_environ): Likewise.
21291 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21292 * stdlib/strtol_l.c (__strtol_l): Likewise.
21293 * stdlib/tst-strtod.c (main): Likewise.
21294 * stdlib/tst-strtol.c (main): Likewise.
21295 * stdlib/tst-strtoll.c (main): Likewise.
21296 * string/bits/string2.h (__strcmp_cc): Likewise.
21297 (__strcmp_cg): Likewise.
21298 (__strcspn_c1): Likewise.
21299 (__strcspn_c2): Likewise.
21300 (__strcspn_c3): Likewise.
21301 (__strspn_c1): Likewise.
21302 (__strspn_c2): Likewise.
21303 (__strspn_c3): Likewise.
21304 (__strsep_1c): Likewise.
21305 (__strsep_2c): Likewise.
21306 (__strsep_3c): Likewise.
21307 * string/memccpy.c (__memccpy): Likewise.
21308 * string/stpcpy.c (__stpcpy): Likewise.
21309 * string/strcmp.c (strcmp): Likewise.
21310 * string/strrchr.c (strrchr): Likewise.
21311 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21312 Likewise.
21313 * sysdeps/mach/hurd/getcwd.c
21314 (_hurd_canonicalize_directory_name_internal): Likewise.
21315 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21316 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21317 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21318 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21319 Likewise, in both definitions.
21320 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21321 definitions.
21322 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21323 64] (__bswap_64): Likewise.
21324 * time/test_time.c (main): Likewise.
21325 * time/tzfile.c (__tzfile_read): Likewise.
21326 (__tzfile_compute): Likewise.
21327 * time/tzset.c (__tzset_parse_tz): Likewise.
21328 (tzset_internal): Likewise.
21329 (compute_change): Likewise.
21330 * wcsmbs/wcscat.c (__wcscat): Likewise.
21331 * wcsmbs/wcschr.c (wcschr): Likewise.
21332 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21333 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21334 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21335 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21336 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21337 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21338 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21339 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21340 * wcsmbs/wmemset.c (wmemset): Likewise.
21341
9e54314b
JM
213422013-06-06 Joseph Myers <joseph@codesourcery.com>
21343
21344 * scripts/config.guess: Update to version 2013-05-16.
21345 * scripts/config.sub: Update to version 2013-04-24.
21346 * scripts/install-sh: Update to version 2011-11-20.07.
21347 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21348 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21349
350635a5
OB
213502013-06-06 Ondřej Bílka <neleai@seznam.cz>
21351
21352 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21353 * elf/sln.c: Likewise.
21354 * hurd/hurd/ioctl.h: Likewise.
21355 * hurd/hurdmalloc.c: Likewise.
21356 * hurd/xattr.c: Likewise.
21357 * include/shlib-compat.h: Likewise.
21358 * inet/ruserpass.c: Likewise.
21359 * libio/iofgets_u.c: Likewise.
21360 * libio/iofgetws_u.c: Likewise.
21361 * locale/programs/ld-identification.c: Likewise.
21362 * locale/programs/ld-time.c: Likewise.
21363 * mach/msg-destroy.c: Likewise.
21364 * nss/nss_files/files-netgrp.c: Likewise.
21365 * resolv/res_data.c: Likewise.
21366 * soft-fp/op-1.h: Likewise.
21367 * soft-fp/op-2.h: Likewise.
21368 * soft-fp/op-4.h: Likewise.
21369 * soft-fp/op-common.h: Likewise.
21370 * stdio-common/printf_fphex.c: Likewise.
21371 * stdlib/strtod_l.c: Likewise.
21372 * sunrpc/rpc/clnt.h: Likewise.
21373 * sysdeps/generic/framestate.c: Likewise.
21374 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21375 * sysdeps/i386/bsd-setjmp.S: Likewise.
21376 * sysdeps/i386/__longjmp.S: Likewise.
21377 * sysdeps/i386/setjmp.S: Likewise.
21378 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21379 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21396 * sysdeps/ieee754/support.c: Likewise.
21397 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21398 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21399 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21400 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21401 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21402 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21403 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21404 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21405 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21406 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21407 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21408 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21409 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21410 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21411 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21412 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21413 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21415
44a988af
OB
214162013-06-05 Ondřej Bílka <neleai@seznam.cz>
21417
25506f09 21418 * posix/transbug.c: Remove executable mode.
44a988af 21419
9c84384c
JM
214202013-06-05 Joseph Myers <joseph@codesourcery.com>
21421
21422 * crypt/speeds.c: Remove trailing whitespace.
21423 * dlfcn/default.c: Likewise.
21424 * elf/ifuncdep2.c: Likewise.
21425 * elf/ifuncmain1.c: Likewise.
21426 * elf/ifuncmain1vis.c: Likewise.
21427 * elf/testobj.h: Likewise.
21428 * elf/tst-stackguard1.c: Likewise.
21429 * gmon/sys/gmon.h: Likewise.
21430 * hurd/hurdmsg.c: Likewise.
21431 * hurd/new-fd.c: Likewise.
21432 * hurd/ports-get.c: Likewise.
21433 * iconvdata/ibm1008_420.c: Likewise.
21434 * inet/tst-getni1.c: Likewise.
21435 * inet/tst-getni2.c: Likewise.
21436 * libio/ioungetc.c: Likewise.
21437 * libio/wfiledoalloc.c: Likewise.
21438 * manual/libm-err-tab.pl: Likewise.
21439 * math/w_dremf.c: Likewise.
21440 * misc/ftruncate.c: Likewise.
21441 * posix/bug-glob2.c: Likewise.
21442 * posix/tst-pcre.c: Likewise.
21443 * posix/wait4.c: Likewise.
21444 * resolv/README: Likewise.
21445 * resolv/res_debug.h: Likewise.
21446 * resolv/tst-inet_ntop.c: Likewise.
21447 * setjmp/bug269-setjmp.c: Likewise.
21448 * soft-fp/extended.h: Likewise.
21449 * soft-fp/op-1.h: Likewise.
21450 * soft-fp/op-2.h: Likewise.
21451 * soft-fp/op-4.h: Likewise.
21452 * soft-fp/op-8.h: Likewise.
21453 * soft-fp/testit.c: Likewise.
21454 * stdio-common/bug16.c: Likewise.
21455 * stdlib/random.c: Likewise.
21456 * sunrpc/rpcsvc/rquota.x: Likewise.
21457 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21458 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21459 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21460 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21461 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21462 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21463 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21464 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21465 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21466 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21467 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21468 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21469 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21470 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21471 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21472 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21473 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21474 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21475 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21476 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21477 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21478 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21479 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21481 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21482 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21483 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21484 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21485 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21486 * sysdeps/ieee754/s_lib_version.c: Likewise.
21487 * sysdeps/mach/hurd/check_fds.c: Likewise.
21488 * sysdeps/mach/hurd/getsockname.c: Likewise.
21489 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21490 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21491 * sysdeps/powerpc/bits/link.h: Likewise.
21492 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21493 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21494 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21495 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21496 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21497 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21498 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21499 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21500 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21501 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21502 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21503 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21504 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21505 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21506 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21507 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21508 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21511 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21512 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21513 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21515 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21516 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21517 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21518 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21519 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21520 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21521 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21522 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21523 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21524 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21525 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21526 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21527 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21528 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21529 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21530 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21531 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21532 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21533 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21534 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21535 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21536 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21537 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21538 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21539 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21540 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21541 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21542 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21543 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21545 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21546 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21547 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21548 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21549 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21551 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21552 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21553 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21554 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21555 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21556 * sysdeps/powerpc/sysdep.h: Likewise.
21557 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21558 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21559 * sysdeps/sh/dl-trampoline.S: Likewise.
21560 * sysdeps/sh/memset.S: Likewise.
21561 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21562 * sysdeps/sh/strlen.S: Likewise.
21563 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21564 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21565 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21566 * sysdeps/sparc/sparc32/rem.S: Likewise.
21567 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21568 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21569 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21570 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21571 * sysdeps/sparc/sparc32/urem.S: Likewise.
21572 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21573 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21574 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21575 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21577 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21578 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21579 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21580 * sysdeps/unix/bsd/times.c: Likewise.
21581 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21582 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21586 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21587 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21588 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21589 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21590 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21591 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21592 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21593 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21594 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21595 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21596 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21597 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21598 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21599 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21600 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21601 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21602 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21603 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21604 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21605 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21606 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21607 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21608 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21609 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21610 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21611 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21612 * sysdeps/x86_64/strcspn.S: Likewise.
21613
869378a5
RA
216142013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21615
21616 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21617 generated file. Regenerate properly from gen-translit.pl.
21618 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21619 locale/C-translit.h.
21620
840e2943
AS
216212013-06-05 Andreas Schwab <schwab@suse.de>
21622
21623 [BZ #15100]
21624 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21625 week as 6 instead of -1.
21626 * time/tst-strptime.c (day_tests): Add test case.
21627
4c60cb0c
SP
216282013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21629
21630 * sysdeps/generic/math_private.h
21631 (libc_feholdexcept_setround_53bit): Replace with
21632 libc_feholdsetround_53bit.
21633 (libc_feupdateenv_53bit): Replace with
21634 libc_feresetround_53bit.
21635 (SET_RESTORE_ROUND_53BIT): Adjust.
21636
d180203e
SP
216372013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21638
96df079a
SP
21639 * string/test-strchrnul.c: Add copyright header.
21640
d180203e
SP
21641 * posix/tst-getaddrinfo4.c: Increase test timeout.
21642
8b0ccb2d
CD
216432013-06-03 Carlos O'Donell <carlos@redhat.com>
21644
21645 [BZ #15536]
21646 * math/libm-test.inc (MAX_EXP): Remove
21647 (MIN_EXP): Define.
21648 (ulp): Use MIN_EXP - MANT_DIG.
21649 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21650
3b3c4d40
CD
216512013-05-31 Carlos O'Donell <carlos@redhat.com>
21652
21653 * po/be.po: Revert last change.
21654 * po/zh_CN.po: Likewise.
21655 * po/header.pot: Likewise.
21656
fab7ce3f
JM
216572013-05-31 Joseph Myers <joseph@codesourcery.com>
21658
21659 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21660 link-libc-deps to empty as target-specific variable.
21661 * Makerules (link-libc-args): New variable.
21662 (libc-for-link): Likewise.
21663 (link-libc-deps): Likewise.
21664 (lib%.so): Depend on $(link-libc-deps). Link with
21665 $(link-libc-args).
21666 (build-module): Link with $(link-libc-args).
21667 (build-module-asneeded): Likewise.
21668 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21669 list of objects.
21670 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21671 target-specific variable.
21672 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21673 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21674 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21675 libc.
21676 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21677 libc and ld.so.
21678 ($(objpfx)libpcprofile.so): Likewise.
21679 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21680 libc_nonshared.a.
21681 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21682 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21683 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21684 $(link-libc-deps).
21685 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21686 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21687 * login/Makefile ($(objpfx)libutil.so): Likewise.
21688 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21689 * math/Makefile ($(objpfx)libm.so): Likewise.
21690 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21691 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21692 variable instead of depending directly on libc.
21693 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21694 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21695 $(link-libc-deps).
21696 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21697 libc.
21698 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21699 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21700 ($(objpfx)libanl.so): Likewise.
21701 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21702 ld.so.
21703 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21704 $(link-libc-deps).
21705 * sysdeps/i386/fpu/Makefile: Remove file.
21706 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21707 ($(objpfx)libm.so): Remove dependency on ld.so.
21708
eca5920c
PF
217092013-05-30 Patsy Franklin <pfrankli@redhat.com>
21710
21711 [BZ # 15553]
21712 * nis/yp_xdr.c (XDRMAXNAME): Define.
21713 (XDRMAXRECORD): Define.
21714 (xdr_domainname): Use XDRMAXNAME.
21715 (xdr_mapname): Likewise.
21716 (xdr_peername): Likewise.
21717 (xdr_keydat): Use XDRMAXRECORD.
21718 (xdr_valdat): Likewise.
21719
217202013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21721
21722 [BZ #14256]
21723 * manual/errno.texi (ESTALE): Update to account for more than
21724 just NFS file systems.
21725 * sysdeps/gnu/errlist.c: Regenerated.
21726
b9375348
SP
217272013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21728
21729 [BZ #15465]
21730 * elf/Makefile (tests): Add tst-null-argv.
21731 (modules-names): Add tst-null-argv-lib.
21732 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21733 (tst-null-argv-ENV): Set environment for tst-null-argv.
21734 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21735 (RTLD_PROGNAME): New macro.
21736 * elf/tst-null-argv.c: New test case.
21737 * elf/tst-null-argv-lib.c: Library for test case.
21738 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21739 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21740 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21741 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21742 * elf/dl-init.c (call_init): Likewise.
21743 (_dl_init): Likewise.
21744 * elf/dl-load.c (print_search_path): Likewise.
21745 (_dl_map_object): Likewise.
21746 * elf/dl-lookup.c (do_lookup_x): Likewise.
21747 (add_dependency): Likewise.
21748 (_dl_lookup_symbol_x): Likewise.
21749 (_dl_debug_bindings): Likewise.
21750 * elf/dl-open.c (_dl_show_scope): Likewise.
21751 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21752 * elf/dl-version.c (match_symbol): Likewise.
21753 (_dl_check_map_versions): Likewise.
21754 * elf/rtld.c (dl_main): Likewise.
21755 (print_unresolved): Use RTLD_PROGNAME.
21756 (print_missing_version): Likewise.
21757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21758 (elf_machine_rela): Likewise.
21759 * sysdeps/powerpc/powerpc32/dl-machine.c
21760 (__process_machine_rela): Likewise.
21761 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21762 Likewise.
21763 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21764 Likewise.
21765 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21766 Likewise.
21767 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21769 Likewise.
21770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21771 Likewise.
21772 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21773
8a9f20c8
CD
217742013-05-28 Carlos O'Donell <carlos@redhat.com>
21775
21776 * po/be.po: Add descriptive title.
21777 * po/zh_CN.po: Likewise.
21778 * po/header.pot: Likewise.
21779
0e60d68e
MF
217802013-05-28 Mike Frysinger <vapier@gentoo.org>
21781
21782 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21783 error message.
21784 (enlarge_archive): Likewise.
21785
56b672e9
BN
217862013-05-28 Ben North <ben@redfrontdoor.org>
21787
21788 * manual/arith.texi (frexp): It is the magnitude of the return
21789 value which lies in [0.5, 1), not the return value itself.
21790
5e056687
AZ
217912013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21792
21793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21794
2b66ef5d
TS
217952013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21796
528c2405
TS
21797 * stdio-common/bug26.c (main): Correct fscanf template.
21798
07b4c13d
TS
21799 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21800 declare _dl_skip_args.
21801
ec9dd97c
TS
21802 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21803 Don't declare.
21804
2b66ef5d
TS
21805 * manual/platform.texi: Add missing @end deftypefun.
21806
4f8dfe27
JM
218072013-05-24 Joseph Myers <joseph@codesourcery.com>
21808
0323d086
JM
21809 [BZ #15529]
21810 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21811 bit of mantissa of 2^16382.
21812 * math/libm-test.inc (hypot_test_data): Add more tests.
21813
dd4259b9
JM
21814 * math/libm-test.inc: Add drem and pow10 to list of tested
21815 functions.
21816 (pow10_test): New function.
21817 (drem_test): Likewise.
21818 (drem_test_tonearest): Likewise.
21819 (drem_test_towardzero): Likewise.
21820 (drem_test_downward): Likewise.
21821 (drem_test_upward): Likewise.
21822 (main): Call the new functions.
21823
4f8dfe27
JM
21824 * math/libm-test.inc (finite_test_data): Remove.
21825 (finite_test): Run tests from isfinite_test_data.
21826 (gamma_test_data): Remove.
21827 (gamma_test): Run tests from lgamma_test_data.
21828 * sysdeps/i386/fpu/libm-test-ulps: Update.
21829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21830
d116b7c4
AZ
218312013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21832
21833 * manual/platform.texi: Add PowerPC PPR function set documentation.
21834 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21835 implementation.
21836
e96e3767
CD
218372013-05-24 Carlos O'Donell <carlos@redhat.com>
21838
21839 * math/libm-test.inc (MAX_EXP): Define.
21840 (ULPDIFF): Define.
21841 (ulp): New function.
21842 (check_float_internal): Use ULPDIFF.
21843 (cpow_test): Disable failing test.
21844 (check_ulp): Test ulp() implemetnation.
21845 (main): Call check_ulp before starting tests.
21846
b679a606
JM
218472013-05-24 Joseph Myers <joseph@codesourcery.com>
21848
e8bdba36
JM
21849 * math/gen-libm-test.pl (generate_testfile): Do not handle
21850 START_DATA and END_DATA.
21851 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21852 END_DATA.
21853 (acos_tonearest_test_data): Likewise.
21854 (acos_towardzero_test_data): Likewise.
21855 (acos_downward_test_data): Likewise.
21856 (acos_upward_test_data): Likewise.
21857 (acosh_test_data): Likewise.
21858 (asin_test_data): Likewise.
21859 (asin_tonearest_test_data): Likewise.
21860 (asin_towardzero_test_data): Likewise.
21861 (asin_downward_test_data): Likewise.
21862 (asin_upward_test_data): Likewise.
21863 (asinh_test_data): Likewise.
21864 (atan_test_data): Likewise.
21865 (atanh_test_data): Likewise.
21866 (atan2_test_data): Likewise.
21867 (cabs_test_data): Likewise.
21868 (cacos_test_data): Likewise.
21869 (cacosh_test_data): Likewise.
21870 (carg_test_data): Likewise.
21871 (casin_test_data): Likewise.
21872 (casinh_test_data): Likewise.
21873 (catan_test_data): Likewise.
21874 (catanh_test_data): Likewise.
21875 (cbrt_test_data): Likewise.
21876 (ccos_test_data): Likewise.
21877 (ccosh_test_data): Likewise.
21878 (ceil_test_data): Likewise.
21879 (cexp_test_data): Likewise.
21880 (cimag_test_data): Likewise.
21881 (clog_test_data): Likewise.
21882 (clog10_test_data): Likewise.
21883 (conj_test_data): Likewise.
21884 (copysign_test_data): Likewise.
21885 (cos_test_data): Likewise.
21886 (cos_tonearest_test_data): Likewise.
21887 (cos_towardzero_test_data): Likewise.
21888 (cos_downward_test_data): Likewise.
21889 (cos_upward_test_data): Likewise.
21890 (cosh_test_data): Likewise.
21891 (cosh_tonearest_test_data): Likewise.
21892 (cosh_towardzero_test_data): Likewise.
21893 (cosh_downward_test_data): Likewise.
21894 (cosh_upward_test_data): Likewise.
21895 (cpow_test_data): Likewise.
21896 (cproj_test_data): Likewise.
21897 (creal_test_data): Likewise.
21898 (csin_test_data): Likewise.
21899 (csinh_test_data): Likewise.
21900 (csqrt_test_data): Likewise.
21901 (ctan_test_data): Likewise.
21902 (ctan_tonearest_test_data): Likewise.
21903 (ctan_towardzero_test_data): Likewise.
21904 (ctan_downward_test_data): Likewise.
21905 (ctan_upward_test_data): Likewise.
21906 (ctanh_test_data): Likewise.
21907 (ctanh_tonearest_test_data): Likewise.
21908 (ctanh_towardzero_test_data): Likewise.
21909 (ctanh_downward_test_data): Likewise.
21910 (ctanh_upward_test_data): Likewise.
21911 (erf_test_data): Likewise.
21912 (erfc_test_data): Likewise.
21913 (exp_test_data): Likewise.
21914 (exp_tonearest_test_data): Likewise.
21915 (exp_towardzero_test_data): Likewise.
21916 (exp_downward_test_data): Likewise.
21917 (exp_upward_test_data): Likewise.
21918 (exp10_test_data): Likewise.
21919 (exp2_test_data): Likewise.
21920 (expm1_test_data): Likewise.
21921 (fabs_test_data): Likewise.
21922 (fdim_test_data): Likewise.
21923 (finite_test_data): Likewise.
21924 (floor_test_data): Likewise.
21925 (fma_test_data): Likewise.
21926 (fma_towardzero_test_data): Likewise.
21927 (fma_downward_test_data): Likewise.
21928 (fma_upward_test_data): Likewise.
21929 (fmax_test_data): Likewise.
21930 (fmin_test_data): Likewise.
21931 (fmod_test_data): Likewise.
21932 (fpclassify_test_data): Likewise.
21933 (frexp_test_data): Likewise.
21934 (gamma_test_data): Likewise.
21935 (hypot_test_data): Likewise.
21936 (ilogb_test_data): Likewise.
21937 (isfinite_test_data): Likewise.
21938 (isgreater_test_data): Likewise.
21939 (isgreaterequal_test_data): Likewise.
21940 (isinf_test_data): Likewise.
21941 (isless_test_data): Likewise.
21942 (islessequal_test_data): Likewise.
21943 (islessgreater_test_data): Likewise.
21944 (isnan_test_data): Likewise.
21945 (isnormal_test_data): Likewise.
21946 (issignaling_test_data): Likewise.
21947 (isunordered_test_data): Likewise.
21948 (j0_test_data): Likewise.
21949 (j1_test_data): Likewise.
21950 (jn_test_data): Likewise.
21951 (ldexp_test_data): Likewise.
21952 (lgamma_test_data): Likewise.
21953 (lrint_test_data): Likewise.
21954 (lrint_tonearest_test_data): Likewise.
21955 (lrint_towardzero_test_data): Likewise.
21956 (lrint_downward_test_data): Likewise.
21957 (lrint_upward_test_data): Likewise.
21958 (llrint_test_data): Likewise.
21959 (llrint_tonearest_test_data): Likewise.
21960 (llrint_towardzero_test_data): Likewise.
21961 (llrint_downward_test_data): Likewise.
21962 (llrint_upward_test_data): Likewise.
21963 (log_test_data): Likewise.
21964 (log10_test_data): Likewise.
21965 (log1p_test_data): Likewise.
21966 (log2_test_data): Likewise.
21967 (logb_test_data): Likewise.
21968 (logb_downward_test_data): Likewise.
21969 (lround_test_data): Likewise.
21970 (llround_test_data): Likewise.
21971 (modf_test_data): Likewise.
21972 (nearbyint_test_data): Likewise.
21973 (nextafter_test_data): Likewise.
21974 (nexttoward_test_data): Likewise.
21975 (pow_test_data): Likewise.
21976 (pow_tonearest_test_data): Likewise.
21977 (pow_towardzero_test_data): Likewise.
21978 (pow_downward_test_data): Likewise.
21979 (pow_upward_test_data): Likewise.
21980 (remainder_test_data): Likewise.
21981 (remainder_tonearest_test_data): Likewise.
21982 (remainder_towardzero_test_data): Likewise.
21983 (remainder_downward_test_data): Likewise.
21984 (remainder_upward_test_data): Likewise.
21985 (remquo_test_data): Likewise.
21986 (rint_test_data): Likewise.
21987 (rint_tonearest_test_data): Likewise.
21988 (rint_towardzero_test_data): Likewise.
21989 (rint_downward_test_data): Likewise.
21990 (rint_upward_test_data): Likewise.
21991 (round_test_data): Likewise.
21992 (scalb_test_data): Likewise.
21993 (scalbn_test_data): Likewise.
21994 (scalbln_test_data): Likewise.
21995 (signbit_test_data): Likewise.
21996 (sin_test_data): Likewise.
21997 (sin_tonearest_test_data): Likewise.
21998 (sin_towardzero_test_data): Likewise.
21999 (sin_downward_test_data): Likewise.
22000 (sin_upward_test_data): Likewise.
22001 (sincos_test_data): Likewise.
22002 (sinh_test_data): Likewise.
22003 (sinh_tonearest_test_data): Likewise.
22004 (sinh_towardzero_test_data): Likewise.
22005 (sinh_downward_test_data): Likewise.
22006 (sinh_upward_test_data): Likewise.
22007 (sqrt_test_data): Likewise.
22008 (tan_test_data): Likewise.
22009 (tan_tonearest_test_data): Likewise.
22010 (tan_towardzero_test_data): Likewise.
22011 (tan_downward_test_data): Likewise.
22012 (tan_upward_test_data): Likewise.
22013 (tanh_test_data): Likewise.
22014 (tgamma_test_data): Likewise.
22015 (trunc_test_data): Likewise.
22016 (y0_test_data): Likewise.
22017 (y1_test_data): Likewise.
22018 (yn_test_data): Likewise.
22019 (significand_test_data): Likewise.
22020
b679a606
JM
22021 * math/gen-libm-test.pl (@functions): Remove variable.
22022 (generate_testfile): Don't handle START and END lines.
22023 * math/libm-test.inc (START): New macro.
22024 (END): Likewise.
22025 (END_COMPLEX): Likewise.
22026 (acos_test): Use END macro without arguments.
22027 (acos_test_tonearest): Likewise.
22028 (acos_test_towardzero): Likewise.
22029 (acos_test_downward): Likewise.
22030 (acos_test_upward): Likewise.
22031 (acosh_test): Likewise.
22032 (asin_test): Likewise.
22033 (asin_test_tonearest): Likewise.
22034 (asin_test_towardzero): Likewise.
22035 (asin_test_downward): Likewise.
22036 (asin_test_upward): Likewise.
22037 (asinh_test): Likewise.
22038 (atan_test): Likewise.
22039 (atanh_test): Likewise.
22040 (atan2_test): Likewise.
22041 (cabs_test): Likewise.
22042 (cacos_test): Use END_COMPLEX macro without arguments.
22043 (cacosh_test): Likewise.
22044 (carg_test): Use END macro without arguments.
22045 (casin_test): Use END_COMPLEX macro without arguments.
22046 (casinh_test): Likewise.
22047 (catan_test): Likewise.
22048 (catanh_test): Likewise.
22049 (cbrt_test): Use END macro without arguments.
22050 (ccos_test): Use END_COMPLEX macro without arguments.
22051 (ccosh_test): Likewise.
22052 (ceil_test): Use END macro without arguments.
22053 (cexp_test): Use END_COMPLEX macro without arguments.
22054 (cimag_test): Use END macro without arguments.
22055 (clog_test): Use END_COMPLEX macro without arguments.
22056 (clog10_test): Likewise.
22057 (conj_test): Likewise.
22058 (copysign_test): Use END macro without arguments.
22059 (cos_test): Likewise.
22060 (cos_test_tonearest): Likewise.
22061 (cos_test_towardzero): Likewise.
22062 (cos_test_downward): Likewise.
22063 (cos_test_upward): Likewise.
22064 (cosh_test): Likewise.
22065 (cosh_test_tonearest): Likewise.
22066 (cosh_test_towardzero): Likewise.
22067 (cosh_test_downward): Likewise.
22068 (cosh_test_upward): Likewise.
22069 (cpow_test): Use END_COMPLEX macro without arguments.
22070 (cproj_test): Likewise.
22071 (creal_test): Use END macro without arguments.
22072 (csin_test): Use END_COMPLEX macro without arguments.
22073 (csinh_test): Likewise.
22074 (csqrt_test): Likewise.
22075 (ctan_test): Likewise.
22076 (ctan_test_tonearest): Likewise.
22077 (ctan_test_towardzero): Likewise.
22078 (ctan_test_downward): Likewise.
22079 (ctan_test_upward): Likewise.
22080 (ctanh_test): Likewise.
22081 (ctanh_test_tonearest): Likewise.
22082 (ctanh_test_towardzero): Likewise.
22083 (ctanh_test_downward): Likewise.
22084 (ctanh_test_upward): Likewise.
22085 (erf_test): Use END macro without arguments.
22086 (erfc_test): Likewise.
22087 (exp_test): Likewise.
22088 (exp_test_tonearest): Likewise.
22089 (exp_test_towardzero): Likewise.
22090 (exp_test_downward): Likewise.
22091 (exp_test_upward): Likewise.
22092 (exp10_test): Likewise.
22093 (exp2_test): Likewise.
22094 (expm1_test): Likewise.
22095 (fabs_test): Likewise.
22096 (fdim_test): Likewise.
22097 (finite_test): Likewise.
22098 (floor_test): Likewise.
22099 (fma_test): Likewise.
22100 (fma_test_towardzero): Likewise.
22101 (fma_test_downward): Likewise.
22102 (fma_test_upward): Likewise.
22103 (fmax_test): Likewise.
22104 (fmin_test): Likewise.
22105 (fmod_test): Likewise.
22106 (fpclassify_test): Likewise.
22107 (frexp_test): Likewise.
22108 (gamma_test): Likewise.
22109 (hypot_test): Likewise.
22110 (ilogb_test): Likewise.
22111 (isfinite_test): Likewise.
22112 (isgreater_test): Likewise.
22113 (isgreaterequal_test): Likewise.
22114 (isinf_test): Likewise.
22115 (isless_test): Likewise.
22116 (islessequal_test): Likewise.
22117 (islessgreater_test): Likewise.
22118 (isnan_test): Likewise.
22119 (isnormal_test): Likewise.
22120 (issignaling_test): Likewise.
22121 (isunordered_test): Likewise.
22122 (j0_test): Likewise.
22123 (j1_test): Likewise.
22124 (jn_test): Likewise.
22125 (ldexp_test): Likewise.
22126 (lgamma_test): Likewise.
22127 (lrint_test): Likewise.
22128 (lrint_test_tonearest): Likewise.
22129 (lrint_test_towardzero): Likewise.
22130 (lrint_test_downward): Likewise.
22131 (lrint_test_upward): Likewise.
22132 (llrint_test): Likewise.
22133 (llrint_test_tonearest): Likewise.
22134 (llrint_test_towardzero): Likewise.
22135 (llrint_test_downward): Likewise.
22136 (llrint_test_upward): Likewise.
22137 (log_test): Likewise.
22138 (log10_test): Likewise.
22139 (log1p_test): Likewise.
22140 (log2_test): Likewise.
22141 (logb_test): Likewise.
22142 (logb_test_downward): Likewise.
22143 (lround_test): Likewise.
22144 (llround_test): Likewise.
22145 (modf_test): Likewise.
22146 (nearbyint_test): Likewise.
22147 (nextafter_test): Likewise.
22148 (nexttoward_test): Likewise.
22149 (pow_test): Likewise.
22150 (pow_test_tonearest): Likewise.
22151 (pow_test_towardzero): Likewise.
22152 (pow_test_downward): Likewise.
22153 (pow_test_upward): Likewise.
22154 (remainder_test): Likewise.
22155 (remainder_test_tonearest): Likewise.
22156 (remainder_test_towardzero): Likewise.
22157 (remainder_test_downward): Likewise.
22158 (remainder_test_upward): Likewise.
22159 (remquo_test): Likewise.
22160 (rint_test): Likewise.
22161 (rint_test_tonearest): Likewise.
22162 (rint_test_towardzero): Likewise.
22163 (rint_test_downward): Likewise.
22164 (rint_test_upward): Likewise.
22165 (round_test): Likewise.
22166 (scalb_test): Likewise.
22167 (scalbn_test): Likewise.
22168 (scalbln_test): Likewise.
22169 (signbit_test): Likewise.
22170 (sin_test): Likewise.
22171 (sin_test_tonearest): Likewise.
22172 (sin_test_towardzero): Likewise.
22173 (sin_test_downward): Likewise.
22174 (sin_test_upward): Likewise.
22175 (sincos_test): Likewise.
22176 (sinh_test): Likewise.
22177 (sinh_test_tonearest): Likewise.
22178 (sinh_test_towardzero): Likewise.
22179 (sinh_test_downward): Likewise.
22180 (sinh_test_upward): Likewise.
22181 (sqrt_test): Likewise.
22182 (tan_test): Likewise.
22183 (tan_test_tonearest): Likewise.
22184 (tan_test_towardzero): Likewise.
22185 (tan_test_downward): Likewise.
22186 (tan_test_upward): Likewise.
22187 (tanh_test): Likewise.
22188 (tgamma_test): Likewise.
22189 (trunc_test): Likewise.
22190 (y0_test): Likewise.
22191 (y1_test): Likewise.
22192 (yn_test): Likewise.
22193 (significand_test): Likewise.
22194
bae143d2
OB
221952013-05-24 Ondřej Bílka <neleai@seznam.cz>
22196
22197 [BZ #15381]
22198 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22199
9323d39b
EM
222002013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22201
d4ea44a0 22202 [BZ #14894]
9323d39b
EM
22203 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22204 __ppc_mdoio and __ppc_mdoom.
22205 * manual/platform.texi: Document new functions __ppc_yield,
22206 __ppc_mdoio and __ppc_mdoom.
22207
13e23af7
CD
222082013-05-22 Carlos O'Donell <carlos@redhat.com>
22209
22210 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22211 (main): Mention "tls" pseudo-hwcap is legacy.
22212 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22213
351fe550
JM
222142013-05-22 Joseph Myers <joseph@codesourcery.com>
22215
22216 * math/gen-libm-test.pl (parse_args): Output only string of
22217 arguments as text for test name, not full call or descriptions of
22218 tests for extra outputs.
22219 (generate_testfile): Do not pass function name to parse_args.
22220 Generate this_func variable from START.
22221 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22222 field to arg_str.
22223 (struct test_ff_f_data): Likewise.
22224 (test_ff_f_data_nexttoward): Likewise.
22225 (struct test_fi_f_data): Likewise.
22226 (struct test_fl_f_data): Likewise.
22227 (struct test_if_f_data): Likewise.
22228 (struct test_fff_f_data): Likewise.
22229 (struct test_c_f_data): Likewise.
22230 (struct test_f_f1_data): Likewise. Remove field extra_name.
22231 (struct test_fF_f1_data): Likewise.
22232 (struct test_ffI_f1_data): Likewise.
22233 (struct test_c_c_data): Rename test_name field to arg_str.
22234 (struct test_cc_c_data): Likewise.
22235 (struct test_f_i_data): Likewise.
22236 (struct test_ff_i_data): Likewise.
22237 (struct test_f_l_data): Likewise.
22238 (struct test_f_L_data): Likewise.
22239 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22240 and extra2_name.
22241 (COMMON_TEST_SETUP): New macro.
22242 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22243 (COMMON_TEST_CLEANUP): Likewise.
22244 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22245 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22246 macros.
22247 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22248 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22249 macros.
22250 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22251 (RUN_TEST_fff_f): Take argument string. Call new setup and
22252 cleanup macros.
22253 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22254 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22255 macros.
22256 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22257 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22258 macros.
22259 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22260 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22261 cleanup macros.
22262 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22263 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22264 cleanup macros.
22265 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22266 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22267 cleanup macros.
22268 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22269 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22270 macros.
22271 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22272 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22273 macros.
22274 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22275 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22276 macros.
22277 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22278 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22279 cleanup macros.
22280 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22281 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22282 cleanup macros.
22283 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22284 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22285 macros.
22286 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22287 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22288 cleanup macros.
22289 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22290 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22291 macros.
22292 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22293 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22294 macros.
22295 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22296 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22297 cleanup macros.
22298 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22299
85118d4d
EBM
223002013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22301
22302 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22303 to _sifields.sigfault.
22304 (si_addr_lsb): Define new macro.
22305 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22307 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22308
7a44c18f
CD
223092013-05-03 Carlos O'Donell <carlos at redhat.com>
22310
22311 [BZ #15441]
22312 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22313 returns -1.
22314 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22315 null return -1.
22316 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22317 loading the domain.
22318
b50a7181
JM
223192013-05-22 Joseph Myers <joseph@codesourcery.com>
22320
22321 * math/gen-libm-test.pl (parse_args): Do not include expected
22322 result in test name.
22323 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22325 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22326 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22327 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22329
051063c8
SP
223302013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22331
3ce9e010
SP
22332 * benchtests/Makefile: Sort function entries.
22333
051063c8
SP
22334 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22335 tanh, asinh, acosh, atanh.
22336 * benchtests/acos-inputs: New file.
22337 * benchtests/acosh-inputs: New file.
22338 * benchtests/asin-inputs: New file.
22339 * benchtests/asinh-inputs: New file.
22340 * benchtests/atanh-inputs: New file.
22341 * benchtests/cosh-inputs: New file.
22342 * benchtests/log-inputs: New file.
22343 * benchtests/sinh-inputs: New file.
22344 * benchtests/tanh-inputs: New file.
22345
47c22455
DL
223462013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22347
22348 [BZ #15339]
22349 * posix/tst-getaddrinfo4.c: New test.
22350 * posix/Makefile (tests): Add it.
22351
3d04f5db
SP
223522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22353
22354 [BZ #15339]
22355 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22356 when no services were used.
22357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22358 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22359
d5dd6189
AS
223602013-05-21 Andreas Schwab <schwab@suse.de>
22361
22362 [BZ #15014]
22363 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22364 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22365 successful.
22366 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22367 redundant variable declarations and reallocation of buffer when
22368 parsing as IPv6 address. Always set NSS status when called from
22369 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22370 buffer too small. Correct computation of needed size.
22371 * nss/Makefile (tests): Add test-digits-dots.
22372 * nss/test-digits-dots.c: New test.
22373
fef94eab
SP
223742013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22375
22376 * benchtests/Makefile: Remove instructions for adding
22377 benchmark tests.
22378 * benchtests/README: New file to explain how to execute and
22379 enhance the benchmark tests.
22380
e39adf43
AS
223812013-05-21 Andreas Schwab <schwab@suse.de>
22382
22383 [BZ #15493]
22384 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22385 * setjmp/tst-sigsetjmp.c: New test.
22386
b2b671b6
OB
223872013-05-20 Ondřej Bílka <neleai@seznam.cz>
22388
22389 * sysdeps/x86_64/memset.S (memset): New implementation.
22390 (__bzero): Likewise.
22391 (__memset_tail): New function.
22392
2d48b41c
OB
223932013-05-20 Ondřej Bílka <neleai@seznam.cz>
22394
22395 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22396 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22397 __memcpy_sse2_unaligned ifunc selection.
22398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22399 Add memcpy-sse2-unaligned.S.
22400 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22401 Add: __memcpy_sse2_unaligned.
22402
f16cc3eb
JM
224032013-05-19 Joseph Myers <joseph@codesourcery.com>
22404
3e694268
JM
22405 [BZ #15490]
22406 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22407 math_force_eval before restoring floating-point envrionment.
22408 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22410 Likewise.
22411 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22412 <math_private.h>.
22413 (__nearbyintl): Use math_force_eval before restoring
22414 floating-point environment.
22415 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22416
db62a907
JM
22417 * math/gen-libm-test.pl (special_functions): Remove.
22418 (parse_args): Don't handle TEST_extra. Handle functions with no
22419 return value.
22420 * math/libm-test.inc (struct test_sincos_data): Replace with
22421 struct test_fFF_11_data.
22422 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22423 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22424 (sincos_test_data): Change element type to struct
22425 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22426 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22427 RUN_TEST_LOOP_sincos.
22428 * math/README.libm-test: Don't mention special handling of
22429 individual functions.
22430 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22431 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22432 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22433 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22434 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22436
f16cc3eb
JM
22437 * math/gen-libm-test.pl (get_variable): Remove function.
22438 (parse_args): Don't show pointer parameters to call in test
22439 names. Use "extra output N" in test names for extra outputs
22440 rather than naming variables.
22441
3779b5b6
JM
224422013-05-18 Joseph Myers <joseph@codesourcery.com>
22443
2ee094ff
JM
22444 [BZ #15488]
22445 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22446 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22447 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22448 double tests.
22449 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22450 disable.
22451 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22452 check_long_double.
22453
3779b5b6
JM
22454 * math/gen-libm-test.pl (@tests): Remove variable.
22455 ($count): Likewise.
22456 (new_test): Remove function.
22457 (show_exceptions): New function.
22458 (special_functions): Use show_exceptions instead of new_test.
22459 (parse_args): Likewise.
22460 (generate_testfile): Pass only function name in generated call to
22461 print_max_error or print_complex_max_error.
22462 (get_ulps): Do not handle complex tests specially.
22463 (output_test): Rename to ...
22464 (get_all_ulps_for_test): ... this. Return a string rather than
22465 printing to a file. Require ulps to be present.
22466 (output_ulps): Generate arrays rather than #defines.
22467 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22468 (struct ulp_data): New type.
22469 (BUILD_COMPLEX_ULP): Remove macro.
22470 (compare_ulp_data): New function.
22471 (find_ulps): Likewise.
22472 (find_test_ulps): Likewise.
22473 (find_function_ulps): Likewise.
22474 (find_complex_function_ulps): Likewise.
22475 (print_max_error): Determine allowed ulps using
22476 find_function_ulps.
22477 (print_complex_max_error): Determine allowed ulps using
22478 find_complex_function_ulps.
22479 (check_float_internal): Determine max ulps using find_test_ulps.
22480 (check_float): Do not take max_ulp parameter. Update call to
22481 check_float_internal.
22482 (check_complex): Likewise.
22483 (check_int): Do not take max_ulp parameter.
22484 (check_long): Likewise.
22485 (check_bool): Likewise.
22486 (check_longlong): Likewise.
22487 (struct test_f_f_data): Remove max_ulp field.
22488 (struct test_ff_f_data): Likewise.
22489 (struct test_ff_f_data_nexttoward): Likewise.
22490 (struct test_fi_f_data): Likewise.
22491 (struct test_fl_f_data): Likewise.
22492 (struct test_if_f_data): Likewise.
22493 (struct test_fff_f_data): Likewise.
22494 (struct test_c_f_data): Likewise.
22495 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22496 (struct test_fF_f1_data): Likewise.
22497 (struct test_ffI_f1_data): Likewise.
22498 (struct test_c_c_data): Remove max_ulp field.
22499 (struct test_cc_c_data): Likewise.
22500 (struct test_f_i_data): Likewise.
22501 (struct test_ff_i_data): Likewise.
22502 (struct test_f_l_data): Likewise.
22503 (struct test_f_L_data): Likewise.
22504 (struct test_sincos_data): Likewise.
22505 (RUN_TEST_f_f): Do not handle ulps.
22506 (RUN_TEST_LOOP_f_f): Likewise.
22507 (RUN_TEST_2_f): Likewise.
22508 (RUN_TEST_LOOP_2_f): Likewise.
22509 (RUN_TEST_fff_f): Likewise.
22510 (RUN_TEST_LOOP_fff_f): Likewise.
22511 (RUN_TEST_c_f): Likewise.
22512 (RUN_TEST_LOOP_c_f): Likewise.
22513 (RUN_TEST_f_f1): Likewise.
22514 (RUN_TEST_LOOP_f_f1): Likewise.
22515 (RUN_TEST_fF_f1): Likewise.
22516 (RUN_TEST_LOOP_fF_f1): Likewise.
22517 (RUN_TEST_fI_f1): Likewise.
22518 (RUN_TEST_LOOP_fI_f1): Likewise.
22519 (RUN_TEST_ffI_f1): Likewise.
22520 (RUN_TEST_LOOP_ffI_f1): Likewise.
22521 (RUN_TEST_c_c): Likewise.
22522 (RUN_TEST_LOOP_c_c): Likewise.
22523 (RUN_TEST_cc_c): Likewise.
22524 (RUN_TEST_LOOP_cc_c): Likewise.
22525 (RUN_TEST_f_i): Likewise.
22526 (RUN_TEST_LOOP_f_i): Likewise.
22527 (RUN_TEST_f_i_tg): Likewise.
22528 (RUN_TEST_LOOP_f_i_tg): Likewise.
22529 (RUN_TEST_ff_i_tg): Likewise.
22530 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22531 (RUN_TEST_f_b): Likewise.
22532 (RUN_TEST_LOOP_f_b): Likewise.
22533 (RUN_TEST_f_b_tg): Likewise.
22534 (RUN_TEST_LOOP_f_b_tg): Likewise.
22535 (RUN_TEST_f_l): Likewise.
22536 (RUN_TEST_LOOP_f_l): Likewise.
22537 (RUN_TEST_f_L): Likewise.
22538 (RUN_TEST_LOOP_f_L): Likewise.
22539 (RUN_TEST_sincos): Likewise.
22540 (RUN_TEST_LOOP_sincos): Likewise.
22541
8269107f
JM
225422013-05-17 Joseph Myers <joseph@codesourcery.com>
22543
bb38759d
JM
22544 [BZ #15480]
22545 [BZ #15485]
22546 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22547 main case of finite arguments, set rounding mode to FE_TONEAREST
22548 and discard exceptions.
22549 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22550 exceptions.
22551 (remainder_tonearest_test_data): New variable.
22552 (remainder_test_tonearest): New function.
22553 (remainder_towardzero_test_data): New variable.
22554 (remainder_test_towardzero): New function.
22555 (remainder_downward_test_data): New variable.
22556 (remainder_test_downward): New function.
22557 (remainder_upward_test_data): New variable.
22558 (remainder_test_upward): New function.
22559 (main): Call the new test functions.
22560
a00bdcf0
JM
22561 * math/libm-test.inc (struct test_f_f1_data): Remove field
22562 extra_init.
22563 (struct test_fF_f1_data): Likewise.
22564 (struct test_ffI_f1_data): Likewise.
22565 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22566 based on value of EXTRA_EXPECTED.
22567 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22568 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22569 EXTRA_VAR based on value of EXTRA_EXPECTED.
22570 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22571 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22572 EXTRA_VAR based on value of EXTRA_EXPECTED.
22573 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22574 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22575 EXTRA_VAR based on value of EXTRA_EXPECTED.
22576 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22577 * math/gen-libm-test.pl (parse_args): Don't output initializers
22578 for extra output values.
22579
de407f79
JM
22580 * math/libm-test.inc (check_int): Expect result to be exactly
22581 equal to expected value and do not handle ulps.
22582 (check_long): Likewise.
22583 (check_longlong): Likewise.
22584
8269107f
JM
22585 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22586 exceptions.
22587 (cimag_test_data): Likewise.
22588 (conj_test_data): Likewise.
22589 (copysign_test_data): Likewise.
22590 (cproj_test_data): Likewise.
22591 (creal_test_data): Likewise.
22592 (fabs_test_data): Likewise.
22593 (fdim_test_data): Likewise.
22594 (finite_test_data): Likewise.
22595 (floor_test_data): Likewise.
22596 (fmax_test_data): Likewise.
22597 (fmin_test_data): Likewise.
22598 (fmod_test_data): Likewise.
22599 (fpclassify_test_data): Likewise.
22600 (frexp_test_data): Likewise.
22601 (ilogb_test_data): Likewise.
22602 (isfinite_test_data): Likewise.
22603 (isgreater_test_data): Likewise.
22604 (isgreaterequal_test_data): Likewise.
22605 (isinf_test_data): Likewise.
22606 (isless_test_data): Likewise.
22607 (islessequal_test_data): Likewise.
22608 (islessgreater_test_data): Likewise.
22609 (isnan_test_data): Likewise.
22610 (isnormal_test_data): Likewise.
22611 (issignaling_test_data): Likewise.
22612 (isunordered_test_data): Likewise.
22613 (ldexp_test_data): Likewise.
22614 (lrint_test_data): Likewise.
22615 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22616 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22617 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22618 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22619 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22620 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22621 test input.
22622 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22623 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22624 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22625 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22626 that test input.
22627 (lrint_downward_test_data): Test for "inexact" exceptions.
22628 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22629 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22630 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22631 test input.
22632 (lrint_upward_test_data): Test for "inexact" exceptions.
22633 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22634 test input.
22635 (llrint_test_data): Test for "inexact" exceptions.
22636 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22637 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22638 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22639 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22640 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22641 (llrint_downward_test_data): Test for "inexact" exceptions.
22642 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22643 (llrint_upward_test_data): Test for "inexact" exceptions.
22644 (logb_test_data): Likewise.
22645 (logb_downward_test_data): Likewise.
22646 (nextafter_test_data): Likewise.
22647 (nexttoward_test_data): Likewise.
22648 (remainder_test_data): Likewise.
22649 (remquo_test_data): Likewise.
22650 (scalbn_test_data): Likewise.
22651 (scalbln_test_data): Likewise.
22652 (signbit_test_data): Likewise.
22653 (sqrt_test_data): Likewise.
22654 (significand_test_data): Likewise.
22655
48a18de1
SP
226562013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22657
22658 [BZ #15424]
22659 * benchtests/bench-modf.c (struct args): Mark arg0 as
22660 volatile.
22661 * scripts/bench.pl: Mark members of struct args as volatile.
22662
13d3b41a
AZ
226632013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22664
68191c1d 22665 [BZ # 15497]
13d3b41a
AZ
22666 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22667 negative infinity on POWER6 or lower.
22668 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22669
2848b105
MR
226702013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22671
22672 [BZ #15442]
22673 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22674 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22675 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22676 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22677 (_FP_SETQNAN): New macro.
22678 (_FP_SETQNAN_SEMIRAW): Likewise.
22679 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22680 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22681 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22682 (FP_EXTEND): Use _FP_FRAC_SNANP.
22683 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22684 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22685 into account.
22686 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22687 New macro.
22688 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22689 Likewise.
22690
323e5cb7
JM
226912013-05-16 Joseph Myers <joseph@codesourcery.com>
22692
c58b274f
JM
22693 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22694 with DIVIDE_BY_ZERO_EXCEPTION.
22695 (gamma_test_data): Likewise.
22696 (lgamma_test_data): Likewise.
22697 (log_test_data): Likewise.
22698 (log10_test_data): Likewise.
22699 (log2_test_data): Likewise.
22700 (tgamma_test_data): Likewise.
22701
0ab34904
JM
22702 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22703 (acos_test_tonearest): Likewise.
22704 (acos_test_towardzero): Likewise.
22705 (acos_test_downward): Likewise.
22706 (acos_test_upward): Likewise.
22707 (acosh_test): Likewise.
22708 (asin_test): Likewise.
22709 (asin_test_tonearest): Likewise.
22710 (asin_test_towardzero): Likewise.
22711 (asin_test_downward): Likewise.
22712 (asin_test_upward): Likewise.
22713 (asinh_test): Likewise.
22714 (atan_test): Likewise.
22715 (atanh_test): Likewise.
22716 (atan2_test): Likewise.
22717 (cabs_test): Likewise.
22718 (cacos_test): Likewise.
22719 (cacosh_test): Likewise.
22720 (casin_test): Likewise.
22721 (casinh_test): Likewise.
22722 (catan_test): Likewise.
22723 (catanh_test): Likewise.
22724 (cbrt_test): Likewise.
22725 (ccos_test): Likewise.
22726 (ccosh_test): Likewise.
22727 (cexp_test): Likewise.
22728 (clog_test): Likewise.
22729 (clog10_test): Likewise.
22730 (cos_test): Likewise.
22731 (cos_test_tonearest): Likewise.
22732 (cos_test_towardzero): Likewise.
22733 (cos_test_downward): Likewise.
22734 (cos_test_upward): Likewise.
22735 (cosh_test): Likewise.
22736 (cosh_test_tonearest): Likewise.
22737 (cosh_test_towardzero): Likewise.
22738 (cosh_test_downward): Likewise.
22739 (cosh_test_upward): Likewise.
22740 (cpow_test): Likewise.
22741 (csin_test): Likewise.
22742 (csinh_test): Likewise.
22743 (csqrt_test): Likewise.
22744 (ctan_test): Likewise.
22745 (ctan_test_tonearest): Likewise.
22746 (ctan_test_towardzero): Likewise.
22747 (ctan_test_downward): Likewise.
22748 (ctan_test_upward): Likewise.
22749 (ctanh_test): Likewise.
22750 (ctanh_test_tonearest): Likewise.
22751 (ctanh_test_towardzero): Likewise.
22752 (ctanh_test_downward): Likewise.
22753 (ctanh_test_upward): Likewise.
22754 (erf_test): Likewise.
22755 (erfc_test): Likewise.
22756 (exp_test): Likewise.
22757 (exp_test_tonearest): Likewise.
22758 (exp_test_towardzero): Likewise.
22759 (exp_test_downward): Likewise.
22760 (exp_test_upward): Likewise.
22761 (exp10_test): Likewise.
22762 (exp2_test): Likewise.
22763 (expm1_test): Likewise.
22764 (fmod_test): Likewise.
22765 (gamma_test): Likewise.
22766 (hypot_test): Likewise.
22767 (j0_test): Likewise.
22768 (j1_test): Likewise.
22769 (jn_test): Likewise.
22770 (lgamma_test): Likewise.
22771 (log_test): Likewise.
22772 (log10_test): Likewise.
22773 (log1p_test): Likewise.
22774 (log2_test): Likewise.
22775 (logb_test_downward): Likewise.
22776 (pow_test): Likewise.
22777 (pow_test_tonearest): Likewise.
22778 (pow_test_towardzero): Likewise.
22779 (pow_test_downward): Likewise.
22780 (pow_test_upward): Likewise.
22781 (remainder_test): Likewise.
22782 (remquo_test): Likewise.
22783 (sin_test): Likewise.
22784 (sin_test_tonearest): Likewise.
22785 (sin_test_towardzero): Likewise.
22786 (sin_test_downward): Likewise.
22787 (sin_test_upward): Likewise.
22788 (sincos_test): Likewise.
22789 (sinh_test): Likewise.
22790 (sinh_test_tonearest): Likewise.
22791 (sinh_test_towardzero): Likewise.
22792 (sinh_test_downward): Likewise.
22793 (sinh_test_upward): Likewise.
22794 (sqrt_test): Likewise.
22795 (tan_test): Likewise.
22796 (tan_test_tonearest): Likewise.
22797 (tan_test_towardzero): Likewise.
22798 (tan_test_downward): Likewise.
22799 (tan_test_upward): Likewise.
22800 (tanh_test): Likewise.
22801 (tgamma_test): Likewise.
22802 (y0_test): Likewise.
22803 (y1_test): Likewise.
22804 (yn_test): Likewise.
22805
323e5cb7
JM
22806 * math/gen-libm-test.pl (adjust_arg): Remove function.
22807 (special_function): Remove argument $in_func. Only handle
22808 generating output for tables of tests, not inside functions.
22809 (parse_args): Likewise.
22810 (generate_testfile): Remove variable $in_func. Update call to
22811 parse_args.
22812 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22813 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22814 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22815 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22816 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22817 (MAX_VALUE_INIT): Rename macro to max_value.
22818 (MIN_VALUE_INIT): Rename macro to min_value.
22819 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22820 (plus_zero): Remove variable.
22821 (minus_zero): Likewise.
22822 (plus_infty): Likewise.
22823 (minus_infty): Likewise.
22824 (qnan_value): Likewise.
22825 (max_value): Likewise.
22826 (min_value): Likewise.
22827 (min_subnorm_value): Likewise.
22828
e054f494
RA
228292013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22830
22831 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22832 uint64_t or uint32_t usage.
22833 * crypt/sha256-block.c: Likewise.
22834 * crypt/sha256-crypt.c: Likewise.
22835 * crypt/sha256.c: Likewise.
22836 * crypt/sha512-block.c: Likewise.
22837 * crypt/sha512-crypt.c: Likewise.
22838 * crypt/sha512.c: Likewise.
22839 * debug/backtrace-tst.c: Likewise.
22840 * debug/pcprofiledump.c: Likewise.
22841 * elf/cache.c: Likewise.
22842 * elf/dl-cache.c: Likewise.
22843 * elf/dl-misc.c: Likewise.
22844 * elf/dl-profile.c: Likewise.
22845 * elf/dl-support.c: Likewise.
22846 * elf/ldconfig.c: Likewise.
22847 * elf/sprof.c: Likewise.
22848 * iconv/dummy-repertoire.c: Likewise.
22849 * iconv/iconv_charmap.c: Likewise.
22850 * iconv/skeleton.c: Likewise.
22851 * iconvdata/8bit-generic.c: Likewise.
22852 * iconvdata/cp737.h: Likewise.
22853 * iconvdata/cp775.h: Likewise.
22854 * iconvdata/ibm1008.h: Likewise.
22855 * iconvdata/ibm1025.h: Likewise.
22856 * iconvdata/ibm1046.h: Likewise.
22857 * iconvdata/ibm1097.h: Likewise.
22858 * iconvdata/ibm1112.h: Likewise.
22859 * iconvdata/ibm1122.h: Likewise.
22860 * iconvdata/ibm1123.h: Likewise.
22861 * iconvdata/ibm1124.h: Likewise.
22862 * iconvdata/ibm1129.h: Likewise.
22863 * iconvdata/ibm1130.h: Likewise.
22864 * iconvdata/ibm1132.h: Likewise.
22865 * iconvdata/ibm1133.h: Likewise.
22866 * iconvdata/ibm1137.h: Likewise.
22867 * iconvdata/ibm1140.h: Likewise.
22868 * iconvdata/ibm1141.h: Likewise.
22869 * iconvdata/ibm1142.h: Likewise.
22870 * iconvdata/ibm1143.h: Likewise.
22871 * iconvdata/ibm1144.h: Likewise.
22872 * iconvdata/ibm1145.h: Likewise.
22873 * iconvdata/ibm1146.h: Likewise.
22874 * iconvdata/ibm1147.h: Likewise.
22875 * iconvdata/ibm1148.h: Likewise.
22876 * iconvdata/ibm1149.h: Likewise.
22877 * iconvdata/ibm1153.h: Likewise.
22878 * iconvdata/ibm1154.h: Likewise.
22879 * iconvdata/ibm1155.h: Likewise.
22880 * iconvdata/ibm1156.h: Likewise.
22881 * iconvdata/ibm1157.h: Likewise.
22882 * iconvdata/ibm1158.h: Likewise.
22883 * iconvdata/ibm1160.h: Likewise.
22884 * iconvdata/ibm1161.h: Likewise.
22885 * iconvdata/ibm1162.h: Likewise.
22886 * iconvdata/ibm1163.h: Likewise.
22887 * iconvdata/ibm1164.h: Likewise.
22888 * iconvdata/ibm1166.h: Likewise.
22889 * iconvdata/ibm1167.h: Likewise.
22890 * iconvdata/ibm12712.h: Likewise.
22891 * iconvdata/ibm1390.h: Likewise.
22892 * iconvdata/ibm1399.h: Likewise.
22893 * iconvdata/ibm16804.h: Likewise.
22894 * iconvdata/ibm4517.h: Likewise.
22895 * iconvdata/ibm4899.h: Likewise.
22896 * iconvdata/ibm4909.h: Likewise.
22897 * iconvdata/ibm4971.h: Likewise.
22898 * iconvdata/ibm5347.h: Likewise.
22899 * iconvdata/ibm803.h: Likewise.
22900 * iconvdata/ibm856.h: Likewise.
22901 * iconvdata/ibm901.h: Likewise.
22902 * iconvdata/ibm902.h: Likewise.
22903 * iconvdata/ibm9030.h: Likewise.
22904 * iconvdata/ibm9066.h: Likewise.
22905 * iconvdata/ibm921.h: Likewise.
22906 * iconvdata/ibm922.h: Likewise.
22907 * iconvdata/ibm9448.h: Likewise.
22908 * iconvdata/isiri-3342.h: Likewise.
22909 * iconvdata/jis0201.h: Likewise.
22910 * include/link.h: Likewise.
22911 * include/netdb.h: Likewise.
22912 * inet/check_native.c: Likewise.
22913 * inet/check_pf.c: Likewise.
22914 * inet/getipv4sourcefilter.c: Likewise.
22915 * inet/getnameinfo.c: Likewise.
22916 * inet/getsourcefilter.c: Likewise.
22917 * inet/htonl.c: Likewise.
22918 * inet/setipv4sourcefilter.c: Likewise.
22919 * inet/setsourcefilter.c: Likewise.
22920 * inet/test-inet6_opt.c: Likewise.
22921 * inet/tst-network.c: Likewise.
22922 * locale/C-collate.c: Likewise.
22923 * locale/C-ctype.c: Likewise.
22924 * locale/C-time.c: Likewise.
22925 * locale/C-translit.h: Likewise.
22926 * locale/loadarchive.c: Likewise.
22927 * locale/programs/3level.h: Likewise.
22928 * locale/programs/charmap.c: Likewise.
22929 * locale/programs/charmap.h: Likewise.
22930 * locale/programs/ld-address.c: Likewise.
22931 * locale/programs/ld-collate.c: Likewise.
22932 * locale/programs/ld-ctype.c: Likewise.
22933 * locale/programs/ld-identification.c: Likewise.
22934 * locale/programs/ld-measurement.c: Likewise.
22935 * locale/programs/ld-messages.c: Likewise.
22936 * locale/programs/ld-monetary.c: Likewise.
22937 * locale/programs/ld-name.c: Likewise.
22938 * locale/programs/ld-numeric.c: Likewise.
22939 * locale/programs/ld-paper.c: Likewise.
22940 * locale/programs/ld-telephone.c: Likewise.
22941 * locale/programs/ld-time.c: Likewise.
22942 * locale/programs/linereader.c: Likewise.
22943 * locale/programs/locale.c: Likewise.
22944 * locale/programs/locarchive.c: Likewise.
22945 * locale/programs/locfile.h: Likewise.
22946 * locale/programs/repertoire.c: Likewise.
22947 * locale/programs/simple-hash.c: Likewise.
22948 * locale/programs/simple-hash.h: Likewise.
22949 * malloc/memusage.c: Likewise.
22950 * malloc/memusagestat.c: Likewise.
22951 * nis/nis_defaults.c: Likewise.
22952 * nis/nis_hash.c: Likewise.
22953 * nis/nis_print.c: Likewise.
22954 * nis/nis_xdr.c: Likewise.
22955 * nscd/connections.c: Likewise.
22956 * nscd/hstcache.c: Likewise.
22957 * nscd/nscd_gethst_r.c: Likewise.
22958 * nscd/nscd_getserv_r.c: Likewise.
22959 * nscd/nscd_helper.c: Likewise.
22960 * nscd/servicescache.c: Likewise.
22961 * nss/makedb.c: Likewise.
22962 * nss/nss_db/db-XXX.c: Likewise.
22963 * nss/nss_db/db-initgroups.c: Likewise.
22964 * nss/nss_db/db-netgrp.c: Likewise.
22965 * nss/nss_files/files-network.c: Likewise.
22966 * nss/nss_files/files-parse.c: Likewise.
22967 * posix/bug-regex5.c: Likewise.
22968 * posix/fnmatch_loop.c: Likewise.
22969 * posix/regcomp.c: Likewise.
22970 * posix/regexec.c: Likewise.
22971 * posix/tst-rfc3484-2.c: Likewise.
22972 * posix/tst-rfc3484-3.c: Likewise.
22973 * posix/tst-rfc3484.c: Likewise.
22974 * resolv/nss_dns/dns-canon.c: Likewise.
22975 * resolv/nss_dns/dns-network.c: Likewise.
22976 * resolv/res_init.c: Likewise.
22977 * resolv/res_mkquery.c: Likewise.
22978 * resolv/tst-aton.c: Likewise.
22979 * stdlib/cxa_atexit.c: Likewise.
22980 * stdlib/cxa_finalize.c: Likewise.
22981 * stdlib/gen-fpioconst.c: Likewise.
22982 * stdlib/strtol_l.c: Likewise.
22983 * string/tst-endian.c: Likewise.
22984 * sunrpc/auth_des.c: Likewise.
22985 * sunrpc/clnt_udp.c: Likewise.
22986 * sunrpc/rtime.c: Likewise.
22987 * sunrpc/svcauth_des.c: Likewise.
22988 * sunrpc/xdr.c: Likewise.
22989 * sunrpc/xdr_intXX_t.c: Likewise.
22990 * sunrpc/xdr_rec.c: Likewise.
22991 * sysdeps/generic/ldconfig.h: Likewise.
22992 * sysdeps/generic/ldsodefs.h: Likewise.
22993 * sysdeps/generic/memusage.h: Likewise.
22994 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22997 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23004 * sysdeps/posix/getaddrinfo.c: Likewise.
23005 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23006 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23007 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23009 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23010 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23011 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23012 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23013 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23014 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23015 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23016 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23017 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23018 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23019 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23020 * sysdeps/x86_64/dl-tls.h: Likewise.
23021 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23022 * time/alt_digit.c: Likewise.
23023 * time/era.c: Likewise.
23024 * wcsmbs/tst-c16c32-1.c: Likewise.
23025
8c75f674
JM
230262013-05-16 Joseph Myers <joseph@codesourcery.com>
23027
23028 * math/libm-test.inc (struct test_sincos_data): New type.
23029 (RUN_TEST_LOOP_sincos): New macro.
23030 (sincos_test_data): New variable.
23031 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23032
e6e49e59
RH
230332013-05-16 Richard Henderson <rth@redhat.com>
23034
23035 * math/atest-exp2.c (LIMB64): New macro.
23036 (CONSTSZ): New macro.
23037 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23038 (hexdig): Move ...
23039 (print_mpn_fp): ... to function scope.
23040 (read_mpn_hex): Remove.
23041 (get_log2): Remove.
23042 (exp2_mpn): Use mp_log2.
23043 (main): Use mp_exp1.
23044
15c7c18d
JM
230452013-05-16 Joseph Myers <joseph@codesourcery.com>
23046
105a07df
JM
23047 * math/libm-test.inc: Remove comment about not testing "inexact"
23048 exceptions.
23049 (INEXACT_EXCEPTION): New macro.
23050 (NO_INEXACT_EXCEPTION): Likewise.
23051 (INVALID_EXCEPTION_OK): Update value.
23052 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23053 (OVERFLOW_EXCEPTION_OK): Likewise.
23054 (UNDERFLOW_EXCEPTION_OK): Likewise.
23055 (IGNORE_ZERO_INF_SIGN): Likewise.
23056 (ERRNO_UNCHANGED): Likewise.
23057 (ERRNO_EDOM): Likewise.
23058 (ERRNO_ERANGE): Likewise.
23059 (test_exceptions): Handle testing "inexact" exceptions.
23060 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23061 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23062 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23063 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23064 INEXACT_EXCEPTION.
23065 (rint_towardzero_test_data): Likewise.
23066 (rint_downward_test_data): Likewise.
23067 (rint_upward_test_data): Likewise.
23068
e9eee333
JM
23069 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23070 with OVERFLOW_EXCEPTION.
23071 (exp10_test_data): Likewise.
23072 (exp2_test_data): Likewise.
23073 (expm1_test_data): Likewise.
23074 (lgamma_test_data): Likewise.
23075 (pow_test_data): Likewise.
23076 (tgamma_test_data): Likewise.
23077 (yn_test_data): Remove duplicate test of overflow.
23078
1c38ff73
JM
23079 * math/libm-test.inc (struct test_cc_c_data): New type.
23080 (RUN_TEST_LOOP_cc_c): New macro.
23081 (cpow_test_data): New variable.
23082 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23083
15c7c18d
JM
23084 * math/libm-test.inc (struct test_f_L_data): New type.
23085 (RUN_TEST_LOOP_f_L): New macro.
23086 (llrint_test_data): New variable.
23087 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23088 (llrint_tonearest_test_data): New variable.
23089 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23090 (llrint_towardzero_test_data): New variable.
23091 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23092 (llrint_downward_test_data): New variable.
23093 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23094 (llrint_upward_test_data): New variable.
23095 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23096 (llround_test_data): New variable.
23097 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23098
f137ff13
PC
230992013-05-13 Peter Collingbourne <pcc@google.com>
23100
23101 * math/atest-exp2.c (get_log2): Remove const attribute.
23102
3608cb24
JM
231032013-05-15 Joseph Myers <joseph@codesourcery.com>
23104
23105 * math/libm-test.inc (struct test_f_l_data): New type.
23106 (RUN_TEST_LOOP_f_l): New macro.
23107 (lrint_test_data): New variable.
23108 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23109 (lrint_tonearest_test_data): New variable.
23110 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23111 (lrint_towardzero_test_data): New variable.
23112 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23113 (lrint_downward_test_data): New variable.
23114 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23115 (lrint_upward_test_data): New variable.
23116 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23117 (lround_test_data): New variable.
23118 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23119
39b1f617
PC
231202013-05-15 Peter Collingbourne <pcc@google.com>
23121
1deff3dc
PC
23122 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23123 (EXTRACT_WORDS64) Use where appropriate.
23124 (INSERT_WORDS64) Likewise.
23125
791f3ba0
PC
23126 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23127 constraints with x constraints.
23128 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23129
39b1f617
PC
23130 * malloc/obstack.c (_obstack_compat): Add initializer.
23131
12fba011
EM
231322013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23133
23134 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23135 si_trapno and add si_addr_lsb to _sifields.sigfault.
23136 (si_trapno): Remove macro.
23137 (si_addr_lsb): Define new macro.
23138 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23139
d369f531
JM
231402013-05-15 Joseph Myers <joseph@codesourcery.com>
23141
b861c6c4
JM
23142 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23143 instead of TEST_f_l.
23144 (llrint_test_tonearest): Likewise.
23145 (llrint_test_towardzero): Likewise.
23146 (llrint_test_downward): Likewise.
23147 (llrint_test_upward): Likewise.
23148 (llround_test): Likewise.
23149
7abeee12
JM
23150 * math/libm-test.inc (struct test_f_i_data): Add comment.
23151 (RUN_TEST_LOOP_f_b): New macro.
23152 (RUN_TEST_LOOP_f_b_tg): Likewise.
23153 (finite_test_data): New variable.
23154 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23155 (isfinite_test_data): New variable.
23156 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23157 (isinf_test_data): New variable.
23158 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23159 (isnan_test_data): New variable.
23160 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23161 (isnormal_test_data): New variable.
23162 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23163 (issignaling_test_data): New variable.
23164 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23165 (signbit_test_data): New variable.
23166 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23167
cbe8c4d3
JM
23168 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23169 with INVALID_EXCEPTION.
23170 (acosh_test_data): Likewise.
23171 (asin_test_data): Likewise.
23172 (atanh_test_data): Likewise.
23173 (fmod_test_data): Likewise.
23174 (log_test_data): Likewise.
23175 (log10_test_data): Likewise.
23176 (log2_test_data): Likewise.
23177 (pow_test_data): Likewise.
23178 (sqrt_test_data): Likewise.
23179 (y0_test_data): Likewise.
23180 (y1_test_data): Likewise.
23181 (yn_test_data): Likewise.
23182
5575c0e5
JM
23183 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23184 function contents.
23185
d369f531
JM
23186 * math/libm-test.inc (struct test_ff_i_data): New type.
23187 (RUN_TEST_LOOP_ff_i_tg): New macro.
23188 (isgreater_test_data): New variable.
23189 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23190 (isgreaterequal_test_data): New variable.
23191 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23192 (isless_test_data): New variable.
23193 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23194 (islessequal_test_data): New variable.
23195 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23196 (islessgreater_test_data): New variable.
23197 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23198 (isunordered_test_data): New variable.
23199 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23200
781fd748
DM
232012013-05-14 David S. Miller <davem@davemloft.net>
23202
23203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23204
87aa21df
JM
232052013-05-14 Joseph Myers <joseph@codesourcery.com>
23206
5e908270
JM
23207 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23208
f71172e5
JM
23209 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23210 extra_test to int.
23211 (struct test_f_i_data): Change type of max_ulp to int.
23212
8cfa635a
JM
23213 * math/libm-test.inc (test_ffI_f1_data): New type.
23214 (RUN_TEST_LOOP_ffI_f1): New macro.
23215 (remquo_test_data): New variable.
23216 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23217
2bcb36b2
JM
23218 * setjmp/tst-setjmp-fp.c: New file.
23219 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23220 (link-libm): New variable.
23221 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23222
acbd839a
JM
23223 * math/libm-test.inc (struct test_f_i_data): New type.
23224 (RUN_TEST_LOOP_f_i): New macro.
23225 (RUN_TEST_LOOP_f_i_tg): Likewise.
23226 (fpclassify_test_data): New variable.
23227 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23228 (ilogb_test_data): New variable.
23229 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23230
e414d745
JM
23231 * math/libm-test.inc (scalbln_test): Correct function name in END
23232 call.
23233
d9c2a0fd
JM
23234 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23235 (RUN_TEST_LOOP_fI_f1): New macro.
23236 (frexp_test_data): New variable.
23237 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23238
9dc9095d
JM
23239 * math/libm-test.inc (struct test_fF_f1_data): New type.
23240 (RUN_TEST_LOOP_fF_f1): New macro.
23241 (modf_test_data): New variable.
23242 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23243
87aa21df
JM
23244 * math/libm-test.inc (struct test_f_f1_data): New type.
23245 (RUN_TEST_LOOP_f_f1): New macro.
23246 (gamma_test_data): New variable.
23247 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23248 (lgamma_test_data): New variable.
23249 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23250
141af660
CD
232512013-05-13 Carlos O'Donell <carlos@redhat.com>
23252
23253 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23254 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23255 (main): Comment "tls" pseudo-hwcap.
23256
6d33265c
JM
232572013-05-13 Joseph Myers <joseph@codesourcery.com>
23258
68fc074c
JM
23259 * math/libm-test.inc (struct test_fl_f_data): New type.
23260 (RUN_TEST_LOOP_fl_f): New variable.
23261 (scalbln_test_data): New variable.
23262 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23263
243216e1
JM
23264 * math/libm-test.inc (struct test_fi_f_data): New type.
23265 (RUN_TEST_LOOP_fi_f): New macro.
23266 (ldexp_test_data): New variable.
23267 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23268 (scalbn_test_data): New variable.
23269 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23270
6a1992e2
JM
23271 * math/libm-test.inc (struct test_c_f_data): New type.
23272 (RUN_TEST_LOOP_c_f): New macro.
23273 (cabs_test_data): New variable.
23274 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23275 (carg_test_data): New variable.
23276 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23277 (cimag_test_data): New variable.
23278 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23279 (creal_test_data): New variable.
23280 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23281
0e400df5
JM
23282 * math/libm-test.inc (struct test_if_f_data): New type.
23283 (RUN_TEST_LOOP_if_f): New macro.
23284 (jn_test_data): New variable.
23285 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23286 (yn_test_data): New variable.
23287 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23288
6d33265c
JM
23289 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23290
f98ece5f
AZ
232912013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23292
23293 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23294 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23295
0f7d347b
SP
232962013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23297
43fe811b
SP
23298 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23299 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23300 (bench-deps): Add bench-timing.h.
23301 * benchtests-bench-skeleton.c: Include bench-timing.h.
23302 (main): Use TIMING_* macros instead of clock_gettime.
23303 * benchtests/bench-timing.h: New file.
23304
0f7d347b
SP
23305 [BZ #14582]
23306 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23307 Renamed from _LIB_VERSION.
23308 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23309
601a3a5f
JM
233102013-05-12 Joseph Myers <joseph@codesourcery.com>
23311
4f184d30
JM
23312 * math/libm-test.inc (struct test_fff_f_data): New type.
23313 (RUN_TEST_LOOP_fff_f): New macro.
23314 (fma_test_data): New variable.
23315 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23316 (fma_towardzero_test_data): New variable.
23317 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23318 (fma_downward_test_data): New variable.
23319 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23320 (fma_upward_test_data): New variable.
23321 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23322
08198877
JM
23323 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23324 (struct test_c_c_data): New type.
23325 (RUN_TEST_LOOP_c_c): New macro.
23326 (cacos_test_data): New variable.
23327 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23328 (cacosh_test_data): New variable.
23329 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23330 (casin_test_data): New variable.
23331 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23332 (casinh_test_data): New variable.
23333 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23334 (catan_test_data): New variable.
23335 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23336 (catanh_test_data): New variable.
23337 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23338 (ccos_test_data): New variable.
23339 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23340 (ccosh_test_data): New variable.
23341 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23342 (cexp_test_data): New variable.
23343 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23344 (clog_test_data): New variable.
23345 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23346 (clog10_test_data): New variable.
23347 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23348 (conj_test_data): New variable.
23349 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23350 (cproj_test_data): New variable.
23351 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23352 (csin_test_data): New variable.
23353 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23354 (csinh_test_data): New variable.
23355 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23356 (csqrt_test_data): New variable.
23357 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23358 (ctan_test_data): New variable.
23359 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23360 (ctan_tonearest_test_data): New variable.
23361 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23362 (ctan_towardzero_test_data): New variable.
23363 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23364 (ctan_downward_test_data): New variable.
23365 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23366 (ctan_upward_test_data): New variable.
23367 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23368 (ctanh_test_data): New variable.
23369 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23370 (ctanh_tonearest_test_data): New variable.
23371 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23372 (ctanh_towardzero_test_data): New variable.
23373 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23374 (ctanh_downward_test_data): New variable.
23375 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23376 (ctanh_upward_test_data): New variable.
23377 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23378 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23379 of BUILD_COMPLEX.
23380
601a3a5f
JM
23381 * math/libm-test.inc (struct test_ff_f_data): New type.
23382 (struct test_ff_f_data_nexttoward): Likewise.
23383 (RUN_TEST_LOOP_2_f): New macro.
23384 (RUN_TEST_LOOP_ff_f): Likewise.
23385 (atan2_test_data): New variable.
23386 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23387 (copysign_test_data): New variable.
23388 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23389 (fdim_test_data): New variable.
23390 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23391 (fmax_test_data): New variable.
23392 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23393 (fmin_test_data): New variable.
23394 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23395 (fmod_test_data): New variable.
23396 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23397 (hypot_test_data): New variable.
23398 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23399 (nextafter_test_data): New variable.
23400 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23401 (nexttoward_test_data): New variable.
23402 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23403 (pow_test_data): New variable.
23404 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23405 (pow_tonearest_test_data): New variable.
23406 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23407 (pow_towardzero_test_data): New variable.
23408 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23409 (pow_downward_test_data): New variable.
23410 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23411 (pow_upward_test_data): New variable.
23412 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23413 (remainder_test_data): New variable.
23414 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23415 (scalb_test_data): New variable.
23416 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23417 * sysdeps/i386/fpu/libm-test-ulps: Update.
23418
74c57478
JM
234192013-05-11 Joseph Myers <joseph@codesourcery.com>
23420
8329e4da
JM
23421 * math/libm-test.inc (fma_test): Use max_value instead of local
23422 variable fltmax.
23423 (nextafter_test): Likewise.
23424
74c57478
JM
23425 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23426 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23427 (acos_downward_test_data): New variable.
23428 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23429 (acos_upward_test_data): New variable.
23430 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23431 (acosh_test_data): New variable.
23432 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23433 (asin_test_data): New variable.
23434 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23435 (asin_tonearest_test_data): New variable.
23436 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23437 (asin_towardzero_test_data): New variable.
23438 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23439 (asin_downward_test_data): New variable.
23440 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23441 (asin_upward_test_data): New variable.
23442 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23443 (asinh_test_data): New variable.
23444 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23445 (atan_test_data): New variable.
23446 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23447 (atanh_test_data): New variable.
23448 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23449 (cbrt_test_data): New variable.
23450 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23451 (ceil_test_data): New variable.
23452 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23453 (cos_test_data): New variable.
23454 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23455 (cos_tonearest_test_data): New variable.
23456 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23457 (cos_towardzero_test_data): New variable.
23458 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23459 (cos_downward_test_data): New variable.
23460 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23461 (cos_upward_test_data): New variable.
23462 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23463 (cosh_test_data): New variable.
23464 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23465 (cosh_tonearest_test_data): New variable.
23466 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23467 (cosh_towardzero_test_data): New variable.
23468 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23469 (cosh_downward_test_data): New variable.
23470 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23471 (cosh_upward_test_data): New variable.
23472 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23473 (erf_test_data): New variable.
23474 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23475 (erfc_test_data): New variable.
23476 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23477 (exp_test_data): New variable.
23478 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23479 (exp_tonearest_test_data): New variable.
23480 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23481 (exp_towardzero_test_data): New variable.
23482 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23483 (exp_downward_test_data): New variable.
23484 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23485 (exp_upward_test_data): New variable.
23486 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23487 (exp10_test_data): New variable.
23488 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23489 (exp2_test_data): New variable.
23490 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23491 (expm1_test_data): New variable.
23492 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23493 (fabs_test_data): New variable.
23494 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23495 (floor_test_data): New variable.
23496 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23497 (j0_test_data): New variable.
23498 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23499 (j1_test_data): New variable.
23500 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23501 (log_test_data): New variable.
23502 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23503 (log10_test_data): New variable.
23504 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23505 (log1p_test_data): New variable.
23506 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23507 (log2_test_data): New variable.
23508 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23509 (logb_test_data): New variable.
23510 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23511 (logb_downward_test_data): New variable.
23512 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23513 (nearbyint_test_data): New variable.
23514 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23515 (rint_test_data): New variable.
23516 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23517 (rint_tonearest_test_data): New variable.
23518 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23519 (rint_towardzero_test_data): New variable.
23520 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23521 (rint_downward_test_data): New variable.
23522 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23523 (rint_upward_test_data): New variable.
23524 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23525 (round_test_data): New variable.
23526 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23527 (sin_test_data): New variable.
23528 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23529 (sin_tonearest_test_data): New variable.
23530 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23531 (sin_towardzero_test_data): New variable.
23532 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23533 (sin_downward_test_data): New variable.
23534 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23535 (sin_upward_test_data): New variable.
23536 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23537 (sinh_test_data): New variable.
23538 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23539 (sinh_tonearest_test_data): New variable.
23540 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23541 (sinh_towardzero_test_data): New variable.
23542 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23543 (sinh_downward_test_data): New variable.
23544 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23545 (sinh_upward_test_data): New variable.
23546 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23547 (sqrt_test_data): New variable.
23548 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23549 (tan_test_data): New variable.
23550 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23551 (tan_tonearest_test_data): New variable.
23552 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23553 (tan_towardzero_test_data): New variable.
23554 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23555 (tan_downward_test_data): New variable.
23556 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23557 (tan_upward_test_data): New variable.
23558 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23559 (tanh_test_data): New variable.
23560 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23561 (tgamma_test_data): New variable.
23562 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23563 (trunc_test_data): New variable.
23564 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23565 (y0_test_data): New variable.
23566 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23567 (y1_test_data): New variable.
23568 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23569 (significand_test_data): New variable.
23570 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23571
7187d844
CG
235722013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23573
23574 [BZ #12387]
23575 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23576
f63fae73
PT
235772013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23578
23579 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23580
8a67a4b3
AJ
235812013-05-10 Andreas Jaeger <aj@suse.de>
23582
23583 [BZ #15448]
23584 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23585 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23586
51df539d
JM
235872013-05-10 Joseph Myers <joseph@codesourcery.com>
23588
23589 * math/gen-libm-test.pl (adjust_arg): New function.
23590 (special_functions): Handle generating output in both functions
23591 and arrays.
23592 (parse_args): Likewise.
23593 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23594 $in_func argument to parse_args.
23595 * math/libm-test.inc (struct test_f_f_data): New type.
23596 (IF_ROUND_INIT_): New macro.
23597 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23598 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23599 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23600 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23601 (ROUND_RESTORE_): Likewise.
23602 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23603 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23604 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23605 (ROUND_RESTORE_FE_UPWARD): Likewise.
23606 (RUN_TEST_LOOP_f_f): New macro.
23607 (acos_test_data): New variable.
23608 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23609 (acos_tonearest_test_data): New variable.
23610 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23611
5c637fe5
SP
236122013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23613
23614 * benchtests/bench-skeleton.c (startup): Fix coding style.
23615
ab2b9461
JM
236162013-05-10 Joseph Myers <joseph@codesourcery.com>
23617
23618 [BZ #6809]
23619 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23620 negative infinity argument.
23621 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23622 negative infinity argument.
23623 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23624 negative infinity argument.
23625 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23626 domain errors.
23627
4c0fe6fe
FW
236282013-05-10 Florian Weimer <fweimer@redhat.com>
23629
23630 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23631 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23632 * iconv/iconv_prog.c (main): Likewise.
23633 * locale/programs/charmap-dir.c (charmap_readdir)
23634 (fopen_uncompressed): Likewise.
23635 * locale/programs/locfile.c (siblings_uncached)
23636 (write_locale_data): Use lstat64 instead of lstat.
23637 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23638 stat.
23639
a3375d29
AJ
236402013-05-10 Andreas Jaeger <aj@suse.de>
23641
23642 [BZ #15395]
23643 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23644 localization.
23645 Include <locale.h>.
23646
36129722
CD
236472013-05-09 Carlos O'Donell <carlos@redhat.com>
23648
23649 * elf/dl-close.c (_dl_close_worker): Add comments.
23650
faa7f811
JM
236512013-05-09 Joseph Myers <joseph@codesourcery.com>
23652
ed41ffef
JM
23653 [BZ #15359]
23654 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23655 high part of pi/2.
23656 (__ieee754_rem_pio2l): Update comments.
23657
d0213cd0
JM
23658 [BZ #15429]
23659 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23660 high part of pi/2.
23661 (__ieee754_rem_pio2l): Update comments.
23662
0d3e777a
JM
23663 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23664 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23665
24f56066
JM
23666 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23667 M_PI_4l.
23668
faa7f811
JM
23669 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23670 (M_PI_34_LOG10El): Likewise.
23671 (M_PI2_LOG10El): Likewise.
23672 (M_PI4_LOG10El): Likewise.
23673 (M_PI_LOG10El): Likewise.
23674
e9a5e0fd
AZ
236752013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23676
23677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23678
d8cd06db
JM
236792013-05-08 Joseph Myers <joseph@codesourcery.com>
23680
a0d9f9d7
JM
23681 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23682 (MINUS_ZERO_INIT): Likewise.
23683 (PLUS_INFTY_INIT): Likewise.
23684 (MINUS_INFTY_INIT): Likewise.
23685 (QNAN_VALUE_INIT): Likewise.
23686 (MAX_VALUE_INIT): Likewise.
23687 (MIN_VALUE_INIT): Likewise.
23688 (MIN_SUBNORM_VALUE_INIT): Likewise.
23689 (plus_zero): Initialize with PLUS_ZERO_INIT.
23690 (minus_zero): Initialize with MINUS_ZERO_INIT.
23691 (plus_infty): Initialize with PLUS_INFTY_INIT.
23692 (minus_infty): Initialize with MINUS_INFTY_INIT.
23693 (qnan_value): Initialize with QNAN_VALUE_INIT.
23694 (max_value): Initialize with MAX_VALUE_INIT.
23695 (min_value): Initialize with MIN_VALUE_INIT.
23696 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23697
ae08db3b
JM
23698 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23699 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23700 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23701 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23702
f44bf14a
JM
23703 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23704 (RUN_TEST_2_f): Likewise.
23705 (RUN_TEST_ff_f): Likewise.
23706 (RUN_TEST_fi_f): Likewise.
23707 (RUN_TEST_fl_f): Likewise.
23708 (RUN_TEST_fff_f): Likewise.
23709 (RUN_TEST_c_f): Likewise.
23710 (RUN_TEST_f_f1): Likewise.
23711 (RUN_TEST_fF_f1): Likewise.
23712 (RUN_TEST_fI_f1): Likewise.
23713 (RUN_TEST_ffI_f1): Likewise.
23714 (RUN_TEST_c_c): Likewise.
23715 (RUN_TEST_cc_c): Likewise.
23716 (RUN_TEST_f_i): Likewise.
23717 (RUN_TEST_f_i_tg): Likewise.
23718 (RUN_TEST_ff_i_tg): Likewise.
23719 (RUN_TEST_f_b): Likewise.
23720 (RUN_TEST_f_b_tg): Likewise.
23721 (RUN_TEST_f_l): Likewise.
23722 (RUN_TEST_f_L): Likewise.
23723 (RUN_TEST_sincos): Likewise.
23724 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23725 whether to show exceptions. Do not include ");\n" in return
23726 value.
23727 (special_functions): Output call to RUN_TEST_sincos instead of
23728 check_float calls. Update calls to new_test.
23729 (parse_args): Output call to single RUN_TEST_* macro instead of
23730 check_* calls and other assignments. Update calls to new_test.
23731
d8cd06db
JM
23732 [BZ #2546]
23733 [BZ #2560]
23734 [BZ #5159]
23735 [BZ #15426]
23736 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23737 input to result for tgamma overflow.
23738 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23739 (gamma_coeff): New variable.
23740 (NCOEFF): New macro.
23741 (gamma_positive): New function.
23742 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23743 underflow here. Use gamma_positive instead of exp (lgamma) for
23744 other arguments.
23745 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23746 (gamma_coeff): New variable.
23747 (NCOEFF): New macro.
23748 (gammaf_positive): New function.
23749 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23750 underflow here. Use gamma_positive instead of exp (lgamma) for
23751 other arguments.
23752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23753 (gamma_coeff): New variable.
23754 (NCOEFF): New macro.
23755 (gammal_positive): New function.
23756 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23757 underflow here. Use gamma_positive instead of exp (lgamma) for
23758 other arguments.
23759 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23760 (gamma_coeff): New variable.
23761 (NCOEFF): New macro.
23762 (gammal_positive): New function.
23763 (__ieee754_gammal_r): Handle positive infinity, overflow and
23764 underflow here. Handle NaN the same as positive infinity. Remove
23765 check x < 0xffffffff for negative integers. Use gamma_positive
23766 instead of exp (lgamma) for other arguments.
23767 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23768 (gamma_coeff): New variable.
23769 (NCOEFF): New macro.
23770 (gammal_positive): New function.
23771 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23772 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23773 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23774 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23775 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23776 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23777 * sysdeps/generic/math_private.h (__gamma_productf): New
23778 prototype.
23779 (__gamma_product): Likewise.
23780 (__gamma_productl): Likewise.
23781 * math/Makefile (libm-calls): Add gamma_product.
23782 * math/libm-test.inc (tgamma_test): Add more tests.
23783 * sysdeps/i386/fpu/libm-test-ulps: Update.
23784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23785
bb7cf681
OB
237862013-05-08 Ondřej Bílka <neleai@seznam.cz>
23787
23788 * benchtests/bench-skeleton.c (main): Preheat CPU.
23789
ba853947
AJ
237902013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23791
23792 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23793
8347c74c
RM
237942013-05-07 Roland McGrath <roland@hack.frob.com>
23795
23796 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23797 and _dl_skip_args_internal.
23798
e8dd4791
CD
237992013-05-07 Carlos O'Donell <carlos@redhat.com>
23800
23801 * manual/message.texi (Message Translation): Talk about users.
23802 Message to key mapping impacts design.
23803
c7405830
RM
238042013-05-06 Roland McGrath <roland@hack.frob.com>
23805
a9173057
RM
23806 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23807
976e2f03
RM
23808 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23809
9723ffc5
RM
23810 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23811 * sysdeps/wordsize-64/glob64.c: ... here.
23812
962e6658
RM
23813 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23814 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23815 New macros.
23816
ee586a6d
RM
23817 * debug/getlogin_r_chk.c: Moved to ...
23818 * login/getlogin_r_chk.c: ... here.
23819 * debug/Makefile (routines): Move getlogin_r_chk to ...
23820 * login/Makefile (routines): ... here.
23821 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23822 * login/Versions (libc: GLIBC_2.4): ... here.
23823
355f9165
RM
23824 * io/poll.c (__poll): Renamed from poll.
23825 Add libc_hidden_def.
23826 (poll): Define as weak alias.
23827
bd9ffde6
RM
23828 * debug/ptsname_r_chk.c: Moved to ...
23829 * login/ptsname_r_chk.c: ... here.
23830 * debug/Makefile (routines): Move ptsname_r_chk to ...
23831 * login/Makefile (routines): ... here.
23832 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23833 * login/Versions (libc: GLIBC_2.4): ... here.
23834
8fb16a04
RM
23835 * posix/getlogin.c: Moved to ...
23836 * login/getlogin.c: ... here.
23837 * posix/getlogin_r.c: Moved to ...
23838 * login/getlogin_r.c: ... here.
23839 * posix/getlogin_r.c: Moved to ...
23840 * login/getlogin_r.c: ... here.
23841 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23842 * login/Makefile (routines): ... here.
23843 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23844 * login/Versions (libc: GLIBC_2.0): ... here.
23845
b99b892f
RM
23846 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23847 (setrlimit): Define as weak alias.
23848
c7405830
RM
23849 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23850 Call __ names for open, ftruncate, and close.
23851 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23852 (truncate): Define as weak alias.
23853
5bf96de5
JM
238542013-05-06 Joseph Myers <joseph@codesourcery.com>
23855
9ea3513c
JM
23856 * math/gen-libm-test.pl (parse_args): Initialize x before each
23857 test of frexp, modf and remquo.
23858
5bf96de5
JM
23859 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23860 test signgam value.
23861
16e616a7
AZ
238622013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23863
23864 [BZ #15418]
23865 [BZ #15419]
23866 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23867 internal tests.
23868 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23869
d5e82754
RM
238702013-05-06 Roland McGrath <roland@hack.frob.com>
23871
23872 * elf/dl-writev.h: New file.
23873 * elf/dl-misc.c: Include it.
23874 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23875 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23876
a7548d41
JM
238772013-05-04 Joseph Myers <joseph@codesourcery.com>
23878
b7dab1e4
JM
23879 * math/libm-test.inc (noXFails): Remove variable.
23880 (noXPasses): Likewise.
23881 (BUILD_COMPLEX_INT): Remove macro.
23882 (print_screen): Remove xfail argument.
23883 (print_screen_max_error): Likewise.
23884 (update_stats): Likewise.
23885 (print_max_error): Likewise. Update calls to other affected
23886 functions.
23887 (print_complex_max_error): Likewise.
23888 (test_single_exception): Update calls to print_screen.
23889 (test_single_errno): Likewise.
23890 (check_float_internal): Remove xfail argument. Update calls to
23891 other affected functions.
23892 (check_float): Likewise.
23893 (check_complex): Likewise.
23894 (check_int): Likewise.
23895 (check_long): Likewise.
23896 (check_bool): Likewise.
23897 (check_longlong): Likewise.
23898 (main): Don't print noXFails and noXPasses.
23899 * math/gen-libm-test.pl (top level): Don't mention expected
23900 failure handling in comment.
23901 (new_test): Don't handle expected failures.
23902 (parse_args): Don't mention expected failure handling in comment.
23903 (generate_testfile): Don't handle expected failures.
23904 (parse_ulps): Likewise.
23905 (print_ulps_file): Likewise.
23906 (get_failure): Remove function.
23907 (output_test): Don't handle expected failures.
23908 * make/README.libm-test: Don't mention expected failure handling.
23909
a7548d41
JM
23910 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23911 (minus_zero): Likewise.
23912 (plus_infty): Likewise.
23913 (minus_infty): Likewise.
23914 (qnan_value): Likewise.
23915 (max_value): Likewise.
23916 (min_value): Likewise.
23917 (min_subnorm_value): Likewise.
23918 (initialize): Do not initialize those variables dynamically.
23919
60bfd54c
RM
239202013-05-03 Roland McGrath <roland@hack.frob.com>
23921
cc0e6ed8
RM
23922 * io/open.c (__open_2): Moved to ...
23923 * io/open_2.c: ... this new file.
23924 * io/open64.c (__open64_2): Moved to ...
23925 * io/open64_2.c: ... this new file.
23926 * io/openat.c (__openat_2): Moved to ...
23927 * io/openat_2.c: ... this new file.
23928 * io/openat64.c (__openat64_2): Moved to ...
23929 * io/openat64_2.c: ... this new file.
23930 * io/Makefile (routines): Add them.
23931 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23932 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23933 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23934 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23935 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23936 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23937 (__openat64): Add hidden_ver.
23938 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23939 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23940
60bfd54c
RM
23941 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23942 Separately conditionalize setting of GLRO(dl_sysinfo) so
23943 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23944 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23945
83e7640f
AZ
239462013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23947
23948 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23949 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23950 definition.
23951 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23952 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23953 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23954 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23955 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23956
d5dc2af3
JM
239572013-05-03 Joseph Myers <joseph@codesourcery.com>
23958
c31a5b1e
JM
23959 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23960 test signgam value.
23961
d5dc2af3
JM
23962 * math/libm-test.inc (hypot_test): Do not use
23963 IGNORE_ZERO_INF_SIGN.
23964
164fd39d
AJ
239652013-05-03 Andreas Jaeger <aj@suse.de>
23966
23967 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23968 Linux 3.9.
23969 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23970 (PF_MAX): Adjust for VSOCK change.
23971
8237f48c
AZ
239722013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23973
23974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23975
9df02941
CD
239762013-05-02 Carlos O'Donell <carlos@redhat.com>
23977
23978 [BZ #15264]
23979 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23980 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23981 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23982
d422395e
DM
239832013-05-02 David S. Miller <davem@davemloft.net>
23984
23985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23986
a07c5731
OB
239872013-05-01 Ondřej Bílka <neleai@seznam.cz>
23988
23989 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23990
1324e37f
RM
239912013-05-01 Roland McGrath <roland@hack.frob.com>
23992
23993 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23994
0695940b
RS
239952013-05-01 Richard Smith <richard@metafoo.co.uk>
23996
bb5f27ad 23997 [BZ #14952]
0695940b
RS
23998 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23999 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24000 Use __attribute__ ((__gnu_inline__)).
24001 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24002 Don't use __attribute__ ((__gnu_inline__)).
24003
10de07f5
JM
240042013-05-01 Joseph Myers <joseph@codesourcery.com>
24005
24006 [BZ #15423]
24007 * math/s_catan.c (__catan): Handle small real or imaginary part of
24008 input specially to avoid spurious underflow.
24009 * math/s_catanf.c (__catanf): Likewise.
24010 * math/s_catanh.c (__catanh): Likewise.
24011 * math/s_catanhf.c (__catanhf): Likewise.
24012 * math/s_catanhl.c (__catanhl): Likewise.
24013 * math/s_catanl.c (__catanl): Likewise.
24014 * math/libm-test.inc (catan_test): Add more tests.
24015 (catanh_test): Likewise.
24016 * sysdeps/i386/fpu/libm-test-ulps: Update.
24017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24018
cb4d5414
AZ
240192013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24020
24021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24022
caf84319
JM
240232013-04-30 Joseph Myers <joseph@codesourcery.com>
24024
24025 [BZ #15416]
24026 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24027 accurately for denominator in atan2.
24028 * math/s_catanf.c (__catanf): Likewise.
24029 * math/s_catanh.c (__catanh): Likewise.
24030 * math/s_catanhf.c (__catanhf): Likewise.
24031 * math/s_catanhl.c (__catanhl): Likewise.
24032 * math/s_catanl.c (__catanl): Likewise.
24033 * math/libm-test.inc (catan_test): Add more tests.
24034 (catanh_test): Likewise.
24035 * sysdeps/i386/fpu/libm-test-ulps: Update.
24036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24037
d569c6ee
SP
240382013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24039
6dbe713d
SP
24040 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24041
f0ee064b
SP
24042 * benchtests/Makefile (bench): Remove slow benchmarks.
24043 * benchtests/atan-inputs: Add slow benchmark inputs.
24044 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24045 (BENCH_FUNC): Accept variant offset.
24046 (VARIANT): Define.
24047 * benchtests/bench-skeleton.c (main): Run benchmark for each
24048 variant.
24049 * benchtests/cos-inputs: Add slow benchmark inputs.
24050 * benchtests/exp-inputs: Likewise.
24051 * benchtests/pow-inputs: Likewise.
24052 * benchtests/sin-inputs: Likewise.
24053 * benchtests/slowatan-inputs: Remove.
24054 * benchtests/slowatan.c: Remove.
24055 * benchtests/slowcos-inputs: Remove.
24056 * benchtests/slowcos.c: Remove.
24057 * benchtests/slowexp-inputs: Remove.
24058 * benchtests/slowexp.c: Remove.
24059 * benchtests/slowpow-inputs: Remove.
24060 * benchtests/slowpow.c: Remove.
24061 * benchtests/slowsin-inputs: Remove.
24062 * benchtests/slowsin.c: Remove.
24063 * benchtests/slowtan-inputs: Remove.
24064 * benchtests/slowtan.c: Remove.
24065 * benchtests/tan-inputs: Add slow benchmark inputs.
24066 * scripts/bench.pl: Parse comments and directives.
24067
d569c6ee
SP
24068 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24069 in CPPFLAGS.
24070 ($(objpfx)bench-%.c): Remove *-ITER.
24071 * benchtests/bench-modf.c: Remove definition of ITER.
24072 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24073 (main): Loop for DURATION seconds instead of fixed number of
24074 iterations.
24075 * scripts/bench.pl: Don't expect iterations in parameters.
24076
a6a242fe
RM
240772013-04-29 Roland McGrath <roland@hack.frob.com>
24078
24079 * io/fchdir.c (__fchdir): Renamed from fchdir.
24080 (fchdir): Define as weak alias.
24081
f2da7793
JM
240822013-04-29 Joseph Myers <joseph@codesourcery.com>
24083
24084 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24085 (ERRNO_EDOM): Likewise.
24086 (ERRNO_ERANGE): Likewise.
24087 (noErrnoTests): New variable.
24088 (init_max_error): Set errno to 0.
24089 (test_single_errno): New function.
24090 (test_errno): Likewise.
24091 (check_float_internal): Call test_errno. Set errno to 0.
24092 (check_complex): Refer to errno tests in comment.
24093 (check_int): Call test_errno. Set errno to 0.
24094 (check_long): Likewise.
24095 (check_bool): Likewise.
24096 (check_longlong): Likewise.
24097 (cos_test): Use ERRNO_* flags for errno tests instead of
24098 check_int.
24099 (expm1_test): Likewise.
24100 (fmod_test): Likewise.
24101 (ilogb_test): Likewise.
24102 (lgamma_test): Likewise.
24103 (pow_test): Likewise.
24104 (remainder_test): Likewise.
24105 (sin_test): Likewise.
24106 (tan_test): Likewise.
24107 (yn_test): Likewise.
24108 (initialize): Set errno to 0.
24109 (main): Print number of errno tests.
24110 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24111
b1a36ceb
AJ
241122013-04-29 Andreas Jaeger <aj@suse.de>
24113
c3ed8088
AJ
24114 [BZ #15084]
24115 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24116 and RES_USEVC.
24117
f1a24198
AJ
24118 [BZ #15085]
24119 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24120 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24121 unimplemented.
24122
9ce3b2cb
AJ
24123 [BZ #15380]
24124 * stdlib/random.c (__initstate): Return NULL if
24125 __initstate fails.
24126
f1a24198 24127 [BZ #15086]
b1a36ceb
AJ
24128 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24129 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24130 RES_SNGLKUPREOP.
24131
7e7b6f36
AZ
241322013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24133
24134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24135
4d14f449
JM
241362013-04-29 Joseph Myers <joseph@codesourcery.com>
24137
24138 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24139 of individual tests.
24140 (casin_test): Likewise.
24141 (casinh_test): Likewise.
24142
5b4217d7
JM
241432013-04-27 Joseph Myers <joseph@codesourcery.com>
24144
24145 [BZ #15409]
24146 * math/s_catan.c (__catan): Handle arguments with large real or
24147 imaginary part separately without squaring.
24148 * math/s_catanf.c (__catanf): Likewise.
24149 * math/s_catanh.c (__catanh): Likewise.
24150 * math/s_catanhf.c (__catanhf): Likewise.
24151 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24152 and redefine.
24153 (__catanhl): Handle arguments with large real or imaginary part
24154 separately without squaring.
24155 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24156 and redefine.
24157 (__catanl): Handle arguments with large real or imaginary part
24158 separately without squaring.
24159 * math/libm-test.inc (catan_test): Add more tests.
24160 (catanh_test): Likewise.
24161 * sysdeps/i386/fpu/libm-test-ulps: Update.
24162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24163
4220c3ef
AJ
241642013-04-27 Andreas Jaeger <aj@suse.de>
24165
24166 [BZ #15007]
24167 * stdlib/stdlib.h: Update guards for qecvt.
24168 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24169 <stdlib.h>.
24170
4721b2d1
AM
241712013-04-27 Allan McRae <allan@archlinux.org>
24172
24173 * sysdeps/i386/fpu/libm-test-ulps: Update.
24174
f0302940
JM
241752013-04-26 Joseph Myers <joseph@codesourcery.com>
24176
9457fd95
JM
24177 [BZ #15406]
24178 * math/s_catan.c: Include <float.h>.
24179 (__catan): Ensure underflow exception occurs for underflowed
24180 result.
24181 * math/s_catanf.c: Include <float.h>.
24182 (__catanf): Ensure underflow exception occurs for underflowed
24183 result.
24184 * math/s_catanh.c: Include <float.h>.
24185 (__catanh): Ensure underflow exception occurs for underflowed
24186 result.
24187 * math/s_catanhf.c: Include <float.h>.
24188 (__catanhf): Ensure underflow exception occurs for underflowed
24189 result.
24190 * math/s_catanhl.c: Include <float.h>.
24191 (__catanhl): Ensure underflow exception occurs for underflowed
24192 result.
24193 * math/s_catanl.c: Include <float.h>.
24194 (__catanl): Ensure underflow exception occurs for underflowed
24195 result.
24196 * math/libm-test.inc (catan_test): Add more tests.
24197 (catanh_test): Likewise.
24198
f0302940
JM
24199 [BZ #15405]
24200 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24201 underflowed result.
24202 * math/s_ccoshf.c (__ccoshf): Likewise.
24203 * math/s_ccoshl.c (__ccoshl): Likewise.
24204 * math/s_csin.c (__csin): Likewise.
24205 * math/s_csinf.c (__csinf): Likewise.
24206 * math/s_csinh.c (__csinh): Likewise.
24207 * math/s_csinhf.c (__csinhf): Likewise.
24208 * math/s_csinhl.c (__csinhl): Likewise.
24209 * math/s_csinl.c (__csinl): Likewise.
24210 * math/libm-test.inc (ccos_test): Add more tests.
24211 (ccosh_test): Likewise.
24212 (csin_test): Likewise.
24213 (csinh_test): Likewise.
24214
aa630f59
AZ
242152013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24216
24217 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24218 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24219 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24220 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24221 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24222 powerpc/power5+/fpu folders.
24223 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24224
24225
1b835983
MT
242262013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24227
24228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24229
73709b26
JM
242302013-04-25 Joseph Myers <joseph@codesourcery.com>
24231
24232 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24233 additions to variable.
24234 [$(config-machine) = x86_64] (modules-names): Likewise.
24235 ($(objpfx)tst-audit3): Remove dependency.
24236 ($(objpfx)tst-audit3.out): Likewise.
24237 ($(objpfx)tst-audit4): Likewise.
24238 ($(objpfx)tst-audit4.out): Likewise.
24239 ($(objpfx)tst-audit5): Likewise.
24240 ($(objpfx)tst-audit5.out): Likewise.
24241 ($(objpfx)tst-audit6): Likewise.
24242 ($(objpfx)tst-audit6.out): Likewise.
24243 ($(objpfx)tst-audit7): Likewise.
24244 ($(objpfx)tst-audit7.out): Likewise.
24245 (tst-audit3-ENV): Remove variable.
24246 (tst-audit4-ENV): Likewise.
24247 (tst-audit5-ENV): Likewise.
24248 (tst-audit6-ENV): Likewise.
24249 (tst-audit7-ENV): Likewise.
24250 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24251 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24252 addition to variable.
24253 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24254 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24255 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24256 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24257 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24258 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24259 tst-audit3, tst-audit4 and tst-audit5.
24260 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24261 tst-audit6 and tst-audit7.
24262 [$(subdir) = elf] (modules-names): Add audit modules for those
24263 tests.
24264 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24265 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24266 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24267 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24268 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24269 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24270 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24271 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24272 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24273 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24274 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24275 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24276 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24277 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24278 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24279 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24280 Likewise.
24281 [$(subdir) = elf && $(config-cflags-avx) = yes]
24282 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24283 [$(subdir) = elf && $(config-cflags-avx) = yes]
24284 (CFLAGS-tst-auditmod4a.c): Likewise.
24285 [$(subdir) = elf && $(config-cflags-avx) = yes]
24286 (CFLAGS-tst-auditmod4b.c): Likewise.
24287 [$(subdir) = elf && $(config-cflags-avx) = yes]
24288 (CFLAGS-tst-auditmod6b.c): Likewise.
24289 [$(subdir) = elf && $(config-cflags-avx) = yes]
24290 (CFLAGS-tst-auditmod6c.c): Likewise.
24291 [$(subdir) = elf && $(config-cflags-avx) = yes]
24292 (CFLAGS-tst-auditmod7b.c): Likewise.
24293 * elf/tst-audit3.c: Move to ...
24294 * sysdeps/x86_64/tst-audit3.c: ... here.
24295 * elf/tst-audit4.c: Move to ...
24296 * sysdeps/x86_64/tst-audit4.c: ... here.
24297 * elf/tst-audit5.c: Move to ...
24298 * sysdeps/x86_64/tst-audit5.c: ... here.
24299 * elf/tst-audit6.c: Move to ...
24300 * sysdeps/x86_64/tst-audit6.c: ... here.
24301 * elf/tst-audit7.c: Move to ...
24302 * sysdeps/x86_64/tst-audit7.c: ... here.
24303 * elf/tst-auditmod3a.c: Move to ...
24304 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24305 * elf/tst-auditmod3b.c: Move to ...
24306 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24307 * elf/tst-auditmod4a.c: Move to ...
24308 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24309 * elf/tst-auditmod4b.c: Move to ...
24310 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24311 * elf/tst-auditmod5a.c: Move to ...
24312 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24313 * elf/tst-auditmod5b.c: Move to ...
24314 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24315 * elf/tst-auditmod6a.c: Move to ...
24316 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24317 * elf/tst-auditmod6b.c: Move to ...
24318 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24319 * elf/tst-auditmod6c.c: Move to ...
24320 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24321 * elf/tst-auditmod7a.c: Move to ...
24322 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24323 * elf/tst-auditmod7b.c: Move to ...
24324 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24325
1ef74943
PP
243262013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24327
24328 [BZ #15366]
24329 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24330 define unconditionally.
24331 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24332 define unconditionally.
24333 (INT8_C, INT16_C, etc.): Likewise.
24334
93fd48c5
MR
243352013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24336
ae9552cf
MR
24337 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24338 __ehdr_start with hidden visibility.
24339
93fd48c5
MR
24340 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24341
418601aa
CD
243422013-04-24 Carlos O'Donell <carlos@redhat.com>
24343
24344 * math/libm-test.inc (cos_test): Use accurate hex constants.
24345 (sincost_test): Likewise.
24346
2f38fbfe
JM
243472013-04-24 Joseph Myers <joseph@codesourcery.com>
24348
5e221800
JM
24349 * math/libm-test.inc (catan_test): Add more tests.
24350 (catanh_test): Likewise.
24351
77f143fd
JM
24352 * math/s_catanf.c (__catanf): Use suffixed floating-point
24353 constants.
24354 * math/s_catanhf.c (__catanhf): Likewise.
24355 * math/s_catanhl.c (__catanhl): Likewise.
24356 * math/s_catanl.c (__catanl): Likewise.
24357
2f38fbfe
JM
24358 [BZ #15394]
24359 * math/s_catan.c (__catan): Calculate imaginary part of result
24360 with log1p not log unless computing log of number close to 0.
24361 * math/s_catanf.c (__catanf): Likewise.
24362 * math/s_catanl.c (__catanl): Likewise.
24363 * math/s_catanh.c (__catanh): Calculate real part of result with
24364 log1p not log unless computing log of number close to 0.
24365 * math/s_catanhf.c (__catanhf): Likewise.
24366 * math/s_catanhl.c (__catanhl): Likewise.
24367 * math/libm-test.inc (catan_test): Add more tests.
24368 (catanh_test): Likewise.
24369 * sysdeps/i386/fpu/libm-test-ulps: Update.
24370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24371
45d69176
SP
243722013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24373
24374 * benchtests/Makefile: Mention files in which fast and slow
24375 paths of math functions are implemented.
24376
87f51853
RM
243772013-04-23 Roland McGrath <roland@hack.frob.com>
24378
24379 * sysdeps/posix/timespec_get.c: New file.
24380
3c026539
AZ
243812013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24382
24383 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24384 POWER.
24385 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24386 for POWER.
24387 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24388 powerpc/power5/fpu folders.
24389 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24390 * benchtests/Makefile: Add modf testcase.
24391 * benchtests/bench-modf.c: New file: Benchmark test for mo
24392
ff491d14
SP
243932013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24394
24395 [BZ #14888]
24396 * time/Makefile (tests): Add tst-strptime-whitespace.
24397 * time/strptime_l.c (get_number): Use ISSPACE.
24398 (__strptime_internal): Likewise.
24399 * time/tst-strptime-whitespace.c: New test case.
24400
7ed3f4e8
AS
244012013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24402
24403 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24404 member.
24405 (_nss_files_init): Set it here.
24406
5c95f7b6
HC
244072013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24408
24409 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24410 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24411 unsigned.
24412
d34c9158
JBG
244132013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24414
24415 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24416
2169712d
SP
244172013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24418
24419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24420 size just once.
24421
29c5de99
DM
244222013-04-21 David S. Miller <davem@davemloft.net>
24423
24424 * po/ru.po: Update Russion translation from translation project.
24425
ccdad15d
AC
244262013-04-17 Adam Conrad <adconrad@0c3.net>
24427
24428 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24429 and setfsgid.
24430
0f122b8d
CD
244312013-04-17 Carlos O'Donell <carlos@redhat.com>
24432
5c5b07da 24433 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24434 * configure: Regenerate.
5c5b07da 24435 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24436 Add example to error message.
24437 * sysdeps/i386/configure: Regenerate.
24438
037714dd
SP
244392013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24440
24441 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24442 slowtan.
24443 * benchtests/cos-inputs: New file.
24444 * benchtests/slowcos-inputs: New file.
24445 * benchtests/slowcos.c: New file.
24446 * benchtests/slowtan-inputs: New file.
24447 * benchtests/slowtan.c: New file.
24448 * benchtests/tan-inputs: New file.
24449
e913141d
RM
244502013-04-16 Roland McGrath <roland@hack.frob.com>
24451
24452 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24453 considered kosher.
24454
a2964074
SP
244552013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24456
4856bcd2
SP
24457 * benchtests/Makefile: Include cppflags-iterator.mk to add
24458 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24459
a2964074
SP
24460 * Makefile.in (bench-clean): New target.
24461 * benchtests/Makefile (bench-clean): Likewise.
24462
9fbf9aca
DH
244632013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24464
24465 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24466
207d1e2a
TS
244672013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24468
24469 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24470
306dfba9
AS
244712013-04-15 Andreas Schwab <schwab@suse.de>
24472
24473 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24475 * nscd/pwdcache.c (cache_addpw): Likewise.
24476 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24477 more than recsize.
24478
206a6699
SP
244792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24480
24481 * benchtests/Makefile (bench): Write all output to
24482 bench-out.tmp together.
24483
0582f6b3
AS
244842013-04-15 Andreas Schwab <schwab@suse.de>
24485
24486 * nscd/nscd.c (main): Don't fork again after closing files.
24487
acb4325f
SP
244882013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24489
5cb26d0a
SP
24490 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24491
acb4325f
SP
24492 * benchtests/Rules (bench-deps): Collect dependencies into a
24493 single variable. Add Makefile to dependencies.
24494 ($(objpfx)bench-%.c): Depend on bench-deps.
24495
47792506
RM
244962013-04-12 Roland McGrath <roland@hack.frob.com>
24497 Xavier Roche <roche+kml2@exalead.com>
24498
24499 [BZ #15361]
24500 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24501 just that it's a file descriptor.
24502 * manual/llio.texi (Synchronizing AIO Operations): Update description
24503 for EBADF error from aio_fsync.
24504
8fc1bee5
SP
245052013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24506
24507 * Rules (bench): Move target definition...
24508 * benchtests/Makefile: ... here.
24509
aba5e333
CD
245102013-04-11 Carlos O'Donell <carlos@redhat.com>
24511
24512 * math/libm-test.inc (cos_test): Fix PI/2 test.
24513 (sincos_test): Likewise.
24514 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24515 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24516
273cdee8
AS
245172013-04-11 Andreas Schwab <schwab@suse.de>
24518
6ecec3b6
AS
24519 [BZ #13988]
24520 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24521 accept exponent character only when digits were seen.
24522 * stdio-common/Makefile (tests): Add bug26.
24523 * stdio-common/bug26.c: New file.
24524
273cdee8
AS
24525 [BZ #14293]
24526 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24527 non-freeable.
24528
8da491f5
SP
245292013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24530
01dc6df9
SP
24531 * Makeconfig (rtld-prefix): Define built linker prefix.
24532 * Rules (run-bench): Use it.
24533 * math/Makefile (run-regen-ulps): Likewise.
24534
8da491f5
SP
24535 * Rules (bench): Remove eval.
24536
abe7f530
SP
245372013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24538 Roland McGrath <roland@hack.frob.com>
24539 Ondrej Bilka <neleai@seznam.cz>
24540
24541 [BZ #15346]
24542 * time/getdate.c: Include ctype.h and alloca.h.
24543 (__getdate_r): Trim leading and trailing spaces of input.
24544 * time/tst-getdate.c (tests): Add tests with leading and
24545 trailing spaces.
24546
61c23e62
RM
245472013-04-08 Roland McGrath <roland@hack.frob.com>
24548
24549 [BZ #14280]
24550 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24551 when computing value.
24552
7208a313
CD
245532013-04-06 Carlos O'Donell <carlos@redhat.com>
24554
085b2d41
CD
24555 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24556 Use testrun.sh to run libm tests.
24557
7208a313
CD
24558 [BZ #15309]
24559 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24560
872c0acd
MM
245612013-04-06 Marko Myllynen <myllynen@redhat.com>
24562
24563 [BZ #15264]
24564 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24565
26510bdd
CD
245662013-04-06 Carlos O'Donell <carlos@redhat.com>
24567
24568 * Makefile.in (regen-ulps): New target.
24569 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24570 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24571 [ifneq (no,$(PERL)] (regen-ulps): New target.
24572 [ifeq (no,$(PERL)] (regen-ulps): New target.
24573 * math/libm-test.inc (ulps_file_name): Define.
24574 (output_dir): New variable.
24575 (options): Add "output-dir" option.
24576 (parse_opt): Handle 'o' case.
24577 (main): If output_dir is non-NULL use it as a prefix
24578 otherwise use "".
24579 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24580
a01f19c8
CD
245812013-04-06 Carlos O'Donell <carlos@redhat.com>
24582
24583 [BZ #10060, #10062]
24584 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24585 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24586 fail configure if __sync_val_compare_and_swap is not inlined.
24587 * sysdeps/i386/configure: Regenerate.
24588 * configure.in: Build for i686 when configured for i386.
24589 * configure: Regenerate.
24590 * README: Remove i386 reference.
24591
b7a329a5
CD
245922013-04-06 Carlos O'Donell <carlos@redhat.com>
24593
24594 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24595 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24596
bf0f50df
TS
245972013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24598
ee091edf
TS
24599 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24600 (lmsnanval): New variables.
24601 (F): Add conversion tests.
24602 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24603 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24604
a8b792d6
TS
24605 * stdio-common/tstdiomisc.c (F): Properly collect individual
24606 tests' results.
24607
a1cbf437
TS
24608 [BZ #14686, #15336]
24609 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24610 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24611 Instead, use input NaN values or generate a qNaN by arithmetic
24612 operation. Also fix bugs to comply with the standard.
24613 * math/libm-test.inc (remainder_test): Add more tests.
24614
8b43a0c9
TS
24615 [BZ #15335, #15342]
24616 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24617 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24618 input NaN values or generate a qNaN by arithmetic operation.
24619
d91da4ce
TS
24620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24621 unreachable code.
24622
bf0f50df
TS
24623 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24624 definitions.
24625
05e166c8
JM
246262013-04-03 Joseph Myers <joseph@codesourcery.com>
24627
24628 [BZ #14478]
24629 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24630 underflowed result.
24631 * math/s_cexpf.c (__cexpf): Likewise.
24632 * math/s_cexpl.c (__cexpl): Likewise.
24633 * math/libm-test.inc (cexp_test): Add more tests.
24634
1cef1b19
AS
246352013-04-03 Andreas Schwab <schwab@suse.de>
24636
24637 [BZ #15330]
24638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24639 order arrays from heap if bigger than alloca cutoff.
24640
74d87055
TS
246412013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24642
24643 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24644 (SNAN_TESTS_double): Refer to GCC PR56831.
24645 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24646 GCC PR56828.
24647
d755bba4
SP
246482013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24649
90d5d5bb
SP
24650 * Rules (bench): Move bench.out after the run is complete.
24651
73e0cd5d
SP
24652 * Rules (bench): Echo currently running benchmark.
24653
64aabd4b
SP
24654 * benchtests/Makefile (bench): Add atan and slowatan.
24655 * benchtests/atan-inputs: New file.
24656 * benchtests/slowatan-inputs: New file.
24657 * benchtests/slowatan.c: New file.
24658
c871eccd
SP
24659 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24660 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24661 its value.
24662
d755bba4
SP
24663 [BZ #15305]
24664 * sysdeps/unix/sysv/linux/kernel-features.h
24665 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24666 __ASSUME_XFS_RESTRICTED_CHOWN.
24667 * sysdeps/unix/sysv/linux/pathconf.c
24668 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24669 Save and restore errno.
24670
52ce4860
JM
246712013-04-02 Joseph Myers <joseph@codesourcery.com>
24672
24673 [BZ #15327]
24674 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24675 arguments using __kernel_casinh.
24676 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24677 arguments using __kernel_casinhf.
24678 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24679 arguments using __kernel_casinhl.
24680 * math/libm-test.inc (cacosh_test): Add more tests.
24681 * sysdeps/i386/fpu/libm-test-ulps: Update.
24682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24683
81f311c2
SP
246842013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24685
e7906a47
SP
24686 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24688
92e3664b
SP
24689 * bench/Makefile (bench): Add sin and slowsin.
24690 * benchtests/sin-inputs: New file.
24691 * benchtests/slowsin-inputs: New file.
24692 * benchtests/slowsin.c: New file.
24693
81f311c2
SP
24694 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24695 (bench): Add slowexp and slowpow.
24696 (exp-ITER): Increase iterations.
24697 (pow-ITER): Likewise.
24698 * benchtests/exp-inputs: Change input.
24699 * benchtests/pow-inputs: Likewise.
24700 * benchtests/slowexp-inputs: New file.
24701 * benchtests/slowexp.c: New file.
24702 * benchtests/slowpow-inputs: New file.
24703 * benchtests/slowpow.c: New file.
24704
ab0f1aa9
AZ
247052013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24706
24707 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24708 instructions.
24709 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24711 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24712 * benchtests/Makefile: Add rint benchtest.
24713 * benchtests/rint-inputs: Input for rint benchtest.
24714
57267616
TS
247152013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24716
24717 * Versions.def (libm): Add GLIBC_2.18.
24718 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24719 hidden libm prototypes.
24720 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24721 * math/Makefile (libm-calls): Add s_issignaling.
24722 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24723 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24724 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24725 declaration.
24726 * math/math.h [__USE_GNU] (issignaling): New macro.
24727 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24728 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24729 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24730 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24733 * manual/arith.texi (issignaling): New section.
24734 * manual/libm-err-tab.pl (@all_functions): Update comment.
24735 * math/gen-libm-test.pl (parse_args): Apply special handling for
24736 issignaling.
24737 * math/libm-test.inc (print_float, issignaling_test): New
24738 functions.
24739 (check_float_internal): Add issignaling checks.
24740 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24741 default definition.
24742 * sysdeps/powerpc/math-tests.h: New file.
24743 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24744 tests.
24745 * math/test-snan.c (TEST_FUNC): Likewise.
24746
6142896d
DM
247472013-03-30 David S. Miller <davem@davemloft.net>
24748
24749 * po/de.po: Update from translation team.
24750
ccc8cadf
JM
247512013-03-30 Joseph Myers <joseph@codesourcery.com>
24752
24753 [BZ #10357]
24754 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24755 imaginary part less than 1.0 and real part less than 0.5
24756 specially.
24757 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24758 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24759 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24760 (cacos_test): Add more tests.
24761 (casin_test): Likewise.
24762 (casinh_test): Likewise.
24763 * sysdeps/i386/fpu/libm-test-ulps: Update.
24764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24765
0f6a8d4b
SP
247662013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24767
0d1029de
SP
24768 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24769 ONE with its value.
24770
c2d94018
SP
24771 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24772 (__pow_mp): Replace ONE and MONE with their values.
24773 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24774 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24775 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24776 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24777 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24778 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24779
27ec37f1
SP
24780 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24781
a64d7e0e
SP
24782 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24783 (__pow_mp): Replace ZERO and MZERO with their values.
24784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24785 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24786 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24788 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24789 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24790 (__sqr): Likewise.
24791
d26dd3eb
SP
24792 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24793
0f6a8d4b
SP
24794 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24795
e57b0c61
RM
247962013-03-28 Roland McGrath <roland@hack.frob.com>
24797
24798 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24799 Declare with __attribute__ ((weak)).
24800 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24801 Call __call_tls_dtors only if it's not NULL.
24802
356b3480
RM
248032013-03-28 Roland McGrath <roland@hack.frob.com>
24804
288f7d79
RM
24805 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24806 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24807 magic __ehdr_start linker symbol if it's defined.
24808 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24809 them up here if it was already done.
24810
dc0a0263
RM
24811 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24812 (_dl_aux_init): Use const in cast when setting it.
24813 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24814 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24815 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24816
3d3436ae
RM
24817 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24818 Declare them here.
24819 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24820 * csu/libc-tls.c: Nor here.
24821 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24822
356b3480
RM
24823 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24824 (__libc_message): Never call vsyslog.
24825
b0f1246a
AM
248262013-03-28 Alan Modra <amodra@gmail.com>
24827
24828 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24829 Define as empty.
24830 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24831 Likewise.
24832
fbbe2b9a
AZ
248332013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24834
24835 [BZ #15214]
24836 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24837 underflow.
24838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24839
1728ab37
SP
248402013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24841
7a86be6e
SP
24842 [BZ #15304]
24843 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24844 Don't add gid passed as argument.
24845
1728ab37
SP
24846 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24847
3a7182a1
JM
248482013-03-27 Joseph Myers <joseph@codesourcery.com>
24849
24850 [BZ #15307]
24851 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24852 imaginary part between 1.0 and 1.5 and real part less than 0.5
24853 specially.
24854 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24855 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24856 * math/libm-test.inc (cacos_test): Add more tests.
24857 (casin_test): Likewise.
24858 (casinh_test): Likewise.
24859 * sysdeps/i386/fpu/libm-test-ulps: Update.
24860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24861
6f2e90e7
SP
248622013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24863
5739f705
SP
24864 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24865 constants.
24866 (norm): Likewise.
24867 (denorm): Likewise.
24868 (__dbl_mp): Likewise.
24869 (add_magnitudes): Likewise.
24870 (sub_magnitudes): Likewise.
24871 (__add): Likewise.
24872 (__sub): Likewise.
24873 (__mul): Likewise.
24874 (__sqr): Likewise.
24875 (__inv): Likewise.
24876 (__dvd): Likewise.
24877
e375e83d
SP
24878 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24879 commented code.
24880 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24881 (__dubcos): Likewise.
24882 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24883 (__ieee754_acos): Likewise.
24884 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24885 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24886 (__exp1): Likewise.
24887 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24888 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24889 (log1): Likewise.
24890 (my_log2): Likewise.
24891 (checkint): Likewise.
24892 * sysdeps/ieee754/dbl-64/e_remainder.c
24893 (__ieee754_remainder): Likewise.
24894 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24895 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24896 (bsloww): Likewise.
24897 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24898
6f2e90e7
SP
24899 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24900 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24901 MANTISSA_STORE_T to store computations on mantissa. Use
24902 macros for rounding and division.
24903 (denorm): Likewise.
24904 (__dbl_mp): Likewise.
24905 (add_magnitudes): Likewise.
24906 (sub_magnitudes): Likewise.
24907 (__mul): Likewise.
24908 (__sqr): Likewise.
24909 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24910 powers of two in terms of TWOPOW macro.
24911 (mp_no): Make type of mantissa as MANTISSA_T.
24912 [!RADIXI]: Define RADIXI.
24913 [!TWO52]: Define TWO52.
24914 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24915
fce14d4e
AZ
249162013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24917
24918 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24919 llroundl symbol when building for PPC32.
24920
9ad027fb
MW
249212013-03-24 Mark H Weaver <mhw@netris.org>
24922
24923 * manual/arith.texi (Normalization Functions): Fix prototypes for
24924 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24925
e42a38dd
AZ
249262013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24927
24928 [BZ #13889]
24929 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24930 high value to check if expl overflow.
24931 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24932 to check for underflow and overflow.
24933 * math/libm-test.inc: Add exp test.
24934
2e0fb521
DL
249352013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24936
24937 [BZ #11120]
24938 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24939 with NOT_IN_libc.
24940
b5784d95
AZ
249412013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24942
24943 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24944 symbol.
24945
5aa4a1a1
TS
249462013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24947
bdef0be7
TS
24948 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24949 wrap blocks consisting of several statements.
24950
5aa4a1a1
TS
24951 * sysdeps/generic/math-tests.h: New file.
24952 * sysdeps/i386/fpu/math-tests.h: Likewise.
24953 * math/test-snan.c: Include it.
24954 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24955
98c48fe5
JM
249562013-03-21 Joseph Myers <joseph@codesourcery.com>
24957
24958 [BZ #15285]
24959 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24960 (__ieee754_j0l): Do not improve calculations using cos of twice
24961 input for inputs above LDBL_MAX / 2.0L.
24962 (__ieee754_y0l): Likewise.
24963 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24964 (__ieee754_j1l): Do not improve calculations using cos of twice
24965 input for inputs above LDBL_MAX / 2.0L.
24966 (__ieee754_y1l): Likewise.
24967 * math/libm-test.inc (j0_test): Add another test.
24968 (j1_test): Likewise.
24969 (y0_test): Likewise.
24970 (y1_test): Likewise.
24971 * sysdeps/i386/fpu/libm-test-ulps: Update.
24972
3775a8bc
SP
249732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24974
24975 * Rules ($(objpfx)bench-%.c): Include code from a C source
24976 file.
24977
0a1b2ae6
JM
249782013-03-21 Joseph Myers <joseph@codesourcery.com>
24979
24980 [BZ #15287]
24981 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24982 imaginary part 1.0 and real part less than 0.5 specially.
24983 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24984 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24985 * math/libm-test.inc (cacos_test): Add more tests.
24986 (casin_test): Likewise.
24987 (casinh_test): Likewise.
24988 * sysdeps/i386/fpu/libm-test-ulps: Update.
24989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24990
b33d4ce4
SP
249912013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24992
24993 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24994 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24995
bef0b507
JM
249962013-03-20 Joseph Myers <joseph@codesourcery.com>
24997
24998 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24999 * config.make.in (config-cflags-sse4): Remove variable.
25000 (config-cflags-avx): Likewise.
25001 (config-cflags-sse2avx): Likewise.
25002 (config-cflags-novzeroupper): Likewise.
25003 (config-asflags-i686): Likewise.
25004 (have-mfma4): Likewise.
25005 (have-as-vis3): Likewise.
25006 (MIG): Likewise.
25007 * configure.in (MIG): Do not AC_SUBST.
25008 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25009 (libc_cv_cc_sse4): Do not AC_SUBST.
25010 (libc_cv_cc_avx): Likewise.
25011 (libc_cv_cc_sse2avx): Likewise.
25012 (libc_cv_cc_novzeroupper): Likewise.
25013 (libc_cv_cc_fma4): Likewise.
25014 (libc_cv_as_i686): Likewise.
25015 (libc_cv_sparc_as_vis3): Likewise.
25016 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25017 LIBC_CONFIG_VAR.
25018 (config-asflags-i686): Likewise.
25019 (config-cflags-avx): Likewise.
25020 (config-cflags-sse2avx): Likewise.
25021 (have-mfma4): Likewise.
25022 (config-cflags-novzeroupper): Likewise.
25023 * sysdeps/mach/configure.in (MIG): Likewise.
25024 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25025 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25026 LIBC_CONFIG_VAR.
25027 (config-cflags-avx): Likewise.
25028 (config-cflags-sse2avx): Likewise.
25029 (have-mfma4): Likewise.
25030 (config-cflags-novzeroupper): Likewise.
25031 * configure: Regenerated.
25032 * sysdeps/i386/configure: Likewise.
25033 * sysdeps/mach/configure: Likewise.
25034 * sysdeps/sparc/configure: Likewise.
25035 * sysdeps/x86_64/configure: Likewise.
25036
912cc4b3
RM
250372013-03-20 Roland McGrath <roland@hack.frob.com>
25038
25039 [BZ #14812]
25040 * locale/programs/localedef.c (options): Put N_ translation marker
25041 on argument names, not just descriptions.
25042
04eed2b0
MS
250432013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25044
25045 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25046
a065ceff
OB
250472013-03-20 Ondřej Bílka <neleai@seznam.cz>
25048
9bb2a810 25049 [BZ #14176]
a065ceff
OB
25050 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25051
a600e5ce
RM
250522013-03-19 Roland McGrath <roland@hack.frob.com>
25053
25054 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25055 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25056 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25057 [!BEFORE_ABORT] (before_abort): New function.
25058 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25059 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25060 (writev_for_fatal): New function.
25061 (WRITEV_FOR_FATAL): New macro; call that.
25062 (backtrace_and_maps): New function.
25063 (BEFORE_ABORT): New macro; call that.
25064 (struct str_list): Type removed.
25065 (__libc_message, __libc_fatal): Functions removed.
25066 Include <sysdeps/posix/libc_fatal.c> instead.
25067
6b18bea6
JM
250682013-03-19 Joseph Myers <joseph@codesourcery.com>
25069
25070 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25071 constants.
25072 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25073 double constants.
25074
aaa8cb4b
AS
250752013-03-19 Andreas Schwab <schwab@suse.de>
25076
44673770
AS
25077 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25078 * sysdeps/gnu/configure: Regenerate.
25079
aaa8cb4b
AS
25080 * configure.in: Substitute libc_cv_rtlddir.
25081 * configure: Regenerate.
25082 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25083 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25084 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25085 * elf/Makefile (install-others, CFLAGS-interp.c)
25086 (ldso_install, common-ldd-rewrite): Likewise.
25087 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25088 $(inst_slibdir)/$(rtld-installed-name).
25089 * scripts/rellns-sh: Add -p option.
25090 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25091 for source.
25092
d3cfc668
SP
250932013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25094
25095 * manual/nptl.texi: Renamed to ...
25096 * manual/threads.texi: ... this.
25097 * manual/Makefile (chapters): Update.
25098
0e2b9cdd
RM
250992013-03-18 Roland McGrath <roland@hack.frob.com>
25100
25101 [BZ #14812]
25102 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25103 on argument names, not just descriptions.
0e2b9cdd
RM
25104 * malloc/memusagestat.c (options): Likewise.
25105 * nss/getent.c (options): Likewise.
63270c24
RM
25106
251072013-03-18 Benno Schulenberg <bensberg@justemail.net>
25108
25109 [BZ #14812]
25110 * iconv/iconv_prog.c (options): Put N_ translation marker
25111 on argument names, not just descriptions.
25112 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25113
b2e1393c
OB
251142013-03-18 Ondrej Bilka <neleai@seznam.cz>
25115
25116 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25117 implementation which is faster on all x86_64 architectures.
25118 Tested on AMD, Intel Nehalem, SNB, IVB.
25119 * sysdeps/x86_64/strnlen.S: Likewise.
25120
25121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25122 Remove all multiarch strlen and strnlen versions.
25123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25124 Remove strlen and strnlen related parts.
25125
25126 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25127 Inline strlen part.
25128 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25129
25130 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25131 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25132 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25133 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25134 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25135 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25136
ec4ff04d
CD
251372013-03-17 Carlos O'Donell <carlos@redhat.com>
25138
25139 * manual/memory.texi (Malloc Tunable Parameters):
25140 Sort parameters alphabetically. Add comments for missing entries.
25141
cd18e90a
DM
251422013-03-17 David S. Miller <davem@davemloft.net>
25143
25144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25145
2a185d32
JM
251462013-03-16 Joseph Myers <joseph@codesourcery.com>
25147
d2f9799e
JM
25148 [BZ #15283]
25149 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25150 for arguments at most half maximum finite value.
25151 * math/libm-test.inc (j0_test): Add more tests.
25152 (j1_test): Likewise.
25153 (y0_test): Likewise.
25154 (y1_test): Likewise.
25155 * sysdeps/i386/fpu/libm-test-ulps: Update.
25156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25157
2a185d32
JM
25158 [BZ #14155]
25159 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25160 1 / x and functions P and Q for arguments above 0x1p256L.
25161 (__ieee754_y0l): Likewise.
25162 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25163 (__ieee754_y1l): Likewise.
25164 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25165 (j1_test): Likewise.
25166 (y0_test): Likewise.
25167 (y1_test): Likewise.
25168
6cbec759
TS
251692013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25170
25171 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25172 variable.
25173
bc16e260
RM
251742013-03-15 Roland McGrath <roland@hack.frob.com>
25175
aefc9b8c
RM
25176 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25177 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25178 zero since it's initialized to EXEC_PAGESIZE.
25179
bc16e260
RM
25180 * sysdeps/unix/sysv/linux/ldsodefs.h
25181 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25182 * sysdeps/generic/ldsodefs.h: ... here.
25183
a57da955
TS
251842013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25185
af00a34d
TS
25186 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25187
495ded2c
TS
25188 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25189 math/test-snan.c.
25190 * math/test-snan.c: Renamed from
25191 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25192 * math/Makefile (tests): Add test-snan.
25193 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25194 test-powerpc-snan.
25195
777b0332
TS
25196 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25197 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25198 functions.
25199 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25200 __builtin_nan family of functions.
25201 * math/libm-test.inc (initialize): Initialize qnan_value with
25202 __builtin_nan family of functions.
25203 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25204 Remove variables.
25205 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25206 Remove functions.
25207 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25208 storage class. Initialize qNaN_var and sNaN_var with
25209 __builtin_nan and __builtin_nans families of functions,
25210 respectively.
25211
64d063b8
TS
25212 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25213 (sqrt_test): Remove duplicate test with qNaN input.
25214 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25215 (round_test, signbit_test, significand_test): Note missing +/-Inf
25216 as well as qNaN tests.
25217
67e971f1
TS
25218 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25219 qNaN_var. Fix a few strings, too.
25220 * math/libm-test.inc (nan_value): Rename to qnan_value.
25221 * math/gen-libm-test.pl (%beautify): Adjust to that.
25222 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25223 * math/test-misc.c (main): Likewise.
25224 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25225 to __qnan_bytes, and __qnan_union, respectively.
25226 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25227 Likewise.
25228 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25229 and lqnanval, respectively.
25230 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25231 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25232 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25233 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25234
64487e12
TS
25235 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25236 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25237 doubles.
25238
e015e27b
TS
25239 * math/test-misc.c (main): Fix copy'n'pastos.
25240 * misc/tst-efgcvt.c (special): Likewise.
25241
a57da955
TS
25242 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25243 Remove declarations.
25244
1e380345
SP
252452013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25246
25247 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25248 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25249 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25250 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25251
ef26eece
AZ
252522013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25253
25254 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25255 macro to return vdso values correctly in IFUNC implementations.
25256 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25257 Optimization by using IFUNC.
25258
8cfdb7e0
SP
252592013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25260 Richard Henderson <rth@redhat.com>
25261 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25262
25263 * Makefile.in (bench): New target.
25264 * NEWS: Mention the benchmark framework.
25265 * Rules (bench): Likewise.
25266 (binaries-bench): Generate binaries for functions to
25267 benchmark.
25268 * benchtests/Makefile: New makefile for benchmark tests.
25269 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25270 programs.
25271 * benchtests/exp-inputs: New input file for EXP function.
25272 * benchtests/pow-inputs: New input file for POW function.
25273 * scripts/bench.pl: New script to generate source files for
25274 benchmark programs.
25275
bcda9880
SP
252762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25277
d22ca8cd
SP
25278 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25279 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25280 computations on mantissa. Use macros for rounding and
25281 division.
25282 (denorm): Likewise.
25283 (__dbl_mp): Likewise.
25284 (add_magnitudes): Likewise.
25285 (sub_magnitudes): Likewise.
25286 (__mul): Likewise.
25287 (__sqr): Likewise.
25288 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25289 powers of two in terms of TWOPOW macro.
25290 (mp_no): Make type of mantissa as MANTISSA_T.
25291 [!RADIXI]: Define RADIXI.
25292 [!TWO52]: Define TWO52.
25293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25294
bcda9880
SP
25295 * manual/nptl.texi (cindex): Modify threads to pthreads.
25296
06d5adfb
JM
252972013-03-15 Joseph Myers <joseph@codesourcery.com>
25298
25299 * sysdeps/x86_64/preconfigure: Regenerated.
25300
41c7328e
JM
253012013-03-14 Joseph Myers <joseph@codesourcery.com>
25302
25303 [BZ #14155]
25304 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25305 0x1p28 and above.
25306 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25307 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25308 0x1p28 and above.
25309 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25310 * math/libm-test.inc (j0_test): Do not allow one spurious
25311 underflow exception.
25312 (y1_test): Likewise.
25313
e25cfa60
SP
253142013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25315
0409959c
SP
25316 * manual/Makefile (chapters): Add nptl.
25317 * manual/debug.texi (Debugging Support): Add link to Threads
25318 chapter.
25319 * manual/nptl.texi: New file.
25320
e25cfa60
SP
25321 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25322
58a1335e
PB
253232013-03-14 Petr Baudis <pasky@ucw.cz>
25324
25325 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25326 for non-NULL pointer before the memory validity test. Pointed
25327 out by Holger Brunck <holger.brunck@keymile.com>.
25328
9dc7c64f
AS
253292013-03-13 Andreas Schwab <schwab@suse.de>
25330
25331 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25332 instead of .os.
25333
54206aa6
JM
253342013-03-13 Joseph Myers <joseph@codesourcery.com>
25335
25336 * timezone/zic.c: Update from tzcode 2013b.
25337
e98cdb38
CD
253382013-03-12 Carlos O'Donell <carlos@redhat.com>
25339
25340 * manual/install.texi (Configuring and compiling):
25341 Mention i686 and i586.
25342 * INSTALL: Regenerate.
25343
9967e003
RM
253442013-03-12 Roland McGrath <roland@hack.frob.com>
25345
25346 * sysdeps/init_array/elf-init.c: New file.
25347 * csu/elf-init.c
25348 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25349 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25350
25351 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25352 __gmon_start__ as global, but as static with a .preinit_array pointer.
25353 * sysdeps/init_array/gmon-start.c: New file. Use that.
25354 * sysdeps/init_array/crti.S: New file, empty except for comments.
25355 * sysdeps/init_array/crtn.S: Likewise.
25356
e6b5a293 253572013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25358
25359 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25360 definining bcopy.
80f844c9
OB
25361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25362 Remove Prefer_SSE_for_memop.
25363 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25364 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25365 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25367 memset-x86-64.
80f844c9 25368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25369 Remove bzero, memset ifunc support.
80f844c9
OB
25370 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25371 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25372 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25373 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25374
fb6b0fcb
AS
253752013-03-11 Andreas Schwab <schwab@suse.de>
25376
25377 [BZ #15234]
25378 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25379 by SHLIB_COMPAT.
25380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25381 (GLIBC_2.16): Remove pthread_atfork.
25382
3e6bd4b1
PP
253832013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25384
25385 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25386 (ptestcases.h): Likewise.
25387
222d7f00
RM
253882013-03-08 Roland McGrath <roland@hack.frob.com>
25389
25390 * Makeconfig ($(common-objpfx)config.status): Depend on
25391 sysdeps/*/preconfigure{,.in} too.
25392
1ba4f030
JM
253932013-03-08 Joseph Myers <joseph@codesourcery.com>
25394
a222d91a
JM
25395 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25396 (__free_hook): Use void * instead of __malloc_ptr_t.
25397 (__malloc_hook): Likewise.
25398 (__realloc_hook): Likewise.
25399 (__memalign_hook): Likewise.
25400 (__after_morecore_hook): Likewise.
25401 * malloc/arena.c (save_malloc_hook): Likewise.
25402 (save_free_hook): Likewise.
25403 * malloc/hooks.c (malloc_hook_ini): Likewise.
25404 (realloc_hook_ini): Likewise.
25405 (memalign_hook_ini): Likewise.
25406 * malloc/malloc.c (malloc_hook_ini): Likewise.
25407 (realloc_hook_ini): Likewise.
25408 (memalign_hook_ini): Likewise.
25409 (__free_hook): Likewise.
25410 (__malloc_hook): Likewise.
25411 (__realloc_hook): Likewise.
25412 (__memalign_hook): Likewise.
25413 (__libc_malloc): Likewise.
25414 (__libc_free): Likewise.
25415 (__libc_realloc): Likewise.
25416 (__libc_memalign): Likewise.
25417 (__libc_valloc): Likewise.
25418 (__libc_pvalloc): Likewise.
25419 (__libc_calloc): Likewise.
25420 (__posix_memalign): Likewise.
25421 * malloc/morecore.c (__sbrk): Likewise.
25422 (__default_morecore): Likewise.
25423
5cc45e10
JM
25424 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25425
dd54b864
JM
25426 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25427 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25428 __malloc_ptrdiff_t.
25429
1ba4f030
JM
25430 * malloc/malloc.h (__malloc_size_t): Remove macro.
25431 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25432 __malloc_size_t.
25433 (old_memalign_hook): Likewise.
25434 (old_realloc_hook): Likewise.
25435 (struct hdr): Likewise.
25436 (flood): Likewise.
25437 (mallochook): Likewise.
25438 (memalignhook): Likewise.
25439 (reallochook): Likewise.
25440 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25441 (tr_old_realloc_hook): Likewise.
25442 (tr_old_memalign_hook): Likewise.
25443 (tr_mallochook): Likewise.
25444 (tr_reallochook): Likewise.
25445 (tr_memalignhook): Likewise.
25446
edf66e57
AZ
254472013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25448
25449 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25450 default_ldbl_pack and using as default implementation.
25451 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25452 implementation.
25453 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25454 redundant definition.
25455 (ldbl_insert_mantissa): Likewise.
25456 (ldbl_canonicalize): Likewise.
25457 (ldbl_nearbyint): Likewise.
25458 (ldbl_pack): Rename to ldbl_pack_ppc.
25459 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25460 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25461 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25462
6d9145d8
SP
254632013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25464
25465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25466 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25467 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25468 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25470 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25471 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25472 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25473
4dd4e157
AJ
254742013-03-07 Andreas Jaeger <aj@suse.de>
25475
25476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25477 bits/mman-linux.h.
25478
adbb8027
SP
254792013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25480
ce544b5b
SP
25481 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25482 Include mpa.h and declare __MPEXP.
25483 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25484 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25485 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25486 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25487 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25488 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25489 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25490
4cc149fd
SP
25491 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25492 (__slowpow): Use long double EXPL and LOGL functions to
25493 compute POW.
25494 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25495 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25496 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25498 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25499 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25500
e6ebd4a7
SP
25501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25502 intermediate variable to calculate exponent.
25503 (__sqr): Likewise.
25504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25505 Likewise.
25506 (__sqr): Likewise.
25507
82a9811d
SP
25508 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25509 [!NO__SQR]: Define __sqr.
25510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25511 and NO__SQR. Remove all code except __mul and __sqr. Include
25512 sysdeps/ieee754/dbl-64/mpa.c.
25513 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25514
adbb8027
SP
25515 [BZ #12723]
25516 * posix/Makefile (tests): Add tst-pathconf.
25517 * posix/tst-pathconf.c: New test case.
25518 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25519 _PC_PIPE_BUF.
25520 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25521
39120df9
PF
255222013-03-06 Patsy Franklin <pfrankli@redhat.com>
25523
25524 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25525
67525cb8
AJ
255262013-03-06 Andreas Jaeger <aj@suse.de>
25527
664a9ce4
AJ
25528 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25529 definition via __MAP_ANONYMOUS.
25530
8e39047d
AJ
25531 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25532 it's not part of Linux headers.
25533
67525cb8
AJ
25534 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25535 (MAP_HUGE_MASK): Define.
25536
25537 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25538 Define.
25539 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25540 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25541 Define.
25542 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25543 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25544 Define.
25545 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25547 Define.
25548 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25549
25550 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25551 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25552 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25553 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25554 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25555 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25556
25557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25558 Handle f2fs.
25559
25560 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25561 Handle f2fs and efivarfs.
25562
25563 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25564 f2fs.
25565
25566 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25567 (EFIVARFS_MAGIC): Add.
25568 (F2FS_LINK_MAX): Add.
25569
e1b42695
PP
255702013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25571
25572 * stdio-common/vfprintf.c: Replace __builtin_expect with
25573 __glibc_unlikely.
25574
2d67d91a
JM
255752013-03-06 Joseph Myers <joseph@codesourcery.com>
25576
25577 [BZ #13550]
25578 * sysdeps/generic/bp-sym.h: Remove file.
25579 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25580 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25581 <bp-sym.h> and <bp-asm.h>.
25582 (__longjmp): Don't use BP_SYM.
25583 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25584 and <bp-asm.h>.
25585 (memcpy): Don't use BP_SYM.
25586 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25587 <bp-sym.h> and <bp-asm.h>.
25588 (memcpy): Don't use BP_SYM.
25589 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25590 <bp-asm.h>.
25591 (memcpy): Don't use BP_SYM.
25592 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25593 <bp-asm.h>.
25594 (memset): Don't use BP_SYM.
25595 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25596 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25597 (__bzero): Don't use BP_SYM.
25598 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25599 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25600 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25601 <bp-sym.h> and <bp-asm.h>.
25602 (memcmp): Don't use BP_SYM. Remove comment about bounded
25603 pointers.
25604 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25605 <bp-sym.h> and <bp-asm.h>.
25606 (memcpy): Don't use BP_SYM.
25607 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25608 <bp-sym.h> and <bp-asm.h>.
25609 (memset): Don't use BP_SYM.
25610 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25611 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25612 (__bzero): Don't use BP_SYM.
25613 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25614 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25615 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25616 <bp-sym.h> and <bp-asm.h>.
25617 (strncmp): Don't use BP_SYM. Remove comment about bounded
25618 pointers.
25619 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25620 <bp-sym.h> and <bp-asm.h>.
25621 (memcpy): Don't use BP_SYM.
25622 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25623 <bp-sym.h> and <bp-asm.h>.
25624 (memset): Don't use BP_SYM.
25625 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25626 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25627 (__bzero): Don't use BP_SYM.
25628 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25629 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25630 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25631 <bp-sym.h> and <bp-asm.h>.
25632 (__memchr): Don't use BP_SYM.
25633 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25634 <bp-sym.h> and <bp-asm.h>.
25635 (memcmp): Don't use BP_SYM. Remove comment about bounded
25636 pointers.
25637 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25638 <bp-sym.h> and <bp-asm.h>.
25639 (memcpy): Don't use BP_SYM.
25640 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25641 <bp-sym.h> and <bp-asm.h>.
25642 (__mempcpy): Don't use BP_SYM.
25643 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25644 <bp-sym.h> and <bp-asm.h>.
25645 (__memrchr): Don't use BP_SYM.
25646 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25647 <bp-sym.h> and <bp-asm.h>.
25648 (memset): Don't use BP_SYM.
25649 (__bzero): Likewise.
25650 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25651 <bp-sym.h> and <bp-asm.h>.
25652 (__rawmemchr): Don't use BP_SYM.
25653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25654 <bp-sym.h> and <bp-asm.h>.
25655 (__STRCMP): Don't use BP_SYM.
25656 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25657 <bp-sym.h> and <bp-asm.h>.
25658 (strchr): Don't use BP_SYM.
25659 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25660 <bp-sym.h> and <bp-asm.h>.
25661 (__strchrnul): Don't use BP_SYM.
25662 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25663 <bp-sym.h> and <bp-asm.h>.
25664 (strlen): Don't use BP_SYM.
25665 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25666 <bp-sym.h> and <bp-asm.h>.
25667 (strncmp): Don't use BP_SYM. Remove comment about bounded
25668 pointers.
25669 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25670 <bp-sym.h> and <bp-asm.h>.
25671 (__strnlen): Don't use BP_SYM.
25672 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25673 <bp-sym.h> and <bp-asm.h>.
25674 (__GI__setjmp): Don't use BP_SYM.
25675 (_setjmp): Likewise.
25676 (__sigsetjmp): Likewise.
25677 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25678 (L(start_addresses)): Don't use BP_SYM.
25679 (_start): Likewise.
25680 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25681 <bp-asm.h>.
25682 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25683 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25684 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25685 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25686 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25687 <bp-asm.h>.
25688 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25689 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25690 about bounded pointers.
25691 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25692 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25693 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25694 <bp-asm.h>.
25695 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25696 about bounded pointers. Remove GKM FIXME comments.
25697 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25698 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25699 <bp-asm.h>.
25700 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25701 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25702 Remove GKM FIXME comments.
25703 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25704 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25705 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25706 <bp-asm.h>.
25707 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25708 about bounded pointers. Remove GKM FIXME comment.
25709 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25710 and <bp-asm.h>.
25711 (strncmp): Don't use BP_SYM. Remove comment about bounded
25712 pointers.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25714 <bp-sym.h> and <bp-asm.h>.
25715 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25717 <bp-sym.h> and <bp-asm.h>.
25718 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25719 comment.
25720
cdcf361f
PP
257212013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25722
25723 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25724 call free(NULL).
25725
3c4a2b15
DM
257262013-03-05 David S. Miller <davem@davemloft.net>
25727
25728 * po/es.po: Update from translation team.
25729
cdcf361f 257302013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25731
25732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25733 <bits/mman-linux.h>.
25734 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25735 is fine.
25736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25737 <bits/mman-linux.h> to end of file.
25738 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25739 is fine.
25740 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25741 <bits/mman-linux.h> to end of file.
25742 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25743 is fine.
25744 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25745 <bits/mman-linux.h> to end of file.
25746
25747 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25748 (MCL_CURRENT, MCL_FUTURE): Define here.
25749
5f67c04f
AK
257502013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25751
8a4473cc 25752 [BZ #15232]
5f67c04f
AK
25753 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25754 attribute_hidden.
25755 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25756
c3e94a95
AK
257572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25758
25759 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25760 fourth parameter needed for rt_sigprocmask syscall.
25761 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25762 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25763 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25764 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25765 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25766 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25767
cfb6382a
JM
257682013-03-04 Joseph Myers <joseph@codesourcery.com>
25769
25770 [BZ #13550]
25771 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25772 comment about bounded pointers.
25773 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25774 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25775
539d8e01
AJ
257762013-03-04 Andreas Jaeger <aj@suse.de>
25777
25778 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25779 common definitions.
25780
25781 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25782 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25783 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25784 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25785 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
25786 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25787
2e167a70 257882013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
25789
25790 [BZ #15055]
25791 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25792 __ieee754_sqrl instead of __sqrl.
25793
68508633
JM
257942013-03-01 Joseph Myers <joseph@codesourcery.com>
25795
25796 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25797 * sysdeps/powerpc/fpu_control.h: ... here.
25798 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25799 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25800 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25801 * sysdeps/powerpc/bits/mathinline.h: ... here.
25802
7775448e
RM
258032013-03-01 Roland McGrath <roland@hack.frob.com>
25804
25805 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25806 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25807 to just [NEED_DL_SYSINFO_DSO].
25808 * elf/dl-support.c: Likewise.
25809 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25810 * elf/rtld.c (dl_main): Likewise.
25811 * elf/setup-vdso.h (setup_vdso): Likewise.
25812 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25813 * sysdeps/unix/sysv/linux/dl-sysdep.c
25814 (_dl_discover_osversion): Likewise.
25815
4e9b5995
CD
258162013-03-01 Carlos O'Donell <carlos@redhat.com>
25817
25818 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25819 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25820
e23872c8
SP
258212013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25822
e5c74c63
SP
25823 * NEWS: Mention libm performance improvements and non-x86 PI
25824 futex support.
25825
e23872c8
SP
25826 * csu/libc-start.c (__pthread_initialize_minimal): Change
25827 function arguments.
25828 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25829
b5510883
JM
258302013-02-28 Joseph Myers <joseph@codesourcery.com>
25831
25832 [BZ #13550]
25833 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25834 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25835 <bp-sym.h> and <bp-asm.h>.
25836 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25837 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25838 and <bp-asm.h>.
25839 (memcpy): Don't use BP_SYM.
25840 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25841 <bp-asm.h>.
25842 (__mpn_add_n): Don't use BP_SYM.
25843 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25844 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25845 and <bp-asm.h>.
25846 (__mpn_addmul_1): Don't use BP_SYM.
25847 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25848 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25849 <bp-sym.h>.
25850 (_setjmp): Don't use BP_SYM.
25851 (__novmx_setjmp): Likewise.
25852 (__GI__setjmp): Likewise.
25853 (__vmx_setjmp): Likewise.
25854 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25855 <bp-sym.h>.
25856 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25857 (__bzero): Don't use BP_SYM.
25858 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25859 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25860 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25861 <bp-sym.h> and <bp-asm.h>.
25862 (memcpy): Don't use BP_SYM.
25863 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25864 <bp-sym.h> and <bp-asm.h>.
25865 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25866 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25867 <bp-sym.h> and <bp-asm.h>.
25868 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25869 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25870 <bp-asm.h>.
25871 (__mpn_lshift): Don't use BP_SYM.
25872 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25873 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25874 <bp-asm.h>.
25875 (memset): Don't use BP_SYM.
25876 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25877 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25878 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25879 <bp-asm.h>.
25880 (__mpn_mul_1): Don't use BP_SYM.
25881 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25882 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25883 <bp-sym.h> and <bp-asm.h>.
25884 (memcmp): Don't use BP_SYM.
25885 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25886 <bp-sym.h> and <bp-asm.h>.
25887 (memcpy): Don't use BP_SYM.
25888 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25889 <bp-sym.h> and <bp-asm.h>.
25890 (memset): Don't use BP_SYM.
25891 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25892 <bp-sym.h> and <bp-asm.h>.
25893 (strncmp): Don't use BP_SYM.
25894 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25895 <bp-sym.h> and <bp-asm.h>.
25896 (memcpy): Don't use BP_SYM.
25897 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25898 <bp-sym.h> and <bp-asm.h>.
25899 (memset): Don't use BP_SYM.
25900 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25901 <bp-sym.h> and <bp-asm.h>.
25902 (__memchr): Don't use BP_SYM.
25903 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25904 <bp-sym.h> and <bp-asm.h>.
25905 (memcmp): Don't use BP_SYM.
25906 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25907 <bp-sym.h> and <bp-asm.h>.
25908 (memcpy): Don't use BP_SYM.
25909 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25910 <bp-sym.h> and <bp-asm.h>.
25911 (__mempcpy): Don't use BP_SYM.
25912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25913 <bp-sym.h> and <bp-asm.h>.
25914 (__memrchr): Don't use BP_SYM.
25915 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25916 <bp-sym.h> and <bp-asm.h>.
25917 (memset): Don't use BP_SYM.
25918 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25919 <bp-sym.h> and <bp-asm.h>.
25920 (__rawmemchr): Don't use BP_SYM.
25921 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25922 <bp-sym.h> and <bp-asm.h>.
25923 (__STRCMP): Don't use BP_SYM.
25924 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25925 <bp-sym.h> and <bp-asm.h>.
25926 (strchr): Don't use BP_SYM.
25927 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25928 <bp-sym.h> and <bp-asm.h>.
25929 (__strchrnul): Don't use BP_SYM.
25930 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25931 <bp-sym.h> and <bp-asm.h>.
25932 (strlen): Don't use BP_SYM.
25933 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25934 <bp-sym.h> and <bp-asm.h>.
25935 (strncmp): Don't use BP_SYM.
25936 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25937 <bp-sym.h> and <bp-asm.h>.
25938 (__strnlen): Don't use BP_SYM.
25939 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25940 <bp-asm.h>.
25941 (__mpn_rshift): Don't use BP_SYM.
25942 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25943 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25944 <bp-sym.h> and <bp-asm.h>.
25945 (__sigsetjmp): Don't use BP_SYM.
25946 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25947 (L(start_addresses)): Don't use BP_SYM.
25948 (_start): Likewise.
25949 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25950 <bp-asm.h>.
25951 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25952 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25953 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25954 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25955 <bp-asm.h>.
25956 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25957 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25958 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25959 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25960 <bp-asm.h>.
25961 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25962 comments.
25963 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25964 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25965 <bp-asm.h>.
25966 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25967 FIXME comments.
25968 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25969 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25970 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25971 <bp-asm.h>.
25972 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25973 comment.
25974 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25975 and <bp-asm.h>.
25976 (strncmp): Don't use BP_SYM,
25977 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25978 <bp-asm.h>.
25979 (__mpn_sub_n): Don't use BP_SYM.
25980 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25981 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25982 and <bp-asm.h>.
25983 (__mpn_submul_1): Don't use BP_SYM.
25984 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25986 <bp-sym.h> and <bp-asm.h>.
25987 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25989 <bp-sym.h> and <bp-asm.h>.
25990 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25991 comment.
25992
8d19fe64
SP
259932013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25994
25995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25996 Use ZK to minimize writes to Z.
25997 (sub_magnitudes): Simplify code a bit.
25998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25999 Use ZK to minimize writes to Z.
26000 (sub_magnitudes): Simplify code a bit.
26001
85bd816a
RM
260022013-02-27 Roland McGrath <roland@hack.frob.com>
26003
26004 * csu/gmon-start.c: Add special exception to license text.
26005
b5977bf2
RH
260062013-02-27 Richard Henderson <rth@redhat.com>
26007
26008 * scripts/config.guess: Update from config.git.
26009 * scripts/config.sub: Likewise.
26010
11d6e2f2
SP
260112013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26012
09c14ed2
SP
26013 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26014
a688864e
SP
26015 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26016
6295157a
SP
26017 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26018
b8de2202
SP
26019 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26020
11d6e2f2
SP
26021 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26022
7e80ddb8
RM
260232013-02-26 Roland McGrath <roland@hack.frob.com>
26024
26025 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26026 [$(build-shared = yes].
7e80ddb8 26027
7da6d9ed
SP
260282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26029
45f05884
SP
26030 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26031 (__mul): Reduce iterations for calculating mantissa.
26032
2236d359
SP
26033 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26034 MPTWO.
26035 (__mpranred): Likewise.
26036
7da6d9ed
SP
26037 [BZ #15160]
26038 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26039 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26040
b7688c42
PE
260412013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26042
26043 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26044 Define __attribute__.
26045
53a5c423
SP
260462013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26047
26048 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26049 unused.
26050 * posix/regex_internal.h (__attribute): Remove.
26051 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26052 (re_string_context_at): Likewise.
26053 (bitset_not): Use __attribute__ and mark function as possibly
26054 unused.
26055 (bitset_merge): Likewise.
26056 (bitset_mask): Likewise.
26057 (re_string_char_size_at): Likewise.
26058 (re_string_wchar_at): Likewise.
26059 (re_string_elem_size_at): Likewise.
26060
60f5a8b5
SP
260612013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26062
2a983a2e
SP
26063 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26064 code.
26065 (cc32): Likewise.
26066
e69804d1
SP
26067 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26068 (__acr): Likewise.
26069 (__cpy): Likewise.
26070 (norm): Likewise.
26071 (denorm): Likewise.
26072 (__dbl_mp): Likewise.
26073 (add_magnitudes): Likewise.
26074 (sub_magnitudes): Likewise.
26075 (__mul): Likewise.
26076 (__inv): Likewise.
26077
2f22a1e8
SP
26078 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26079 style.
26080
8930ddc7
SP
26081 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26082 style.
26083
dc60cb11
SP
26084 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26085 code.
26086
60f5a8b5
SP
26087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26088 up changes with default code.
26089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26090 Likewise.
26091
b4d1fd33
AM
260922013-02-24 Allan McRae <allan@archlinux.org>
26093
faf6f8bc
AM
26094 * manual/socket.texi (The Internet Namespace): Order menu items
26095 to match that in the file.
26096
b4d1fd33
AM
26097 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26098 node listing of the info page menu.
26099
2366713d
JM
261002013-02-21 Joseph Myers <joseph@codesourcery.com>
26101
26102 [BZ #13550]
26103 * sysdeps/i386/bp-asm.h: Remove file.
26104 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26105 (PARMS): Do not use macros from bp-asm.h.
26106 (S1): Likewise.
26107 (S2): Likewise.
26108 (SIZE): Likewise.
26109 (__mpn_add_n): Do not use BP_SYM
26110 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26111 "bp-asm.h".
26112 (PARMS): Do not use macros from bp-asm.h.
26113 (S1): Likewise.
26114 (SIZE): Likewise.
26115 (__mpn_addmul_1): Do not use BP_SYM
26116 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26117 "bp-asm.h".
26118 (PARMS): Do not use macros from bp-asm.h.
26119 (SIGMSK): Likewise.
26120 (_setjmp): Likewise. Do not use BP_SYM.
26121 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26122 "bp-asm.h".
26123 (PARMS): Do not use macros from bp-asm.h.
26124 (SIGMSK): Likewise.
26125 (setjmp): Likewise. Do not use BP_SYM.
26126 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26127 "bp-asm.h".
26128 (PARMS): Do not use macros from bp-asm.h.
26129 (__frexp): Do not use BP_SYM.
26130 (frexp): Likewise.
26131 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26132 "bp-asm.h".
26133 (PARMS): Do not use macros from bp-asm.h.
26134 (__frexpf): Do not use BP_SYM.
26135 (frexpf): Likewise.
26136 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26137 "bp-asm.h".
26138 (PARMS): Do not use macros from bp-asm.h.
26139 (__frexpl): Do not use BP_SYM.
26140 (frexpl): Likewise.
26141 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26142 "bp-asm.h".
26143 (PARMS): Do not use macros from bp-asm.h.
26144 (__remquo): Do not use BP_SYM.
26145 (remquo): Likewise.
26146 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26147 "bp-asm.h".
26148 (PARMS): Do not use macros from bp-asm.h.
26149 (__remquof): Do not use BP_SYM.
26150 (remquof): Likewise.
26151 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26152 "bp-asm.h".
26153 (PARMS): Do not use macros from bp-asm.h.
26154 (__remquol): Do not use BP_SYM.
26155 (remquol): Likewise.
26156 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26157 "bp-asm.h".
26158 (PARMS): Do not use macros from bp-asm.h.
26159 (DEST): Likewise.
26160 (SRC): Likewise.
26161 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26162 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26163 "bp-asm.h".
26164 (PARMS): Do not use macros from bp-asm.h.
26165 (strlen): Do not use BP_SYM.
26166 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26167 "bp-asm.h".
26168 (PARMS): Do not use macros from bp-asm.h.
26169 (S1): Likewise.
26170 (S2): Likewise.
26171 (SIZE): Likewise.
26172 (__mpn_add_n): Do not use BP_SYM.
26173 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26174 "bp-asm.h".
26175 (PARMS): Do not use macros from bp-asm.h.
26176 (S1): Likewise.
26177 (SIZE): Likewise.
26178 (__mpn_addmul_1): Do not use BP_SYM.
26179 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26180 weak_alias.
26181 (bzero): Likewise.
26182 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26183 "bp-asm.h".
26184 (PARMS): Do not use macros from bp-asm.h.
26185 (S): Likewise.
26186 (SIZE): Likewise.
26187 (__mpn_lshift): Do not use BP_SYM.
26188 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26189 "bp-asm.h".
26190 (PARMS): Do not use macros from bp-asm.h.
26191 (DEST): Likewise.
26192 (SRC): Likewise.
26193 (LEN): Likewise.
26194 (memcpy): Likewise. Do not use BP_SYM.
26195 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26196 libc_hidden_def and weak_alias.
26197 (mempcpy): Do not use BP_SYM in weak_alias.
26198 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26199 "bp-asm.h".
26200 (PARMS): Do not use macros from bp-asm.h.
26201 (DEST): Likewise.
26202 (LEN): Likewise.
26203 [!BZERO_P] (CHR): Likewise.
26204 (memset): Likewise. Do not use BP_SYM.
26205 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26206 "bp-asm.h".
26207 (PARMS): Do not use macros from bp-asm.h.
26208 (S1): Likewise.
26209 (SIZE): Likewise.
26210 (__mpn_mul_1): Do not use BP_SYM.
26211 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26212 "bp-asm.h".
26213 (PARMS): Do not use macros from bp-asm.h.
26214 (S): Likewise.
26215 (SIZE): Likewise.
26216 (__mpn_rshift): Do not use BP_SYM.
26217 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26218 "bp-asm.h".
26219 (PARMS): Do not use macros from bp-asm.h.
26220 (STR): Likewise.
26221 (CHR): Likewise.
26222 (strchr): Likewise. Do not use BP_SYM.
26223 (index): Do not use BP_SYM in weak_alias.
26224 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26230 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26231 "bp-asm.h".
26232 (PARMS): Do not use macros from bp-asm.h.
26233 (strlen): Do not use BP_SYM.
26234 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26235 "bp-asm.h".
26236 (PARMS): Do not use macros from bp-asm.h.
26237 (S1): Likewise.
26238 (S2): Likewise.
26239 (SIZE): Likewise.
26240 (__mpn_sub_n): Do not use BP_SYM.
26241 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26242 "bp-asm.h".
26243 (PARMS): Do not use macros from bp-asm.h.
26244 (S1): Likewise.
26245 (SIZE): Likewise.
26246 (__mpn_submul_1): Do not use BP_SYM.
26247 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26248 "bp-asm.h".
26249 (PARMS): Do not use macros from bp-asm.h.
26250 (S1): Likewise.
26251 (S2): Likewise.
26252 (SIZE): Likewise.
26253 (__mpn_add_n): Do not use BP_SYM.
26254 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26255 weak_alias.
26256 (bzero): Likewise.
26257 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26258 "bp-asm.h".
26259 (PARMS): Do not use macros from bp-asm.h.
26260 (BLK2): Likewise.
26261 (LEN): Likewise.
26262 (memcmp): Do not use BP_SYM.
26263 (bcmp): Do not use BP_SYM in weak_alias.
26264 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26265 "bp-asm.h".
26266 (PARMS): Do not use macros from bp-asm.h.
26267 (DEST): Likewise.
26268 (SRC): Likewise.
26269 (LEN): Likewise.
26270 (memcpy): Likewise. Do not use BP_SYM.
26271 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26272 "bp-asm.h".
26273 (PARMS): Do not use macros from bp-asm.h.
26274 (DEST): Likewise.
26275 (SRC): Likewise.
26276 (LEN): Likewise.
26277 (memmove): Likewise. Do not use BP_SYM.
26278 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26279 "bp-asm.h".
26280 (PARMS): Do not use macros from bp-asm.h.
26281 (DEST): Likewise.
26282 (SRC): Likewise.
26283 (LEN): Likewise.
26284 (__mempcpy): Likewise. Do not use BP_SYM.
26285 (mempcpy): Do not use BP_SYM in weak_alias.
26286 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26287 "bp-asm.h".
26288 (PARMS): Do not use macros from bp-asm.h.
26289 (DEST): Likewise.
26290 (LEN): Likewise.
26291 [!BZERO_P] (CHR): Likewise.
26292 (memset): Likewise. Do not use BP_SYM.
26293 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26294 "bp-asm.h".
26295 (PARMS): Do not use macros from bp-asm.h.
26296 (STR2): Likewise.
26297 (strcmp): Do not use BP_SYM.
26298 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26299 "bp-asm.h".
26300 (PARMS): Do not use macros from bp-asm.h.
26301 (STR): Likewise.
26302 (DELIM): Likewise.
26303 [USE_AS_STRTOK_R] (SAVE): Likewise.
26304 (FUNCTION): Likewise. Do not use BP_SYM.
26305 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26306 aliases.
26307 (strtok_r): Likewise.
26308 (__GI___strtok_r): Likewise.
26309 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26310 (PARMS): Do not use macros from bp-asm.h.
26311 (S): Likewise.
26312 (SIZE): Likewise.
26313 (__mpn_lshift): Do not use BP_SYM.
26314 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26315 (PARMS): Do not use macros from bp-asm.h.
26316 (STR): Likewise.
26317 (CHR): Likewise.
26318 (__memchr): Do not use BP_SYM.
26319 (memchr): Do not use BP_SYM in weak_alias.
26320 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26321 (PARMS): Do not use macros from bp-asm.h.
26322 (BLK2): Likewise.
26323 (LEN): Likewise.
26324 (memcmp): Do not use BP_SYM.
26325 (bcmp): Do not use BP_SYM in weak_alias.
26326 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26327 (PARMS): Do not use macros from bp-asm.h.
26328 (S1): Likewise.
26329 (SIZE): Likewise.
26330 (__mpn_mul_1): Do not use BP_SYM.
26331 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26332 "bp-asm.h".
26333 (PARMS): Do not use macros from bp-asm.h.
26334 (STR): Likewise.
26335 (CHR): Likewise.
26336 (__rawmemchr): Do not use BP_SYM.
26337 (rawmemchr): Do not use BP_SYM in weak_alias.
26338 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26339 (PARMS): Do not use macros from bp-asm.h.
26340 (S): Likewise.
26341 (SIZE): Likewise.
26342 (__mpn_rshift): Do not use BP_SYM.
26343 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26344 (PARMS): Do not use macros from bp-asm.h.
26345 (SIGMSK): Likewise.
26346 (__sigsetjmp): Likewise. Do not use BP_SYM.
26347 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26348 (_start): Do not use BP_SYM.
26349 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26350 (PARMS): Do not use macros from bp-asm.h.
26351 (DEST): Likewise.
26352 (SRC): Likewise.
26353 (__stpcpy): Likewise. Do not use BP_SYM.
26354 (stpcpy): Do not use BP_SYM in weak_alias.
26355 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26356 "bp-asm.h".
26357 (PARMS): Do not use macros from bp-asm.h.
26358 (DEST): Likewise.
26359 (SRC): Likewise.
26360 (LEN): Likewise.
26361 (__stpncpy): Likewise. Do not use BP_SYM.
26362 (stpncpy): Do not use BP_SYM in weak_alias.
26363 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26364 (PARMS): Do not use macros from bp-asm.h.
26365 (STR): Likewise.
26366 (CHR): Likewise.
26367 (strchr): Likewise. Do not use BP_SYM.
26368 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26369 "bp-asm.h".
26370 (PARMS): Do not use macros from bp-asm.h.
26371 (STR): Likewise.
26372 (CHR): Likewise.
26373 (__strchrnul): Likewise. Do not use BP_SYM.
26374 (strchrnul): Do not use BP_SYM in weak_alias.
26375 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26376 "bp-asm.h".
26377 (PARMS): Do not use macros from bp-asm.h.
26378 (STOP): Likewise.
26379 (strcspn): Do not use BP_SYM.
26380 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26381 "bp-asm.h".
26382 (PARMS): Do not use macros from bp-asm.h.
26383 (STR): Likewise.
26384 (STOP): Likewise.
26385 (strpbrk): Likewise. Do not use BP_SYM.
26386 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26387 "bp-asm.h".
26388 (PARMS): Do not use macros from bp-asm.h.
26389 (STR): Likewise.
26390 (CHR): Likewise.
26391 (strrchr): Likewise. Do not use BP_SYM.
26392 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26393 (PARMS): Do not use macros from bp-asm.h.
26394 (SKIP): Likewise.
26395 (strspn): Do not use BP_SYM.
26396 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26397 (PARMS): Do not use macros from bp-asm.h.
26398 (STR): Likewise.
26399 (DELIM): Likewise.
26400 (SAVE): Likewise.
26401 (FUNCTION): Likewise. Do not use BP_SYM.
26402 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26403 aliases.
26404 (strtok_r): Likewise.
26405 (__GI___strtok_r): Likewise.
26406 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26407 (PARMS): Do not use macros from bp-asm.h.
26408 (S1): Likewise.
26409 (S2): Likewise.
26410 (SIZE): Likewise.
26411 (__mpn_sub_n): Do not use BP_SYM.
26412 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26413 "bp-asm.h".
26414 (PARMS): Do not use macros from bp-asm.h.
26415 (S1): Likewise.
26416 (SIZE): Likewise.
26417 (__mpn_submul_1): Do not use BP_SYM.
26418 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26419 <bp-sym.h>.
26420 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26421 and <bp-asm.h>.
26422 (PARMS): Do not use macros from bp-asm.h.
26423 (FLAGS): Likewise.
26424 (PTID): Likewise.
26425 (TLS): Likewise.
26426 (CTID): Likewise.
26427 (__clone): Do not use BP_SYM.
26428 (clone): Do not use BP_SYM in weak_alias.
26429 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26430 and <bp-asm.h>.
26431 (PARMS): Do not use macros from bp-asm.h.
26432 (LEN): Likewise.
26433 (__mmap64): Do not use BP_SYM.
26434 (mmap64): Do not use BP_SYM in weak_alias.
26435 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26436 <bp-sym.h> and <bp-asm.h>.
26437 (PARMS): Do not use macros from bp-asm.h.
26438 (__posix_fadvise64_l64): Do not use BP_SYM.
26439 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26440 (PARMS): Do not use macros from bp-asm.h.
26441 (NSOPS): Likewise.
26442 (semtimedop): Do not use BP_SYM.
26443 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26444 and <bp-asm.h>.
26445
582a3cff
AM
264462013-02-21 Allan McRae <allan@archlinux.org>
26447
26448 * manual/message.texi (Charset conversion in gettext):
26449 Move @end statement to beginning of line.
26450
bab8a695
SP
264512013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26452
80945231
SP
26453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26454 static.
26455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26456 Likewise.
26457
bab8a695
SP
26458 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26459 (denorm): Likewise.
26460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26462
e21d7aa7
AK
264632013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26464
26465 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26466 tail-call to the resolved function if pltexit isn't needed.
26467
4c7a4263
SP
264682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26469
26470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26471 or Y being zero as being unlikely.
26472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26473 Likewise.
26474
41f49342
CD
264752013-02-20 Carlos O'Donell <carlos@redhat.com>
26476
26477 * manual/nss.texi (System Databases and Name Service Switch):
26478 Remove frobnicate @pxref.
26479
50022a93
TS
264802013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26481
26482 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26483 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26484
08cbd996
PM
264852013-02-20 Petr Machata <pmachata@redhat.com>
26486
26487 * elf/elf.h (R_ARM_TARGET1): New macro.
26488 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26489 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26490 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26491 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26492 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26493 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26494 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26495 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26496 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26497 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26498 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26499 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26500 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26501 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26502 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26503 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26504 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26505 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26506 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26507 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26508 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26509 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26510 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26511 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26512 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26513 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26514 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26515 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26516 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26517 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26518 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26519 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26520 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26521 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26522 (R_ARM_THM_GOT_BREL12): Likewise.
26523 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26524 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26525 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26526 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26527 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26528 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26529 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26530 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26531 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26532
c7b275d6
TS
265332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26534
26535 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26536 __attribute_used__ to __attribute__ ((unused)).
26537
20cd7fb3
SP
265382013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26539
26540 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26541 powerpc mpa.c.
26542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26543 comment formatting.
26544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26545
92945b52
JM
265462013-02-19 Joseph Myers <joseph@codesourcery.com>
26547
26548 [BZ #13550]
26549 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26550 Remove macro.
26551 (ENTER): Remove both macro definitions.
26552 (LEAVE): Likewise.
26553 (CHECK_BOUNDS_LOW): Likewise.
26554 (CHECK_BOUNDS_HIGH): Likewise.
26555 (CHECK_BOUNDS_BOTH): Likewise.
26556 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26557 (RETURN_BOUNDED_POINTER): Likewise.
26558 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26559 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26560 (POP_ERRNO_LOCATION_RETURN): Likewise.
26561 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26562 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26563 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26564 macros.
26565 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26566 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26567 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26568 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26569 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26570 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26571 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26572 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26573 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26574 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26575 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26576 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26577 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26578 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26579 removed macros.
26580 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26581 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26582 macros.
26583 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26584 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26585 * sysdeps/i386/i586/memset.S (memset): Likewise.
26586 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26587 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26588 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26589 macros.
26590 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26591 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26592 Change uses of L(2) to L(out).
26593 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26594 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26595 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26596 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26597 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26598 removed macros.
26599 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26600 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26601 macros.
26602 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26603 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26604 (RETURN): Do not use macro LEAVE.
26605 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26606 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26607 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26608 * sysdeps/i386/i686/memset.S (memset): Likewise.
26609 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26610 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26611 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26612 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26613 Likewise.
26614 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26615 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26616 L(1_2) and L(1_3) into L(1).
26617 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26618 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26619 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26620 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26621 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26622 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26623 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26625 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26626 macros.
26627 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26628 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26629 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26630 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26631 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26632 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26633 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26634 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26635 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26636 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26637 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26638 * sysdeps/i386/strspn.S (strspn): Likewise.
26639 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26640 conditional code.
26641 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26642 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26643 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26644 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26645 L(1_3) into L(1_1).
26646 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26647 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26648 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26649 macros.
26650 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26651
2389741a
JJ
266522013-02-19 Jakub Jelinek <jakub@redhat.com>
26653
26654 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26655 macro.
26656
2016b3cd
SP
266572013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26658
e4f22324
SP
26659 * math/atest-exp.c (exp_mpn): Remove ROUND.
26660 * math/atest-exp2.c (exp_mpn): Likewise.
26661 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26662
2016b3cd
SP
26663 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26664 * stdlib/tst-tls-atexit-lib.c: Likewise.
26665 * stdlib/tst-tls-atexit.c: Likewise.
26666
4be9b544
MF
266672013-02-18 Mike Frysinger <vapier@gentoo.org>
26668
26669 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26670 and __attribute_alloc_size__.
26671
2f62b9ee
MF
266722013-02-18 Mike Frysinger <vapier@gentoo.org>
26673
26674 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26675 __attribute_alloc_size__.
26676 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26677 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26678
6ff444c4
MF
266792013-02-18 Mike Frysinger <vapier@gentoo.org>
26680
26681 * include/programs/xmalloc.h: New file.
26682 * catgets/gencat.c: Include it.
26683 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26684 * elf/pldd.c: Likewise.
26685 * iconv/iconv_charmap.c: Likewise.
26686 * iconv/iconvconfig.c: Likewise.
26687 * iconv/strtab.c: Likewise.
26688 * locale/programs/locale.c: Likewise.
26689 * locale/programs/localedef.h: Likewise.
26690 * locale/programs/simple-hash.c: Likewise.
26691 * nscd/nscd.h: Likewise.
26692 * nss/makedb.c: Likewise.
26693 * sysdeps/generic/ldconfig.h: Likewise.
26694
be179c8a
SP
266952013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26696
ba384f6e
SP
26697 * Versions.def: Add GLIBC_2.18.
26698 * include/link.h (struct link_map): New member l_tls_dtor_count.
26699 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26700 (__call_tls_dtors): Likewise.
26701 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26702 __cxa_thread_atexit_impl.
26703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26704 Likewise.
26705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26706 Likewise.
26707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26708 Likewise.
26709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26710 Likewise.
26711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26713 Likewise.
26714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26715 Likewise.
26716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26718 Likewise.
26719 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26720 (tests): Add test case tst-tls-atexit.
26721 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26722 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26723 (GLIBC_PRIVATE): Add __call_tls_dtors.
26724 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26725 for libstdc++.
26726 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26727 * stdlib/tst-tls-atexit.c: New test case.
26728 * stdlib/tst-tls-atexit-lib.c: New test case.
26729
ffaa74cf 26730 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26731
be179c8a
SP
26732 * elf/Versions (ld): Add _dl_find_dso_for_object.
26733 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26734 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26735 (dl_open_worker): Use _dl_find_dso_for_object.
26736 * elf/dl-sym.c (do_sym): Likewise.
26737 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26738
f78b5caa
AK
267392013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26740
26741 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26742 Syntactic changes only.
26743 (_dl_runtime_profile): Do a tail-call to the resolved function.
26744
29691210
JM
267452013-02-17 Joseph Myers <joseph@codesourcery.com>
26746
26747 [BZ #13550]
26748 * sysdeps/x86_64/bp-asm.h: Remove file.
26749 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26750 <bp-sym.h> and <bp-asm.h>.
26751 (__clone): Do not use BP_SYM.
26752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26753 <bp-sym.h> and <bp-asm.h>.
26754 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26755 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26756 "bp-asm.h".
26757 (_setjmp): Do not use BP_SYM.
26758 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26759 "bp-asm.h".
26760 (setjmp): Do not use BP_SYM.
26761 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26762 libc_hidden_def.
26763 (mempcpy): Do not use BP_SYM in weak_alias.
26764 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26765 "bp-asm.h".
26766 (strchr): Do not use BP_SYM.
26767 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26768 "bp-asm.h".
26769 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26770 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26771 (_start): Do not use BP_SYM.
26772 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26773 "bp-asm.h".
26774 (strcat): Do not use BP_SYM.
26775 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26776 "bp-asm.h".
26777 (STRCMP): Do not use BP_SYM.
26778 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26779 "bp-asm.h".
26780 (STRCPY): Do not use BP_SYM.
26781 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26782 "bp-asm.h".
26783 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26784 "bp-asm.h".
26785 (FUNCTION): Do not use BP_SYM.
26786 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26787 weak_alias.
26788 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26789
f238fd19
AJ
267902013-02-17 Andreas Jaeger <aj@suse.de>
26791
26792 * time/Versions: Sort entries.
26793 * string/Versions: Likewise.
26794 * resolv/Versions: Likewise.
26795 * posix/Versions: Likewise.
26796 * iconv/Versions: Likewise.
26797 * elf/Versions: Likewise.
26798 * wcsmbs/Versions: Likewise.
26799
bd07f23c 268002013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 26801
22af19f9
SP
26802 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26803 loop termination condition.
26804
4709fe76
SP
26805 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26806 variable to calculate EZ.
26807 (__sqr): Likewise.
2d0e0f29
SP
26808
26809 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26810 the lower precision input.
26811
daaa7713
JM
268122013-02-15 Joseph Myers <joseph@codesourcery.com>
26813
26814 [BZ #13550]
26815 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26816 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26817 (run-via-rtld-prefix): Do not handle %-bp tests.
26818 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26819 (all-object-suffixes): Remove .ob.
26820 (bppfx): Remove variable.
26821 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26822 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26823 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26824 [$(build-bounded) = yes] (libtype.ob): Likewise.
26825 * Makerules (elide-routines.ob): Remove variable.
26826 (do-tests-clean): Do not handle *-bp.out.
26827 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26828 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26829 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26830 (tests): Do not include $(tests-bp.out).
26831 (xtests): Do not include $(xtests-bp.out).
26832 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26833 [$(build-bounded) = yes] ($(addprefix
26834 $(objpfx),$(binaries-bounded))): Remove rule.
26835 ($(objpfx)%-bp.out): Remove rule.
26836 * config.make.in (build-bounded): Remove variable.
26837 * crypt/Makefile [$(build-bounded) = yes]
26838 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26839 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26840 append to variable.
26841 [$(build-bounded) = yes] (install-lib): Likewise.
26842 [$(build-bounded) = yes] (generated): Likewise.
26843 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26844 Remove rule.
26845 * intl/Makefile [$(build-bounded) = yes]
26846 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26847 * math/Makefile [$(build-bounded) = yes]
26848 ($(tests:%=$(objpfx)%-bp): Likewise.
26849 * misc/Makefile [$(build-bounded) = yes]
26850 ($(objpfx)tst-tsearch-bp): Likewise.
26851 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26852 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26853 Remove dependency.
26854 * string/Makefile (o-objects.ob): Remove variable.
26855 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26856 (CFLAGS-.ob): Remove variable.
26857 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26858 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26859 both definitions of variable.
26860 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26861 (ASFLAGS-.ob): Remove variable.
26862
e97ed6dd
JM
268632013-02-14 Joseph Myers <joseph@codesourcery.com>
26864
2bdd4ca6
JM
26865 [BZ #13550]
26866 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26867 Remove __BOUNDED_POINTERS__ from condition.
26868 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26869 * string/bits/string2.h [!__NO_STRING_INLINES &&
26870 !__BOUNDED_POINTERS__]: Likewise.
26871 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26872 Likewise.
26873 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26874 Remove conditional code.
26875 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26876 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26877 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26878 condition.
26879
e97ed6dd
JM
26880 [BZ #13550]
26881 * csu/libc-start.c: Do not include <bp-sym.h>.
26882 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26883 * elf/dl-open.c: Do not include <bp-sym.h>.
26884 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26885 * math/fegetenv.c: Do not include <bp-sym.h>.
26886 (fegetenv): Do not use BP_SYM in versioned symbols.
26887 * nptl/sysdeps/pthread/bits/libc-lockP.h
26888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26889 <bp-sym.h>.
26890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26891 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26893 (__pthread_mutex_destroy): Likewise.
26894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26895 (__pthread_mutex_lock): Likewise.
26896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26897 (__pthread_mutex_trylock): Likewise.
26898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26899 (__pthread_mutex_unlock): Likewise.
26900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26901 (__pthread_mutexattr_init): Likewise.
26902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26903 (__pthread_mutexattr_destroy): Likewise.
26904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26905 (__pthread_mutexattr_settype): Likewise.
26906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26907 (__pthread_rwlock_init): Likewise.
26908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26909 (__pthread_rwlock_destroy): Likewise.
26910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26911 (__pthread_rwlock_rdlock): Likewise.
26912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26913 (__pthread_rwlock_tryrdlock): Likewise.
26914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26915 (__pthread_rwlock_wrlock): Likewise.
26916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26917 (__pthread_rwlock_trywrlock): Likewise.
26918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26919 (__pthread_rwlock_unlock): Likewise.
26920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26921 (__pthread_key_create): Likewise.
26922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26923 (__pthread_setspecific): Likewise.
26924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26925 (__pthread_getspecific): Likewise.
26926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26927 Likewise.
26928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26929 (_pthread_cleanup_push_defer): Likewise.
26930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26931 (_pthread_cleanup_pop_restore): Likewise.
26932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26933 (pthread_setcancelstate): Likewise.
26934 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26935 <bp-sym.h>.
26936 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26937 (memchr): Do not use BP_SYM in weak_alias.
26938 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26939 (fegetenv): Do not use BP_SYM in versioned symbols.
26940 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26941 (fesetenv): Do not use BP_SYM in versioned symbols.
26942 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26943 (feupdateenv): Do not use BP_SYM in versioned symbols.
26944 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26945 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26946 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26947 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26948 (open64): Do not use BP_SYM in weak_alias.
26949 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26950 (fegetenv): Do not use BP_SYM in versioned symbols.
26951 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26952 (fesetenv): Do not use BP_SYM in versioned symbols.
26953 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26954 (feupdateenv): Do not use BP_SYM in versioned symbols.
26955 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26956 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26957 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26958 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26959 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26960 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26961 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26962 <bp-sym.h>.
26963 (__libc_start_main): Do not use BP_SYM.
26964
d6752ccd
SP
269652013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26966
cb57ce60
SP
26967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26968 redundant return line.
26969 (norm): Likewise.
26970 (denorm): Likewise.
26971 (dbl_mp): Likewise.
26972 (sub_magnitudes): Likewise.
26973 (__add): Likewise.
26974 (__sub): Likewise.
26975 (__mul): Likewise.
26976 (__inv): Likewise.
26977 (__dvd): Likewise.
26978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26979 (norm): Likewise.
26980 (denorm): Likewise.
26981 (dbl_mp): Likewise.
26982 (sub_magnitudes): Likewise.
26983 (__add): Likewise.
26984 (__sub): Likewise.
26985 (__mul): Likewise.
26986 (__inv): Likewise.
26987 (__dvd): Likewise.
26988
f414520d
SP
26989 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26990 instead of __mul.
26991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26992 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26993 (cc32): Likewise.
26994
d6752ccd
SP
26995 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26996 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26997 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26998 of __mul for squares.
26999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27000 function
27001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27002 Likewise.
27003 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27004 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27005
70d9946a
JM
270062013-02-13 Joseph Myers <joseph@codesourcery.com>
27007
27008 [BZ #13550]
27009 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27010 code.
27011 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27012 prototype or function definition. Rename ubp_* variables and
27013 parameters. Remove argv definitions conditional on
27014 [__BOUNDED_POINTERS__].
27015 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27016 * elf/dl-runtime.c (_dl_fixup): Likewise.
27017 * include/set-hooks.h (RUN_HOOK): Likewise.
27018 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27019 definition.
27020 * string/strcpy.c (strcpy): Do not use __unbounded.
27021 * sysdeps/generic/frame.h (struct layout): Likewise.
27022 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27023 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27024 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27025 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27026 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27027 (__backtrace): Likewise.
27028 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27029 use __ptrvalue.
27030 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27031 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27032 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27033 Likewise.
27034 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27035 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27036 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27037 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27038 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27039 Do not use __unbounded.
27040 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27041 Rename __unboundedrlimits parameter to rlimits in prototype.
27042 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27043 Do not use __unbounded.
27044 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27045 not use __ptrvalue.
27046 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27047 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27048 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27049 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27050 __ptrvalue or __unbounded.
27051 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27052 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27053 use __unbounded.
27054 (__new_msgctl): Do not use __ptrvalue.
27055 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27056 __unbounded.
27057 (__libc_msgrcv): Do not use __ptrvalue.
27058 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27059 startup_info): Do not use __unbounded.
27060 (__libc_start_main): Likewise. Rename ubp_* variables and
27061 parameters. Remove argv definitions conditional on
27062 [__BOUNDED_POINTERS__].
27063 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27064 __ptrvalue.
27065 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27066 use __unbounded.
27067 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27068 or __ptrvalue.
27069 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27070 use __unbounded.
27071 (__new_shmctl): Do not use __ptrvalue.
27072 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27073 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27074 Likewise.
27075 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27076 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27077 (__libc_sigaction): Likewise.
27078 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27079 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27080 Likewise.
27081 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27082
cc7834d6
OB
270832013-02-13 Ondřej Bílka <neleai@seznam.cz>
27084
ffb1ec7b 27085 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27086
27087 * string/mempcpy.c: Implement by calling memcpy.
27088
bdf02814
SP
270892013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27090
c2af38aa
SP
27091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27092
4e92d59e
SP
27093 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27094 evaluation.
27095
909279a5
SP
27096 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27097 values in the mantissa.
27098
bdf02814
SP
27099 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27100 minimize writes to Z.
27101 (sub_magnitudes): Simplify code a bit.
27102
cd525923
RM
271032013-02-12 Roland McGrath <roland@hack.frob.com>
27104
27105 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27106 from the message. The linker prefixes all warnings with that already.
27107
7e2f0d2d
AS
271082013-02-12 Andreas Schwab <schwab@suse.de>
27109
a445af0b
AS
27110 [BZ #15078]
27111 * posix/regexec.c (extend_buffers): Add parameter min_len.
27112 (check_matching): Pass minimum needed length.
27113 (clean_state_log_if_needed): Likewise.
27114 (get_subexp): Likewise.
27115 * posix/Makefile (tests): Add bug-regex34.
27116 (bug-regex34-ENV): Define.
27117 * posix/bug-regex34.c: New file.
27118
7e2f0d2d
AS
27119 [BZ #11561]
27120 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27121 elements compare against the byte sequence of it, not its name.
27122 * posix/Makefile (tests): Add bug-regex35.
27123 (bug-regex35-ENV): Define.
27124 * posix/bug-regex35.c: New file.
27125
a175b684
TV
271262013-02-11 Tom de Vries <tom@codesourcery.com>
27127
27128 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27129 comment.
27130 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27131 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27132 (CHECK_EOL): Add undef.
27133
310998fe 271342013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27135
27136 * bits/stdlib-bsearch.h: New file.
27137 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27138 * stdlib/stdlib.h: Likewise.
41eda41d 27139
8ded91fb
RM
271402013-02-11 Roland McGrath <roland@hack.frob.com>
27141
27142 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27143 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27144 declaration.
27145 * manual/search.texi (Array Search Function): Add missing const in
27146 lfind prototype.
27147 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27148 declaration to use rlim_t.
27149 (Basic Scheduling Functions): Remove erroneous const from
27150 sched_getparam prototype. Remove erroneous * from
27151 sched_get_priority_max and sched_get_priority_min prototypes.
27152 (Resource Usage): Fix summary @comment on vtimes to refer to
27153 sys/vtimes.h rather than vtimes.h.
27154 Add missing *s in vtimes prototype.
27155 (Limits on Resources): Fix ulimit prototype to return long int.
27156 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27157 prototypes to use long int rather than double.
27158 (BSD Random): Fix initstate and setstate to use char *, not void *.
27159 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27160 prototype to make second argument 'struct aiocb64 *const[]'.
27161 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27162 (Status of AIO Operations): Remove erroneous const in aio_return and
27163 aio_return64 prototypes.
27164 (Synchronizing I/O): Fix sync prototype to return void.
27165 * manual/startup.texi (Suboptions): Remove an erroneous const in
27166 getsubopt prototype.
27167 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27168 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27169 use size_t rather than int.
27170 (Scanning All Users): Likewise for getpwent_r.
27171 (Setting Groups): Add missing const to setgroups prototype.
27172 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27173 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27174 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27175 'const void *' rather than 'const char *'.
27176 (Host Address Functions): Likewise for inet_ntop.
27177 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27178 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27179 ssize_t for return value.
27180 (Sending Data): Likewise for send, sendto, sendmsg.
27181 (Socket Option Functions): Add a missing const in setsockopt prototype.
27182 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27183 use wchar_t for the argument.
27184 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27185 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27186 take no arguments.
27187 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27188 double/float/long double for second argument.
27189 Fix return types of significand, significandf, significandl.
27190 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27191 argument in fchmod prototype.
27192 (File Owner): Use uid_t and gid_t in fchown prototype.
27193 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27194 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27195 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27196 use 'const struct dirent **' as argument types to CMP function pointer
27197 argument.
27198 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27199 (File Times): Fix summary magic @comment for struct utimbuf and utime
27200 to refer to utime.h, not time.h.
27201 * manual/string.texi (Argz Functions): Add missing const in
27202 argz_extract and argz_next prototypes.
27203 (Finding Tokens in a String): Likewise for basename.
27204 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27205 (Copying and Concatenation): Fix typo in wmemmove prototype.
27206 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27207 (Signal Stack): Remove erroneous const in sigstack prototype.
27208 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27209 prototype.
27210 (Simple Calendar Time): Likewise for stime.
27211 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27212 prototype.
27213 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27214 say sys/sysctl.h instead.
27215 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27216 and vsyslog prototypes.
27217
fe77fe6d
TV
272182013-02-11 Tom de Vries <tom@codesourcery.com>
27219
27220 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27221 Remove.
27222
3a09b620
RM
272232013-02-11 Roland McGrath <roland@hack.frob.com>
27224
27225 * misc/sys/mman.h: Fix typo in mremap comment.
27226
550a0b89
RM
272272013-02-08 Roland McGrath <roland@hack.frob.com>
27228
27229 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27230 the '\0' terminator.
27231
a2da1673
JM
272322013-02-08 Joseph Myers <joseph@codesourcery.com>
27233
27234 [BZ #13550]
27235 * debug/segfault.c: Don't include <bp-checks.h>.
27236 * sysdeps/generic/bp-checks.h: Remove file.
27237 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27238 (__GETDENTS): Don't use CHECK_N.
27239 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27240 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27241 (__getgroups): Don't use CHECK_N.
27242 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27243 (setgroups): Don't use CHECK_N.
27244 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27245 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27246 (__libc_msgrcv): Don't use CHECK_N.
27247 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27248 (__libc_msgsnd): Don't use CHECK_N.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27250 <bp-checks.h>.
27251 (__libc_pread): Don't use CHECK_N.
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27253 include <bp-checks.h>.
27254 (__libc_pread64): Don't use CHECK_N.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27256 include <bp-checks.h>.
27257 (__libc_pwrite): Don't use CHECK_N.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27259 include <bp-checks.h>.
27260 (__libc_pwrite64): Don't use CHECK_N.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27262 <bp-checks.h>.
27263 (__libc_pread): Don't use CHECK_N.
27264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27265 include <bp-checks.h>.
27266 (__libc_pread64): Don't use CHECK_N.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27268 include <bp-checks.h>.
27269 (__libc_pwrite): Don't use CHECK_N.
27270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27271 include <bp-checks.h>.
27272 (__libc_pwrite64): Don't use CHECK_N.
27273 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27274 (do_pread): Don't use CHECK_N.
27275 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27276 (do_pread64): Don't use CHECK_N.
27277 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27278 (do_pwrite): Don't use CHECK_N.
27279 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27280 (do_pwrite64): Don't use CHECK_N.
27281 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27282 (__libc_readv): Don't use CHECK_N.
27283 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27284 (semop): Don't use CHECK_N.
27285 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27286 <bp-checks.h>.
27287 (semtimedop): Don't use CHECK_N.
27288 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27289 (__libc_pread): Don't use CHECK_N.
27290 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27291 <bp-checks.h>.
27292 (__libc_pread64): Don't use CHECK_N.
27293 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27294 <bp-checks.h>.
27295 (__libc_pwrite): Don't use CHECK_N.
27296 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27297 <bp-checks.h>.
27298 (__libc_pwrite64): Don't use CHECK_N.
27299 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27300 <bp-checks.h>.
27301 (__libc_msgrcv): Don't use CHECK_N.
27302 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27303 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27304 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27305 (__libc_writev): Don't use CHECK_N.
27306
b84660a8
RM
273072013-02-08 Roland McGrath <roland@hack.frob.com>
27308
7f3e75f8
RM
27309 * string/strcpy.c: Removed unused variable.
27310
b84660a8
RM
27311 * Makeconfig (+sysdep-includes): Define with := rather than =.
27312 Use an existing include/ subdir of each sysdeps dir before it.
27313
471514d3
CD
273142013-02-08 Carlos O'Donell <carlos@redhat.com>
27315
27316 * nscd/connection.c (register_traced_file): Comment function.
27317 [HAVE_INOTIFY] (union __inev): Define.
27318 [HAVE_INOTIFY] (inotify_check_files): New function.
27319 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27320 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27321 clear_db_cache.
27322 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27323
b2d3c3be
CD
273242013-02-08 Carlos O'Donell <carlos@redhat.com>
27325
27326 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27327 loaded if not already and that a failure is permanent.
27328
b39949d2
CD
273292013-02-08 Carlos O'Donell <carlos@redhat.com>
27330
ddacd1db 27331 [BZ #15006]
b39949d2
CD
27332 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27333 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27334
b2c9eff4
JM
273352013-02-08 Joseph Myers <joseph@codesourcery.com>
27336
f3aae3f3
JM
27337 [BZ #13550]
27338 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27339 (CHECK_1_NULL_OK): Likewise.
27340 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27341 (__fxstat): Do not use CHECK_1.
27342 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27343 <bp-checks.h>.
27344 (___fxstat64): Do not use CHECK_1.
27345 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27346 <bp-checks.h>.
27347 (__fxstatat): Do not use CHECK_1.
27348 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27349 <bp-checks.h>.
27350 (__fxstatat64): Do not use CHECK_1.
27351 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27352 <bp-checks.h>.
27353 (__fxstat): Do not use CHECK_1.
27354 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27355 <bp-checks.h>.
27356 (__fxstatat): Do not use CHECK_1.
27357 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27358 <bp-checks.h>.
27359 (__getresgid): Do not use CHECK_1.
27360 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27361 <bp-checks.h>.
27362 (__getresuid): Do not use CHECK_1.
27363 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27364 <bp-checks.h>.
27365 (__lxstat): Do not use CHECK_1.
27366 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27367 <bp-checks.h>.
27368 (__old_msgctl): Do not use CHECK_1.
27369 (__new_msgctl): Likewise.
27370 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27371 <bp-checks.h>.
27372 (__new_setrlimit): Do not use CHECK_1.
27373 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27374 <bp-checks.h>.
27375 (__old_shmctl): Do not use CHECK_1.
27376 (__new_shmctl): Likewise.
27377 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27378 <bp-checks.h>.
27379 (__xstat): Do not use CHECK_1.
27380 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27381 (__lxstat): Do not use CHECK_1.
27382 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27383 <bp-checks.h>.
27384 (___lxstat64): Do not use CHECK_1.
27385 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27386 (__old_msgctl): Do not use CHECK_1.
27387 (__new_msgctl): Likewise.
27388 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27389 <bp-checks.h>.
27390 (__gettimeofday): Do not use CHECK_1.
27391 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27392 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27393 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27394 <bp-checks.h>.
27395 (__gettimeofday): Do not use CHECK_1.
27396 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27397 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27398 (__new_shmctl): Do not use CHECK_1.
27399 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27400 <bp-checks.h>.
27401 (do_sigtimedwait): Do not use CHECK_1.
27402 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27403 <bp-checks.h>.
27404 (do_sigwaitinfo): Do not use CHECK_1.
27405 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27406 <bp-checks.h>.
27407 (msgctl): Do not use CHECK_1.
27408 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27409 <bp-checks.h>.
27410 (shmctl): Do not use CHECK_1.
27411 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27412 (ustat): Do not use CHECK_1.
27413 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27414 <bp-checks.h>.
27415 (__fxstat): Do not use CHECK_1.
27416 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27417 <bp-checks.h>.
27418 (__fxstatat): Do not use CHECK_1.
27419 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27420 <bp-checks.h>.
27421 (__lxstat): Do not use CHECK_1.
27422 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27423 <bp-checks.h>.
27424 (__xstat): Do not use CHECK_1.
27425 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27426 (__xstat): Do not use CHECK_1.
27427 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27428 (___xstat64): Do not use CHECK_1.
27429
b2c9eff4
JM
27430 [BZ #13550]
27431 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27432 definitions.
27433 (CHECK_BOUNDS_HIGH): Likewise.
27434 * string/strcpy.c: Do not include <bp-checks.h>.
27435 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27436
f1d70dad
RM
274372013-02-07 Roland McGrath <roland@hack.frob.com>
27438
27439 * nscd/nscd-client.h (__nscd_drop_map_ref):
27440 Add __attribute__ ((unused)).
27441 * nis/nss-nisplus.h (niserr2nss): Likewise.
27442
27443 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27444 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27445
27446 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27447 Remove inline keyword.
27448 * include/rounding-mode.h (round_away): Likewise.
27449 * libio/wfileops.c (adjust_wide_data): Likewise.
27450 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27451 (__m128i_strloadu_tolower): Likewise.
27452 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27453 (__m128i_strloadu_tolower): Likewise.
27454 * time/mktime.c (ydhms_diff): Likewise.
27455 * locale/elem-hash.h (elem_hash): Likewise.
27456 * locale/setlocale.c (setdata): Likewise.
27457 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27458 (re_string_wchar_at): Likewise.
27459 (bitset_not, bitset_merge, bitset_mask): Likewise.
27460 [!(__GNUC__ > 3)] (inline): Remove macro.
27461 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27462 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27463 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27464 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27465 * string/memcmp.c (memcmp_bytes): Likewise.
27466 * locale/programs/locarchive.c (compute_hashval): Likewise.
27467 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27468 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27469 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27470 * nss/getent.c (print_rpc, print_protocols): Likewise.
27471 (print_passwd, print_group, print_aliases): Likewise.
27472 * nis/nss-nisplus.h (niserr2nss): Likewise.
27473 * nscd/connections.c (restart_p): Likewise.
27474 Change return type to bool.
27475
eab55bfb
RM
274762013-02-05 Roland McGrath <roland@hack.frob.com>
27477
7bd642f5
RM
27478 * Makeconfig (all-Depend-files): Add existing
27479 $(sorted-subdirs:=/Depend) files.
27480 (all-subdirs): Remove nss.
27481 * sysdeps/unix/inet/Subdirs: Add it here instead.
27482 * hesiod/Depend: New file.
27483
573c29b2
RM
27484 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27485 instead of calling alloca.
27486
b2e25af0
RM
27487 * io/lseek.c (__lseek): Rename to __libc_lseek.
27488 Define __lseek as an alias.
27489
eab55bfb
RM
27490 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27491
9a0d1941
CD
274922013-02-04 Carlos O'Donell <carlos@redhat.com>
27493
27494 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27495 else clause and remove check for non-standard endianness.
27496
b83bbec4
DM
274972013-02-04 David S. Miller <davem@davemloft.net>
27498
27499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27500
6277fdab
JM
275012013-02-04 Joseph Myers <joseph@codesourcery.com>
27502
27503 [BZ #13550]
27504 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27505 (__ubp_memchr): Remove prototype.
27506 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27507 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27508 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27509 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27510 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27511 Remove alias.
27512 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27513 (__ubp_memchr): Likewise.
27514 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27515 (__ubp_memchr): Likewise.
27516 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27517 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27518 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27519 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27520 CHECK_STRING.
27521 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27522 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27523 (__getcwd): Do not use CHECK_STRING.
27524 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27525 <bp-checks.h>.
27526 (__real_chown): Do not use CHECK_STRING.
27527 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27528 <bp-checks.h>.
27529 (fchownat): Do not use CHECK_STRING.
27530 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27531 CHECK_STRING.
27532 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27533 <bp-checks.h>.
27534 (__lchown): Do not use CHECK_STRING.
27535 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27536 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27537 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27538 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27540 include <bp-checks.h>.
27541 (truncate64): Do not use CHECK_STRING.
27542 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27543 <bp-checks.h>.
27544 (__real_chown): Do not use CHECK_STRING.
27545 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27546 <bp-checks.h>.
27547 (__lchown): Do not use CHECK_STRING.
27548 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27549 <bp-checks.h>.
27550 (__chown): Do not use CHECK_STRING.
27551 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27552 <bp-checks.h>.
27553 (truncate64): Do not use CHECK_STRING.
27554 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27555 Likewise.
27556 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27557 (__xmknod): Do not use CHECK_STRING.
27558 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27559 <bp-checks.h>.
27560 (__xmknodat): Do not use CHECK_STRING.
27561 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27562 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27563
903ae060
AS
275642013-02-04 Andreas Schwab <schwab@suse.de>
27565
27566 [BZ #14142]
27567 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27568 * include/netdb.h: Likewise for h_errno.
27569 * elf/tst-stackguard1.c: Include <tls.h>.
27570
542f9466
JK
275712013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27572
27573 * elf/link.h (struct link_map): Extend the l_addr comment.
27574 * include/link.h (struct link_map): Likewise.
27575
e782a927
JM
275762013-02-01 Joseph Myers <joseph@codesourcery.com>
27577
27578 [BZ #13550]
27579 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27580 (BOUNDED_1): Remove macro.
27581 * debug/backtrace.c: Don't include <bp-checks.h>.
27582 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27583 (__backtrace): Likewise.
27584 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27585 <bp-checks.h>.
27586 (__backtrace): Don't use BOUNDED_1.
27587 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27588 <bp-checks.h>.
27589 (__backtrace): Don't use BOUNDED_1.
27590 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27591 (__backtrace): Don't use BOUNDED_1.
27592 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27593 (shmat): Don't use BOUNDED_N.
27594
8cf28c5e
JM
275952013-01-31 Joseph Myers <joseph@codesourcery.com>
27596
3a7ac8a0
JM
27597 [BZ #13550]
27598 * sysdeps/generic/bp-start.h: Remove file.
27599 * csu/libc-start.c: Don't include <bp-start.h>.
27600 (LIBC_START_MAIN): Set up __environ directly instead of using
27601 INIT_ARGV_and_ENVIRON.
27602 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27603 <bp-start.h>.
27604
f3499f95
JM
27605 [BZ #13550]
27606 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27607 definitions.
27608 (CHECK_FCNTL): Likewise.
27609 (CHECK_N_PAGES): Likewise.
27610
32a45bea
JM
27611 [BZ #13550]
27612 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27613 definitions.
27614 (CHECK_SIGSET_NULL_OK): Likewise.
27615 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27616 <bp-checks.h>.
27617 (sigpending): Don't use CHECK_SIGSET.
27618 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27619 <bp-checks.h>.
27620 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27621 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27622 <bp-checks.h>.
27623 (do_sigsuspend): Don't use CHECK_SIGSET.
27624 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27625 use CHECK_SIGSET.
27626 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27627 (do_sigwait): Don't use CHECK_SIGSET.
27628 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27629 use CHECK_SIGSET.
27630 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27631 include <bp-checks.h>.
27632 (sigpending): Don't use CHECK_SIGSET.
27633 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27634 include <bp-checks.h>.
27635 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27636 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27637 <bp-checks.h>.
27638 (sigpending): Don't use CHECK_SIGSET.
27639 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27640 <bp-checks.h>.
27641 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27642
2e8a5c8c
JM
27643 [BZ #13550]
27644 * sysdeps/generic/bp-semctl.h: Remove file.
27645 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27646 <bp-checks.h> and <bp-semctl.h>.
27647 (__old_semctl): Don't use CHECK_SEMCTL.
27648 (__new_semctl): Likewise.
27649 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27650 and <bp-semctl.h>.
27651 (__old_semctl): Don't use CHECK_SEMCTL.
27652 (__new_semctl): Likewise.
27653 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27654 <bp-checks.h> and <bp-semctl.h>.
27655 (__old_semctl): Don't use CHECK_SEMCTL.
27656 (__new_semctl): Likewise.
27657 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27658 <bp-checks.h> and <bp-semctl.h>.
27659 (semctl): Don't use CHECK_SEMCTL.
27660
c2d54929
JM
27661 [BZ #13550]
27662 * Makerules (elide-bp-thunks): Remove variable.
27663 (elide-routines.oS): Don't use $(elide-bp-thunks).
27664 (elide-routines.os): Likewise.
27665 (elide-routines.o): Likewise.
27666 (elide-routines.op): Likewise.
27667 (elide-routines.og): Likewise.
27668 (objects): Don't use $(bp-thunks).
27669 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27670 include.
27671 (common-generated): Do not add s-proto-bp.d.
27672 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27673 (int): Likewise.
27674 (typ): Likewise.
27675 Do not generate makefile rules for bounded-pointer thunks.
27676 * sysdeps/generic/bp-thunks.h: Remove file.
27677 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27678 * sysdeps/unix/s-proto-bp.S: Likewise.
27679
8cf28c5e
JM
27680 [BZ #15062]
27681 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27682 parts of result separately when argument is not close to line from
27683 -i to i and one part of argument is small.
27684 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27685 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27686 * math/libm-test.inc (cacos_test): Add more tests.
27687 (casin_test): Likewise.
27688 (casinh_test): Likewise.
27689 * sysdeps/i386/fpu/libm-test-ulps: Update.
27690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27691
c4e33b8d
DM
276922013-01-31 David S. Miller <davem@davemloft.net>
27693
27694 * po/de.po: Update from translation team.
27695
3b60b421
MK
276962013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27697
27698 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27699
bb931195
TS
277002013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27701
b5a5da23
TS
27702 * configure.in (_AC_PROG_CC_C89): New definition.
27703 * configure: Regenerate.
27704
bb931195
TS
27705 * configure.in (AC_PROG_CPP): New definition.
27706 * configure: Regenerate.
27707
8c53a12c
JM
277082013-01-23 Joseph Myers <joseph@codesourcery.com>
27709
27710 * debug/tst-backtrace.h: New file.
27711 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27712 (ret): Remove variable.
27713 (x): Likewise.
27714 (FAIL): Remove macro.
27715 (NO_INLINE): Likewise.
27716 (fn1): Use match function instead of strstr.
27717 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27718 (ret): Remove variable.
27719 (x): Likewise.
27720 (FAIL): Remove macro.
27721 (NO_INLINE): Likewise.
27722 (fn): Use match function instead of strstr.
27723 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27724 (ret): Remove variable.
27725 (x): Likewise.
27726 (FAIL): Remove macro.
27727 (NO_INLINE): Likewise.
27728 (handle_signal): Use match function instead of strstr.
27729 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27730 (ret): Remove variable.
27731 (x): Likewise.
27732 (FAIL): Remove macro.
27733 (NO_INLINE): Likewise.
27734 (handle_signal): Use match function instead of strstr.
27735
4858fa2a
RM
277362013-01-23 Roland McGrath <roland@hack.frob.com>
27737
27738 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27739
bae8e7f5
DM
277402013-01-23 David S. Miller <davem@davemloft.net>
27741
27742 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27743 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27744 argument of CAS if possible.
27745 * sysdeps/sparc/sparc64/bits/atomic.h
27746 (__arch_compare_and_exchange_val_32_acq): Likewise.
27747 (__arch_compare_and_exchange_val_64_acq): Likewise.
27748
9cbbc4ae
PT
277492013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27750
27751 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27752 * sysdeps/posix/ulimit.c: ... this.
92a601b8 27753 Include <limits.h>.
67b3f58c 27754 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 27755
5655a0b5
AC
277562013-01-23 Adam Conrad <adconrad@0c3.net>
27757
27758 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27759 (LDFLAGS-tst-array5): Likewise.
27760
052aff95
JM
277612013-01-23 Joseph Myers <joseph@codesourcery.com>
27762
27763 [BZ #15036]
27764 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27765 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27766 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27767 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27768
7c1e01aa
DM
277692013-01-21 David S. Miller <davem@davemloft.net>
27770
27771 * sysdeps/sparc/backtrace.c: New file.
27772 * sysdeps/sparc/sparc32/backtrace.h: New file.
27773 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27774 * sysdeps/sparc/sparc64/backtrace.h: New file.
27775 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27776 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27777 -funwind-tables.
27778
ab087e0a
AS
277792013-01-21 Andreas Schwab <schwab@suse.de>
27780
27781 [BZ #15020]
27782 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27783 closed its stdout.
27784
ed689c2f
AS
277852013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27786
27787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27788 "mpa2.h".
27789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27790
31d470ac
JM
277912013-01-18 Joseph Myers <joseph@codesourcery.com>
27792 Mark Mitchell <mark@codesourcery.com>
27793 Tom de Vries <tom@codesourcery.com>
27794 Paul Pluzhnikov <ppluzhnikov@google.com>
27795
27796 * debug/tst-backtrace2.c: New file.
27797 * debug/tst-backtrace3.c: Likewise.
27798 * debug/tst-backtrace4.c: Likewise.
27799 * debug/tst-backtrace5.c: Likewise.
27800 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27801 (CFLAGS-tst-backtrace3.c): Likewise.
27802 (CFLAGS-tst-backtrace4.c): Likewise.
27803 (CFLAGS-tst-backtrace5.c): Likewise.
27804 (LDFLAGS-tst-backtrace2): Likewise.
27805 (LDFLAGS-tst-backtrace3): Likewise.
27806 (LDFLAGS-tst-backtrace4): Likewise.
27807 (LDFLAGS-tst-backtrace5): Likewise.
27808 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27809 tst-backtrace4 and tst-backtrace5.
27810
90567f30 278112013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
27812 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27813
27814 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27815 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27816 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27817 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27819 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27820 "+r" and remove output regs list as redundant. Add explicit inline
27821 asm to specify register of return val to work around compiler codegen
27822 bug. Remove (int) cast on return value. Add return type parameter to
27823 use in macro so that this macro does not truncate return value for
27824 64-bit values.
27825 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27826 pass to INTERNAL_VSYSCALL_NCS.
27827 (INLINE_VSYSCALL): Add 'long int' as return type to
27828 INTERNAL_VSYSCALL_NCS macro invocation.
27829 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27830 INTERNAL_VSYSCALL_NCS macro invocation.
27831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27832
d3b9ea61
SP
278332013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27834
0b57daeb
SP
27835 [BZ #14496]
27836 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27837 Fix application of SIMD FP exception mask.
27838
caa99d06
SP
27839 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27840 mp_no from a power of two.
27841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27842 __mpexp_twomm1. Use __pow_mp.
27843
d3b9ea61
SP
27844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27845 multiplication.
27846
1dbaee3c
DM
278472013-01-17 David S. Miller <davem@davemloft.net>
27848
27849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27850
728d7b43
JM
278512013-01-17 Joseph Myers <joseph@codesourcery.com>
27852
27853 [BZ #15023]
27854 * include/complex.h: Condition contents on [!_COMPLEX_H].
27855 (__kernel_casinhf): New prototype.
27856 (__kernel_casinh): Likewise.
27857 (__kernel_casinhl): Likewise.
27858 * math/Makefile (libm_calls): Add k_casinh.
27859 * math/k_casinh.c: New file.
27860 * math/k_casinhf.c: Likewise.
27861 * math/k_casinhl.c: Likewise.
27862 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27863 finite nonzero arguments.
27864 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27865 finite nonzero arguments.
27866 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27867 finite nonzero arguments.
27868 * math/s_casinh.c: Do not include <float.h>.
27869 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27870 * math/s_casinhf.c: Do not include <float.h>.
27871 (__casinhf): Move code for finite nonzero arguments to
27872 k_casinhf.c.
27873 * math/s_casinhl.c: Do not include <float.h>.
27874 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27875 redefine.
27876 (__casinhl): Move code for finite nonzero arguments to
27877 k_casinhl.c.
27878 * math/libm-test.inc (cacos_test): Add more tests.
27879 * sysdeps/i386/fpu/libm-test-ulps: Update.
27880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881
2a26ef3a
PT
278822013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27883
27884 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27885 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27886 [!HAVE_MREMAP]: Remove [defined linux] case.
27887 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27888
a897655d
SP
278892013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27890
27891 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27892
881ebe89 278932013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
27894
27895 * elf/elf.h (R_386_SIZE32): New relocation.
27896 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27897 R_386_SIZE32.
27898 (elf_machine_rela): Likewise.
27899 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27900 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27901
59981e9b
JM
279022013-01-17 Joseph Myers <joseph@codesourcery.com>
27903
27904 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27905 (FP_FAST_FMA): Do not define.
27906 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27907 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27908 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27909 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27910 !_SOFT_FLOAT]: Likewise.
27911 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27912 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27913 value.
27914 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27915 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27917 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27918 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27919 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27920 file.
27921
cfa8054f
AS
279222013-01-16 Andreas Schwab <schwab@suse.de>
27923
27924 [BZ #14327]
27925 * include/stdlib.h (__mktemp): Add declaration.
27926 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27927 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27928
dd930cc5
SP
279292013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27930
881ebe89
SP
27931 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27932 definitions.
27933 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27934 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27935 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27936 definitions here.
27937 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27938 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27939 definitions.
27940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27941 and ONE.
27942 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27943 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27945 definitions.
27946 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27947 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27948 definitions.
27949 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 27950
dd930cc5
SP
27951 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27952
c19a9f89
DM
279532013-01-15 David S. Miller <davem@davemloft.net>
27954
1aa61767
DM
27955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27956 trunc{,f} to libm-sysdep_routes.
27957 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27959 file.
27960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27962 file.
27963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27964 file.
27965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27967 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27968 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27969 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27970 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27971 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27972 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27973
c42d5e98
DM
27974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27975 nearbyint{,f} to libm-sysdep_routes.
27976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27978 New file.
27979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27980 file.
27981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27982 New file.
27983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27984 file.
27985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27987 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27988 file.
27989 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27990 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27991 file.
27992 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27993 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27994 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27995
c19a9f89
DM
27996 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27997 libc_feholdexcept and libc_fesetenv.
27998
357679d2
MF
279992013-01-15 Mike Frysinger <vapier@gentoo.org>
28000
28001 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28002
65a82e3d
DM
280032013-01-14 David S. Miller <davem@davemloft.net>
28004
8b954ab9
DM
28005 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28006 (SPARC_ASM_VIS2_IFUNC): Likewise.
28007 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28009 use of 'siam' instruction.
28010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28011 Likewise.
28012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28013 Likewise.
28014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28015 Likewise.
28016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28018 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28019 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28021 file.
28022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28023 file.
28024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28025 file.
28026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28027 file.
28028 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28033 new VIS2 routines.
28034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28037 Likewise.
28038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28043 routines to libm-sysdep_routines.
28044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28045
65a82e3d
DM
28046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28047 fdim/fdimf to libm-sysdep_routines.
28048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28049 file.
28050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28052 file.
28053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28056 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28057 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28058 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28059 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28060
e34ab705
SP
280612013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28062
2a91b573
SP
28063 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28064 to optimize copies.
28065
1066a534
SP
28066 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28069
e34ab705
SP
28070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28071 local variable MPTWO.
28072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28073 Likewise.
28074
aba5e596
MF
280752013-01-13 Mike Frysinger <vapier@gentoo.org>
28076
28077 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28078 GLOB_NOESCAPE.
28079
e557e9e5
MF
280802013-01-13 Mike Frysinger <vapier@gentoo.org>
28081
28082 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28083
0428cec9
MF
280842013-01-13 Mike Frysinger <vapier@gentoo.org>
28085
28086 * manual/pattern.texi (glob_t): Document gl_flags.
28087 (glob64_t): Likewise.
28088
8794a964
DM
280892013-01-11 David S. Miller <davem@davemloft.net>
28090
66438c3f
RM
28091 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28092 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28093 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28094 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28095 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28096 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28097 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28098 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28099 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28100 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28101 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28102 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28103 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28104
4ae4244d
DM
28105 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28106 sparc V9 rather than using V8 code.
28107 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28108 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28109
8794a964
DM
28110 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28111 Move to...
28112 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28113 Here.
28114
6270516e
RM
281152013-01-11 Roland McGrath <roland@hack.frob.com>
28116
28117 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28118 not in the main loop.
28119 * configure: Regenerated.
28120
6a57d931
JM
281212013-01-11 Joseph Myers <joseph@codesourcery.com>
28122
28123 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28124 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28125 to just #else.
28126 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28127 [!__GLIBC_HAVE_LONG_LONG] case.
28128 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28129 condition to just #else.
28130 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28131 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28132 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28133 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28134 unconditional.
28135 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28136 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28137 #elif condition to just #else.
28138 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28139 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28140 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28141 #elif condition to just #else.
28142
0e8529e9
SE
281432013-01-11 Steve Ellcey <sellcey@mips.com>
28144
28145 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28146 (EF_MIPS_ARCH_64): Fix value.
28147 (EF_MIPS_ARCH_32R2): New.
28148 (EF_MIPS_ARCH_64R2): New.
28149
740b3dbe
L
281502013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 * Makeconfig (+link-pie-before-libc): New.
28153 (+link-pie-after-libc): Likewise.
28154 (+link-pie-tests): Likewise.
28155 (+link-pie): Rewritten.
28156 (link-before-libc): Remove $(config-LDFLAGS).
28157 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28158 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28159 (config-LDFLAGS): Renamed to ...
28160 (rtld-LDFLAGS): This.
28161 (rtld-tests-LDFLAGS): New macro.
28162 (link-libc-rpath-link): Likewise.
28163 (link-libc-tests-rpath-link): Likewise.
28164 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28165 (link-libc): Prepand $(link-libc-rpath-link).
28166 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28167 (test-program-prefix): New macro.
28168 (test-via-rtld-prefix): Likewise.
28169 (test-program-cmd): Likewise.
28170 (host-test-program-cmd): Likewise.
28171 * Makefile ($(common-objpfx)testrun.sh): Replace
28172 $(run-program-prefix) with $(test-program-prefix).
28173 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28174 $(rtld-LDFLAGS).
28175 ($(common-objpfx)shlib.lds): Likewise.
28176 (build-module-helper): Likewise.
28177 ($(common-objpfx)format.lds): Likewise.
28178 * Rules (binaries-pie-tests): New.
28179 (binaries-pie-notests): Likewise.
28180 (binaries-pie): Rewritten.
28181 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28182 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28183 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28184 (make-test-out): Replace $(host-built-program-cmd) with
28185 $(host-test-program-cmd).
28186 * config.make.in (build-hardcoded-path-in-tests): New variable.
28187 * configure.in (--enable-hardcoded-path-in-tests): New configure
28188 option.
28189 (hardcoded_path_in_tests): New AC_SUBST.
28190 * configure: Regenerated.
28191 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28192 $(built-program-cmd) with $(test-program-cmd).
28193 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28194 (test_program_cmd): This.
28195 * elf/Makefile ($(objpfx)order.out): Run test with
28196 $(test-program-prefix).
28197 ($(objpfx)order2.out): Likewise.
28198 ($(objpfx)tst-initorder.out): Likewise.
28199 ($(objpfx)tst-initorder2.out): Likewise.
28200 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28201 $(test-program-cmd).
28202 ($(objpfx)tst-array1-static.out): Likewise.
28203 ($(objpfx)tst-array2.out): Likewise.
28204 ($(objpfx)tst-array3.out): Likewise.
28205 ($(objpfx)tst-array4.out): Likewise.
28206 ($(objpfx)tst-array5.out): Likewise.
28207 ($(objpfx)tst-array5-static.out): Likewise.
28208 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28209 $(test-program-cmd).
28210 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28211 $(run-program-prefix) with $(test-program-prefix).
28212 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28213 (test_program_prefix): This.
28214 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28215 $(run-program-prefix) with $(test-program-prefix).
28216 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28217 (test_program_prefix): This.
28218 * iconvdata/tst-tables.sh: Likewise.
28219 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28220 $(run-program-prefix) with $(test-program-prefix).
28221 ($(objpfx)tst-translit.out): Likewise.
28222 ($(objpfx)tst-gettext2.out): Likewise.
28223 ($(objpfx)tst-gettext4.out): Likewise.
28224 ($(objpfx)tst-gettext6.out): Likewise.
28225 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28226 (test_program_prefix): This.
28227 * intl/tst-gettext2.sh: Likewise.
28228 * intl/tst-gettext4.sh Likewise.
28229 * intl/tst-gettext6.sh: Likewise.
28230 * intl/tst-translit.sh: Likewise.
28231 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28232 with $(test-program-cmd).
28233 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28234 $(run-program-prefix) with $(test-program-prefix).
28235 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28236 (test_program_prefix): This.
28237 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28238 $(run-program-prefix) with $(test-program-prefix).
28239 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28240 (test_program_prefix): This.
28241 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28242 * posix/Makefile ($(objpfx)globtest.out): Replace
28243 $(run-via-rtld-prefix) and $(test-wrapper) with
28244 $(test-program-prefix) and $(test-via-rtld-prefix).
28245 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28246 $(test-program-prefix).
28247 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28248 $(host-test-program-cmd).
28249 (tst-spawn-ARGS): Likewise.
28250 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28251 $(test-program-prefix).
28252 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28253 (test_via_rtld_prefix): This.
28254 (test_wrapper): Renamed to ...
28255 (test_program_prefix): This.
28256 (run_program_prefix): Replaced by test_program_prefix.
28257 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28258 (test_program_prefix): This.
28259 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28260 with $(host-test-program-cmd).
28261 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28262 $(run-program-prefix) with $(test-program-prefix).
28263 ($(objpfx)tst-printf.out): Likewise.
28264 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28265 $(test-program-cmd).
28266 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28267 (test_program_prefix): This.
28268 * stdio-common/tst-unbputc.sh: Likewise.
28269 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28270 $(run-program-prefix) with $(test-program-prefix).
28271 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28272 (test_program_prefix): This.
28273 * string/Makefile ($(objpfx)tst-svc.out): Replace
28274 $(built-program-cmd) with $(test-program-cmd).
28275
c6fe55cf
AJ
282762013-01-11 Andreas Jaeger <aj@suse.de>
28277
28278 [BZ #15003]
28279 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28280 value. Sync with Linux 3.7.
28281
9e6919c8
DM
282822013-01-10 David S. Miller <davem@davemloft.net>
28283
28284 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28285 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28286 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28287
1c9f1a02
RM
282882013-01-10 Roland McGrath <roland@hack.frob.com>
28289
28290 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28291 never set.
28292 * configure: Regenerated.
28293
b9de2dde
DM
282942013-01-10 David S. Miller <davem@davemloft.net>
28295
28296 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28297 sparc V9 rather than using V8 code.
28298 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28299 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28300
e7f68ef4
RM
283012013-01-10 Roland McGrath <roland@hack.frob.com>
28302
28303 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28304 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28305 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28306 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28307 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28308 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28309 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28310 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28311 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28312 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28313 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28314 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28315 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28316 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28317 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28318 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28319 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28320 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28321 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28322 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28323 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28324 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28325 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28326 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28327 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28328 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28329 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28330
5a47cc9c
DM
283312013-01-10 David S. Miller <davem@davemloft.net>
28332
28333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28334
4cf8f209
L
283352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28336
28337 * posix/Makefile (tests-static): New variable.
28338 (tests): Add $(tests-static).
28339 (tst-exec-static-ARGS): New variable.
28340 (tst-spawn-static-ARGS): Likewise.
28341 * posix/tst-exec-static.c: New file.
28342 * posix/tst-spawn-static.c: Likewise.
28343 * posix/tst-exec.c: Support run directly.
28344 * posix/tst-spawn.c: Likewise.
28345
fed0faa1
JM
283462013-01-10 Joseph Myers <joseph@codesourcery.com>
28347
828beb13
JM
28348 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28349 long.
28350 * math/bits/mathcalls.h (llrint): Likewise.
28351 (llround): Likewise.
28352 * stdlib/stdlib.h (struct drand48_data): Likewise.
28353 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28354 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28355 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28356 Likewise.
28357 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28358 Likewise.
28359 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28360 (elf_greg_t): Likewise.
28361 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28362 (__jmp_buf): Likewise.
28363 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28364 definitions.
28365 (llrint): Likewise, for all definitions.
28366 (llrintl): Likewise.
28367
fed0faa1
JM
28368 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28369 Remove [__GNUC__] condition.
28370 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28371 condition to just [__USE_ISOC99].
28372 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28373
1a20cb20
L
283742013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28375
28376 [BZ #14200]
28377 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28378 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28379 defined.
28380 (_POSIX_V6_ILP32_OFF32): Likewise.
28381 (_XBS5_ILP32_OFF32): Likewise.
28382 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28383 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28384
751b85f7
SP
283852013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28386
7490eb81
SP
28387 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28388
751b85f7
SP
28389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28390 doubles __mpexp_twomm1. Adjust usage.
28391 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28392 Remove.
28393
988197f0
AS
283942013-01-10 Andreas Schwab <schwab@suse.de>
28395
28396 [BZ #14964]
28397 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28398 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28399
e83d7298
DM
284002013-01-09 David S. Miller <davem@davemloft.net>
28401
034ed64b 28402 [BZ #15003]
57f41c40
AS
28403 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28404 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28405 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28406 (TCP_FASTOPEN): Define.
e83d7298
DM
28407 (tcp_repair_opt): New structure.
28408 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28409 enum values.
57f41c40
AS
28410 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28411 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28412 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28413 (tcp_cookie_transactions): New structure.
28414
d5e0b9bd
AB
284152013-01-09 Anton Blanchard <anton@samba.org>
28416
28417 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28418 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28419 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28420 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28421
0c07e3ea
JM
284222013-01-09 Joseph Myers <joseph@codesourcery.com>
28423
28424 * include/features.h (__USE_ANSI): Remove.
28425
232f7002
RM
284262013-01-09 Roland McGrath <roland@hack.frob.com>
28427
ad98e30c
RM
28428 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28429
232f7002
RM
28430 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28431
950c99ca
SP
284322013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28433
b5792741
SP
28434 * sysdeps/s390/fpu/libm-test-ulps: Update.
28435
47cf2278
SP
28436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28437
950c99ca
SP
28438 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28439 (__acr): Likewise.
28440 (__cpy): Likewise.
28441 (norm): Likewise.
28442 (denorm): Likewise.
28443 (__mp_dbl): Likewise.
28444 (__dbl_mp): Likewise.
28445 (add_magnitudes): Likewise.
28446 (sub_magnitudes): Likewise.
28447 (__add): Likewise.
28448 (__sub): Likewise.
28449 (__mul): Likewise.
28450 (__inv): Likewise.
28451 (__dvd): Likewise.
28452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28453 (__acr): Likewise.
28454 (__cpy): Likewise.
28455 (norm): Likewise.
28456 (denorm): Likewise.
28457 (__mp_dbl): Likewise.
28458 (__dbl_mp): Likewise.
28459 (add_magnitudes): Likewise.
28460 (sub_magnitudes): Likewise.
28461 (__add): Likewise.
28462 (__sub): Likewise.
28463 (__mul): Likewise.
28464 (__inv): Likewise.
28465 (__dvd): Likewise.
28466 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28467 (__acr): Likewise.
28468 (__cpy): Likewise.
28469 (norm): Likewise.
28470 (denorm): Likewise.
28471 (__mp_dbl): Likewise.
28472 (__dbl_mp): Likewise.
28473 (add_magnitudes): Likewise.
28474 (sub_magnitudes): Likewise.
28475 (__add): Likewise.
28476 (__sub): Likewise.
28477 (__mul): Likewise.
28478 (__inv): Likewise.
28479 (__dvd): Likewise.
28480
eede9df9
JM
284812013-01-08 Joseph Myers <joseph@codesourcery.com>
28482
28483 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28484 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28485 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28486 2 && __USE_EXTERN_INLINES]: Likewise.
28487
c40ea3d9
AJ
284882013-01-08 Andreas Jaeger <aj@suse.de>
28489
28490 [BZ# 14985]
28491 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28492 Remove.
28493 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28494 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28495
2ccdea26
AB
284962013-01-07 Anton Blanchard <anton@samba.org>
28497
28498 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28499 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28500 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28501 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28502 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28503 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28504 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28505 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28507 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28508 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28509 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28510 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28511 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28512 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28513 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28514 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28516 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28517 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28518 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28519 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28520 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28521 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28522 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28523 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28524 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28525 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28527 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28528 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28530 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28531 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28532 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28533 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28534 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28535 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28536 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28538 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28540 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28541
a9708fed
JM
285422013-01-07 Joseph Myers <joseph@codesourcery.com>
28543
375607b9
JM
28544 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28545 (__MALLOC_PMT): Likewise.
28546 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28547 [__GNUC__], only on [_LIBC].
28548 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28549 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28550 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28551 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28552 forward declaration.
28553 (realloc_hook_ini): Likewise.
28554 (memalign_hook_ini): Likewise.
28555 (__libc_memalign): Do not use __MALLOC_PMT in variable
28556 declaration.
28557 (__libc_valloc): Likewise.
28558 (__libc_pvalloc): Likewise.
28559 (__libc_calloc): Likewise.
28560 (__posix_memalign): Likewise.
28561
a9708fed
JM
28562 [BZ #14996]
28563 * math/s_casinh.c: Include <float.h>.
28564 (__casinh): Do not do computation with squaring and square root
28565 for large arguments.
28566 * math/s_casinhf.c: Include <float.h>.
28567 (__casinhf): Do not do computation with squaring and square root
28568 for large arguments.
28569 * math/s_casinhl.c: Include <float.h>.
28570 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28571 (__casinhl): Do not do computation with squaring and square root
28572 for large arguments.
28573 * math/libm-test.inc (casin_test): Add more tests.
28574 (casinh_test): Likewise.
28575 * sysdeps/i386/fpu/libm-test-ulps: Update.
28576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28577
afec409a
L
285782013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28579
28580 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28581 (__x86_64_raw_data_cache_size): Likewise.
28582 (__x86_64_data_cache_size_half): Likewise.
28583 (__x86_64_raw_data_cache_size_half): Likewise.
28584 (__x86_64_shared_cache_size): Likewise.
28585 (__x86_64_raw_shared_cache_size): Likewise.
28586 (__x86_64_shared_cache_size_half): Likewise.
28587 (__x86_64_raw_shared_cache_size_half): Likewise.
28588 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28589 to ...
28590 (__x86_data_cache_size): This.
28591 (__x86_64_raw_data_cache_size): Renamed to ...
28592 (__x86_raw_data_cache_size): This.
28593 (__x86_64_data_cache_size_half): Renamed to ...
28594 (__x86_data_cache_size_half): This.
28595 (__x86_64_raw_data_cache_size_half): Renamed to ...
28596 (__x86_raw_data_cache_size_half): This.
28597 (__x86_64_shared_cache_size): Renamed to ...
28598 (__x86_shared_cache_size): This.
28599 (__x86_64_raw_shared_cache_size): Renamed to ...
28600 (__x86_raw_shared_cache_size): This.
28601 (__x86_64_shared_cache_size_half): Renamed to ...
28602 (__x86_shared_cache_size_half): This.
28603 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28604 (__x86_raw_shared_cache_size_half): This.
28605 * sysdeps/x86_64/memcpy.S: Updated.
28606 * sysdeps/x86_64/memset.S: Likewise.
28607 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28608 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28609 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28610
0b3986d0
DM
286112013-01-04 David S. Miller <davem@davemloft.net>
28612
28613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28614
e47686e9
AS
286152013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28616
d643bac1
AS
28617 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28618 1 to avoid redefinition warning.
28619 (__USE_GNU): Don't define.
28620 (init_signaling_nan): Protoize.
28621
e47686e9
AS
28622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28623
b18decba
SP
286242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28625
fffb407f
SP
28626 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28628 (__cpymn): Likewise.
28629 (norm): Remove commented code.
28630 (denorm): Likewise.
28631 (__mp_dbl): Likewise.
28632 (__inv): Likewise.
28633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28634 (__cpymn): Likewise.
28635 (norm): Remove commented code.
28636 (denorm): Likewise.
28637 (__mp_dbl): Likewise.
28638 (__inv): Likewise.
28639
b18decba
SP
28640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28641 mp_no value for 1.0 and 2.0.
28642 (norm): Use RADIXI instead of radixi.d.
28643 (denorm): Likewise.
28644 (__mul): Use 0.0 instead of zero.d.
28645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28646 mp_no value for 1.0 and 2.0.
28647 (norm): Use RADIXI instead of radixi.d.
28648 (denorm): Likewise.
28649 (__mul): Use 0.0 instead of zero.d.
28650
cdc1c96f
JM
286512013-01-04 Joseph Myers <joseph@codesourcery.com>
28652
28653 [BZ #14994]
28654 * math/s_casinh.c (__casinh): Reduce finite argument to first
28655 quadrant then set signs of results at the end.
28656 * math/s_casinhf.c (__casinhf): Likewise.
28657 * math/s_casinhl.c (__casinhl): Likewise.
28658 * math/libm-test.inc (casin_test): Add more tests.
28659 (casinh_test): Likewise.
28660 * sysdeps/i386/fpu/libm-test-ulps: Update.
28661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28662
302913e1
SP
286632013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28664
6420d207
SP
28665 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28666
a9e48ab4
SP
28667 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28668
b7837264
SP
28669 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28670 declarations.
28671 (denorm): Likewise.
28672 (__mp_dbl): Likewise.
28673 (__inv): Likewise.
28674
f8af25d2
SP
28675 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28676 and adjust the header comment.
28677
302913e1
SP
28678 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28679 variable name from declaration.
28680
5d7dd1ca
L
286812013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28682
28683 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28684 Initialize COMMON_CPUID_INDEX_7 element.
28685 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28686 (CPUID_RTM): Likewise.
28687 (HAS_RTM): Likewise.
28688 (COMMON_CPUID_INDEX_7): New enum.
28689
2f5f40f4
AS
286902013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28691
28692 [BZ #14981]
28693 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28694 size is zero, record memory as freed.
28695
4056f4a0
AJ
286962013-01-03 Andreas Jaeger <aj@suse.de>
28697
28698 * po/ia.po: Add new Interlingua translation.
28699
ab15736f 287002012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28701
28702 * locale/programs/localedef.c: Fix description of '--posix' flag.
28703
568035b7
JM
287042013-01-02 Joseph Myers <joseph@codesourcery.com>
28705
e6898b8d
JM
28706 * NEWS: Update dates in second copyright notice.
28707 * README: Update copyright dates in example.
28708 * manual/libc.texinfo: Update copyright dates.
28709 * scripts/test-installation.pl: Update copyright date in --version
28710 output.
28711
0e2f9562
JM
28712 * hurd/ctty-input.c: Fix copyright notice formatting.
28713 * hurd/ctty-output.c: Likewise.
28714 * hurd/dtable.c: Likewise.
28715 * hurd/hurd-raise.c: Likewise.
28716 * hurd/hurdprio.c: Likewise.
28717 * hurd/msgportdemux.c: Likewise.
28718 * misc/sys/file.h: Likewise.
28719 * misc/sys/ioctl.h: Likewise.
28720 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28721 * sysdeps/mach/hurd/chdir.c: Likewise.
28722 * sysdeps/mach/hurd/fchdir.c: Likewise.
28723 * sysdeps/mach/hurd/rename.c: Likewise.
28724 * sysdeps/mach/hurd/rmdir.c: Likewise.
28725 * sysdeps/mach/hurd/seekdir.c: Likewise.
28726 * sysdeps/mach/hurd/setsid.c: Likewise.
28727 * sysdeps/posix/wait3.c: Likewise.
28728
568035b7
JM
28729 * All files with FSF copyright notices: Update copyright dates
28730 using scripts/update-copyrights.
28731 * intl/plural.c: Regenerated.
28732 * locale/programs/charmap-kw.h: Likewise.
28733 * locale/programs/locfile-kw.h: Likewise.
28734
da08f647
SP
287352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28736
0f5477af
SP
28737 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28738 four values.
28739
44e0d4c2
SP
28740 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28741 calculation loop and add branch prediction.
28742
4d55b4e5
SP
28743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28744 check access beyond bounds of m1np.
28745
da08f647
SP
28746 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28747 MPTWO.
28748 (__inv): Remove local variable MPTWO to use the global
28749 constant.
28750 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28751 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28752 variable MPTWO.
28753 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28754 MP3HALFS static const.
28755
8e051029
DM
287562013-01-01 David S. Miller <davem@davemloft.net>
28757
28758 * po/ca.po: Update from translation team.
28759
f4cf5f2d
JM
287602013-01-01 Joseph Myers <joseph@codesourcery.com>
28761
28762 * scripts/update-copyrights: New file.
28763 * Makeconfig: Reformat copyright notice.
28764 * ctype/ctype.h: Likewise.
28765 * debug/swprintf_chk.c: Likewise.
28766 * elf/dl-cache.c: Likewise.
28767 * elf/dl-debug.c: Likewise.
28768 * elf/dl-object.c: Likewise.
28769 * grp/initgroups.c: Likewise.
28770 * hurd/Makefile: Likewise.
28771 * hurd/hurd/signal.h: Likewise.
28772 * hurd/hurdfault.c: Likewise.
28773 * hurd/hurdioctl.c: Likewise.
28774 * hurd/hurdlookup.c: Likewise.
28775 * hurd/intr-msg.c: Likewise.
28776 * iconv/gconv_open.c: Likewise.
28777 * libio/swprintf.c: Likewise.
28778 * locale/lc-ctype.c: Likewise.
28779 * locale/nl_langinfo.c: Likewise.
28780 * mach/Machrules: Likewise.
28781 * mach/Makefile: Likewise.
28782 * malloc/obstack.h: Likewise.
28783 * manual/Makefile: Likewise.
28784 * manual/tsort.awk: Likewise.
28785 * misc/bits/stab.def: Likewise.
28786 * nis/nis_print_group_entry.c: Likewise.
28787 * nis/nis_table.c: Likewise.
28788 * nis/nss_compat/compat-pwd.c: Likewise.
28789 * nis/nss_compat/compat-spwd.c: Likewise.
28790 * po/Makefile: Likewise.
28791 * posix/fnmatch.c: Likewise.
28792 * posix/regex.h: Likewise.
28793 * resolv/Makefile: Likewise.
28794 * resolv/nss_dns/dns-network.c: Likewise.
28795 * resolv/res_hconf.c: Likewise.
28796 * scripts/gen-sorted.awk: Likewise.
28797 * soft-fp/soft-fp.h: Likewise.
28798 * stdio-common/printf.h: Likewise.
28799 * stdlib/monetary.h: Likewise.
28800 * stdlib/random.c: Likewise.
28801 * stdlib/random_r.c: Likewise.
28802 * sysdeps/generic/Makefile: Likewise.
28803 * sysdeps/gnu/Makefile: Likewise.
28804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28832 * sysdeps/mach/hurd/errnos.awk: Likewise.
28833 * sysdeps/mach/hurd/fork.c: Likewise.
28834 * sysdeps/mach/hurd/getcwd.c: Likewise.
28835 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28836 * sysdeps/mach/hurd/mmap.c: Likewise.
28837 * sysdeps/mach/hurd/utimes.c: Likewise.
28838 * sysdeps/mach/hurd/xmknod.c: Likewise.
28839 * sysdeps/posix/profil.c: Likewise.
28840 * sysdeps/posix/readdir_r.c: Likewise.
28841 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28842 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28843 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28844 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28846 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28847 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28848 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28850 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28852 * sysdeps/pthread/lio_listio.c: Likewise.
28853 * sysdeps/sparc/dl-procinfo.h: Likewise.
28854 * sysdeps/unix/i386/sysdep.S: Likewise.
28855 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28856 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28857 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28858 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28860 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28861 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28862 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28863 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28864 * sysdeps/wordsize-32/divdi3.c: Likewise.
28865 * time/sys/time.h: Likewise.
28866 * wcsmbs/Makefile: Likewise.
28867
0549fbba
DM
288682013-01-01 David S. Miller <davem@davemloft.net>
28869
a141f1a7
DM
28870 * po/fr.po: Update from translation team.
28871
0549fbba
DM
28872 * catgets/gencat.c: Update copyright year.
28873 * csu/version.c: Likewise.
28874 * debug/catchsegv.sh: Likewise.
28875 * debug/pcprofiledump.c: Likewise.
28876 * debug/xtrace.sh: Likewise.
28877 * elf/ldconfig.c: Likewise.
28878 * elf/ldd.bash.in: Likewise.
28879 * elf/pldd.c: Likewise.
28880 * elf/sotruss.ksh: Likewise.
28881 * elf/sprof.c: Likewise.
28882 * iconv/iconv_prog.c: Likewise.
28883 * iconv/iconvconfig.c: Likewise.
28884 * locale/programs/locale.c: Likewise.
28885 * locale/programs/localedef.c: Likewise.
28886 * login/programs/pt_chown.c: Likewise.
28887 * malloc/memusage.sh: Likewise.
28888 * malloc/memusagestat.c: Likewise.
28889 * malloc/mtrace.pl: Likewise.
28890 * nscd/nscd.c: Likewise.
28891 * nss/getent.c: Likewise.
28892 * nss/makedb.c: Likewise.
28893 * posix/getconf.c: Likewise.
28894
18ea052c
SP
288952012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28896
28897 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28898 numbers.
28899
9c89fca6
MF
289002012-12-30 Mike Frysinger <vapier@gentoo.org>
28901
28902 * math/bits/mathcalls.h (modf): Use __nonnull.
28903
085ec079
SP
289042012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28905
28906 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28907 (split): Use macro CN instead of the bare value.
28908 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28909 could be used.
28910 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28911 instead of the bare value.
28912 (power1): Likewise.
28913
6d9f97e1
SP
289142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28915
d63f73be
SP
28916 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28917 __ATAN_TWOM.
28918 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28919
6d9f97e1
SP
28920 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28921 their values.
28922 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28923 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28924 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28925 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28926
4c4febf5
AJ
289272012-12-28 Andreas Jaeger <aj@suse.de>
28928
af5843ef
AJ
28929 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28930 values are from Linux 3.7.
28931
4c4febf5
AJ
28932 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28933 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28934
99136f82
SP
289352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28936
2f216c3c 28937 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
28938 TRUE case.
28939
99136f82
SP
28940 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28941 (norm): Likewise.
28942 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28943 variables with preprocessor constants.
28944 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28945 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28946 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28947
7fffbdff
BH
289482012-12-27 Bruno Haible <bruno@clisp.org>
28949
28950 [BZ #14317]
28951 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28952 only if needed.
28953
b76eb5f0
SP
289542012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28955
31a7fe5c
SP
28956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28957 and use variable directly.
28958 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28959
b76eb5f0
SP
28960 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28961 MPONE.
28962 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28963 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28964 variable MPONE.
28965 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28966 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28967 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28968 include directive. Remove local variable MPONE.
28969 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28970 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28971 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28972
2c8bfe7d
DM
289732012-12-25 David S. Miller <davem@davemloft.net>
28974
28975 * version.h (RELEASE): Set to "development".
28976 (VERSION): Set to "2.17.90".
28977 * NEWS: Add 2.18 section.
28978
147d03b0
DM
289792012-12-21 David S. Miller <davem@davemloft.net>
28980
28981 * po/hr.po: Update from translation team.
28982
a8ebb2b9
AK
289832012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28984
28985 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28986
95b4f1b6
SE
289872012-12-19 Steve Ellcey <sellcey@mips.com>
28988
b2d94007 28989 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 28990
cedb2a90
MS
289912012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28992
28993 * manual/contrib.texi (Contributors): Spelling correction.
28994
bbf527d6
DM
289952012-12-15 David S. Miller <davem@davemloft.net>
28996
28997 * po/ru.po: Update from translation team.
28998
bc38c906
DM
289992012-12-13 David S. Miller <davem@davemloft.net>
29000
85429b1a
DM
29001 * NEWS: Mention IFUNC testsuite enhancements.
29002
d283e353
DM
29003 * po/pl.po: Update from translation team.
29004 * po/bg.po: Likewise.
29005
bc38c906
DM
29006 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29007 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29008
a181b0d7
DM
290092012-12-11 David S. Miller <davem@davemloft.net>
29010
4641d57e
DM
29011 * po/sv.po: Update from translation team.
29012
f7bc6495
DM
29013 * po/vi.po: Update from translation team.
29014
6fc9048f
DM
29015 * po/cs.po: Update from translation team.
29016
a181b0d7
DM
29017 * po/de.po: Update from translation team.
29018 * po/eo.po: Likewise.
29019 * po/nl.po: Likewise.
29020
f70bfe80
SP
290212012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29022
3c8b4190
SP
29023 [BZ #14246]
29024 * manual/argp.texi (Argp Helper Functions): Move node to follow
29025 Argp Parsing State.
29026
f70bfe80
SP
29027 [BZ #14872]
29028 * manual/conf.texi (Limits on File System Capacity): Mention if
29029 terminating null is included in the max size.
29030
188f0adf
AJ
290312012-12-10 Andreas Jaeger <aj@suse.de>
29032
29033 * po/cs.po: Update from translation team.
29034
56e7d3ad
SP
290352012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29036
29037 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29038 void pointer and cast to uintptr_t.
29039 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29040 path.
29041 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29042 * sysdeps/s390/s390-64/memset.S: Likewise.
29043
76f2d2ea 290442012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29045
29046 [BZ #14833]
29047 * menual/message.texi (Message Translation): Fix typos.
29048 (Helper programs for gettext): Likewise.
29049
67cbf9a2
AS
290502012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29051
29052 [BZ #14898]
29053 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29054 Change to -1.
29055
682d0e9a
DM
290562012-12-07 David S. Miller <davem@davemloft.net>
29057
29058 * po/libc.pot: Update.
29059
573cd484
RH
290602012-12-07 Richard Henderson <rth@redhat.com>
29061
7e9da188 29062 [BZ #10114]
573cd484
RH
29063 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29064 normal/normal case to before the switch.
29065 (_FP_DIV): Likewise.
29066
e933a943
MF
290672012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29068 Mike Frysinger <vapier@gentoo.org>
29069
29070 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29071 check for __NR_fadvise64_64.
29072
82123268
CM
290732012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29074
29075 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29076 0, not just to plain "0" as a statement.
29077 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29078 with cw.
29079
d9814526
JM
290802012-12-06 Joseph Myers <joseph@codesourcery.com>
29081
29082 * NEWS: Use sourceware.org in Bugzilla URL.
29083
7728c574
SP
290842012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29085
f16946dd
SP
29086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29087 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29088
5704bbcb
SP
29089 * stdio-common/tst-put-error.c (do_test): Add newline to the
29090 padded test to ensure flush.
29091
17aa0516
JL
290922012-12-05 Jeff Law <law@redhat.com>
29093
29094 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29095
363313b5
JM
290962012-12-05 Joseph Myers <joseph@codesourcery.com>
29097
effbd42a
JM
29098 * README: Don't refer to ports add-on as distributed separately.
29099 Mention AArch64 in list of systems supported in the ports add-on.
29100
87600365
JM
29101 * LICENSES: Add more non-FSF copyright and license notices.
29102
a0d7066a
JM
29103 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29104 ((unused)).
29105
66ca5a5b
JM
29106 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29107
363313b5
JM
29108 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29109 10000 as width of padded output.
29110
b37984ad
JM
291112012-12-04 Joseph Myers <joseph@codesourcery.com>
29112
9003570a
JM
29113 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29114
b37984ad
JM
29115 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29116 variable LX with __attribute__ ((unused)).
29117 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29118 Likewise.
29119 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29121 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29122 with __attribute__ ((unused)).
29123
c8df52ec
DM
291242012-12-04 David S. Miller <davem@abraco.davemloft.net>
29125
29126 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29127
b3b099af
JM
291282012-12-04 Joseph Myers <joseph@codesourcery.com>
29129
c33aa6e3
JM
29130 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29131 (CFLAGS-nldbl-acos.c): New variable.
29132 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29133 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29134 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29135 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29136 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29137 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29138 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29139 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29140 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29141 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29142 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29143 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29144 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29145 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29146 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29147 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29148 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29149 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29150 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29151 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29152 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29153 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29154 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29155 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29156 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29157 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29158 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29159 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29160 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29161 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29162 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29163 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29164 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29165 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29166 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29167 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29168 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29169 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29170 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29171 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29172 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29173 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29174 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29175 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29176 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29177 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29178 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29179 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29180 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29181 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29182 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29183 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29184 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29185 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29186 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29187 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29188 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29189 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29190 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29191 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29192 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29193 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29194 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29195 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29196 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29197 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29198 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29199 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29200 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29201 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29202 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29203 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29204 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29205 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29206 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29207 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29208 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29209 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29210 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29211 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29212 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29213 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29214 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29215 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29216 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29217 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29218 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29219 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29220 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29221 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29222 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29223 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29224 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29225 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29226 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29227 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29228 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29229
20f0018d
JM
29230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29231 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29232
b3b099af
JM
29233 [BZ #14914]
29234 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29235 whole low double instead of just low 47 bits when splitting values
29236 into two parts.
29237
029264d1
AM
292382012-12-03 Allan McRae <allan@archlinux.org>
29239
29240 * manual/stdio.texi (Predefined Printf Handlers): Remove
29241 @hsep and @vsep usage.
29242
c9d6789e
MF
292432012-12-03 Mike Frysinger <vapier@gentoo.org>
29244
29245 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29246 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29247
4b7634a5
JL
292482012-12-03 Jeff Law <law@redhat.com>
29249
29250 * time/sys/time.h (settimeofday): Do not mark TV argument
29251 as __nonnull.
29252
eb6cbd24
MF
292532012-12-01 Mike Frysinger <vapier@gentoo.org>
29254
29255 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29256 when currently writing and seek to current position when not.
29257 * libio/Makefile (tests): Remove bug-fclose1.
29258 * libio/bug-fclose1.c: Delete.
29259
f638872a
JM
292602012-12-01 Joseph Myers <joseph@codesourcery.com>
29261
29262 * manual/arith.texi (feenableexcept): Fix typo.
29263 (fedisableexcept): Likewise.
29264
48085d14
RM
292652012-11-30 Roland McGrath <roland@hack.frob.com>
29266
29267 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29268 second, differently-typed declaration, rather than a cast.
29269
1a538b9f
SP
292702012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29271
29272 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29273 * include/rpc/svc.h: ... here.
29274
d07f2ff1 292752012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29276
29277 [BZ #13013]
29278 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29279 depending n and resplen2 to catch cases where answer
29280 equals answerp2.
29281
c93ec1f0
CD
292822012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29283
29284 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29285 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29286
37db69de
MF
292872012-11-29 Mike Frysinger <vapier@gentoo.org>
29288
29289 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29290
e10c4e4f
RM
292912012-11-29 Roland McGrath <roland@hack.frob.com>
29292
29293 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29294
2af1b328
JL
292952012-11-28 Jeff Law <law@redhat.com>
29296
29297 [BZ #13761]
29298 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29299 dataset_temporary. Track alloca usage into alloca_used.
29300 If dataset is large allocate and release it via malloc/free.
29301
111db5b1
FW
293022012-06-04 Florian Weimer <fweimer@redhat.com>
29303
f06cc227 29304 [BZ #14197]
111db5b1
FW
29305 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29306
dd694abd
DM
293072012-11-28 David S. Miller <davem@davemloft.net>
29308
29309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29310
9984dd01
JM
293112012-11-28 Joseph Myers <joseph@codesourcery.com>
29312
29313 [BZ #14803]
29314 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29315 of pi/2 rounded to nearest to 64 bits.
29316 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29317 nearest to 64 bits.
29318 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29319 bits.
29320
14bc93a9
JL
293212012-11-28 Jeff Law <law@redhat.com>
29322 Martin Osvald <mosvald@redhat.com>
29323
29324 [BZ #14889]
29325 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29326 * sunrpc/svc.c: Include time.h.
29327 (__svc_accept_failed): New function.
29328 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29329 any reason other than EINTR, call __svc_accept_failed.
29330 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29331 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29332
e3c6aa3a
AS
293332012-11-28 Andreas Schwab <schwab@suse.de>
29334
29335 * scripts/abilist.awk: Also handle indirect functions in .opd
29336 section.
29337
1bead169
JM
293382012-11-28 Joseph Myers <joseph@codesourcery.com>
29339
29340 [BZ #13881]
29341 * sysdeps/x86/fpu/powl_helper.c: New file.
29342 * sysdeps/x86/fpu/Makefile: Likewise.
29343 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29344 (p3): New object.
29345 (__ieee754_powl): Use __powl_helper for finite arguments except
29346 integer exponents below 8.
29347 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29348 (p3): New object.
29349 (__ieee754_powl): Use __powl_helper for finite arguments except
29350 integer exponents below 8.
29351 * math/libm-test.inc (pow_test): Add more tests and enable some
29352 previously disabled tests.
29353 * sysdeps/i386/fpu/libm-test-ulps: Update.
29354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29355
0817d63d
SP
293562012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29357 Carlos O'Donell <carlos_odonell@mentor.com>
29358
29359 * nss/makedb.c (is_prime): Assert that input is odd and greater
29360 than 4. Note that fact in a comment too.
29361 (next_prime): Add 4 to input.
29362
de2fd463
SP
293632012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29364
29365 [BZ #11741]
29366 * libio/Makefile (tests): Add test case tst-fwrite-error.
29367 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29368 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29369 * libio/tst-fwrite-error.c: New test case.
29370
c515fb51
L
293712012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29372
29373 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29374 before casting to void *.
29375 * include/libc-internal.h (__pointer_type): New macro.
29376 (__integer_if_pointer_type_sub): Likewise.
29377 (__integer_if_pointer_type): Likewise.
29378 (cast_to_integer): Likewise.
29379 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29380 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29381 before casting to atomic64_t.
29382 (atomic_exchange_acq): Likewise.
29383 (__arch_exchange_and_add_body): Likewise.
29384 (__arch_add_body): Likewise.
29385 (atomic_add_negative): Likewise.
29386 (atomic_add_zero): Likewise.
29387
4cf77aa9
JM
293882012-11-26 Joseph Myers <joseph@codesourcery.com>
29389
29390 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29391 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29392 (add_fdes): Likewise.
29393 (linear_search_fdes): Likewise.
29394 (binary_search_unencoded_fdes): Likewise.
29395
d260b3b4
AS
293962012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29397
29398 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29399
67060746
AC
294002012-11-24 Adam Conrad <adconrad@0c3.net>
29401
29402 * configure.in: Autodetect C++ header directories.
29403 * configure: Regenerated.
29404
800938a1
MF
294052012-11-23 Mike Frysinger <vapier@gentoo.org>
29406
29407 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29408
4e6e34e6
AS
294092012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29410
29411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29412
7c7feb47
JM
294132012-11-22 Joseph Myers <joseph@codesourcery.com>
29414
7184dcdf
JM
29415 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29416 LDBL_MANT_DIG == 106]: Disable some tests.
29417 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29418 Likewise.
29419 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29420 Likewise.
29421
0a42601f
JM
29422 [BZ #14871]
29423 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29424 input for small inputs. Return +/- pi/2 for large inputs.
29425 * math/libm-test.inc (atan_test): Add more tests.
29426
79c9b9fe
JM
29427 * sysdeps/generic/unwind-dw2-fde-glibc.c
29428 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29429 __attribute__ ((unused)).
29430
c60d3bf2
JM
29431 [BZ #14645]
29432 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29433 x * y if x and y are nonzero and z is zero.
29434
ef1e0867
JM
29435 [BZ #14811]
29436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29437 nonzero exponents with absolute value below 0x1p-117 to +/-
29438 0x1p-117.
29439
1468ded3
JM
29440 [BZ #14869]
29441 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29442 up arguments below 2**-450, not just those below 2**-500.
29443 * math/libm-test.inc (hypot_test): Add another test.
29444
8e27e3cc
JM
29445 [BZ #14868]
29446 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29447 Return a+b for ratio over 2**120, not 2**60.
29448 * math/libm-test.inc (hypot_test): Add another test.
29449
c9c0279b
JM
29450 * math/libm-test.inc (clog_test): Use
29451 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29452 (clog10_test): Likewise.
29453
7c7feb47
JM
29454 [BZ #6778]
29455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29456
fff1530e
AS
294572012-11-22 Andreas Schwab <schwab@suse.de>
29458
29459 * sysdeps/i386/fpu/libm-test-ulps: Update.
29460
94558d30
PT
294612012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29462
29463 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29464 printf output with newline.
29465
7e1be741
L
294662012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29467
6bfea974
L
29468 [BZ #14865]
29469 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29470 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29471 -z nodlopen, -z initfirst and -z execstack support.
29472 * configure: Regenerated.
29473
7e1be741
L
29474 * elf/elf.h (DF_1_NODIRECT): New macro.
29475 (DF_1_IGNMULDEF): Likewise.
29476 (DF_1_NOKSYMS): Likewise.
29477 (DF_1_NOHDR): Likewise.
29478 (DF_1_EDITED): Likewise.
29479 (DF_1_NORELOC): Likewise.
29480 (DF_1_SYMINTPOSE): Likewise.
29481 (DF_1_GLOBAUDIT): Likewise.
29482 (DF_1_SINGLETON): Likewise.
29483 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29484 DT_1_SUPPORTED_MASK bits.
29485 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29486
105ce2ce
CD
294872012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29488
29489 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29490
123be9de
TS
294912012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29492
d072f3f7
TS
29493 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29494 macro.
29495
123be9de
TS
29496 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29497 (sendmmsg): Move declarations...
29498 * socket/sys/socket.h: ... here.
29499 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29500 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29501 include it from...
29502 * socket/recvmmsg.c: ... this new file.
29503 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29504 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29505 definition of __sendmmsg hidden.
29506 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29507 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29508 Move ENOSYS stub into and include it from...
29509 * socket/sendmmsg.c: ... this new file.
29510 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29511 (sysdep_routines): Move recvmmsg and sendmmsg...
29512 * socket/Makefile (routines): ... here.
29513 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29514 (GLIBC_PRIVATE): Add __sendmmsg.
29515 * include/sys/socket.h (__sendmmsg): Add declarations.
29516 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29517 sendmmsg.
29518
cf9a5d18
JM
295192012-11-20 Joseph Myers <joseph@codesourcery.com>
29520
29521 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29522 variable I1 with __attribute__ ((unused)).
29523 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29524
ecd4caf9
JM
295252012-11-19 Joseph Myers <joseph@codesourcery.com>
29526
be14d48f
JM
29527 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29528 DUMMY variables with __attribute__ ((unused)).
29529
ecd4caf9
JM
29530 * bits/byteswap.h: Include <bits/types.h>.
29531 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29532
986cab95
PT
295332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29534
29535 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29536 string_t. Do not manually set errno.
29537 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29538 length with __strnlen. Make sure to both set errno and return it on
29539 failure.
29540
6d33cc9d
DM
295412012-11-19 David S. Miller <davem@davemloft.net>
29542
29543 With help from Joseph Myers.
29544 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29545 very large arguments properly.
29546 * math/libm-test.inc (atan_test): New tests.
29547 (atan2_test): New tests.
29548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29550
ee663277
JM
295512012-11-19 Joseph Myers <joseph@codesourcery.com>
29552
877f2d8e
JM
29553 [BZ #14856]
29554 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29555 Define to 3.
29556
116fc08a
JM
29557 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29558 [POSIX] (EADDRNOTAVAIL): Likewise.
29559 [POSIX] (EAFNOSUPPORT): Likewise.
29560 [POSIX] (EALREADY): Likewise.
29561 [POSIX] (ECONNABORTED): Likewise.
29562 [POSIX] (ECONNREFUSED): Likewise.
29563 [POSIX] (ECONNRESET): Likewise.
29564 [POSIX] (EDESTADDRREQ): Likewise.
29565 [POSIX] (EDQUOT): Likewise.
29566 [POSIX] (EHOSTUNREACH): Likewise.
29567 [POSIX] (EIDRM): Likewise.
29568 [POSIX] (EISCONN): Likewise.
29569 [POSIX] (ELOOP): Likewise.
29570 [POSIX] (EMULTIHOP): Likewise.
29571 [POSIX] (ENETDOWN): Likewise.
29572 [POSIX] (ENETUNREACH): Likewise.
29573 [POSIX] (ENOBUFS): Likewise.
29574 [POSIX] (ENODATA): Likewise.
29575 [POSIX] (ENOLINK): Likewise.
29576 [POSIX] (ENOMSG): Likewise.
29577 [POSIX] (ENOPROTOOPT): Likewise.
29578 [POSIX] (ENOSR): Likewise.
29579 [POSIX] (ENOSTR): Likewise.
29580 [POSIX] (ENOTCONN): Likewise.
29581 [POSIX] (ENOTSOCK): Likewise.
29582 [POSIX] (EOPNOTSUPP): Likewise.
29583 [POSIX] (EOVERFLOW): Likewise.
29584 [POSIX] (EPROTO): Likewise.
29585 [POSIX] (EPROTONOSUPPORT): Likewise.
29586 [POSIX] (EPROTOTYPE): Likewise.
29587 [POSIX] (ESTALE): Likewise.
29588 [POSIX] (ETIME): Likewise.
29589 [POSIX] (ETXTBSY): Likewise.
29590 [POSIX] (EWOULDBLOCK): Likewise.
29591 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29592 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29593 [POSIX] (SEEK_CUR): Likewise.
29594 [POSIX] (SEEK_END): Likewise.
29595 [POSIX || UNIX98] (mode_t): Do not require.
29596 [POSIX] (off_t): Likewise.
29597 [POSIX] (pid_t): Likewise.
29598 [POSIX] (sys/stat.h): Do not allow header.
29599 [POSIX] (unistd.h): Likewise.
29600 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29601 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29602 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29603 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29604 require.
29605 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29606 sigevent): Specify elements.
29607 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29608 entry.
29609 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29610 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29611
a483863f
JM
29612 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29613 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29614 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29615 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29616 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29617 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29618 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29619 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29620 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29621 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29622 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29623 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29624 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29625 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29626 Likewise.
29627 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29628 Likewise.
29629 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29630 Likewise.
29631 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29632 Likewise.
29633 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29634 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29635 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29636 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29637 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29638 Specify lower bound on value.
29639 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29640 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29641 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29642 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29643 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29644 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29645 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29646 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29647 value.
29648 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29649 as optional.
29650 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29651 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29652 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29653 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29654 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29655 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29656 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29657 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29658 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29659 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29660 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29661 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29662 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29663 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29664 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29665 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29666 entry.
29667 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29668 optional.
29669 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29670 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29671 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29672 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29673 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29674 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29675 Likewise.
29676 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29677 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29678 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29679 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29680 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29681 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29682 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29683 as optional.
29684 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29685 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29686 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29687 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29688 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29689 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29690 specify as optional.
29691 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29692 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29693 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29694 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29695 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29696 [XPG3] (NL_LANGMAX): Likewise.
29697 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29698 [POSIX || XPG3] (NL_NMAX): Likewise.
29699 [POSIX || XPG3] (NL_SETMAX): Likewise.
29700 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29701 [XPG3] (NZERO): Likewise.
29702 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29703 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29704 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29705 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29706 (REG_ERANGE): Expect.
29707 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29708 optional-constant.
29709 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29710 Use (void) in prototype.
29711 [POSIX] (*_t): Allow.
29712 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29713 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29714 (WRDE_BADVAL): Expect.
29715
5ba924e3
JM
29716 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29717 expect.
29718 [XPG3 || XPG4] (O_RSYNC): Likewise.
29719 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29720 Likewise.
29721 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29722 [XPG3 || XPG4] (sigqueue): Likewise.
29723 [XPG3 || XPG4] (sigtimedwait): Likewise.
29724 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29725 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29726 [XPG3 || XPG4] (vsnprintf): Likewise.
29727 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29728 Likewise.
29729 [XPG3 || XPG4] (blksize_t): Likewise.
29730 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29731 Likewise.
29732 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29733 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29734 [XPG3 || XPG4] (struct itimerspec): Likewise.
29735 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29736 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29737 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29738 [XPG3 || XPG4] (clockid_t): Likewise.
29739 [XPG3 || XPG4] (timer_t): Likewise.
29740 [XPG3 || XPG4] (clock_getres): Likewise.
29741 [XPG3 || XPG4] (clock_gettime): Likewise.
29742 [XPG3 || XPG4] (clock_settime): Likewise.
29743 [XPG3 || XPG4] (nanosleep): Likewise.
29744 [XPG3 || XPG4] (timer_create): Likewise.
29745 [XPG3 || XPG4] (timer_delete): Likewise.
29746 [XPG3 || XPG4] (timer_gettime): Likewise.
29747 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29748 [XPG3 || XPG4] (timer_settime): Likewise.
29749 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29750 [XPG3 || XPG4] (getlogin_r): Likewise.
29751 [XPG3 || XPG4] (pread): Likewise.
29752 [XPG3 || XPG4] (pthread_atfork): Likewise.
29753 [XPG3 || XPG4] (pwrite): Likewise.
29754
ee663277
JM
29755 [BZ #14835]
29756 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29757 <bits/siginfo.h>.
29758
942caa16
PT
297592012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29760
e19af380
PT
29761 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29762 finalizing MALLSTREAM.
29763
942caa16
PT
29764 * sysdeps/mach/hurd/syncfs.c: New file.
29765
cfde9b46
SP
297662012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29767
29768 [BZ #14719]
29769 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29770 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29771 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29772 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29773 (_nss_dns_gethostbyname4_r): Likewise.
29774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29775 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29776
f6da27e5
PH
297772012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29778
29779 [BZ #13763]
29780 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29781
6665d4a2
SM
297822012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29783
1f51ee92
SM
29784 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29785 * elf/cache.c (print_entry): Print ",AArch64" for
29786 FLAG_AARCH64_LIB64
29787
6665d4a2
SM
29788 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29789 * elf/cache.c (print_entry): Print ",hard-float" for
29790 FLAG_ARM_LIBHF.
29791
05b227bd
DM
297922012-11-18 David S. Miller <davem@davemloft.net>
29793
29794 With help from Joseph Myers.
29795 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29796 cutoff to 2**-13.
29797 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29798 cutoff to 2**-25.
29799 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29800 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29801 small.
29802 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29803 * math/libm-test.inc (y0_test): New tests.
29804 (y1_test): New tests.
29805 * sysdeps/i386/fpu/libm-test-ulps: Update.
29806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29808
786b0b67
AS
298092012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29810
29811 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29812 64-bit targets.
29813 * configure: Regenerated.
29814
8e18b86d
DM
298152012-11-17 David S. Miller <davem@davemloft.net>
29816
29817 [BZ #14811]
29818 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29819 nonzero exponents with absolute value below 0x1p-128 to +/-
29820 0x1p-128.
29821
531f1ae0
JM
298222012-11-17 Joseph Myers <joseph@codesourcery.com>
29823
12df29e2
JM
29824 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29825
150dc1a0
JM
29826 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29827
531f1ae0
JM
29828 * posix/getconf-speclist.c: New file.
29829 * posix/posix-envs.def: Likewise.
29830 * posix/confstr.c (START_ENV_GROUP): New macro.
29831 (END_ENV_GROUP): Likewise.
29832 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29833 (KNOWN_PRESENT_ENV_STRING): Likewise.
29834 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29835 (UNKNOWN_ENVIRONMENT): Likewise.
29836 (confstr): Include posix-envs.def instead of handling
29837 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29838 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29839 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29840 (END_ENV_GROUP): Likewise.
29841 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29842 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29843 (UNKNOWN_ENVIRONMENT): Likewise.
29844 (__sysconf): Include posix-envs.def instead of handling associated
29845 cases directly here.
29846 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29847 preprocessing getconf-speclist.c rather than running getconf or
29848 generating empty file.
29849
a93f9cbc
PT
298502012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29851
29852 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29853
d64d9f87
AL
298542012-11-16 Andrej Lajovic <natrij@gmail.com>
29855
29856 [BZ #14672]
29857 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29858
447885eb
DM
298592012-11-16 David S. Miller <davem@davemloft.net>
29860
29861 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29862 smaller than LDBL_EPSILON/2.0L, just return xm1.
29863
bcbf9830
L
298642012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29865
29866 * elf/tst-array1.c (init): Set constructor priority to 1000.
29867 (fini): Set destructor priority to 1000.
29868 * elf/tst-array2dep.c: Likewise.
29869
2b766585
SP
298702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29871
29872 [BZ #11741]
29873 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29874 (_IO_new_file_xsputn): Also return EOF if none of the input
29875 data was written when overflow failed.
29876 * libio/iopadn.c (_IO_padn): Likewise.
29877 * libio/iowpadn.c (_IO_wpadn): Likewise.
29878 * stdio-common/tst-put-error.c: Add copyright notice.
29879 (do_test): Add case for printing padded string.
29880 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29881 _IO_padn returned error.
29882 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29883 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29884 return EOF.
29885
b1848fde
SP
298862012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29887
29888 * libio/libioP.h: Add comment note that the references to C++
29889 bits are now obsolete.
29890
2fd89785
MS
298912012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29892
29893 * math/libm-test.inc (check_complex): Use asprintf.
29894
e3ea5409
JM
298952012-11-14 Joseph Myers <joseph@codesourcery.com>
29896
29897 * debug/pcprofiledump.c (print_version): Update copyright year.
29898 * malloc/memusagestat.c (print_version): Likewise.
29899
2e64d265
L
299002012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29901
29902 [BZ #14831]
29903 * elf/Makefile (tests): Add tst-audit8.
29904 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29905 ($(objpfx)tst-audit8.out): New target.
29906 (tst-audit8-ENV): New variable.
29907 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29908 audit if l_reloc_result is NULL.
29909 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29910 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29911 * elf/tst-audit8.c: New file.
29912
c485e4d2
MS
299132012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29914
29915 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29916 * misc/Makefile (CFLAGS-select.c): Define.
29917 * posix/Makefile (CFLAGS-pause.c): Define.
29918
3a0d900a
DM
299192012-11-13 David S. Miller <davem@davemloft.net>
29920
29921 * crypt/Makefile: Move test targets after toplevel Rules
29922 inclusion. Grab any necessary sysdep routines when linking.
29923 * crypt/md5.c (md5_process_block): Remove define, we will always
29924 name it __md5_process_block.
29925 (md5_finish_ctx): Update md5_process_block call.
29926 (md5_stream): Likewise.
29927 (md5_process_bytes): Likewise.
29928 (md5_process_block): Rename to __md5_process_block and move to ...
29929 * crypt/md5-block.c: ... here.
29930 * crypt/sha256.c (sha256_process_block): Move to ...
29931 * crypt/sha256-block.c: ... here.
29932 * crypt/sha512.c (sha512_process_block): Move to ...
29933 * crypt/sha512-block.c: ... here.
29934 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29935 path.
29936 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29937 * sysdeps/sparc/sparc64/multiarch/Makefile
29938 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29939 crypt subdir.
29940 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29942 multiarch changes.
29943 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29944 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29945 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29946 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29947 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29948 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29949 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29950 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29951 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29952 file.
29953 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29954 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29955 file.
29956 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29957
8ca89318
JM
299582012-11-13 Joseph Myers <joseph@codesourcery.com>
29959
e27d476a
JM
29960 * timezone/tzselect.ksh: Update from tzcode git revision
29961 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29962 * timezone/zdump.c: Likewise.
29963 * timezone/zic.c: Likewise.
29964 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29965 in TZVERSION setting, not $(PKGVERSION).
29966 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29967 REPORT_BUGS_TO settings.
29968
8ca89318
JM
29969 [BZ #14838]
29970 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29971 macro.
29972
47594329
MS
299732012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29974
29975 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29976 detection to immediately after _FP_ROUND().
29977 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29978 bits are 0.
29979
640ac3f1
DM
299802012-11-11 David S. Miller <davem@davemloft.net>
29981
29982 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29983 inttypes.h
29984 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29985 __close rather than their public counterparts.
29986
3d2577bb
JM
299872012-11-10 Joseph Myers <joseph@codesourcery.com>
29988
29989 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29990 file.
29991 [UNIX98] (sem_timedwait): Do not expect.
29992 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29993 [XPG4 || UNIX98] (sockatmark): Do not expect.
29994 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29995 (clock_getcpuclockid): Do not expect.
29996 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29997 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29998 Do not expect.
29999 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30000 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30001 [UNIX98] (vwscanf): Likewise.
30002 [UNIX98] (vswscanf): Likewise.
30003
fb1ae1ee
JM
300042012-11-09 Joseph Myers <joseph@codesourcery.com>
30005
9ec6f8bd
JM
30006 * timezone/version.h: Remove file.
30007 * timezone/README: Do not refer to version.h.
30008 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30009 $(objpfx)version.h.
30010 ($(objpfx)zdump.o): Likewise.
c3f81911 30011 ($(objpfx)version.h): New target.
9ec6f8bd 30012
0aa8f8a1
JM
30013 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30014 2012i.
30015 * timezone/README: Don't mention modification to tzselect.ksh.
30016 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30017 work on unmodified tzselect.ksh. Substitute version numbers in
30018 tzselect.ksh.
30019
4e87147f
JM
30020 * Makefile (format-me): Remove.
30021 (INSTALL): Adjust indentation. Use commands directly instead of
30022 using $(format-me).
30023
8b748aed
JM
30024 * aclocal.m4 (ACX_PKGVERSION): New macro.
30025 (ACX_BUGURL): Likewise.
30026 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30027 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30028 (REPORT_BUGS_TO): Likewise.
30029 * configure: Regenerated.
30030 * config.h.in (PKGVERSION): New macro.
30031 (REPORT_BUGS_TO): Likewise.
30032 * config.make.in (PKGVERSION): New variable.
30033 (PKGVERSION_TEXI): Likewise.
30034 (REPORT_BUGS_TO): Likewise.
30035 (REPORT_BUGS_TEXI): Likewise.
30036 * Makefile (format-me): Use -I$(common-objpfx)manual.
30037 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30038 ($(common-objpfx)manual/%): New target.
30039 (manual/%): Remove target.
30040 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30041 (print_version): Use PKGVERSION.
30042 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30043 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30044 and REPORT_BUGS_TO.
30045 ($(objpfx)xtrace): Likewise.
30046 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30047 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30048 (print_version): Use PKGVERSION.
30049 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30050 (do_version): Use PKGVERSION.
30051 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30052 REPORT_BUGS_TO.
30053 (common-ldd-rewrite): Likewise.
30054 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30055 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30056 (print_version): Use PKGVERSION.
30057 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30058 * elf/pldd.c (argp_program_bug_address): Remove variable.
30059 (more_help): New function.
30060 (argp): Use more_help.
30061 (print_version): Use PKGVERSION.
30062 * elf/sln.c (main): Use PKGVERSION.
30063 (usage): Use REPORT_BUGS_TO.
30064 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30065 (top level): Use PKGVERSION.
30066 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30067 (print_version): Use PKGVERSION.
30068 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30069 (print_version): Use PKGVERSION.
30070 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30071 (print_version): Use PKGVERSION.
30072 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30073 (print_version): Use PKGVERSION.
30074 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30075 (print_version): Use PKGVERSION.
30076 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30077 (print_version): Use PKGVERSION.
30078 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30079 and BUGURL.
30080 ($(objpfx)memusage): Likewise.
30081 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30082 (do_version): Use PKGVERSION.
30083 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30084 (print_version): Use PKGVERSION.
30085 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30086 ($PKGVERSION): New variable.
30087 ($REPORT_BUGS_TO): Likewise.
30088 (usage): Use $REPORT_BUGS_TO.
30089 (top level): Use $PKGVERSION.
30090 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30091 ($(objpfx)pkgvers.texi): New rule.
30092 ($(objpfx)stamp-pkgvers): Likewise.
30093 * manual/install.texi: Include pkgvers.texi.
30094 (--with-pkgversion): Document new configure option.
30095 (--with-bugurl): Likewise.
30096 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30097 than necessarily for this particular distribution. Use
30098 REPORT_BUGS_TO for where to report bugs.
30099 * INSTALL: Regenerated.
30100 * manual/libc.texinfo: Include pkgvers.texi.
30101 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30102 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30103 (print_version): Use PKGVERSION.
30104 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30105 (print_version): Use PKGVERSION.
30106 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30107 (print_version): Use PKGVERSION.
30108 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30109 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30110 macro.
30111 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30112 (print_version): Use PKGVERSION.
30113 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30114 (print_version): Use PKGVERSION.
30115 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30116 and PKGVERSION.
30117
92e4b6a9
JM
30118 * timezone/checktab.awk: Update from tzcode 2012i.
30119 * timezone/ialloc.c: Likewise.
30120 * timezone/private.h: Likewise.
30121 * timezone/scheck.c: Likewise.
30122 * timezone/tzfile.h: Likewise.
30123 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30124 (TZVERSION): Hardcode tzcode version number.
30125 * timezone/zdump.c: Update from tzcode 2012i.
30126 * timezone/zic.c: Likewise.
30127 * timezone/version.h: New file.
30128 * timezone/README: Describe version.h. Update upstream location.
30129
9bde902c
JM
30130 [BZ #14824]
30131 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30132 (mktemp): Enable declaration.
30133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30134 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30136 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30137 Likewise.
30138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30139 Likewise.
30140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30141 Likewise.
30142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30143 Likewise.
30144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30145 Likewise.
30146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30147 Likewise.
30148
fb1ae1ee
JM
30149 [BZ #14821]
30150 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30151 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30152 for copies of such integer values.
30153 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30154 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30155
2c1adbcb
AJ
301562012-11-09 Andreas Jaeger <aj@suse.de>
30157
30158 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30159 definitions and declarations that are provided by
30160 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30161
d0f8457e
AK
301622012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30163
3a235abb 30164 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30165 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30166 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30167 definition.
30168
57241e26
MS
301692012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30170
30171 * elf/elf.h: Update comment before AArch64 relocations.
30172
60e8270d
DM
301732012-11-07 David S. Miller <davem@davemloft.net>
30174
30175 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30176 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30177 (__start_context): Declare.
30178 (__makecontext_ret): Delete.
30179 (__makecontext): Hook up __start_context instead of
30180 __makecontext_ret.
30181 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30182 (sysdep_routines): Add __start_context when in stdlib.
30183
0fbb0fbc
JM
301842012-11-07 Joseph Myers <joseph@codesourcery.com>
30185
30186 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30187 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30188 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30189 hardcoded "nm".
30190 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30191 (READELF): New variable. Use it instead of hardcoded "readelf".
30192
eb48db7e
L
301932012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30194
30195 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30196 * sysdeps/x86/Makefile: Here.
30197 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30198 * sysdeps/x86/tst-xmmymm.sh: This.
30199
05bcf62a
JM
302002012-11-07 Joseph Myers <joseph@codesourcery.com>
30201
c4b6cf53
JM
30202 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30203 expectations.
30204 [UNIX98] (pthread_barrier_t): Do not expect.
30205 [UNIX98] (pthread_barrierattr_t): Likewise.
30206 [UNIX98] (pthread_spinlock_t): Likewise.
30207 [UNIX98] (pthread_barrier_destroy): Likewise.
30208 [UNIX98] (pthread_barrier_init): Likewise.
30209 [UNIX98] (pthread_barrier_wait): Likewise.
30210 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30211 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30212 [UNIX98] (pthread_barrierattr_init): Likewise.
30213 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30214 [UNIX98] (pthread_getcpuclockid): Likewise.
30215 [UNIX98] (pthread_mutex_timedlock): Likewise.
30216 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30217 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30218 [UNIX98] (pthread_sigmask): Likewise.
30219 [UNIX98] (pthread_spin_destroy): Likewise.
30220 [UNIX98] (pthread_spin_init): Likewise.
30221 [UNIX98] (pthread_spin_lock): Likewise.
30222 [UNIX98] (pthread_spin_trylock): Likewise.
30223 [UNIX98] (pthread_spin_unlock): Likewise.
30224 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30225 Do not expect.
30226 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30227 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30228 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30229 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30230 [XPG3 || XPG4] (pthread_key_t): Likewise.
30231 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30232 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30233 [XPG3 || XPG4] (pthread_once_t): Likewise.
30234 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30235 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30236 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30237 [XPG3 || XPG4] (pthread_t): Likewise.
30238
cbe6e120
JM
30239 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30240 not expect.
30241 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30242
1b126443
JM
30243 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30244 Change function return type to int.
30245
b961a573
JM
30246 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30247 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30248 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30249 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30250 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30251 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30252 [!POSIX] (posix_madvise): Likewise.
30253 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30254 && !UNIX98].
30255 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30256 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30257 (mode_t): Likewise.
30258 (posix_mem_offset): Likewise.
30259 (posix_typed_mem_get_info): Likewise.
30260 (posix_typed_mem_open): Likewise.
30261
9e188909
JM
30262 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30263 Change condition to [XOPEN2K8].
30264
05bcf62a
JM
30265 * conform/conformtest.pl: Preprocess allow-header data with -x c
30266 instead of from stdin.
30267 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30268 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30269 [C99-based standards] (cerfc): Likewise.
30270 [C99-based standards] (cexp2): Likewise.
30271 [C99-based standards] (cexpm1): Likewise.
30272 [C99-based standards] (clog10): Likewise.
30273 [C99-based standards] (clog1p): Likewise.
30274 [C99-based standards] (clog2): Likewise.
30275 [C99-based standards] (clgamma): Likewise.
30276 [C99-based standards] (ctgamma): Likewise.
30277 [C99-based standards] (cerff): Likewise.
30278 [C99-based standards] (cerfcf): Likewise.
30279 [C99-based standards] (cexp2f): Likewise.
30280 [C99-based standards] (cexpm1f): Likewise.
30281 [C99-based standards] (clog10f): Likewise.
30282 [C99-based standards] (clog1pf): Likewise.
30283 [C99-based standards] (clog2f): Likewise.
30284 [C99-based standards] (clgammaf): Likewise.
30285 [C99-based standards] (ctgammaf): Likewise.
30286 [C99-based standards] (cerfl): Likewise.
30287 [C99-based standards] (cerfcl): Likewise.
30288 [C99-based standards] (cexp2l): Likewise.
30289 [C99-based standards] (cexpm1l): Likewise.
30290 [C99-based standards] (clog10l): Likewise.
30291 [C99-based standards] (clog1pl): Likewise.
30292 [C99-based standards] (clog2l): Likewise.
30293 [C99-based standards] (clgammal): Likewise.
30294 [C99-based standards] (ctgammal): Likewise.
30295 * conform/data/inttypes.h-data [C99-based standards]: Include
30296 stdint.h-data. Remove all expectations for stdint.h contents.
30297 [C99-based standards] (PRI*): Do not allow.
30298 [C99-based standards] (SCN*): Likewise.
30299 [C99-based standards] (*_t): Likewise.
30300 [C99-based-standards] (PRId8): Expect macro.
30301 [C99-based-standards] (PRIi8): Likewise.
30302 [C99-based-standards] (PRIo8): Likewise.
30303 [C99-based-standards] (PRIu8): Likewise.
30304 [C99-based-standards] (PRIx8): Likewise.
30305 [C99-based-standards] (PRIX8): Likewise.
30306 [C99-based-standards] (SCNd8): Likewise.
30307 [C99-based-standards] (SCNi8): Likewise.
30308 [C99-based-standards] (SCNo8): Likewise.
30309 [C99-based-standards] (SCNu8): Likewise.
30310 [C99-based-standards] (SCNx8): Likewise.
30311 [C99-based-standards] (PRIdLEAST8): Likewise.
30312 [C99-based-standards] (PRIiLEAST8): Likewise.
30313 [C99-based-standards] (PRIoLEAST8): Likewise.
30314 [C99-based-standards] (PRIuLEAST8): Likewise.
30315 [C99-based-standards] (PRIxLEAST8): Likewise.
30316 [C99-based-standards] (PRIXLEAST8): Likewise.
30317 [C99-based-standards] (SCNdLEAST8): Likewise.
30318 [C99-based-standards] (SCNiLEAST8): Likewise.
30319 [C99-based-standards] (SCNoLEAST8): Likewise.
30320 [C99-based-standards] (SCNuLEAST8): Likewise.
30321 [C99-based-standards] (SCNxLEAST8): Likewise.
30322 [C99-based-standards] (PRIdFAST8): Likewise.
30323 [C99-based-standards] (PRIiFAST8): Likewise.
30324 [C99-based-standards] (PRIoFAST8): Likewise.
30325 [C99-based-standards] (PRIuFAST8): Likewise.
30326 [C99-based-standards] (PRIxFAST8): Likewise.
30327 [C99-based-standards] (PRIXFAST8): Likewise.
30328 [C99-based-standards] (SCNdFAST8): Likewise.
30329 [C99-based-standards] (SCNiFAST8): Likewise.
30330 [C99-based-standards] (SCNoFAST8): Likewise.
30331 [C99-based-standards] (SCNuFAST8): Likewise.
30332 [C99-based-standards] (SCNxFAST8): Likewise.
30333 [C99-based-standards] (PRId16): Likewise.
30334 [C99-based-standards] (PRIi16): Likewise.
30335 [C99-based-standards] (PRIo16): Likewise.
30336 [C99-based-standards] (PRIu16): Likewise.
30337 [C99-based-standards] (PRIx16): Likewise.
30338 [C99-based-standards] (PRIX16): Likewise.
30339 [C99-based-standards] (SCNd16): Likewise.
30340 [C99-based-standards] (SCNi16): Likewise.
30341 [C99-based-standards] (SCNo16): Likewise.
30342 [C99-based-standards] (SCNu16): Likewise.
30343 [C99-based-standards] (SCNx16): Likewise.
30344 [C99-based-standards] (PRIdLEAST16): Likewise.
30345 [C99-based-standards] (PRIiLEAST16): Likewise.
30346 [C99-based-standards] (PRIoLEAST16): Likewise.
30347 [C99-based-standards] (PRIuLEAST16): Likewise.
30348 [C99-based-standards] (PRIxLEAST16): Likewise.
30349 [C99-based-standards] (PRIXLEAST16): Likewise.
30350 [C99-based-standards] (SCNdLEAST16): Likewise.
30351 [C99-based-standards] (SCNiLEAST16): Likewise.
30352 [C99-based-standards] (SCNoLEAST16): Likewise.
30353 [C99-based-standards] (SCNuLEAST16): Likewise.
30354 [C99-based-standards] (SCNxLEAST16): Likewise.
30355 [C99-based-standards] (PRIdFAST16): Likewise.
30356 [C99-based-standards] (PRIiFAST16): Likewise.
30357 [C99-based-standards] (PRIoFAST16): Likewise.
30358 [C99-based-standards] (PRIuFAST16): Likewise.
30359 [C99-based-standards] (PRIxFAST16): Likewise.
30360 [C99-based-standards] (PRIXFAST16): Likewise.
30361 [C99-based-standards] (SCNdFAST16): Likewise.
30362 [C99-based-standards] (SCNiFAST16): Likewise.
30363 [C99-based-standards] (SCNoFAST16): Likewise.
30364 [C99-based-standards] (SCNuFAST16): Likewise.
30365 [C99-based-standards] (SCNxFAST16): Likewise.
30366 [C99-based-standards] (PRId32): Likewise.
30367 [C99-based-standards] (PRIi32): Likewise.
30368 [C99-based-standards] (PRIo32): Likewise.
30369 [C99-based-standards] (PRIu32): Likewise.
30370 [C99-based-standards] (PRIx32): Likewise.
30371 [C99-based-standards] (PRIX32): Likewise.
30372 [C99-based-standards] (SCNd32): Likewise.
30373 [C99-based-standards] (SCNi32): Likewise.
30374 [C99-based-standards] (SCNo32): Likewise.
30375 [C99-based-standards] (SCNu32): Likewise.
30376 [C99-based-standards] (SCNx32): Likewise.
30377 [C99-based-standards] (PRIdLEAST32): Likewise.
30378 [C99-based-standards] (PRIiLEAST32): Likewise.
30379 [C99-based-standards] (PRIoLEAST32): Likewise.
30380 [C99-based-standards] (PRIuLEAST32): Likewise.
30381 [C99-based-standards] (PRIxLEAST32): Likewise.
30382 [C99-based-standards] (PRIXLEAST32): Likewise.
30383 [C99-based-standards] (SCNdLEAST32): Likewise.
30384 [C99-based-standards] (SCNiLEAST32): Likewise.
30385 [C99-based-standards] (SCNoLEAST32): Likewise.
30386 [C99-based-standards] (SCNuLEAST32): Likewise.
30387 [C99-based-standards] (SCNxLEAST32): Likewise.
30388 [C99-based-standards] (PRIdFAST32): Likewise.
30389 [C99-based-standards] (PRIiFAST32): Likewise.
30390 [C99-based-standards] (PRIoFAST32): Likewise.
30391 [C99-based-standards] (PRIuFAST32): Likewise.
30392 [C99-based-standards] (PRIxFAST32): Likewise.
30393 [C99-based-standards] (PRIXFAST32): Likewise.
30394 [C99-based-standards] (SCNdFAST32): Likewise.
30395 [C99-based-standards] (SCNiFAST32): Likewise.
30396 [C99-based-standards] (SCNoFAST32): Likewise.
30397 [C99-based-standards] (SCNuFAST32): Likewise.
30398 [C99-based-standards] (SCNxFAST32): Likewise.
30399 [C99-based-standards] (PRId64): Likewise.
30400 [C99-based-standards] (PRIi64): Likewise.
30401 [C99-based-standards] (PRIo64): Likewise.
30402 [C99-based-standards] (PRIu64): Likewise.
30403 [C99-based-standards] (PRIx64): Likewise.
30404 [C99-based-standards] (PRIX64): Likewise.
30405 [C99-based-standards] (SCNd64): Likewise.
30406 [C99-based-standards] (SCNi64): Likewise.
30407 [C99-based-standards] (SCNo64): Likewise.
30408 [C99-based-standards] (SCNu64): Likewise.
30409 [C99-based-standards] (SCNx64): Likewise.
30410 [C99-based-standards] (PRIdLEAST64): Likewise.
30411 [C99-based-standards] (PRIiLEAST64): Likewise.
30412 [C99-based-standards] (PRIoLEAST64): Likewise.
30413 [C99-based-standards] (PRIuLEAST64): Likewise.
30414 [C99-based-standards] (PRIxLEAST64): Likewise.
30415 [C99-based-standards] (PRIXLEAST64): Likewise.
30416 [C99-based-standards] (SCNdLEAST64): Likewise.
30417 [C99-based-standards] (SCNiLEAST64): Likewise.
30418 [C99-based-standards] (SCNoLEAST64): Likewise.
30419 [C99-based-standards] (SCNuLEAST64): Likewise.
30420 [C99-based-standards] (SCNxLEAST64): Likewise.
30421 [C99-based-standards] (PRIdFAST64): Likewise.
30422 [C99-based-standards] (PRIiFAST64): Likewise.
30423 [C99-based-standards] (PRIoFAST64): Likewise.
30424 [C99-based-standards] (PRIuFAST64): Likewise.
30425 [C99-based-standards] (PRIxFAST64): Likewise.
30426 [C99-based-standards] (PRIXFAST64): Likewise.
30427 [C99-based-standards] (SCNdFAST64): Likewise.
30428 [C99-based-standards] (SCNiFAST64): Likewise.
30429 [C99-based-standards] (SCNoFAST64): Likewise.
30430 [C99-based-standards] (SCNuFAST64): Likewise.
30431 [C99-based-standards] (SCNxFAST64): Likewise.
30432 [C99-based-standards] (PRIdMAX): Likewise.
30433 [C99-based-standards] (PRIiMAX): Likewise.
30434 [C99-based-standards] (PRIoMAX): Likewise.
30435 [C99-based-standards] (PRIuMAX): Likewise.
30436 [C99-based-standards] (PRIxMAX): Likewise.
30437 [C99-based-standards] (PRIXMAX): Likewise.
30438 [C99-based-standards] (SCNdMAX): Likewise.
30439 [C99-based-standards] (SCNiMAX): Likewise.
30440 [C99-based-standards] (SCNoMAX): Likewise.
30441 [C99-based-standards] (SCNuMAX): Likewise.
30442 [C99-based-standards] (SCNxMAX): Likewise.
30443 [C99-based-standards] (PRIdPTR): Likewise.
30444 [C99-based-standards] (PRIiPTR): Likewise.
30445 [C99-based-standards] (PRIoPTR): Likewise.
30446 [C99-based-standards] (PRIuPTR): Likewise.
30447 [C99-based-standards] (PRIxPTR): Likewise.
30448 [C99-based-standards] (PRIXPTR): Likewise.
30449 [C99-based-standards] (SCNdPTR): Likewise.
30450 [C99-based-standards] (SCNiPTR): Likewise.
30451 [C99-based-standards] (SCNoPTR): Likewise.
30452 [C99-based-standards] (SCNuPTR): Likewise.
30453 [C99-based-standards] (SCNxPTR): Likewise.
30454 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30455 allow.
30456 * conform/data/stdint.h-data: Update comments to clarify
30457 requirements.
30458 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30459 type.
30460 [C99-based standards] (INT8_MAX): Likewise.
30461 [C99-based standards] (INT16_MIN): Likewise.
30462 [C99-based standards] (INT16_MAX): Likewise.
30463 [C99-based standards] (INT32_MIN): Likewise.
30464 [C99-based standards] (INT32_MAX): Likewise.
30465 [C99-based standards] (INT64_MIN): Likewise.
30466 [C99-based standards] (INT64_MAX): Likewise.
30467 [C99-based standards] (UINT8_MAX): Likewise.
30468 [C99-based standards] (UINT16_MAX): Likewise.
30469 [C99-based standards] (UINT32_MAX): Likewise.
30470 [C99-based standards] (UINT64_MAX): Likewise.
30471 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30472 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30473 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30474 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30475 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30476 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30477 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30478 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30479 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30480 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30481 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30482 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30483 [C99-based standards] (INT_FAST8_MIN): Likewise.
30484 [C99-based standards] (INT_FAST8_MAX): Likewise.
30485 [C99-based standards] (INT_FAST16_MIN): Likewise.
30486 [C99-based standards] (INT_FAST16_MAX): Likewise.
30487 [C99-based standards] (INT_FAST32_MIN): Likewise.
30488 [C99-based standards] (INT_FAST32_MAX): Likewise.
30489 [C99-based standards] (INT_FAST64_MIN): Likewise.
30490 [C99-based standards] (INT_FAST64_MAX): Likewise.
30491 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30492 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30493 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30494 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30495 [C99-based standards] (INTPTR_MIN): Likewise.
30496 [C99-based standards] (INTPTR_MAX): Likewise.
30497 [C99-based standards] (UINTPTR_MAX): Likewise.
30498 [C99-based standards] (INTMAX_MIN): Likewise.
30499 [C99-based standards] (INTMAX_MAX): Likewise.
30500 [C99-based standards] (UINTMAX_MAX): Likewise.
30501 [C99-based standards] (PTRDIFF_MIN): Likewise.
30502 [C99-based standards] (PTRDIFF_MAX): Likewise.
30503 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30504 [C99-based standards] (SIZE_MAX): Likewise.
30505 [C99-based standards] (WCHAR_MAX): Likewise.
30506 [C99-based standards] (WINT_MAX): Likewise.
30507 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30508 constraint on value.
30509 [C99-based standards] (WCHAR_MIN): Likewise.
30510 [C99-based standards] (WINT_MIN): Likewise.
30511 [C99-based standards] (*_t): Allow.
30512 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30513 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30514 Include math.h-data and complex.h-data. Remove all expectations
30515 of math.h and complex.h contents.
30516 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30517 at end of line.
30518 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30519 (struct tm): Expect tag.
30520 [C99-based-standards] (wcstof): Expect function.
30521 [C99-based-standards] (wcstold): Likewise.
30522 [C99-based-standards] (wcstoll): Likewise.
30523 [C99-based-standards] (wcstoull): Likewise.
30524 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30525 macro-int-constant. Specify type.
30526 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30527 constraint on value.
30528 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30529 Specify type.
30530 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30531 Specify value.
30532 [ISO C standards]: Do not allow headers.
30533 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30534 wcs[abcdefghijklmnopqrstuvwxyz]*.
30535 [ISO C standards] (*_t): Do not allow.
30536 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30537 Expect function.
30538 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30539 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30540 Specify type.
30541 [ISO C standards]: Do not allow headers.
30542 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30543 is[abcdefghijklmnopqrstuvwxyz]*.
30544 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30545 to[abcdefghijklmnopqrstuvwxyz]*.
30546 [ISO C standards] (*_t): Do not allow.
30547 * conform/data/stdalign.h-data: New file.
30548 * conform/data/stdbool.h-data: Likewise.
30549 * conform/data/stdnoreturn.h-data: Likewise.
30550
7514feb8
RM
305512012-11-07 Roland McGrath <roland@hack.frob.com>
30552
30553 [BZ #14815]
30554 * manual/filesys.texi (Directory Entries): Typo fix.
30555 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30556
19b2ecfc
MS
305572012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30558
30559 * elf/elf.h (EM_AARCH64): New macro.
30560 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30561 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30562 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30563 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30564 (R_AARCH64_TLSDESC): Likewise.
30565 (NT_ARM_TLS): Likewise.
30566 (NT_ARM_HW_BREAK): Likewise.
30567 (NT_ARM_HW_WATCH): Likewise.
30568
60e235ee
JM
305692012-11-07 Joseph Myers <joseph@codesourcery.com>
30570
30571 [BZ #14811]
30572 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30573 (__ieee754_powl): Saturate nonzero exponents with absolute value
30574 below 0x1p-79 to +/- 0x1p-79.
30575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30576 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30577 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30578 nonzero exponents with absolute value below 0x1p-32 to +/-
30579 0x1p-32.
30580 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30581 (__ieee754_powl): Saturate nonzero exponents with absolute value
30582 below 0x1p-79 to +/- 0x1p-79.
30583 * math/libm-test.inc (pow_test): Add more tests.
30584
0ab234b7
AK
305852012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30586
30587 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30588 _dl_s390_cap_flags with kernel. Increase string length.
30589 (_dl_s390_platforms): Add z196 and zEC12.
30590
45832f74
JM
305912012-11-07 Joseph Myers <joseph@codesourcery.com>
30592
30593 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30594 Change XOPEN21K to XOPEN2K.
30595
19218757
MK
305962012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30597
30598 * string/memmove.c: Use memcpy when possible.
30599
c5f45721
AJ
306002012-11-06 Andreas Jaeger <aj@suse.de>
30601
30602 * po/eo.po: Update from translation team.
30603
82477c28
JM
306042012-11-06 Joseph Myers <joseph@codesourcery.com>
30605
30606 [BZ #14793]
30607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30608 exponent and small x and y exponents, scale x or y up. Increase
30609 by 2 the exponent used in scaling up.
30610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30612 * math/libm-test.inc (fma_test): Add more tests.
30613 (fma_test_towardzero): Likewise.
30614 (fma_test_downward): Likewise.
30615 (fma_test_upward): Likewise.
30616
99252c8c
JM
306172012-11-05 Joseph Myers <joseph@codesourcery.com>
30618
acfa885f
JM
30619 [BZ #14805]
30620 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30621 fenv_t *.
30622
99252c8c
JM
30623 [BZ #14801]
30624 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30625 namespace for names of struct fields.
30626 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30627 fenv_t fields.
30628 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30629 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30630
d6d98dea
ST
306312012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30632
30633 [BZ #3665]
30634 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30635
e10bb107
TS
306362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30637
30638 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30639 PTR_DEMANGLE.
30640
30641 [BZ #5246]
30642 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30643 PTR_DEMANGLE.
30644
a0c2940d
JM
306452012-11-04 Joseph Myers <joseph@codesourcery.com>
30646
30647 [BZ #14797]
30648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30649 definitely overflow as x * y not x * y + z.
30650 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30651 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30652 * math/libm-test.inc (fma_test): Add more tests.
30653 (fma_test_towardzero): Likewise.
30654 (fma_test_downward): Likewise.
30655 (fma_test_upward): Likewise.
30656
b830319d
TS
306572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30658
30659 [BZ #157]
30660
30661 * include/stub-tag.h: Remove file.
30662 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30663 '#include' of it.
30664 * manual/maint.texi (Porting): Don't reference it.
30665 * Makerules ($(objpfx)stubs): Likewise.
30666 * dirent/closedir.c: Don't include <stub-tag.h>.
30667 * dirent/dirfd.c: Likewise.
30668 * dirent/fdopendir.c: Likewise.
30669 * dirent/getdents.c: Likewise.
30670 * dirent/getdents64.c: Likewise.
30671 * dirent/opendir.c: Likewise.
30672 * dirent/readdir.c: Likewise.
30673 * dirent/readdir64.c: Likewise.
30674 * dirent/readdir64_r.c: Likewise.
30675 * dirent/readdir_r.c: Likewise.
30676 * dirent/rewinddir.c: Likewise.
30677 * dirent/seekdir.c: Likewise.
30678 * dirent/telldir.c: Likewise.
30679 * gmon/profil.c: Likewise.
30680 * grp/setgroups.c: Likewise.
30681 * inet/if_index.c: Likewise.
30682 * io/access.c: Likewise.
30683 * io/chdir.c: Likewise.
30684 * io/chmod.c: Likewise.
30685 * io/chown.c: Likewise.
30686 * io/close.c: Likewise.
30687 * io/dup.c: Likewise.
30688 * io/dup2.c: Likewise.
30689 * io/dup3.c: Likewise.
30690 * io/euidaccess.c: Likewise.
30691 * io/faccessat.c: Likewise.
30692 * io/fchdir.c: Likewise.
30693 * io/fchmod.c: Likewise.
30694 * io/fchmodat.c: Likewise.
30695 * io/fchown.c: Likewise.
30696 * io/fchownat.c: Likewise.
30697 * io/fcntl.c: Likewise.
30698 * io/flock.c: Likewise.
30699 * io/fstatfs.c: Likewise.
30700 * io/fstatfs64.c: Likewise.
30701 * io/fstatvfs.c: Likewise.
30702 * io/fstatvfs64.c: Likewise.
30703 * io/futimens.c: Likewise.
30704 * io/fxstat.c: Likewise.
30705 * io/fxstat64.c: Likewise.
30706 * io/fxstatat.c: Likewise.
30707 * io/fxstatat64.c: Likewise.
30708 * io/getcwd.c: Likewise.
30709 * io/isatty.c: Likewise.
30710 * io/lchmod.c: Likewise.
30711 * io/lchown.c: Likewise.
30712 * io/link.c: Likewise.
30713 * io/linkat.c: Likewise.
30714 * io/lseek.c: Likewise.
30715 * io/lseek64.c: Likewise.
30716 * io/lxstat64.c: Likewise.
30717 * io/mkdir.c: Likewise.
30718 * io/mkdirat.c: Likewise.
30719 * io/mkfifo.c: Likewise.
30720 * io/mkfifoat.c: Likewise.
30721 * io/open.c: Likewise.
30722 * io/open64.c: Likewise.
30723 * io/openat.c: Likewise.
30724 * io/openat64.c: Likewise.
30725 * io/pipe.c: Likewise.
30726 * io/pipe2.c: Likewise.
30727 * io/poll.c: Likewise.
30728 * io/posix_fadvise.c: Likewise.
30729 * io/posix_fadvise64.c: Likewise.
30730 * io/posix_fallocate.c: Likewise.
30731 * io/posix_fallocate64.c: Likewise.
30732 * io/read.c: Likewise.
30733 * io/readlink.c: Likewise.
30734 * io/readlinkat.c: Likewise.
30735 * io/rmdir.c: Likewise.
30736 * io/sendfile.c: Likewise.
30737 * io/sendfile64.c: Likewise.
30738 * io/statfs.c: Likewise.
30739 * io/statfs64.c: Likewise.
30740 * io/statvfs.c: Likewise.
30741 * io/statvfs64.c: Likewise.
30742 * io/symlink.c: Likewise.
30743 * io/symlinkat.c: Likewise.
30744 * io/ttyname.c: Likewise.
30745 * io/ttyname_r.c: Likewise.
30746 * io/umask.c: Likewise.
30747 * io/unlink.c: Likewise.
30748 * io/unlinkat.c: Likewise.
30749 * io/utime.c: Likewise.
30750 * io/utimensat.c: Likewise.
30751 * io/write.c: Likewise.
30752 * io/xmknod.c: Likewise.
30753 * io/xmknodat.c: Likewise.
30754 * io/xstat.c: Likewise.
30755 * io/xstat64.c: Likewise.
30756 * login/getpt.c: Likewise.
30757 * login/grantpt.c: Likewise.
30758 * login/unlockpt.c: Likewise.
30759 * math/e_acoshl.c: Likewise.
30760 * math/e_acosl.c: Likewise.
30761 * math/e_asinl.c: Likewise.
30762 * math/e_atan2l.c: Likewise.
30763 * math/e_atanhl.c: Likewise.
30764 * math/e_coshl.c: Likewise.
30765 * math/e_expl.c: Likewise.
30766 * math/e_fmodl.c: Likewise.
30767 * math/e_gammal_r.c: Likewise.
30768 * math/e_hypotl.c: Likewise.
30769 * math/e_j0l.c: Likewise.
30770 * math/e_j1l.c: Likewise.
30771 * math/e_jnl.c: Likewise.
30772 * math/e_lgammal_r.c: Likewise.
30773 * math/e_log10l.c: Likewise.
30774 * math/e_log2l.c: Likewise.
30775 * math/e_logl.c: Likewise.
30776 * math/e_powl.c: Likewise.
30777 * math/e_rem_pio2l.c: Likewise.
30778 * math/e_sinhl.c: Likewise.
30779 * math/e_sqrtl.c: Likewise.
30780 * math/fclrexcpt.c: Likewise.
30781 * math/fedisblxcpt.c: Likewise.
30782 * math/feenablxcpt.c: Likewise.
30783 * math/fegetenv.c: Likewise.
30784 * math/fegetexcept.c: Likewise.
30785 * math/fegetround.c: Likewise.
30786 * math/feholdexcpt.c: Likewise.
30787 * math/fesetenv.c: Likewise.
30788 * math/fesetround.c: Likewise.
30789 * math/feupdateenv.c: Likewise.
30790 * math/fgetexcptflg.c: Likewise.
30791 * math/fraiseexcpt.c: Likewise.
30792 * math/fsetexcptflg.c: Likewise.
30793 * math/ftestexcept.c: Likewise.
30794 * math/k_cosl.c: Likewise.
30795 * math/k_rem_pio2l.c: Likewise.
30796 * math/k_sinl.c: Likewise.
30797 * math/k_tanl.c: Likewise.
30798 * math/s_asinhl.c: Likewise.
30799 * math/s_atanl.c: Likewise.
30800 * math/s_cbrtl.c: Likewise.
30801 * math/s_erfl.c: Likewise.
30802 * math/s_expm1l.c: Likewise.
30803 * math/s_log1pl.c: Likewise.
30804 * math/s_tanhl.c: Likewise.
30805 * misc/acct.c: Likewise.
30806 * misc/brk.c: Likewise.
30807 * misc/chflags.c: Likewise.
30808 * misc/chroot.c: Likewise.
30809 * misc/fchflags.c: Likewise.
30810 * misc/fgetxattr.c: Likewise.
30811 * misc/flistxattr.c: Likewise.
30812 * misc/fremovexattr.c: Likewise.
30813 * misc/fsetxattr.c: Likewise.
30814 * misc/fsync.c: Likewise.
30815 * misc/ftruncate.c: Likewise.
30816 * misc/futimes.c: Likewise.
30817 * misc/futimesat.c: Likewise.
30818 * misc/getdomain.c: Likewise.
30819 * misc/getdtsz.c: Likewise.
30820 * misc/gethostid.c: Likewise.
30821 * misc/gethostname.c: Likewise.
30822 * misc/getloadavg.c: Likewise.
30823 * misc/getpagesize.c: Likewise.
30824 * misc/getsysstats.c: Likewise.
30825 * misc/getxattr.c: Likewise.
30826 * misc/gtty.c: Likewise.
30827 * misc/ioctl.c: Likewise.
30828 * misc/lgetxattr.c: Likewise.
30829 * misc/listxattr.c: Likewise.
30830 * misc/llistxattr.c: Likewise.
30831 * misc/lremovexattr.c: Likewise.
30832 * misc/lsetxattr.c: Likewise.
30833 * misc/lutimes.c: Likewise.
30834 * misc/madvise.c: Likewise.
30835 * misc/mincore.c: Likewise.
30836 * misc/mlock.c: Likewise.
30837 * misc/mlockall.c: Likewise.
30838 * misc/mmap.c: Likewise.
30839 * misc/mprotect.c: Likewise.
30840 * misc/msync.c: Likewise.
30841 * misc/munlock.c: Likewise.
30842 * misc/munlockall.c: Likewise.
30843 * misc/munmap.c: Likewise.
30844 * misc/preadv.c: Likewise.
30845 * misc/preadv64.c: Likewise.
30846 * misc/ptrace.c: Likewise.
30847 * misc/pwritev.c: Likewise.
30848 * misc/pwritev64.c: Likewise.
30849 * misc/readv.c: Likewise.
30850 * misc/reboot.c: Likewise.
30851 * misc/remap_file_pages.c: Likewise.
30852 * misc/removexattr.c: Likewise.
30853 * misc/revoke.c: Likewise.
30854 * misc/select.c: Likewise.
30855 * misc/setdomain.c: Likewise.
30856 * misc/setegid.c: Likewise.
30857 * misc/seteuid.c: Likewise.
30858 * misc/sethostid.c: Likewise.
30859 * misc/sethostname.c: Likewise.
30860 * misc/setregid.c: Likewise.
30861 * misc/setreuid.c: Likewise.
30862 * misc/setxattr.c: Likewise.
30863 * misc/sstk.c: Likewise.
30864 * misc/stty.c: Likewise.
30865 * misc/swapoff.c: Likewise.
30866 * misc/swapon.c: Likewise.
30867 * misc/sync.c: Likewise.
30868 * misc/syncfs.c: Likewise.
30869 * misc/syscall.c: Likewise.
30870 * misc/truncate.c: Likewise.
30871 * misc/ualarm.c: Likewise.
30872 * misc/usleep.c: Likewise.
30873 * misc/ustat.c: Likewise.
30874 * misc/utimes.c: Likewise.
30875 * misc/vhangup.c: Likewise.
30876 * misc/writev.c: Likewise.
30877 * posix/_exit.c: Likewise.
30878 * posix/alarm.c: Likewise.
30879 * posix/execve.c: Likewise.
30880 * posix/fexecve.c: Likewise.
30881 * posix/fork.c: Likewise.
30882 * posix/fpathconf.c: Likewise.
30883 * posix/getaddrinfo.c: Likewise.
30884 * posix/getegid.c: Likewise.
30885 * posix/geteuid.c: Likewise.
30886 * posix/getgid.c: Likewise.
30887 * posix/getgroups.c: Likewise.
30888 * posix/getlogin.c: Likewise.
30889 * posix/getlogin_r.c: Likewise.
30890 * posix/getpgid.c: Likewise.
30891 * posix/getpid.c: Likewise.
30892 * posix/getppid.c: Likewise.
30893 * posix/getresgid.c: Likewise.
30894 * posix/getresuid.c: Likewise.
30895 * posix/getsid.c: Likewise.
30896 * posix/getuid.c: Likewise.
30897 * posix/glob64.c: Likewise.
30898 * posix/nanosleep.c: Likewise.
30899 * posix/pathconf.c: Likewise.
30900 * posix/pause.c: Likewise.
30901 * posix/posix_madvise.c: Likewise.
30902 * posix/pread.c: Likewise.
30903 * posix/pread64.c: Likewise.
30904 * posix/pwrite.c: Likewise.
30905 * posix/pwrite64.c: Likewise.
30906 * posix/sched_getaffinity.c: Likewise.
30907 * posix/sched_getp.c: Likewise.
30908 * posix/sched_gets.c: Likewise.
30909 * posix/sched_primax.c: Likewise.
30910 * posix/sched_primin.c: Likewise.
30911 * posix/sched_rr_gi.c: Likewise.
30912 * posix/sched_setaffinity.c: Likewise.
30913 * posix/sched_setp.c: Likewise.
30914 * posix/sched_sets.c: Likewise.
30915 * posix/sched_yield.c: Likewise.
30916 * posix/setgid.c: Likewise.
30917 * posix/setlogin.c: Likewise.
30918 * posix/setpgid.c: Likewise.
30919 * posix/setresgid.c: Likewise.
30920 * posix/setresuid.c: Likewise.
30921 * posix/setsid.c: Likewise.
30922 * posix/setuid.c: Likewise.
30923 * posix/sleep.c: Likewise.
30924 * posix/spawni.c: Likewise.
30925 * posix/sysconf.c: Likewise.
30926 * posix/times.c: Likewise.
30927 * posix/wait.c: Likewise.
30928 * posix/wait3.c: Likewise.
30929 * posix/wait4.c: Likewise.
30930 * posix/waitpid.c: Likewise.
30931 * resolv/gai_sigqueue.c: Likewise.
30932 * resource/getpriority.c: Likewise.
30933 * resource/getrlimit.c: Likewise.
30934 * resource/getrusage.c: Likewise.
30935 * resource/nice.c: Likewise.
30936 * resource/setpriority.c: Likewise.
30937 * resource/setrlimit.c: Likewise.
30938 * resource/ulimit.c: Likewise.
30939 * rt/aio_cancel.c: Likewise.
30940 * rt/aio_fsync.c: Likewise.
30941 * rt/aio_read.c: Likewise.
30942 * rt/aio_sigqueue.c: Likewise.
30943 * rt/aio_suspend.c: Likewise.
30944 * rt/aio_write.c: Likewise.
30945 * rt/clock_getres.c: Likewise.
30946 * rt/clock_gettime.c: Likewise.
30947 * rt/clock_nanosleep.c: Likewise.
30948 * rt/clock_settime.c: Likewise.
30949 * rt/lio_listio.c: Likewise.
30950 * rt/mq_close.c: Likewise.
30951 * rt/mq_getattr.c: Likewise.
30952 * rt/mq_notify.c: Likewise.
30953 * rt/mq_open.c: Likewise.
30954 * rt/mq_receive.c: Likewise.
30955 * rt/mq_send.c: Likewise.
30956 * rt/mq_setattr.c: Likewise.
30957 * rt/mq_timedreceive.c: Likewise.
30958 * rt/mq_timedsend.c: Likewise.
30959 * rt/mq_unlink.c: Likewise.
30960 * rt/shm_open.c: Likewise.
30961 * rt/shm_unlink.c: Likewise.
30962 * rt/timer_create.c: Likewise.
30963 * rt/timer_delete.c: Likewise.
30964 * rt/timer_getoverr.c: Likewise.
30965 * rt/timer_gettime.c: Likewise.
30966 * rt/timer_settime.c: Likewise.
30967 * setjmp/__longjmp.c: Likewise.
30968 * setjmp/setjmp.c: Likewise.
30969 * signal/kill.c: Likewise.
30970 * signal/killpg.c: Likewise.
30971 * signal/raise.c: Likewise.
30972 * signal/sigaction.c: Likewise.
30973 * signal/sigaltstack.c: Likewise.
30974 * signal/sigblock.c: Likewise.
30975 * signal/sigignore.c: Likewise.
30976 * signal/sigintr.c: Likewise.
30977 * signal/signal.c: Likewise.
30978 * signal/sigpause.c: Likewise.
30979 * signal/sigpending.c: Likewise.
30980 * signal/sigqueue.c: Likewise.
30981 * signal/sigreturn.c: Likewise.
30982 * signal/sigset.c: Likewise.
30983 * signal/sigsetmask.c: Likewise.
30984 * signal/sigstack.c: Likewise.
30985 * signal/sigsuspend.c: Likewise.
30986 * signal/sigtimedwait.c: Likewise.
30987 * signal/sigvec.c: Likewise.
30988 * signal/sigwait.c: Likewise.
30989 * signal/sigwaitinfo.c: Likewise.
30990 * signal/sysv_signal.c: Likewise.
30991 * socket/accept.c: Likewise.
30992 * socket/accept4.c: Likewise.
30993 * socket/bind.c: Likewise.
30994 * socket/connect.c: Likewise.
30995 * socket/getpeername.c: Likewise.
30996 * socket/getsockname.c: Likewise.
30997 * socket/getsockopt.c: Likewise.
30998 * socket/isfdtype.c: Likewise.
30999 * socket/listen.c: Likewise.
31000 * socket/recv.c: Likewise.
31001 * socket/recvfrom.c: Likewise.
31002 * socket/recvmsg.c: Likewise.
31003 * socket/send.c: Likewise.
31004 * socket/sendmsg.c: Likewise.
31005 * socket/sendto.c: Likewise.
31006 * socket/setsockopt.c: Likewise.
31007 * socket/shutdown.c: Likewise.
31008 * socket/sockatmark.c: Likewise.
31009 * socket/socket.c: Likewise.
31010 * socket/socketpair.c: Likewise.
31011 * stdio-common/ctermid.c: Likewise.
31012 * stdio-common/cuserid.c: Likewise.
31013 * stdio-common/remove.c: Likewise.
31014 * stdio-common/rename.c: Likewise.
31015 * stdio-common/renameat.c: Likewise.
31016 * stdio-common/tempname.c: Likewise.
31017 * stdlib/getcontext.c: Likewise.
31018 * stdlib/makecontext.c: Likewise.
31019 * stdlib/setcontext.c: Likewise.
31020 * stdlib/swapcontext.c: Likewise.
31021 * stdlib/system.c: Likewise.
31022 * streams/fattach.c: Likewise.
31023 * streams/fdetach.c: Likewise.
31024 * streams/getmsg.c: Likewise.
31025 * streams/getpmsg.c: Likewise.
31026 * streams/putmsg.c: Likewise.
31027 * streams/putpmsg.c: Likewise.
31028 * sysdeps/unix/bsd/getpt.c: Likewise.
31029 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31030 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31031 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31033 Likewise.
31034 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31035 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31036 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31037 * sysvipc/msgctl.c: Likewise.
31038 * sysvipc/msgget.c: Likewise.
31039 * sysvipc/msgrcv.c: Likewise.
31040 * sysvipc/msgsnd.c: Likewise.
31041 * sysvipc/semctl.c: Likewise.
31042 * sysvipc/semget.c: Likewise.
31043 * sysvipc/semop.c: Likewise.
31044 * sysvipc/semtimedop.c: Likewise.
31045 * sysvipc/shmat.c: Likewise.
31046 * sysvipc/shmctl.c: Likewise.
31047 * sysvipc/shmdt.c: Likewise.
31048 * sysvipc/shmget.c: Likewise.
31049 * termios/tcdrain.c: Likewise.
31050 * termios/tcflow.c: Likewise.
31051 * termios/tcflush.c: Likewise.
31052 * termios/tcgetattr.c: Likewise.
31053 * termios/tcgetpgrp.c: Likewise.
31054 * termios/tcsendbrk.c: Likewise.
31055 * termios/tcsetattr.c: Likewise.
31056 * termios/tcsetpgrp.c: Likewise.
31057 * time/adjtime.c: Likewise.
31058 * time/clock.c: Likewise.
31059 * time/getitimer.c: Likewise.
31060 * time/gettimeofday.c: Likewise.
31061 * time/setitimer.c: Likewise.
31062 * time/settimeofday.c: Likewise.
31063 * time/stime.c: Likewise.
31064 * time/time.c: Likewise.
31065
310662012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31067
a20492cf
PT
31068 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31069 /usr/old/bin.
31070
72e182e3
PT
31071 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31072 instead of spaces.
31073 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31074
fbeafede
JM
310752012-11-03 Joseph Myers <joseph@codesourcery.com>
31076
5b5b04d6
JM
31077 [BZ #14796]
31078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31079 FE_TONEAREST before applying Dekker multiplication and Knuth
31080 addition. Clear inexact exceptions and check for exact zero
31081 results afterwards.
31082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31083 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31085 * math/libm-test.inc (fma_test): Add more tests.
31086 (fma_test_towardzero): Likewise.
31087 (fma_test_downward): Likewise.
31088 (fma_test_upward): Likewise.
31089 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31090 function.
31091 (libc_fesetround): New macro.
31092 (libc_fesetroundf): Likewise.
31093 (libc_fesetroundl): Likewise.
31094 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31095 function.
31096 (libc_fesetround_387): Likewise.
31097 (libc_fesetroundf): New macro.
31098 (libc_fesetround): Likewise.
31099 (libc_fesetroundl): Likewise.
31100 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31101 function.
31102 (libc_fesetroundf): New macro.
31103 (libc_fesetround): Likewise.
31104 (libc_fesetroundl): Likewise.
31105 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31106 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31107 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31108 libm_hidden_ver.
31109 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31110 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31111 libm_hidden_def.
31112 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31113 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31114 libm_hidden_ver.
31115 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31116 libm_hidden_def.
31117
fbeafede
JM
31118 [BZ #3439]
31119 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31120 integer constant usable in #if and use that to give value to enum
31121 constant.
31122 (FE_DIVBYZERO): Likewise.
31123 (FE_UNDERFLOW): Likewise.
31124 (FE_OVERFLOW): Likewise.
31125 (FE_INVALID): Likewise.
31126 (FE_INVALID_SNAN): Likewise.
31127 (FE_INVALID_ISI): Likewise.
31128 (FE_INVALID_IDI): Likewise.
31129 (FE_INVALID_ZDZ): Likewise.
31130 (FE_INVALID_IMZ): Likewise.
31131 (FE_INVALID_COMPARE): Likewise.
31132 (FE_INVALID_SOFTWARE): Likewise.
31133 (FE_INVALID_SQRT): Likewise.
31134 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31135 (FE_TONEAREST): Likewise.
31136 (FE_TOWARDZERO): Likewise.
31137 (FE_UPWARD): Likewise.
31138 (FE_DOWNWARD): Likewise.
31139 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31140 (FE_DIVBYZERO): Likewise.
31141 (FE_OVERFLOW): Likewise.
31142 (FE_UNDERFLOW): Likewise.
31143 (FE_INEXACT): Likewise.
31144 (FE_TONEAREST): Likewise.
31145 (FE_DOWNWARD): Likewise.
31146 (FE_UPWARD): Likewise.
31147 (FE_TOWARDZERO): Likewise.
31148 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31149 (FE_UNDERFLOW): Likewise.
31150 (FE_OVERFLOW): Likewise.
31151 (FE_DIVBYZERO): Likewise.
31152 (FE_INVALID): Likewise.
31153 (FE_TONEAREST): Likewise.
31154 (FE_TOWARDZERO): Likewise.
31155 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31156 (FE_OVERFLOW): Likewise.
31157 (FE_UNDERFLOW): Likewise.
31158 (FE_DIVBYZERO): Likewise.
31159 (FE_INEXACT): Likewise.
31160 (FE_TONEAREST): Likewise.
31161 (FE_TOWARDZERO): Likewise.
31162 (FE_UPWARD): Likewise.
31163 (FE_DOWNWARD): Likewise.
31164 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31165 (FE_DIVBYZERO): Likewise.
31166 (FE_OVERFLOW): Likewise.
31167 (FE_UNDERFLOW): Likewise.
31168 (FE_INEXACT): Likewise.
31169 (FE_TONEAREST): Likewise.
31170 (FE_DOWNWARD): Likewise.
31171 (FE_UPWARD): Likewise.
31172 (FE_TOWARDZERO): Likewise.
31173
105ca950
CM
311742012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31175
31176 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31177
a542b389
AS
311782012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31179
31180 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31181 commands. Quote $PWD.
31182 (blacklist_exports): Don't use remove_newlines. Replace "declare
31183 -x" by "export".
31184 (remove_newlines): Remove.
31185
f62c8abc
L
311862012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31187
31188 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31189 * stdlib/stdlib.h (atof): Moved to ...
31190 * include/bits/stdlib-float.h: Here. New file.
31191 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31192 * stdlib/bits/stdlib-float.h: New file.
31193 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31194 -mno-sse -mno-mmx.
31195 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31196 <xmmintrin.h>.
31197
0155d5b2
JM
311982012-11-02 Joseph Myers <joseph@codesourcery.com>
31199
a68d0680
JM
31200 * conform/conformtest.pl (@headers): Add fenv.h.
31201 * conform/data/fenv.h-data: New file.
31202 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31203 include of <math/fenv.h>.
31204
caf7f573
JM
31205 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31206 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31207 && !UNIX98]. Enables tests for XOPEN2K8.
31208 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31209 POSIX2008]: Likewise.
31210
6c073ad6
JM
31211 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31212 (struct rusage): Do not expect type or its members.
31213
0155d5b2
JM
31214 [BZ #3439]
31215 * math/math.h (FP_NAN): Define macro to integer constant usable in
31216 #if and use that to give value to enum constant.
31217 (FP_INFINITE): Likewise.
31218 (FP_ZERO): Likewise.
31219 (FP_SUBNORMAL): Likewise.
31220 (FP_NORMAL): Likewise.
31221
b5dcacb4
AS
312222012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31223
31224 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31225 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31226 arguments.
31227
f7934be8
RM
312282012-11-02 Roland McGrath <roland@hack.frob.com>
31229
31230 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31231 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31232 autoconf-time if not.
31233 * configure.in: Remove AC_PREREQ.
31234
d7d08bde
TMQMF
312352012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31236
31237 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31238 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31239 of the internal implementation.
31240
dcdae19a
JM
312412012-11-02 Joseph Myers <joseph@codesourcery.com>
31242
31243 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31244 except include of <misc/sys/syslog.h>.
31245
d6cffd3e
AS
312462012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31247
31248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31249 function returns with a NULL context exit with zero.
31250
b3563932
TMQMF
312512012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31252
31253 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31254
b288a93d
L
312552012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31256
31257 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31258 (run_program_cmd): This.
31259 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31260 (tst_langinfo): New variable. Use it.
31261
a2421a68
SAS
312622012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31263
31264 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31265 floating point opcodes.
31266
6f796e1b
TS
312672012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31268
7402596b
TS
31269 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31270 variable.
31271
d0d4f868
TS
31272 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31273
6f796e1b
TS
31274 * sysdeps/mach/hurd/powerpc: Remove directory.
31275 * sysdeps/mach/powerpc: Likewise.
31276
4da224a2
AS
312772012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31278
31279 * scripts/check-local-headers.sh: Ignore c++ headers.
31280
341dd673
TS
312812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31282
31283 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31284 __libc_cleanup_region_start argument.
31285
473611b2
JM
312862012-11-01 Joseph Myers <joseph@codesourcery.com>
31287
31288 [BZ #14784]
31289 [BZ #14785]
31290 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31291 x * y using scaling, not as x * y + z.
31292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31294 * math/libm-test.inc (fma_test): Add more tests.
31295 (fma_test_towardzero): Likewise.
31296 (fma_test_downward): Likewise.
31297 (fma_test_upward): Likewise.
31298
4078da3d
TS
312992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31300
31301 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31302
903252aa
JM
313032012-10-31 Joseph Myers <joseph@codesourcery.com>
31304
31305 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31306 New variable.
31307
cbc818d0
TS
313082012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31309
31310 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31311
5a03cb1e
AS
313122012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31313
31314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31315 Fix sort order.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31317 Likewise.
31318
90aff2ff
TMQMF
313192012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31320
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31322 Fix the order of the list for glibc 2.17.
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31324 Likewise.
31325
1818fcb7
AS
313262012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31327
31328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31329
ef82f4da
JM
313302012-10-31 Joseph Myers <joseph@codesourcery.com>
31331
16a0e2ec
JM
31332 [BZ #14610]
31333 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31334 for low part of x being zero before using __atanl (y).
31335 * math/libm-test.inc (atan2_test): Add another test.
31336
0eb69512
JM
31337 * manual/install.texi (Configuring and compiling): Document
31338 general use of test-wrapper and test-wrapper-env.
31339 * INSTALL: Regenerated.
31340
ef82f4da
JM
31341 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31342 (__fma): Do not extract and scale down low bits on after-rounding
31343 systems when result rounded to normal precision would have normal
31344 exponent.
31345 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31346 (__fmal): Do not extract and scale down low bits on after-rounding
31347 systems when result rounded to normal precision would have normal
31348 exponent.
31349 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31350 (__fmal): Do not extract and scale down low bits on after-rounding
31351 systems when result rounded to normal precision would have normal
31352 exponent.
31353 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31354 macro.
31355 (fma_test): Add more tests.
31356 (fma_test_towardzero): Likewise.
31357 (fma_test_downward): Likewise.
31358 (fma_test_upward): Likewise.
31359
954ef0d9
L
313602012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31361
31362 * sysdeps/i386/tininess.h: Renamed to ...
31363 * sysdeps/x86/tininess.h: This.
31364 * sysdeps/x86_64/tininess.h: Removed.
31365
df61ffb2
JM
313662012-10-30 Joseph Myers <joseph@codesourcery.com>
31367
31368 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31369 input. Use $(build-program-cmd).
31370 ($(objpfx)tst-array1-static.out): Likewise.
31371 ($(objpfx)tst-array2.out): Likewise.
31372 ($(objpfx)tst-array3.out): Likewise.
31373 ($(objpfx)tst-array4.out): Likewise.
31374 ($(objpfx)tst-array5.out): Likewise.
31375 ($(objpfx)tst-array5-static.out): Likewise.
31376
01767843
CM
313772012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31378
47cc1490
CM
31379 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31380 if defined.
31381
01767843
CM
31382 * nss/nsswitch.h (nss_interface_function): Provide new
31383 macro for use with NSS functions.
31384 * grp/initgroups.c: Use new macro.
31385 * nss/getXXbyYY.c: Likewise.
31386 * nss/getXXbyYY_r.c: Likewise.
31387 * nss/getXXent.c: Likewise.
31388 * nss/getXXent_r.c: Likewise.
31389 * sysdeps/posix/getaddrinfo.c: Likewise.
31390
8321aa97
AJ
313912012-10-30 Andreas Jaeger <aj@suse.de>
31392
31393 * po/ru.po: Update Russion translation from translation project.
31394
2a27fd6d
JM
313952012-10-30 Joseph Myers <joseph@codesourcery.com>
31396
8627a232
JM
31397 [BZ #14152]
31398 [BZ #14783]
31399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31400 result and shift together with sticky bit instead of replicating
31401 round-to-nearest rounding.
31402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31404 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31405 missing underflow exceptions.
31406 (fma_test_towardzero): Add more tests.
31407 (fma_test_downward): Likewise.
31408 (fma_test_upward): Likewise.
31409
2a27fd6d
JM
31410 [BZ #14047]
31411 * sysdeps/generic/tininess.h: New file.
31412 * sysdeps/i386/tininess.h: Likewise.
31413 * sysdeps/sh/tininess.h: Likewise.
31414 * sysdeps/x86_64/tininess.h: Likewise.
31415 * stdlib/tst-strtod-underflow.c: Likewise.
31416 * stdlib/tst-tininess.c: Likewise.
31417 * stdlib/strtod_l.c: Include <tininess.h>.
31418 (round_and_return): Do not set errno for exact underflow cases.
31419 Force an underflow exception when setting errno for underflow.
31420 Determine underflow based on rounding to normal precision if
31421 TININESS_AFTER_ROUNDING.
31422 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31423 ERANGE for exact underflow cases.
31424 * stdlib/Makefile (tests): Add tst-tininess and
31425 tst-strtod-underflow.
31426 ($(objpfx)tst-tininess): Use $(link-libm).
31427 ($(objpfx)tst-strtod-underflow): Likewise.
31428
e7170363
AJ
314292012-10-30 Andreas Jaeger <aj@suse.de>
31430
e5088dc6
AJ
31431 [BZ#14767]
31432 * elf/Makefile (tests): Remove conditional for have-initfini-array
31433 since this is now always required and the variable does not exist
31434 anymore.
31435 (tests-static): Likewise.
31436 (modules-names): Likewise.
31437
e7170363 31438 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31439
31440 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31441 merged with constructor/destructor.
31442 (init_array): Likewise.
31443 * elf/tst-array2dep.c (fini_array): Likewise.
31444 (init_array): Likewise.
31445
60457d8a
MF
314462012-10-29 Mike Frysinger <vapier@gentoo.org>
31447
31448 * manual/message.texi: Delete @cartouche tags.
31449
8bece752
PT
314502012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31451
94ce799f
PT
31452 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31453 EOPNOTSUPP.
31454 * sysdeps/mach/hurd/fsync.c: Likewise.
31455
8bece752
PT
31456 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31457 [_POSIX_REALTIME_SIGNALS]: Change condition to
31458 [_POSIX_REALTIME_SIGNALS > 0].
31459
86ebe6b1
AJ
314602012-10-27 Andreas Jaeger <aj@suse.de>
31461
31462 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31463 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31465 [__WORDSIZE != 64]: Likewise.
31466
54399c08
L
314672012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31468
31469 * iconvdata/tst-table.sh: Remove ${SHELL}.
31470 * iconvdata/tst-tables.sh: Likewise.
31471
e2211bed
DM
314722012-10-25 David S. Miller <davem@davemloft.net>
31473
31474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31475 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31476 of strtoull.
31477
f303f97c
DM
31478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31479 ifunc-impl-list.c
31480 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31481 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31482 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31483 file.
31484
1e9d84cd
RM
314852012-10-25 Roland McGrath <roland@hack.frob.com>
31486
31487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31488 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31489 __getdirentries.
31490
df381762
JM
314912012-10-25 Joseph Myers <joseph@codesourcery.com>
31492 Jim Blandy <jimb@codesourcery.com>
31493
31494 * scripts/cross-test-ssh.sh: New file.
31495 * manual/install.texi (Configuring and compiling): Document use of
31496 cross-test-ssh.sh.
31497 * INSTALL: Regenerated.
31498
bff64913
PT
314992012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31500
31501 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31502 EOPNOTSUPP.
31503
25fe8932
JM
315042012-10-25 Joseph Myers <joseph@codesourcery.com>
31505
31506 * Makeconfig (run-program-prefix): Fix comment.
31507
cc1290d0
JM
315082012-10-24 Joseph Myers <joseph@codesourcery.com>
31509 Jim Blandy <jimb@codesourcery.com>
31510
31511 * Makeconfig (test-wrapper): New variable,
31512 (test-wrapper-env): Likewise.
31513 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31514 (run-built-tests): Define to yes.
31515 (run-program-prefix): Use $(test-wrapper).
31516 (built-program-cmd): Likewise.
31517 * Rules (make-test-out): Use $(test-wrapper-env) and
31518 $(host-built-program-cmd).
31519 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31520 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31521 tst-pathopt.sh.
31522 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31523 $(test-wrapper-env) to tst-rtld-load-self.sh.
31524 ($(objpfx)order2.out): Use $(test-wrapper).
31525 ($(objpfx)tst-initorder.out): Likewise.
31526 ($(objpfx)tst-initorder2.out): Likewise.
31527 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31528 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31529 (test_wrapper_env): New variable. Use it to run ld.so.
31530 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31531 Use it to run ld.so.
31532 (test_wrapper_env): Likewise.
31533 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31534 $(test-wrapper) to run-iconv-test.sh.
31535 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31536 (ICONV): Use $test_wrapper.
31537 * posix/Makefile ($(objpfx)globtest.out): Pass
31538 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31539 globtest.sh, not $(run-program-prefix).
31540 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31541 (test_wrapper): Likewise.
31542 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31543 set together with run_via_rtld_prefix.
31544 (run_program_prefix): Define in terms of test_wrapper and
31545 run_via_rtld_prefix.
31546
6e6249d0
RM
315472012-10-24 Roland McGrath <roland@hack.frob.com>
31548
31549 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31550 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31551 Targets removed.
31552
31553 [BZ #14743]
31554 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31555 Declare __clock_getres, __clock_gettime, __clock_settime,
31556 __clock_nanosleep, and __clock_getcpuclockid.
31557 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31558 Remove librt_hidden_def (clock_gettime).
31559 * sysdeps/unix/clock_gettime.c: Likewise.
31560 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31561 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31562 * rt/clock_getres.c: Define __clock_getres as an alias.
31563 * sysdeps/posix/clock_getres.c: Likewise.
31564 * rt/clock_settime.c: Define __clock_settime as an alias.
31565 * sysdeps/unix/clock_settime.c: Likewise.
31566 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31567 * sysdeps/unix/clock_nanosleep.c: Likewise.
31568 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31569 * rt/clock-compat.c: New file.
31570 * rt/Makefile (librt-routines): Add clock-compat and move
31571 $(clock-routines) to ...
31572 (routines): ... here, new variable.
31573 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31574 Don't add get_clockfreq here.
31575 * rt/Versions (libc: GLIBC_2.17): New version set.
31576 Add clock_* symbols here.
31577 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31579 (GLIBC_2.17): Add clock_* symbols.
31580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31581 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31584 Likewise.
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31586 Likewise.
31587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31591 * NEWS: Mention the move.
31592
31593 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31594 Use __open, __read, __close rather than their public counterparts.
31595 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31596 (__get_clockfreq_via_cpuinfo): Likewise.
31597 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31598 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31599
31600 * config.h.in (HAVE_IFUNC): New #undef.
31601 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31602 was successful.
31603 * configure: Regenerated.
31604
0cae3f4b
MF
316052012-10-24 Mike Frysinger <vapier@gentoo.org>
31606
31607 * configure.in: Move READELF check to start of file.
31608 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31609 libc_cv_asm_gnu_indirect_function in the process.
31610 * configure: Regenerated.
31611
8175a253
MF
316122012-10-24 Mike Frysinger <vapier@gentoo.org>
31613
31614 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31615 send the output to /dev/null.
31616 (libc_cv_cc_with_libunwind): Likewise.
31617 (libc_cv_as_noexecstack): Likewise.
31618 * configure: Regenerate.
31619
0708a7d1
JM
316202012-10-24 Joseph Myers <joseph@codesourcery.com>
31621
10b40d85
JM
31622 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31623
0708a7d1
JM
31624 * posix/globtest.sh (TMPDIR): Do not set.
31625 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31626 (testout): Likewise.
31627
9fddec1a
AJ
316282012-10-24 Andreas Jaeger <aj@suse.de>
31629
3a8db22f
AJ
31630 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31631 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31632 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31633 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31634 posix_fadvise64, posix_fallocate64.
31635
9fddec1a
AJ
31636 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31637 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31638 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31639 Likewise.
31640 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31641 Likewise.
31642 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31643
31644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31645 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31646 <bits/fcntl-linux.h>.
31647 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31648
31649 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31650 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31651 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31652 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31653 [__WORDSIZE != 64]: Likewise.
31654
ebfd1bbd
JM
316552012-10-23 Joseph Myers <joseph@codesourcery.com>
31656
03ac099f
JM
31657 * Makeconfig (run-built-tests): New variable.
31658 * Rules [$(cross-compiling) = yes]: Change condition to
31659 [$(run-built-tests) = no].
31660 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31661 to [$(run-built-tests) = yes].
31662 * elf/Makefile [$(cross-compiling) = no]: Likewise
31663 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31664 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31665 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31666 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31667 * io/Makefile [$(cross-compiling) = no]: Likewise.
31668 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31669 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31670 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31671 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31672 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31673 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31674 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31675 * string/Makefile [$(cross-compiling) = no]: Likewise.
31676
ebfd1bbd
JM
31677 * posix/Makefile ($(objpfx)globtest.out): Pass
31678 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31679 $(rtld-installed-name).
31680 * posix/globtest.sh (elf_objpfx): Remove variable.
31681 (rtld_installed_name): Likewise.
31682 (library_path): Likewise.
31683 (run_program_prefix): New variable. Use for running globtest
31684 binary.
31685
166bca24
JB
316862012-10-23 Jim Blandy <jimb@codesourcery.com>
31687 Joseph Myers <joseph@codesourcery.com>
31688
31689 * Makeconfig (host-built-program-cmd): New variable.
31690 * elf/Makefile (tst-stackguard1-ARGS): Use
31691 $(host-built-program-cmd).
31692 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31693 (tst-spawn-ARGS): Likewise.
31694 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31695
88866099
JM
316962012-10-23 Joseph Myers <joseph@codesourcery.com>
31697 Jim Blandy <jimb@codesourcery.com>
31698
31699 * Makeconfig (run-via-rtld-prefix): New variable.
31700 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31701 (built-program-cmd): Likewise.
31702
b4b4c296
AJ
317032012-10-22 Andreas Jaeger <aj@suse.de>
31704
31705 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31706 __O_RSYNC if it exists, otherwise to O_SYNC.
31707
6fb54a22
JB
317082012-10-22 Jim Blandy <jimb@codesourcery.com>
31709 Joseph Myers <joseph@codesourcery.com>
31710
31711 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31712 /dev/null.
31713 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31714 from /dev/null
31715 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31716 /dev/null.
31717
481b90b9
AJ
317182012-10-22 Andreas Jaeger <aj@suse.de>
31719
2a0e2669
AJ
31720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31721 Define always.
31722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31723
76e38f9a
AJ
31724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31725 bits/fcntl-linux.h.
31726
7cd37b43
AJ
31727 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31728 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31729
481b90b9
AJ
31730 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31731 to __O_LARGEFILE.
31732 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31733 to __O_LARGEFILE.
31734
aba75984
JB
317352012-10-21 Jim Blandy <jimb@codesourcery.com>
31736 Joseph Myers <joseph@codesourcery.com>
31737
31738 * config.make.in (NM): New variable.
31739
88d4247f
AJ
317402012-10-21 Andreas Jaeger <aj@suse.de>
31741
31742 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31743 definitions and declarations that are provided by
31744 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31745
f2eed205
L
317462012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31747
31748 [BZ #14683]
31749 * elf/Makefile (tests-static): Add tst-leaks1-static.
31750 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31751 ($(objpfx)tst-leaks1-static): New rule.
31752 ($(objpfx)tst-leaks1-static-mem): Likewise.
31753 (tst-leaks1-static-ENV): New macro.
31754 * elf/dl-open.c (dl_open_worker): Check the main application
31755 only if SHARED is defined.
31756 * elf/tst-leaks1-static.c: New file.
31757
335e6931
AJ
317582012-10-20 Andreas Jaeger <aj@suse.de>
31759
31760 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31761 generic values for Linux.
31762 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31763 and declarations that are provided by <bits/fcntl-linux.h> and
31764 include <bits/fcntl-linux.h>.
31765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31767
ac5c94d3
RM
317682012-10-20 Roland McGrath <roland@hack.frob.com>
31769
31770 * io/fcntl.h: Move include of <bits/types.h> to the top and
31771 include it unconditionally.
31772
de54b33a
L
317732012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31774
228cfb01
L
31775 * wcsmbs/Makefile (tests-ifunc): New variable.
31776 (tests): Add $(tests-ifunc).
31777 * wcsmbs/test-wcschr-ifunc.c: New file.
31778 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31779 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31780 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31781 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31782 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31783
69f07e5f
L
31784 * string/Makefile (tests-ifunc): New variable.
31785 (tests): Add $(tests-ifunc).
31786 * string/test-memccpy.c (TEST_NAME): New macro.
31787 * string/test-memchr.c (TEST_NAME): Likewise.
31788 * string/test-memcmp.c (TEST_NAME): Likewise.
31789 * string/test-memcpy.c (TEST_NAME): Likewise.
31790 * string/test-memmem.c (TEST_NAME): Likewise.
31791 * string/test-memmove.c (TEST_NAME): Likewise.
31792 * string/test-memset.c (TEST_NAME): Likewise.
31793 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31794 * string/test-stpcpy.c (TEST_NAME): Likewise.
31795 * string/test-stpncpy.c (TEST_NAME): Likewise.
31796 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31797 * string/test-strcasestr.c (TEST_NAME): Likewise.
31798 * string/test-strcat.c (TEST_NAME): Likewise.
31799 * string/test-strchr.c (TEST_NAME): Likewise.
31800 * string/test-strcmp.c(TEST_NAME): Likewise.
31801 * string/test-strcpy.c (TEST_NAME): Likewise.
31802 * string/test-strcspn.c (TEST_NAME): Likewise.
31803 * string/test-strlen.c (TEST_NAME): Likewise.
31804 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31805 * string/test-strncmp.c (TEST_NAME): Likewise.
31806 * string/test-strncpy.c (TEST_NAME): Likewise.
31807 * string/test-strnlen.c (TEST_NAME): Likewise.
31808 * string/test-strpbrk.c (TEST_NAME): Likewise.
31809 * string/test-strrchr.c (TEST_NAME): Likewise.
31810 * string/test-strspn.c (TEST_NAME): Likewise.
31811 * string/test-strstr.c (TEST_NAME): Likewise.
31812 * string/test-bcopy-ifunc.c: New file.
31813 * string/test-bzero-ifunc.c: Likewise.
31814 * string/test-memccpy-ifunc.c: Likewise.
31815 * string/test-memchr-ifunc.c: Likewise.
31816 * string/test-memcmp-ifunc.c: Likewise.
31817 * string/test-memcpy-ifunc.c: Likewise.
31818 * string/test-memmem-ifunc.c: Likewise.
31819 * string/test-memmove-ifunc.c: Likewise.
31820 * string/test-mempcpy-ifunc.c: Likewise.
31821 * string/test-memset-ifunc.c: Likewise.
31822 * string/test-rawmemchr-ifunc.c: Likewise.
31823 * string/test-stpcpy-ifunc.c: Likewise.
31824 * string/test-stpncpy-ifunc.c: Likewise.
31825 * string/test-strcasecmp-ifunc.c: Likewise.
31826 * string/test-strcasestr-ifunc.c: Likewise.
31827 * string/test-strcat-ifunc.c: Likewise.
31828 * string/test-strchr-ifunc.c: Likewise.
31829 * string/test-strchrnul-ifunc.c: Likewise.
31830 * string/test-strcmp-ifunc.c: Likewise.
31831 * string/test-strcpy-ifunc.c: Likewise.
31832 * string/test-strcspn-ifunc.c: Likewise.
31833 * string/test-strlen-ifunc.c: Likewise.
31834 * string/test-strncasecmp-ifunc.c: Likewise.
31835 * string/test-strncat-ifunc.c: Likewise.
31836 * string/test-strncmp-ifunc.c: Likewise.
31837 * string/test-strncpy-ifunc.c: Likewise.
31838 * string/test-strnlen-ifunc.c: Likewise.
31839 * string/test-strpbrk-ifunc.c: Likewise.
31840 * string/test-strrchr-ifunc.c: Likewise.
31841 * string/test-strspn-ifunc.c: Likewise.
31842 * string/test-strstr-ifunc.c: Likewise.
31843
de54b33a
L
31844 * debug/Makefile (tests-ifunc): New variable.
31845 (tests): Add $(tests-ifunc).
31846 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31847 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31848 * debug/test-stpcpy_chk-ifunc.c: New file.
31849 * debug/test-strcpy_chk-ifunc.c: Likewise.
31850
88481c16
SP
318512012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31852
31853 [BZ #13601]
31854 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31855 header is not read in.
31856
135948bd
JM
318572012-10-19 Joseph Myers <joseph@codesourcery.com>
31858
89f1c388
JM
31859 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31860 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31861 directly. Pass built executable to script as
31862 $(built-program-cmd).
31863 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31864 $testprogram without using LD_LIBRARY_PATH and $ldso.
31865
e40a0d21
JM
31866 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31867 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31868 $(rtld-installed-name).
31869 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31870 (rtld_installed_name): Likewise.
31871 (library_path): Likewise.
31872 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31873 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31874 $(run-program-prefix) to tst-tables.sh.
31875 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31876 it to run tst-table-from and tst-table-to.
31877 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31878 Pass it to tst-table.sh.
31879 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31880 $(run-program-prefix) to tst-gettext.sh.
31881 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31882 tst-translit.sh.
31883 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31884 tst-gettext2.sh.
31885 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31886 to run tst-gettext.
31887 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31888 to run tst-gettext2.
31889 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31890 to run tst-translit.
31891 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31892 $(run-program-prefix) to tst-mtrace.sh.
31893 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31894 to run tst-mtrace.
31895 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31896 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31897 $(rtld-installed-name).
31898 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31899 (rtld_installed_name): Likewise.
31900 (run_program_prefix): New variable. Use it to run wordexp-test.
31901
728e272a
JM
31902 * Makeconfig (ARCH): Remove all definitions.
31903 (machine): Likewise.
31904 [ARCH]: Remove conditional code.
31905 [!objdir]: Give error.
31906 [!objdir] (objpfx): Remove.
31907 [!objdir] (common-objpfx): Likewise.
31908 [!objdir] (common-objdir): Likewise.
31909 * configure.in (config_makefile): Remove. Hardcode Makefile in
31910 AC_CONFIG_FILES call.
31911 * configure: Regenerated.
31912
d528cdcf
JM
31913 [BZ #13888]
31914 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31915 or TMPDIR.
31916 (testout): Likewise.
31917
135948bd
JM
31918 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31919 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31920 $(rtld-installed-name).
31921 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31922 (rtld_installed_name): Likwise.
31923 (runit): Remove function.
31924 (run_getconf): New variable, Use it for running getconf binary.
31925
38c78296
L
319262012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31927
31928 [BZ #14716]
31929 * string/test-memmem.c (check_result): New function.
31930 (do_one_test): Use it.
31931 (check1): New function.
31932 (test_main): Use it.
31933
d077f65f
MT
319342012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31935
31936 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31937
ced52c71
JM
319382012-10-18 Joseph Myers <joseph@codesourcery.com>
31939
31940 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31941 (_G_LSEEK64): Likewise.
31942 (_G_MMAP64): Likewise.
31943 (_G_FSTAT64): Likewise.
31944 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31945 (_G_LSEEK64): Likewise.
31946 (_G_MMAP64): Likewise.
31947 (_G_FSTAT64): Likewise.
31948 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31949 unconditional. Call __mmap64 directly.
31950 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31951 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31952 __lseek64 directly.
31953 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31954 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31955 __mmap64 directly.
31956 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31957 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31958 __lseek64 directly.
31959 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31960 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31961 __lseek64 directly.
31962 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31963 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31964 __lseek64 directly.
31965 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31966 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31967 __fxstat64 directly.
31968 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31969 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31970 unconditional.
31971 (freopen64) [!_G_OPEN64]: Remove conditional code.
31972 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31973 unconditional.
31974 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31975 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31976 unconditional.
31977 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31978 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31979 unconditional.
31980 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31981 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31982 unconditional.
31983 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31984 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31985 unconditional.
31986 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31987 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31988 unconditional.
31989 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31990 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31991 unconditional.
31992 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31993
b741de23
SP
319942012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31995
31996 [BZ #12140]
31997 * manual/memory.texi (Malloc Tunable Parameters): Add note
31998 about free list pointers overwriting some perturb bytes.
31999 Wording suggested by Roland McGrath.
32000
f9b9d9c9
JM
320012012-10-17 Joseph Myers <joseph@codesourcery.com>
32002
32003 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32004 (lgamma_test): Likewise.
32005 (tgamma_test): Likewise.
32006
172a631a
FW
320072012-10-16 Florian Weimer <fweimer@redhat.com>
32008
32009 [BZ #14700]
32010 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32011 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32012
e9f37252
MK
320132012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32014
32015 * NEWS: Mention BZ #14716.
32016 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32017 when removing AVAILABLE1_USES_J macro.
32018
d394eb74
L
320192012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32022 (__bswap_64): __uint64_t for unsigned 64-bit int.
32023
ca38dc17
AS
320242012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32025
32026 * include/string.h (memmem): Declare libc hidden alias.
32027 * string/memmem.c (memmem): Define libc hidden alias.
32028 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32029 __read, __close instead of open, read, close.
32030
9a387d1f
L
320312012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32032
ac49ecaf
L
32033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32034 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32035 global and hidden.
32036 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32037 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32038 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32039 Likewise.
32040 (__rawmemchr_sse2): Likewise.
32041 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32042 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32043 (__strchr_sse2): Likewise.
32044 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32045 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32046 (__strcasecmp_sse2): Likewise.
32047 (__strncasecmp_sse2): Likewise.
32048 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32049 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32050 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32051 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32052 (__strrchr_sse2): Likewise.
32053 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32054 ifunc-impl-list.c.
32055 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32056 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32057 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32058 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32059 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32060 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32061 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32062 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32063 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32064 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32065 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32066 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32067 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32068 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32069 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32070 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32071 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32072 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32073 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32074 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32075 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32076 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32077 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32078 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32079 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32080 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32081 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32082 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32083 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32084 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32085
b090e8ea
L
32086 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32087 global and hidden.
32088 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32089 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32090 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32091 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32092 Likewise.
32093 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32094 Likewise.
32095 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32096 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32097 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32098 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32099 ifunc-impl-list.c.
32100 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32102 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32103 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32104 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32105 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32106 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32107 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32108 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32112 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32114 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32115 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32116 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32117 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32118 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32119 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32120 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32121 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32122 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32123 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32124 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32125 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32126 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32127 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32128 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32129 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32130 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32131 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32132 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32133 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32134 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32135 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32136 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32137 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32138 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32139 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32140 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32141
11dd4af6
L
32142 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32143 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32144 * include/ifunc-impl-list.h: New file.
32145 * misc/ifunc-impl-list.c: Likewise.
32146 * misc/Makefile (routines): Add ifunc-impl-list.
32147 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32148 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32149 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32150 TEST_NAME]: New variables.
11dd4af6
L
32151 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32152 are defined.
32153 (test_init): Call __libc_ifunc_impl_list to initialize
32154 func_list if TEST_IFUNC and TEST_NAME are defined.
32155
9a387d1f
L
32156 * string/Makefile (strop-tests): Add bcopy and bzero.
32157 * string/test-bcopy.c: New file.
32158 * string/test-bzero.c: Likewise.
32159 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32160 defined.
32161 * string/test-memset.c: Support bzero test if TEST_BZERO is
32162 defined.
32163 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32164 __libc_memmove.
32165 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32166 __libc_memset.
32167 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32168 of memset.
32169
472371b9
JM
321702012-10-10 Joseph Myers <joseph@codesourcery.com>
32171
1e4a9536
JM
32172 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32173 * configure: Regenerated.
32174
d173d12e
JM
32175 * Makeconfig (+link-static-before-libc): Don't include
32176 $(link-static-libc).
32177
472371b9
JM
32178 * libio/libio.h (_IO_pos_t): Remove.
32179
89a3ad0b
AO
321802012-10-10 Alexandre Oliva <aoliva@redhat.com>
32181
32182 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32183 McGrath.
32184
e7451425
AO
321852012-10-10 Alexandre Oliva <aoliva@redhat.com>
32186
32187 * crypt/crypt-entry.c: Include fips-private.h.
32188 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32189 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32190 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32191 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32192
4ba74a35
AO
321932012-10-10 Alexandre Oliva <aoliva@redhat.com>
32194
32195 * crypt/crypt-private.h: Include stdbool.h.
32196 (_ufc_setup_salt_r): Return bool.
32197 * crypt/crypt-entry.c: Include errno.h.
32198 (__crypt_r): Return NULL with EINVAL for bad salt.
32199 * crypt/crypt_util.c (bad_for_salt): New.
32200 (_ufc_setup_salt_r): Check that salt is long enough and within
32201 the specified alphabet.
32202 * crypt/badsalttest.c: New file.
32203 * crypt/Makefile (tests): Add it.
32204 ($(objpfx)badsalttest): New.
32205
f96f1242
MK
322062012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32207
32208 * NEWS: Add entry for BZ #14602.
32209
0e8e0c1c
JM
322102012-10-09 Joseph Myers <joseph@codesourcery.com>
32211
32212 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32213 type-generic.
32214 * math/libm-test.inc: Update comment listing what functions and
32215 macros are tested.
32216 (isgreater_test): New function.
32217 (isgreaterequal_test): Likewise.
32218 (isless_test): Likewise.
32219 (islessequal_test): Likewise.
32220 (islessgreater_test): Likewise.
32221 (isunordered_test): Likewise.
32222 (main): Call the new functions.
32223
273edc5e
RM
322242012-10-09 Roland McGrath <roland@hack.frob.com>
32225
b8493de0
RM
32226 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32227 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32228 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32229 * sysdeps/i386/configure: Regenerated.
32230 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32231 * sysdeps/mach/configure: Regenerated.
32232 * sysdeps/mach/hurd/configure: Regenerated.
32233 * sysdeps/powerpc/configure: Regenerated.
32234 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32235 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32236 * sysdeps/s390/s390-32/configure: Regenerated.
32237 * sysdeps/s390/s390-64/configure: Regenerated.
32238 * sysdeps/sh/configure: Regenerated.
32239 * sysdeps/sparc/configure: Regenerated.
32240 * sysdeps/unix/sysv/linux/configure: Regenerated.
32241 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32242 * sysdeps/x86_64/configure: Regenerated.
32243
273edc5e
RM
32244 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32245 defined. Don't check if MAP is NULL.
32246
c8450f70
JM
322472012-10-09 Joseph Myers <joseph@codesourcery.com>
32248
32249 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32250 (_G_stat64): Likewise.
32251 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32252 (_G_stat64): Likewise.
32253 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32254 instead of struct _G_stat64.
32255 * libio/fileops.c (mmap_remap_check): Likewise.
32256 (decide_maybe_mmap): Likewise.
32257 (_IO_new_file_seekoff): Likewise.
32258 (_IO_file_stat): Likewise.
32259 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32260 _G_off64_t.
32261 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32262 instead of struct _G_stat64.
32263 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32264
57e605ba
MK
322652012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32266
32267 [BZ #14602]
32268 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32269 Replace with ...
32270 (CHECK_EOL): New macro.
32271 (two_way_short_needle): Check beginning of haystack for EOL. Use
32272 CHECK_EOL.
32273 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32274 Replace with CHECK_EOL.
32275 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32276 Replace with CHECK_EOL.
32277
ef1bb361
JM
322782012-10-08 Joseph Myers <joseph@codesourcery.com>
32279
32280 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32281 type-generic.
32282 * math/libm-test.inc: Update comment listing what functions and
32283 macros are tested.
32284 (finite_test): New function.
32285 (isinf_test): Likewise.
32286 (isnan_test): Likewise.
32287 (fpclassify_test): Test subnormal input.
32288 (isfinite_test): Likewise.
32289 (isnormal_test): Likewise.
32290 (main): Call the new functions.
32291
55f11534
JN
322922012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32293
32294 [BZ #14660]
32295 * Makerules (%.dynsym): Force C locale when running
32296 $(OBJDUMP) --dynamic-syms.
32297
1ab29350
AS
322982012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32299
32300 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32301 <stdint.h>.
32302
f1ecb7ef
DM
323032012-10-06 David S. Miller <davem@davemloft.net>
32304
32305 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32306 upper 32-bits of the length value in %o2 since we use branch-on-register
32307 tests which consider the entire 64-bit register.
32308
5d41d91a
L
323092012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32310
32311 * string/test-strstr.c (check2): Add a test for page boundary.
32312
3baddb72
DM
323132012-10-05 David S. Miller <davem@davemloft.net>
32314
32315 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32316 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32317 file.
32318 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32319 sysdep_routines.
32320 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32321 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32322 and bzero when HWCAP_SPARC_CRYPTO is present.
32323
9cee5585
L
323242012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32325
d7e0dab9
L
32326 [BZ #14602]
32327 * string/test-strstr.c (check2): New function.
32328 (test_main): Call check2.
32329
03759f47
L
32330 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32331 and bug-strchr1.
32332 * string/bug-strcasestr1.c (do_test): Moved to ...
32333 * string/test-strcasestr.c (check1): Here. New function.
32334 (do_one_test): Break out result checking code into ...
32335 (check_result): This. New function.
32336 (do_one_test): Call check_result.
32337 (test_main): Call check1.
32338 * string/bug-strchr1.c (do_test): Moved to ...
32339 * string/test-strchr.c (check1): Here. New function.
32340 (do_one_test): Break out result checking code into ...
32341 (check_result): This. New function.
32342 (do_one_test): Call check_result.
32343 (test_main): Call check1.
32344 * string/bug-strstr1.c (main): Moved to ...
046f153e 32345 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32346 (do_one_test): Break out result checking code into ...
32347 (check_result): This. New function.
32348 (do_one_test): Call check_result.
32349 (test_main): Call check1.
32350 * string/bug-strcasestr1.c: Removed.
32351 * string/bug-strchr1.c: Likewise.
32352 * string/bug-strstr1.c: Likewise.
32353
53cea63e
L
32354 * elf/Makefile (dl-routines): Add hwcaps.
32355 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32356 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32357 (_dl_important_hwcaps): Moved to ...
32358 * elf/dl-hwcaps.c: Here. New file.
32359 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32360
9cee5585 32361 [BZ #14557]
bb859b06
L
32362 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32363 if IS_IN_rtld isn't defined.
32364
9cee5585
L
32365 * elf/dl-support.c (_dl_sysinfo_map): New.
32366 Include "get-dynamic-info.h" and "setup-vdso.h".
32367 (_dl_non_dynamic_init): Call setup_vdso.
32368 * elf/dynamic-link.h: Don't include <assert.h>.
32369 (elf_get_dynamic_info): Moved to ...
32370 * elf/get-dynamic-info.h: Here. New file.
32371 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32372 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32373 * elf/setup-vdso.h: Here. New file.
32374 * elf/rtld.c: Include "setup-vdso.h".
32375 (dl_main): Call setup_vdso.
32376
23c31b76
JM
323772012-10-05 Joseph Myers <joseph@codesourcery.com>
32378
28234b07
JM
32379 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32380 creal in comment listing functions tested. List finite, isinf,
32381 isnan, isless, islessequal, isgreater, isgreaterequal,
32382 islessgreater, isunordered, lgamma_r and pow10 as functions and
32383 macros not tested. Mention which functions not tested are aliases
32384 for other functions. Fix typo. Note that signs of NaNs are not
32385 tested.
32386
23c31b76
JM
32387 * scripts/config.guess: Update from config.git.
32388 * scripts/config.sub: Likewise.
32389
9043e228
RM
323902012-10-04 Roland McGrath <roland@hack.frob.com>
32391
32392 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32393 * misc/madvise.c (madvise): Renamed to __madvise.
32394 Make madvise a weak alias.
32395 * include/sys/mman.h: Declare __madvise.
32396 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32397 * sysdeps/unix/syscalls.list
32398 (madvise): Make __madvise the strong name, and madvise a weak alias.
32399 * sysdeps/unix/sysv/linux/syscalls.list
32400 (madvise, mmap): Remove redundant entries.
32401 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32402 * malloc/malloc.c (mtrim): Likewise.
32403 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32404
f57f8055
RM
324052012-10-03 Roland McGrath <roland@hack.frob.com>
32406
32407 * sysdeps/mach/hurd/dl-cache.c: File removed.
32408 * config.h.in (USE_LDCONFIG): New #undef.
32409 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32410 * configure: Regenerated.
32411 * elf/Makefile (dl-routines): Add dl-cache only under
32412 [$(use-ldconfig) = yes].
32413 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32414 cache on [USE_LDCONFIG].
32415 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32416 [USE_LDCONFIG].
32417 * elf/rtld.c (dl_main): Likewise.
32418
5bb0c10a
PT
324192012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32420
32421 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32422 _SC_LEVEL4_CACHE_LINESIZE.
32423
010188c6
RM
324242012-10-03 Roland McGrath <roland@hack.frob.com>
32425
32426 * sysdeps/unix/bsd/confstr.h: File removed.
32427
b6c5ec07
AO
324282012-10-02 Alexandre Oliva <aoliva@redhat.com>
32429
32430 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32431 sys/sdt-config.h.
32432
408223d4
RM
324332012-10-02 Roland McGrath <roland@hack.frob.com>
32434
32435 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32436 Make 'mapoff' field ElfW(Off) rather than off_t.
32437
bb9510dc
DL
324382012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32439
fc997c6e
DL
32440 * nscd/Makefile: Remove nscd-cflags and all its users.
32441 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32442 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32443
bb9510dc
DL
32444 [BZ #10631]
32445 * malloc.c (malloc_printerr): Clarify error message.
32446
05699367
L
324472012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32448
32449 [BZ #14648]
32450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32451 Set bit_FMA_Usable if FMA is supported.
32452 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32453 macro.
32454 (bit_FMA4_Usable): Updated.
32455 (index_FMA_Usable): New macro.
32456 (CPUID_FMA): Likewise
32457 (HAS_FMA): Defined with bit_FMA_Usable.
32458
51367701
RM
324592012-10-01 Roland McGrath <roland@hack.frob.com>
32460
32461 * bits/types.h (__swblk_t): Type removed.
32462 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32463 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32465 (__SWBLK_T_TYPE): Likewise.
32466 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32467 (__SWBLK_T_TYPE): Likewise.
32468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32469 (__SWBLK_T_TYPE): Likewise.
32470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32471 (__SWBLK_T_TYPE): Likewise.
32472
4d57bf63 324732012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32474 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32475
32476 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32477 (xdr_mapname): Use YPMAXMAP as maxsize.
32478 (xdr_peername): Use YPMAXPEER as maxsize.
32479 (xdr_keydat): Use YPAXRECORD as maxsize.
32480 (xdr_valdat): Use YPMAXRECORD as maxsize.
32481
93c65d43
RM
324822012-10-01 Roland McGrath <roland@hack.frob.com>
32483
497a03d6
RM
32484 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32485
93c65d43
RM
32486 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32487 * csu/init-first.c: ... here.
32488 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32489 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32490 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32491 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32492 * sysdeps/i386/init-first.c: File removed.
32493 * sysdeps/sh/init-first.c: File removed.
32494
bec749fd
JM
324952012-10-01 Joseph Myers <joseph@codesourcery.com>
32496
32497 [BZ #14645]
32498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32499 if x * y might underflow to zero and z is zero.
32500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32502 * math/libm-test.inc (min_subnorm_value): New variable.
32503 (fma_test): Add more tests.
32504 (fma_test_towardzero): Likewise.
32505 (fma_test_downward): Likewise
32506 (fma_test_upward): Likewise.
32507 (initialize): Set min_subnorm_value.
32508
8ec5b013
JM
325092012-09-29 Joseph Myers <joseph@codesourcery.com>
32510
32511 [BZ #14638]
32512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32513 0 + 0.
32514 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32515 mode for addition resulting in exact zero.
32516 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32518 exact 0 + 0.
32519 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32520 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32521 * math/libm-test.inc (fma_test): Add more tests.
32522 (fma_test_towardzero): New function.
32523 (fma_test_downward): Likewise.
32524 (fma_test_upward): Likewise.
32525 (main): Call the new functions.
32526
b1fa802e
DM
325272012-09-28 David S. Miller <davem@davemloft.net>
32528
32529 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32530
d3b9fd9e
RM
325312012-09-28 Roland McGrath <roland@hack.frob.com>
32532
ea4d37b3
RM
32533 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32534 instead of SIGALRM.
32535
ac51c949
RM
32536 * sysdeps/gnu/_G_config.h: Moved to ...
32537 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32538 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32539 * sysdeps/generic/_G_config.h: ... here.
32540
28c195f7
RM
32541 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32542
848917f9
RM
32543 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32544
6bacf05b
RM
32545 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32546 Conditionalize target on [libnss_test1.so-version].
32547
91363dbb
RM
32548 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32549
cc87f7d8
RM
32550 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32551 (elfobjdir): Move out of conditionals.
32552
b1c608fe
RM
32553 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32554 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32555 (__nss_lookup_function): Conditionalize label remove_from_tree on
32556 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32557
1d9a6d96
DM
325582012-09-28 David S. Miller <davem@davemloft.net>
32559
32560 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32561 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32562 file.
32563 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32564 sysdep_routines.
32565 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32566 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32567 when HWCAP_SPARC_CRYPTO is present.
32568
72581615
PT
325692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32570
32571 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32572
715a900c
JL
325732012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32574
32575 [BZ #6530]
32576 * stdio-common/vfprintf.c (process_string_arg): Revert
32577 2000-07-22 change.
32578
325792011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32580
32581 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32582 for testcase.
32583 * stdio-common/tst-sprintf.c: Include <locale.h>
32584 (main): Test sprintf's handling of incomplete multibyte
32585 characters.
32586
9bac1d86
L
325872012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32588
32589 * elf/dl-runtime.c (VERSYMIDX): Removed.
32590 * elf/dl-version.c (VERSYMIDX): Likewise.
32591 * elf/do-rel.h (VERSYMIDX): Likewise.
32592 (VALIDX): Likewise.
32593 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32594 * elf/rtld.c (VALIDX): Likewise.
32595 (ADDRIDX): Likewise.
9bac1d86
L
32596 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32597 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32598 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32599 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32600 (VALIDX): Likewise.
32601 (ADDRIDX): Likewise.
9bac1d86 32602
b31606c0
PT
326032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32604
32605 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32606
11541177
JL
326072012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32608
32609 [BZ #11438]
32610 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32611 to global scope.
32612 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32613 addresses are in the same scope as 192.0.2/24.
32614 * posix/gai.conf: Document new scope table defaults.
32615
adb26fae
SP
326162012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32617
32618 [BZ #5298]
32619 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32620 for ftell. Compute offsets from write pointers instead.
32621 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32622
4573c6b0
SP
326232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32624
32625 [BZ #14543]
32626 * libio/Makefile (tests): New test case tst-fseek.
32627 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32628 combination works in wide mode.
32629 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32630 state when the external buffer state changes.
32631
aa9bbfe6
DM
326322012-09-27 David S. Miller <davem@davemloft.net>
32633
32634 [BZ #14376]
32635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32636 pass reloc->r_addend in as the 'high' argument to
32637 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32638
784421e7
DM
32639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32640
c39bc8b8
PT
326412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32642
32643 * rt/tst-aio2.c: Include <pthread.h>.
32644 * rt/tst-aio3.c: Likewise.
32645
1ccc2399
SE
326462012-09-27 Steve Ellcey <sellcey@mips.com>
32647
32648 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32649
31ed4153
L
326502012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32651
25f5f885
L
32652 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32653 contents on [SHARED].
31ed4153 32654
b7bfe116
MP
326552012-09-26 Marek Polacek <polacek@redhat.com>
32656
32657 [BZ #14530]
32658 [BZ #13741]
32659 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32660 for C++ and GCC <4.3 as well as for non GCC compilers.
32661
43c4edba
MT
326622012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32663
32664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32665
6a1bf82f
RM
326662012-09-25 Roland McGrath <roland@hack.frob.com>
32667
32668 * Makefile.in (all, install): Declare with .PHONY.
32669 Reported by Michael Hope <michael.hope@linaro.org>.
32670
8ad11b9a
TMQMF
326712012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32672
32673 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32674 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32675 system header.
32676 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32677 Likewise.
32678 (sydep_routines): Add the new and the internal functions.
32679 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32680 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32682 (GLIBC_2.17): Add the new function.
32683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32684 (GLIBC_2.17): Likewise.
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32686 (GLIBC_2.17): Likewise.
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32688 (GLIBC_2.17): Likewise.
32689 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32690
7e2fca8d
AM
326912012-09-25 Alan Modra <amodra@gmail.com>
32692
32693 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32694 Add release barrier before setting once_control to say
32695 initialisation is done. Add hints on lwarx. Use macro in
32696 place of isync.
32697 (clear_once_control): Add release barrier.
32698
b87c4b24
JM
326992012-09-25 Joseph Myers <joseph@codesourcery.com>
32700
d032e0d2
JM
32701 [BZ #13629]
32702 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32703 specially.
32704 * math/s_clog10.c (__clog10): Likewise.
32705 * math/s_clog10f.c (__clog10f): Likewise.
32706 * math/s_clog10l.c (__clog10l): Likewise.
32707 * math/s_clogf.c (__clogf): Likewise.
32708 * math/s_clogl.c (__clogl): Likewise.
32709 * math/Makefile (libm-calls): Add x2y2m1.
32710 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32711 (__x2y2m1): Likewise.
32712 (__x2y2m1l): Likewise.
32713 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32714 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32717 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32718 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32719 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32720 * sysdeps/i386/fpu/libm-test-ulps: Update.
32721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32722
b87c4b24
JM
32723 [BZ #14621]
32724 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32725 int as type of variable DEPTH.
32726 (glob): Use size_t instead of int as type of variables NEWCOUNT
32727 and OLD_PATHC.
32728
6d3bf199
LD
327292012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32730
22bf5c17
LD
32731 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32732 Add s_sincosf-sse2.
32733 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32734 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32735 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32736 macros for using routine as __sincosf_ia32.
32737 Use macro for function declaration and weak_alias.
32738 * sysdeps/i386/fpu/libm-test-ulps: Update.
32739
32740 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32741 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32742
32743 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
32744 subnormal argument.
32745 * math/s_cexpf.c (__cexpf): Likewise.
32746 * math/s_csinf.c (__csinf): Likewise.
32747 * math/s_csinhf.c (__csinhf): Likewise.
32748 * math/s_ctanf.c (__ctanf): Likewise.
32749 * math/s_ctanhf.c (__ctanhf): Likewise.
32750 * math/s_ccosh.c (__ccoshf): Likewise.
32751 * math/s_cexp.c (__cexpl): Likewise.
32752 * math/s_csin.c (__csin): Likewise.
32753 * math/s_csinh.c (__csinh): Likewise.
32754 * math/s_ctan.c (__ctan): Likewise.
32755 * math/s_ctanh.c (ctanh): Likewise.
32756 * math/s_ccoshl.c (__ccoshl): Likewise.
32757 * math/s_cexpl.c (__cexpl): Likewise.
32758 * math/s_csinl.c (__csinl): Likewise.
32759 * math/s_csinhl.c (__csinhl): Likewise.
32760 * math/s_ctanl.c (__ctanl): Likewise.
32761 * math/s_ctanhl.c (__ctanhl): Likewise.
32762
203e5603
JM
327632012-09-25 Joseph Myers <joseph@codesourcery.com>
32764
32765 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32766 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32767 (_IO_off_t): Define to __off_t, not _G_off_t.
32768 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32769 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32770 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32771 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32772 type of __dummy and __dummy2 fields.
32773 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32774 (_G_ssize_t): Likewise.
32775 (_G_off_t): Likewise.
32776 (_G_pid_t): Likewise.
32777 (_G_uid_t): Likewise.
32778 (_G_wchar_t): Likewise.
32779 (_G_wint_t): Likewise.
32780 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32781 (_G_ssize_t): Likewise.
32782 (_G_off_t): Likewise.
32783 (_G_pid_t): Likewise.
32784 (_G_uid_t): Likewise.
32785 (_G_wchar_t): Likewise.
32786 (_G_wint_t): Likewise.
32787 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32788 (_G_ssize_t): Likewise.
32789 (_G_off_t): Likewise.
32790 (_G_pid_t): Likewise.
32791 (_G_uid_t): Likewise.
32792 (_G_wchar_t): Likewise.
32793 (_G_wint_t): Likewise.
32794
9fab36eb
SP
327952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32796
32797 * malloc/arena.c: Include malloc-sysdep.h.
32798 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32799 is sufficient to shrink the heap or an unmap is needed.
32800 * sysdeps/generic/malloc-sysdep.h: New file. Define
32801 new function check_may_shrink_heap.
32802 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32803 new function check_may_shrink_heap.
32804
2b4f00d1
SP
328052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32806
32807 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32808 comments.
32809
9a9028b1
DL
328102012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32811
57c69bef
DL
32812 * catgets/test-gencat.sh: Add "set -e".
32813 * elf/tst-pathopt.sh: Likewise.
32814 * grp/tst_fgetgrent.sh: Likewise.
32815 * iconvdata/run-iconv-test.sh: Likewise.
32816 * intl/tst-gettext.sh: Likewise.
32817 * intl/tst-gettext2.sh: Likewise.
32818 * intl/tst-gettext4.sh: Likewise.
32819 * intl/tst-gettext6.sh: Likewise.
32820 * intl/tst-translit.sh: Likewise.
32821 * io/ftwtest-sh: Likewise.
32822 * libio/test-freopen.sh: Likewise.
32823 * malloc/tst-mtrace.sh: Likewise.
32824 * posix/globtest.sh: Likewise.
32825 * posix/tst-getconf.sh: Likewise.
32826 * posix/wordexp-tst.sh: Likewise.
32827 * stdio-common/tst-printf.sh: Likewise.
32828 * stdio-common/tst-unbputc.sh: Likewise.
32829 * stdlib/tst-fmtmsg.sh: Likewise.
32830 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32831 * catgets/Makefile: Do not specify -e option when running
32832 testsuite shell scripts.
32833 * elf/Makefile: Likewise.
32834 * grp/Makefile: Likewise.
32835 * iconvdata/Makefile: Likewise.
32836 * intl/Makefile: Likewise.
32837 * io/Makefile: Likewise.
32838 * libio/Makefile: Likewise.
32839 * malloc/Makefile: Likewise.
32840 * posix/Makefile: Likewise.
32841 * stdio-common/Makefile: Likewise.
32842 * stdlib/Makefile: Likewise.
32843 * sysdeps/x86_64/Makefile: Likewise.
32844
9a9028b1
DL
32845 * io/ftwtest-sh: Add copyright header.
32846 * posix/globtest.sh: Likewise.
32847 * posix/tst-getconf.sh: Likewise.
32848 * posix/wordexp-tst.sh: Likewise.
32849 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32850
ced6f16e
L
328512012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32852
94b32c39
L
32853 [BZ #13679]
32854 * Makeconfig (+link): Defined as $(+link-static) if
32855 $(build-shared) isn't yes.
32856 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32857 isn't yes.
32858 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32859
189e935b
L
32860 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32861
ced6f16e
L
32862 [BZ #14562]
32863 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32864 new chunk size with MALLOC_ALIGN_MASK.
32865
a9f8e53a
JM
328662012-09-24 Joseph Myers <joseph@codesourcery.com>
32867
32868 [BZ #5044]
32869 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32870 <rounding-mode.h>.
32871 (__printf_fphex): Determine rounding using get_rounding_mode and
32872 round_away.
32873 * stdio-common/tst-printf-round.c (struct hex_test): New
32874 structure.
32875 (hex_tests): New variable.
32876 (test_hex_in_one_mode): New function.
32877 (do_test): Also run tests for hex float output.
32878
43153109
JM
328792012-09-21 Joseph Myers <joseph@codesourcery.com>
32880
32881 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32882 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32883 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32884 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32885 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32886 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32887 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32888 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32889
8a26625d
JM
328902012-09-20 Joseph Myers <joseph@codesourcery.com>
32891
32892 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32893 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32894 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32895 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32896
f3fd569c
DL
328972012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32898
32899 [BZ #14579]
32900 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32901 mode only.
32902 * elf/tst-rtld-load-self.sh: New test.
32903 * elf/Makefile: Run it.
32904
63bbedd4
JM
329052012-09-18 Joseph Myers <joseph@codesourcery.com>
32906
32907 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32908 (tst-writev-ENV): Remove.
32909 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32910
626f8b6a
CM
329112012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32912
32913 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32914
b7aaa4d6
JM
329152012-09-17 Joseph Myers <joseph@codesourcery.com>
32916
32917 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32918 unconditional.
32919 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32920 Likewise.
32921 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32922 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32923 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32924 Likewise.
32925
65513990
L
329262012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32927
32928 [BZ #14587]
32929 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32930 * config.make.in (have-cpp-asm-debuginfo): Removed.
32931 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32932 * configure: Regenerated.
32933
784761be
JM
329342012-09-14 Joseph Myers <joseph@codesourcery.com>
32935
32936 [BZ #5044]
32937 * stdio-common/printf_fp.c: Include <stdbool.h> and
32938 <rounding-mode.h>.
32939 (___printf_fp): Determine rounding using get_rounding_mode and
32940 round_away.
32941 * stdio-common/tst-printf-round.c: New file.
32942 * stdio-common/Makefile (tests): Add tst-printf-round.
32943 (link-libm): New variable.
32944 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32945
9503345f
L
329462012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32947
32948 [BZ #14576]
32949 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32950 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32951 Likewise.
32952 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32953 Likewise.
32954
ad35fc00
JM
329552012-09-13 Joseph Myers <joseph@codesourcery.com>
32956
32957 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32958 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32959 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32960 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32961
6c9b0f68
JM
329622012-09-12 Joseph Myers <joseph@codesourcery.com>
32963
32964 [BZ #14518]
32965 * include/rounding-mode.h: New file.
32966 * sysdeps/generic/get-rounding-mode.h: Likewise.
32967 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32968 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32969 (MAX_VALUE): New macro.
32970 (MIN_VALUE): Likewise.
32971 (overflow_value): New function.
32972 (underflow_value): Likewise.
32973 (round_and_return): Use overflow_value and underflow_value to
32974 determine return values in overflow and underflow cases. Use
32975 round_away to determine rounding depending on rounding mode.
32976 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32977 determine return values in overflow and underflow cases.
32978 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32979 (struct test_results): New structure.
32980 (struct test): Use struct test_results to store expected results
32981 for all rounding modes.
32982 (TEST): Include expected results for all rounding modes.
32983 (test_in_one_mode): New function.
32984 (do_test): Use test_in_one_mode to compute and check results.
32985 Check results for all rounding modes.
32986 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32987 $(link-libm).
32988
19fcedd5
AM
329892012-12-09 Allan McRae <allan@archlinux.org>
32990
1e9d84cd 32991 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 32992
8bbfd2f1
JM
329932012-09-11 Joseph Myers <joseph@codesourcery.com>
32994
32995 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32996 (_G_int32_t): Likewise.
32997 (_G_uint16_t): Likewise.
32998 (_G_uint32_t): Likewise.
32999 (_G_HAVE_BOOL): Likewise.
33000 (_G_HAVE_ATEXIT): Likewise.
33001 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33002 (_G_HAVE_IO_FILE_OPEN): Likewise.
33003 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33004 (_G_int32_t): Likewise.
33005 (_G_uint16_t): Likewise.
33006 (_G_uint32_t): Likewise.
33007 (_G_HAVE_BOOL): Likewise.
33008 (_G_HAVE_ATEXIT): Likewise.
33009 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33010 (_G_HAVE_IO_FILE_OPEN): Likewise.
33011 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33012 (_G_int32_t): Likewise.
33013 (_G_uint16_t): Likewise.
33014 (_G_uint32_t): Likewise.
33015 (_G_HAVE_BOOL): Likewise.
33016 (_G_HAVE_ATEXIT): Likewise.
33017 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33018 (_G_HAVE_IO_FILE_OPEN): Likewise.
33019
b1dc5912
L
330202012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * csu/libc-tls.c: Update copyright years.
33023
0e886ef9
JM
330242012-09-10 Joseph Myers <joseph@codesourcery.com>
33025
28361c5e
JM
33026 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33027 [!_G_USING_THUNKS]: Remove conditional code.
33028 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33029 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33030
0e886ef9
JM
33031 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33032 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33033 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33034 (_G_VTABLE_LABEL_PREFIX): Likewise.
33035 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33036 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33037 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33038 (_G_VTABLE_LABEL_PREFIX): Likewise.
33039 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33040 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33041 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33042 (_G_VTABLE_LABEL_PREFIX): Likewise.
33043 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33044
bcba7aa2
L
330452012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33046
33047 * libio/Makefile: Include ../Makeconfig before tests.
33048 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33049 only if $(build-shared) is yes.
33050
06585ee8
L
33051 * iconv/gconv_db.c: Update copyright years.
33052
80ccd52c
LD
330532012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33054
33055 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33056 unwind info if defined PIC. Fix special cases description.
33057 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33058
33059 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33060 DP_HI_MASK entry.
33061 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33062
691bc9c1
L
330632012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33064
3d9b46b3
L
33065 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33066
de2139a9
L
33067 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33068 is NULL.
33069
5ca78dd0
L
33070 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33071 (LDLIBS-tst-chk4): This.
33072 (LDFLAGS-tst-chk5): Renamed to ...
33073 (LDLIBS-tst-chk5): This.
33074 (LDFLAGS-tst-chk6): Renamed to ...
33075 (LDLIBS-tst-chk6): This.
33076 (LDFLAGS-tst-lfschk4): Renamed to ...
33077 (LDLIBS-tst-lfschk4): This.
33078 (LDFLAGS-tst-lfschk5): Renamed to ...
33079 (LDLIBS-tst-lfschk5): This.
33080 (LDFLAGS-tst-lfschk6): Renamed to ...
33081 (LDLIBS-tst-lfschk6): This.
33082
691bc9c1
L
33083 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33084 on $(common-objpfx)soversions.mk.
33085
65cafb1c
JM
330862012-09-07 Joseph Myers <joseph@codesourcery.com>
33087
33088 [BZ #10014]
33089 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33090 example host name.
33091
c78ab094
SP
330922012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33093
33094 * malloc/arena.c (arena_get_retry): New function that gets
33095 another arena for the caller to try its request on.
33096 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33097 current arena cannot fulfill the request.
33098 (__libc_memalign): Likewise.
33099 (__libc_memalign): Likewise.
33100 (__libc_pvalloc): Likewise.
33101 (__libc_calloc): Likewise.
33102
01f49f59
JT
331032012-09-05 John Tobey <john.tobey@gmail.com>
33104
33105 [BZ #13542]
33106 * manual/arith.texi (Operations on Complex): Fix description
33107 of carg branch cut.
33108
4c23fed5
JM
331092012-09-06 Joseph Myers <joseph@codesourcery.com>
33110
1d3c8572
JM
33111 [BZ #10014]
33112 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33113 host name.
33114
4c23fed5
JM
33115 [BZ #10038]
33116 * manual/memory.texi (Memory): Make order of menu items match
33117 order of sections.
33118
04570aaa
L
331192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33122 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33123 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33124
b80af2f4
L
331252012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33126
33127 * csu/libc-tls.c (static_dtv): Renamed to ...
33128 (_dl_static_dtv): This. Make it global.
33129 (_dl_initial_dtv): Removed.
33130 (__libc_setup_tls): Updated.
33131 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33132 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33133 DL_INITIAL_DTV.
33134
2abe9f15
PM
331352012-09-06 Petr Machata <pmachata@redhat.com>
33136
33137 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33138 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33139 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33140 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33141
0948c3af
L
331422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33143
33144 [BZ #14545]
33145 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33146 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33147 freeing dtv[-1].
33148
a5055ad1
L
331492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33150
33151 [BZ #14544]
33152 * Makeconfig (link-static-before-libc): Replace $(+prector)
33153 with $(+prectorT).
33154 (link-static-after-libc): Replace $(+postctor) with
33155 $(+postctorT).
33156 (link-bounded): Replace $(+prector)/$(+postctor) with
33157 $(+prectorT)/$(+postctorT).
33158 (+prectorT): New macro.
33159 (+postctorT): Likewise.
33160
ed8c2ecd
JM
331612012-09-06 Joseph Myers <joseph@codesourcery.com>
33162
33163 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33164 (round_str): Handle values above the maximum for IBM long double
33165 as inexact.
33166 * stdlib/tst-strtod-round.c (tests): Regenerated.
33167
14c996c8
AK
331682012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33169
33170 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33171 assembler flag.
33172 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33173 zarch_nohighgprs around the zarch optimized routines.
33174 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33175 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33177 for zarch.
33178
430d6ce6
DM
331792012-09-05 David S. Miller <davem@davemloft.net>
33180
33181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33182
57f41c40
AS
33183 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33184 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33185 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33186 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33187 entries.
33188
24d4e01b
AO
331892012-09-05 Alexandre Oliva <aoliva@redhat.com>
33190
33191 * malloc/arena.c: Fold copyright years.
33192 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33193
61d58174
AO
331942012-09-05 Alexandre Oliva <aoliva@redhat.com>
33195
33196 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33197
20196a5e
AO
331982012-09-05 Alexandre Oliva <aoliva@redhat.com>
33199
33200 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33201
5c447383
AO
332022012-09-05 Alexandre Oliva <aoliva@redhat.com>
33203
33204 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33205 change internal state upon failure.
33206
fad64255
AO
332072012-09-05 Alexandre Oliva <aoliva@redhat.com>
33208
33209 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33210 * malloc/memusage.c (mmap): Likewise.
33211 (mmap64, mremap): Likewise. Adjust name in comment.
33212
1ffb8c90
SP
332132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33214
33215 * libio/fileops.c: Fix typos in comments.
33216 * libio/oldfileops.c: Likewise.
33217 * libio/wfileops.c: Likewise.
33218
6ef9cc37
SP
332192012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33220
33221 [BZ #1349]
33222 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33223 (tst-malloc-usable-ENV): Set environment for test case.
33224 * malloc/hooks.c (malloc_check_get_size): New function to get
33225 requested size.
33226 * malloc/malloc.c (musable): Use malloc_check_get_size.
33227 * malloc/tst-malloc-usable.c: New test case.
33228
4d038ae3
AS
332292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33230
33231 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33232
c4e85184
AM
332332012-09-05 Allan McRae <allan@archlinux.org>
33234
b9dafc56 33235 [BZ #13966]
c4e85184
AM
33236 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33237 determine header location.
33238 * configure: Regenerated.
33239
e1343020
AS
332402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33241
33242 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33243 float format.
33244 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33245 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33246 format.
e1343020
AS
33247 (test): Regenerate.
33248
0a9f1987
DM
332492012-09-04 David S. Miller <davem@davemloft.net>
33250
33251 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33252 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33253 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33254
29237804
FW
332552012-09-04 Florian Weimer <fweimer@redhat.com>
33256
33257 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33258 failures.
33259
edb3cb88
FW
33260 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33261
60160d83
JM
332622012-09-04 Joseph Myers <joseph@codesourcery.com>
33263
33264 [BZ #9914]
33265 * libio/iogetdelim.c: Include <limits.h>.
33266 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33267 + len + 1 would overflow.
33268
bcd6c8dc
AJ
332692012-09-03 Andreas Jaeger <aj@suse.de>
33270
33271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33272 * sysdeps/i386/fpu/libm-test-ulps: Update.
33273
4ffffbd2
LD
332742012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33275
33276 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33277 Add s_sinf-sse2, s_conf-sse2.
33278
33279 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33280 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33281 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33282 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33283
33284 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33285 for using routine as __sinf_ia32.
33286 Use macro for function declaration and weak_alias.
33287 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33288 for using routine as __cosf_ia32.
33289 Use macro for function declaration and weak_alias.
33290
33291 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33292 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33293
33294 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33295 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33297
33298 * math/libm-test.inc (cos_test): Add more test cases.
33299 (sin_test): Likewise.
33300 (sincos_test): Likewise.
33301
511fa286
AK
333022012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33303
33304 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33305 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33306 hidden.
33307 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33308
5f30cfec
L
333092012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33310
33311 [BZ #14538]
33312 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33313 first element of the GOT.
33314 (elf_machine_load_address): Return the difference between
33315 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33316
0786794f
AM
333172012-09-01 Allan McRae <allan@archlinux.org>
33318
5f30cfec
L
33319 [BZ #13412]
33320 * configure.in (AWK): Require gawk version 3.0 or later.
33321 * configure: Regenerated.
0786794f 33322
26889eac
JM
333232012-09-01 Joseph Myers <joseph@codesourcery.com>
33324
33325 * sysdeps/unix/sysv/linux/kernel-features.h
33326 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33327 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33328 [__NR_clock_getres]: Make code unconditional.
33329 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33330 (clock_getcpuclockid): Remove code left unreachable by removal of
33331 conditionals.
33332 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33333 code unconditional.
33334 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33335 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33336 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33337 Make code unconditional.
33338 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33339 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33340 * sysdeps/unix/sysv/linux/clock_settime.c
33341 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33342 conditional code.
33343 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33344 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33345
d22e28b0
L
333462012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33347
33348 [BZ #14476]
33349 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33350 scripts/test-installation.pl.
33351
33352 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33353 and $ld_so_version if it is set.
33354
050af9c4
SP
333552012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33356
33357 [BZ #14516]
33358 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33359 failure if reading from procfs failed.
33360 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33361
ad845c0b
JM
333622012-08-27 Joseph Myers <joseph@codesourcery.com>
33363
33364 * sysdeps/unix/sysv/linux/kernel-features.h
33365 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33366 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33367 Remove conditional code.
33368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33369 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33370 Remove conditional code.
33371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33372 * sysdeps/unix/sysv/linux/i386/fxstat.c
33373 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33375 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33376 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33378 * sysdeps/unix/sysv/linux/i386/lxstat.c
33379 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33380 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33381 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33382 Remove conditional code.
33383 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33384 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33385 Remove conditional code.
33386 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33387 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33388 <kernel-features.h>.
33389 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33390 Remove.
33391 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33392 Remove conditional code.
33393 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33394 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33395 Remove conditional.
33396
5dbf56af
MF
333972012-08-27 Mike Frysinger <vapier@gentoo.org>
33398
33399 [BZ #5400]
33400 * NEWS: Add fixed bug number.
33401
d6e70f43
JM
334022012-08-27 Joseph Myers <joseph@codesourcery.com>
33403
7efb4737
JM
33404 [BZ #14519]
33405 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33406 underflowing exponent in case of negative sign.
33407 * stdlib/tst-strtod-round-data: Add more tests.
33408 * stdlib/tst-strtod-round.c (tests): Regenerated.
33409
af92131a
JM
33410 [BZ #3479]
33411 * stdlib/strtod_l.c (NDIG): Remove.
33412 (HEXNDIG): Likewise.
33413 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33414 smallest representable value.
33415 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33416 lie within an exact representation of 1/2 ulp of the result.
33417 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33418 unconditionally.
33419 (TENS_P9_IDX): Define unconditionally.
33420 (TENS_P9_SIZE): Likewise.
33421 (TENS_P10_IDX): Likewise.
33422 (TENS_P10_SIZE): Likewise.
33423 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33424 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33425 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33426 entries for 10^2^13 and 10^2^14.
33427 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33428 (TENS_P13_IDX): Define.
33429 (TENS_P13_SIZE): Likewise.
33430 (TENS_P14_IDX): Likewise.
33431 (TENS_P14_SIZE): Likewise.
33432 (_fpioconst_pow10): Change array size to
33433 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33434 unconditional.
33435 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33436 1024]: Add entries for 10^2^13 and 10^2^14.
33437 [LAST_POW10 > _LAST_POW10]: Remove #error.
33438 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33439 (_fpioconst_pow10): Change array size to
33440 FPIOCONST_POW10_ARRAY_SIZE.
33441 * stdlib/gen-fpioconst.c: New file.
33442 * stdlib/gen-tst-strtod-round.c: Likewise.
33443 * stdlib/tst-strtod-round-data: Likewise.
33444 * stdlib/tst-strtod-round.c: Likewise.
33445 * stdlib/Makefile (tests): Add tst-strtod-round.
33446
d6e70f43
JM
33447 [BZ #14459]
33448 * stdlib/strtod_l.c: Include <stdint.h>.
33449 (NDEBUG): Do not define.
33450 (round_and_return): Change EXPONENT parameter to type intmax_t.
33451 Rearrange calculations to avoid internal overflow possibilities.
33452 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33453 Rearrange calculations to avoid internal overflow possibilities.
33454 Assert that number fits inside MPNSIZE limbs.
33455 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33456 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33457 calculations and add assertions to avoid internal overflow
33458 possibilities. Add casts to avoid signed/unsigned operations.
33459 * stdlib/tst-strtod-overflow.c: New file.
33460 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33461
1f529f7d
MP
334622012-08-25 Marek Polacek <polacek@redhat.com>
33463
33464 * time/time.h: Fix some typos in comments.
33465
59a629f1
RM
334662012-08-23 Roland McGrath <roland@hack.frob.com>
33467
33468 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33469 * posix/tst-rfc3484-2.c: Likewise.
33470 * posix/tst-rfc3484-3.c: Likewise.
33471
d3bafbc9
SM
334722012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33473
33474 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33475 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33476
4efcc022
JM
334772012-08-23 Joseph Myers <joseph@codesourcery.com>
33478
33479 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33480 #include of fxstatat64.c.
33481
3cc3ef96
RM
334822012-08-22 Roland McGrath <roland@hack.frob.com>
33483
f04e2132
RM
33484 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33485 * shadow/getspent_r.c: Likewise.
33486 * shadow/getspnam.c: Likewise.
33487 * shadow/getspnam_r.c: Likewise.
33488 * gshadow/getsgent.c: Likewise.
33489 * gshadow/getsgent_r.c: Likewise.
33490 * gshadow/getsgnam.c: Likewise.
33491 * gshadow/getsgnam_r.c: Likewise.
33492 * inet/getnetbyad.c: Likewise.
33493 * inet/getnetbyad_r.c: Likewise.
33494 * inet/getnetbynm.c: Likewise.
33495 * inet/getnetbynm_r.c: Likewise.
33496 * inet/getnetent.c: Likewise.
33497 * inet/getnetent_r.c: Likewise.
33498 * inet/getproto.c: Likewise.
33499 * inet/getproto_r.c: Likewise.
33500 * inet/getprtent.c: Likewise.
33501 * inet/getprtent_r.c: Likewise.
33502 * inet/getprtname.c: Likewise.
33503 * inet/getprtname_r.c: Likewise.
33504 * inet/getrpcbyname.c: Likewise.
33505 * inet/getrpcbyname_r.c: Likewise.
33506 * inet/getrpcbynumber.c: Likewise.
33507 * inet/getrpcbynumber_r.c: Likewise.
33508 * inet/getrpcent.c: Likewise.
33509 * inet/getrpcent_r.c: Likewise.
33510 * inet/getaliasent.c: Likewise.
33511 * inet/getaliasent_r.c: Likewise.
33512 * inet/getaliasname.c: Likewise.
33513 * inet/getaliasname_r.c: Likewise.
33514 * nscd/getgrgid_r.c: Likewise.
33515 * nscd/getgrnam_r.c: Likewise.
33516 * nscd/gethstbyad_r.c: Likewise.
33517 * nscd/gethstbynm3_r.c: Likewise.
33518 * nscd/getpwnam_r.c: Likewise.
33519 * nscd/getpwuid_r.c: Likewise.
33520 * nscd/getsrvbynm_r.c: Likewise.
33521 * nscd/getsrvbypt_r.c: Likewise.
33522 * nscd/gai.c: Likewise.
33523
c53d909c
RM
33524 * configure.in (build_nscd): New substituted variable, set
33525 by --disable-build-nscd and defaults to $use_nscd.
33526 * configure: Regenerated.
33527 * config.make.in (build-nscd): New substituted variable.
33528 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33529 Change conditional to require [$(build-nscd) = yes] as well.
33530 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33531
3cc3ef96
RM
33532 [BZ# 13696]
33533 * configure.in (use_nscd): New substituted variable, set by
33534 --disable-nscd. If enabled, define USE_NSCD.
33535 * configure: Regenerated.
33536 * config.h.in: Add USE_NSCD.
33537 * config.make.in (use-nscd): New substituted variable.
33538 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33539 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33540 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33541 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33542 (CFLAGS-getgrnam_r.c): Likewise.
33543 (CFLAGS-initgroups.c): Likewise.
33544 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33545 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33546 Variables removed.
33547 * inet/getnetgrent_r.c
33548 (nscd_setnetgrent): New function, broken out of ...
33549 (setnetgrent): ... here. Call it.
33550 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33551 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33552 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33553 * nscd/Makefile (routines, aux): Move definitions after include of
33554 Makeconfig. Conditionalize on [$(use-nscd) != no].
33555 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33556 Conditionalize on [USE_NSCD].
33557 (is_nscd, nscd_init_cb): Likewise.
33558 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33559 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33560 * nss/nss_db/db-init.c: Likewise.
33561 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33562 [USE_NSCD].
33563 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33564 (make_request): Use it.
33565 (cache_valid_p): New function.
33566 (__check_pf): Use it.
33567 * NEWS: Add item for --disable-nscd.
33568
07e51550
DL
335692012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33570
33571 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33572 to support sed >= 4.2.1-20-ga9bf076.
33573 * configure: Regenerated.
33574
35a5b08b
RM
335752012-08-22 Roland McGrath <roland@hack.frob.com>
33576
33577 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33578 Conditionalize whole body on [IREL].
33579
8479f23a
JL
335802012-08-22 Jeff Law <law@redhat.com>
33581
33582 [BZ #14505]
33583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33584 if the family is PF_UNSPEC.
33585
48da0b21
MF
335862012-08-22 Mike Frysinger <vapier@gentoo.org>
33587
33588 * Makerules (lib-version): Rename from V.
33589 (install-lib-nosubdir): Change V to lib-version.
33590
15d0da8c
WS
335912012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33592
33593 [BZ #14252]
33594 * powerpc32/power6/wcschr.c: New file.
33595 * powerpc32/power6/wcscpy.c: New file.
33596 * powerpc32/power6/wcsrchr.c: New file.
33597 * powerpc64/power6/wcschr.c: New file.
33598 * powerpc64/power6/wcscpy.c: New file.
33599 * powerpc64/power6/wcsrchr.c: New file.
33600
bcca0895
MK
336012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33602
33603 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33604 (two_way_short_needle): Use it.
5a4aaa33
RM
33605 * string/strstr.c (AVAILABLE1_USES_J): Define.
33606 * string/strcasestr.c: Likewise.
99677e57
MK
33607
33608 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33609 array references.
33610 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33611
400726de
MK
33612 [BZ #11607]
33613 * NEWS: Add an entry.
33614 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33615 define their defaults.
33616 (two_way_short_needle): Detect end-of-string on-the-fly.
33617 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33618 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33619 * string/bug-strcasestr1.c: New test.
33620 * string/Makefile: Run it.
33621
20a71f2c
MK
336222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33623
33624 [BZ #11607]
33625 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33626 the first character.
33627
21ad0558
RM
336282012-08-21 Roland McGrath <roland@hack.frob.com>
33629
33630 * csu/elf-init.c (__libc_csu_irel): Function removed.
33631 * csu/libc-start.c (apply_irel): New function.
33632 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33633
0e1d9911
JM
336342012-08-21 Joseph Myers <joseph@codesourcery.com>
33635
33636 * sysdeps/unix/sysv/linux/kernel-features.h
33637 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33638 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33639 <kernel-features.h>.
33640 [__NR_fadvise64_64]: Make code unconditional.
33641 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33642 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33643 !__NR_fadvise64_64)]: Likewise.
33644 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33645 !__NR_fadvise64_64))]: Likewise.
33646 [__NR_fadvise64]: Make code unconditional.
33647 [!__NR_fadvise64]: Remove conditional code.
33648 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33649 <kernel-features.h>.
33650 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33651 unconditional.
33652 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33653 conditional code.
33654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33655 not include <kernel-features.h>.
33656 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33657 unconditional.
33658 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33659 conditional code.
33660 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33661 include <kernel-features.h>.
33662 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33663 unconditional.
33664 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33665 conditional code.
33666
14a50c9d
WS
336672012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33668
33669 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33670 slight instruction rearrangements per scrollpipe analysis.
33671 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33672
c0f4faf0
RM
336732012-08-20 Roland McGrath <roland@hack.frob.com>
33674
696da859
RM
33675 * manual/syslog.texi (syslog; vsyslog, closelog):
33676 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33677 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33678
c0f4faf0
RM
33679 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33680 DSOCAPS to match condition on defining it.
33681
348363b2
JM
336822012-08-20 Joseph Myers <joseph@codesourcery.com>
33683
a35cbf28
JM
33684 * sysdeps/unix/sysv/linux/kernel-features.h
33685 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33687 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33688 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33690 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33691 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33693 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33694 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33695
445f7ecd
JM
33696 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33697 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33698
348363b2
JM
33699 * sysdeps/unix/sysv/linux/kernel-features.h
33700 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33701 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33702 unconditional.
33703 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33704 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33705 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33706 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33707 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33708 Make code unconditional.
33709 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33710 (__mmap64) [!__NR_mmap2]: Likewise.
33711 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33712 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33713 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33714 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33715 [__NR_mmap2]: Make code unconditional.
33716 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33717 (__mmap64) [!__NR_mmap2]: Likewise.
33718
bc5bc0e5
AK
337192012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33720
33721 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33722
88d506de
AJ
337232012-08-18 Andreas Jaeger <aj@suse.de>
33724
33725 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33726
493387d2
MF
337272012-08-18 Mike Frysinger <vapier@gentoo.org>
33728
33729 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33730 * include/unistd.h (__have_sock_cloexec): Likewise.
33731 (__have_pipe2): Likewise.
33732 (__have_dup3): Likewise.
33733
a277af22
MF
337342012-08-18 Mike Frysinger <vapier@gentoo.org>
33735
33736 [BZ #9685]
33737 * include/unistd.h (__have_pipe2): Change define into an extern int.
33738 (__have_dup3): Likewise.
33739 * socket/have_sock_cloexec.c: Include fcntl.h.
33740 (__have_pipe2): New variable.
33741 (__have_dup3): Likewise.
33742
fdab8fd3
MF
337432012-08-17 Mike Frysinger <vapier@gentoo.org>
33744
33745 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33746
31035e80
MP
337472012-08-17 Marek Polacek <polacek@redhat.com>
33748
33749 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33750 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33751
3bd9e993
RM
337522012-08-17 Roland McGrath <roland@hack.frob.com>
33753
c91c505f
RM
33754 * configure.in: Add AC_SUBST for sysheaders.
33755 * configure: Regenerated.
33756 * config.make.in (sysheaders): New substituted variable.
33757
7c6f9d53
RM
33758 * sysdeps/unix/mkfifo.c: Moved ...
33759 * sysdeps/posix/mkfifo.c: ... here.
33760 * sysdeps/unix/mkfifoat.c: Moved ...
33761 * sysdeps/posix/mkfifoat.c: ... here.
33762
33763 * sysdeps/unix/utime.c: Moved ...
33764 * sysdeps/posix/utime.c: ... here.
33765
33766 * sysdeps/unix/time.c: Moved ...
33767 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
33768 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33769 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
33770
33771 * sysdeps/unix/nice.c: Moved ...
33772 * sysdeps/posix/nice.c: ... here.
33773
33774 * sysdeps/unix/alarm.c: Moved ...
33775 * sysdeps/posix/alarm.c: ... here.
33776
3bd9e993
RM
33777 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33778
d1f09384
JL
337792012-08-17 Jeff Law <law@redhat.com>
33780
33781 * intl/Makefile (codeset_mo): New variable.
33782 ($(codeset_mo)): New target.
33783 (tst-codeset.out): Depend on that. Remove explicit rule.
33784 (tst-gettext3.out, tst-gettext5.out): Likewise.
33785 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33786 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33787 * intl/tst-codeset.sh: Remove.
33788 * intl/tst-gettext3.sh: Likewise.
33789 * intl/tst-gettext5.sh: Likewise.
33790
2ae1ae5c
RM
337912012-08-17 Roland McGrath <roland@hack.frob.com>
33792
c31fdb83
RM
33793 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33794 * sysdeps/unix/syscalls.list: ... here.
33795
a0844057
RM
33796 * sysdeps/posix/getaddrinfo.c
33797 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33798 (gaiconf_init, gaiconf_reload): Use them.
33799 [!_STATBUF_ST_NSEC]
33800 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33801 Define using time_t rather than struct timespec.
33802
750c1f2a
RM
33803 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33804 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33805 Macros removed.
33806 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33807 [!NO_THREADS].
33808 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33809 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33810 Likewise.
33811
2ae1ae5c
RM
33812 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33813 __libc_cleanup_push argument.
33814
e66a42f5
RM
33815 * bits/param.h: New file.
33816 * misc/sys/param.h: New file.
33817 * include/sys/param.h: New file.
33818 * misc/Makefile (headers): Add bits/param.h.
33819 * sysdeps/generic/sys/param.h: File removed.
33820 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33821 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33822 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 33823 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 33824
b7c08a66
RM
33825 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33826 last change.
33827
b2e1c562
RM
33828 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33829 [_IO_MTSAFE_IO].
33830 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33831 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33832 New macros.
33833
c75ccd4c
RM
33834 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33835 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33836 rather than -D_IO_MTSAFE_IO conditionally.
33837 * stdio-common/Makefile (CPPFLAGS): Likewise.
33838 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33839 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33840 Use $(libio-mtsafe).
33841 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33842 of -D_IO_MTSAFE_IO.
33843 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33844 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33845 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33846 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33847 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33848 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33849 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33850 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33851 (CFLAGS-fread_u_chk.c): Likewise.
33852 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33853 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33854 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33855 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33856 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33857 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33858 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33859 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33860 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33861
33862 * libio/Makefile: Test [$(libc-reentrant) = yes]
33863 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33864
33865 * Makeconfig
33866 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33867 * sysdeps/pthread/configure: File removed.
33868 * sysdeps/pthread/Makeconfig: New file.
33869 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33870 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33871
d9195db8
GB
338722012-08-16 Gary Benson <gbenson@redhat.com>
33873
33874 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33875 unmapping the first object in a namespace.
33876
86466cd9
RM
338772012-08-16 Roland McGrath <roland@hack.frob.com>
33878
33879 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33880 (__internal_setnetgrent): ... this. Add internal_function to
33881 definition. Add libc_hidden_def.
33882 (setnetgrent): Update caller.
33883 (internal_endnetgrent): Renamed to ...
33884 (__internal_endnetgrent): ... this. Add internal_function to
33885 definition. Add libc_hidden_def.
33886 (endnetgrent): Update caller.
33887 (internal_getnetgrent_r): Renamed to ...
33888 (__internal_getnetgrent_r): ... this. Add internal_function to
33889 definition. Add libc_hidden_def.
33890 (__getnetgrent_r): Update caller.
33891 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33892
c3c8283c
JM
338932012-08-16 Joseph Myers <joseph@codesourcery.com>
33894
33895 * stdlib/longlong.h: Update from GCC.
33896
db1ee0a8
RM
338972012-08-16 Roland McGrath <roland@hack.frob.com>
33898
33899 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33900 on _QL, which is set by umul_ppmm but never used.
33901 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33902 variables, which are set by GMP macros but never used.
33903 * stdio-common/_itowa.c (_itowa): Likewise.
33904 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33905 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33906
30f69637
CD
339072012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33908
33909 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33910 struct La_sh_regs is not constant.
33911 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33912 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33913 and struct La_sparc64_regs are not constant.
33914
93a78ac4
JM
339152012-08-16 Joseph Myers <joseph@codesourcery.com>
33916
33917 * sysdeps/unix/sysv/linux/kernel-features.h
33918 (__ASSUME_POSIX_TIMERS): Remove.
33919 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33920 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33921 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33922 Make code unconditional.
33923 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33924 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33925 Make code unconditional.
33926 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33927 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33928 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33929 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33930 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33931 Make code unconditional.
33932 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33933 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33934 (__libc_missing_posix_timers): Remove.
33935
dd924cd7
RM
339362012-08-15 Roland McGrath <roland@hack.frob.com>
33937
4b4f2771
RM
33938 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33939 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33940
601c888b
RM
33941 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33942
176790a7
RM
33943 * elf/dl-sym.c: Include <stdlib.h>.
33944
329bc018
RM
33945 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33946 constants, which avoids warnings in 32-bit builds.
33947
e04e272d
RM
33948 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33949 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33950
952bf94a
RM
33951 * misc/lseek.c: File moved to ...
33952 * io/lseek.c: ... here.
33953
7c99b50a
RM
33954 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33955
dd924cd7
RM
33956 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33957 shifting LEN more than 31 bits at once.
33958
b3f479a8
LD
339592012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33960
33961 [BZ #14195]
8c4ae0d4
RM
33962 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33963 segmentation fault for a case of two empty input strings.
b3f479a8
LD
33964 * string/test-strncasecmp.c (check1): Renamed to...
33965 (bz12205): ...this.
33966 (bz14195): Add new testcase for two empty input strings and N > 0.
33967 (test_main): Call new testcase, adapt for renamed function.
33968
9c55864e
AJ
339692012-08-15 Andreas Jaeger <aj@suse.de>
33970
33971 [BZ #14090]
33972 * crypt/md5test2.c: New test, based on test supplied by Serge
33973 Belyshev <belyshev@depni.sinp.msu.ru>.
33974 * crypt/Makefile (xtests): Add md5test-giant..
33975 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33976
02dcb6c5
PE
339772012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33978
33979 [BZ #14090]
33980 * crypt/md5.c (md5_process_block): Don't assume the buffer
33981 length is less than 2**32.
33982 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33983 length is less than 2**64.
33984
a3f95dcc
RM
339852012-08-15 Roland McGrath <roland@hack.frob.com>
33986
be75d758
RM
33987 * string/str-two-way.h: Include <sys/param.h>.
33988 (MAX): Macro removed.
33989
7312ca90
RM
33990 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33991 Move #define and #undef of memmove to just before and after
33992 including <string.h>.
33993
9a0a5486
RM
33994 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33995 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33996 and after including <string.h>. Move declarations of
33997 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33998 to before #include "string/memmove.c".
33999
67cc348d
RM
34000 * include/dirent.h: Declare __getdirentries.
34001
a3f95dcc
RM
34002 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34003 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34004
ca98e171
MF
340052012-08-14 Mike Frysinger <vapier@gentoo.org>
34006
34007 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34008 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34009 * sysdeps/i386/configure: Regenerated.
34010 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34011 STABS_CURRENT_FILE, and STABS_FUN.
34012 (END): Remove call to STABS_FUN_END.
34013 (STABS_CURRENT_FILE1): Delete.
34014 (STABS_CURRENT_FILE): Likewise.
34015 (STABS_FUN): Likewise.
34016 (STABS_FUN_END): Likewise.
34017 (STABS_FUN2): Likewise.
34018 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34019 * sysdeps/x86_64/configure: Regenerated.
34020
5908bf46
RM
340212012-08-14 Roland McGrath <roland@hack.frob.com>
34022
34023 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34024 * elf/dl-lookup.c: Likewise.
5908bf46 34025
f2c05b9e
JM
340262012-08-14 Joseph Myers <joseph@codesourcery.com>
34027
34028 * sysdeps/unix/sysv/linux/kernel-features.h
34029 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34030 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34031 unconditionally.
34032 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34033 unconditionally.
34034 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34035 condition on __ASSUME_CLONE_THREAD_FLAGS.
34036
e11f5155
AJ
340372012-08-14 Andreas Jaeger <aj@suse.de>
34038
34039 * sysdeps/i386/fpu/libm-test-ulps: Update.
34040
51a9ba86
MK
340412012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34042
2fdd4f78
AJ
34043 * include/atomic.h (atomic_exchange_and_add): Split into ...
34044 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34045 New atomic macros.
51a9ba86 34046
ba6cba9e
MT
340472012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34048
34049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34050
42443a47
JL
340512012-08-13 Jeff Law <law@redhat.com>
34052
34053 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34054 null byte in the output string.
34055
121dce05
JM
340562012-08-10 Joseph Myers <joseph@codesourcery.com>
34057
34058 * sysdeps/unix/sysv/linux/kernel-features.h
34059 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34060 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34061 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34062 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34063 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34064 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34065 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34066
bf51f568
JL
340672012-08-09 Jeff Law <law@redhat.com>
34068
34069 [BZ #13939]
34070 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34071 When avoid_arena is set, don't retry in the that arena. Pick the
34072 next one, whatever it might be.
34073 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34074 (arena_lock): Pass in new parameter to arena_get2.
34075 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34076 arena_get2.
34077 (__libc_malloc): Unify retrying after main arena failure with
34078 __libc_memalign version.
34079 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34080
f85fa270
L
340812012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34082
34083 [BZ #14166]
34084 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34085 to __redirect_strstr.
34086 (__strstr_sse42): Use typeof __redirect_strstr.
34087 (__strstr_ia32): Likewise.
34088 (__libc_strstr): New prototype.
34089 (strstr): Renamed to ...
34090 (__libc_strstr): This.
34091 (strstr): New strong alias of __libc_strstr.
34092 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34093 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34094 __redirect_time.
34095 Include <time.h>.
34096 (__libc_time): New prototype.
34097 (time_ifunc): Replace time with __libc_time.
34098 (time): New strong alias and hidden definition of __libc_time.
34099 (__GI_time): Remove strong alias.
34100 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34101 Include <stddef.h>.
34102 (memmove): Redefined to __redirect_memmove.
34103 (__memmove_sse2): Use typeof __redirect_memmove.
34104 (__memmove_ssse3): Likewise.
34105 (__memmove_ssse3_back): Likewise.
34106 (__libc_memmove): New prototype.
34107 (memmove): Renamed to ...
34108 (__libc_memmove): This.
34109 (memmove): New strong alias of __libc_memmove.
34110
33b4a91e
MS
341112012-08-08 Mark Salter <msalter@redhat.com>
34112
34113 * elf/elf.h
34114 (R_MN10300_TLS_GD): Define.
34115 (R_MN10300_TLS_LD): Likewise.
34116 (R_MN10300_TLS_LDO): Likewise.
34117 (R_MN10300_TLS_GOTIE): Likewise.
34118 (R_MN10300_TLS_IE): Likewise.
34119 (R_MN10300_TLS_LE): Likewise.
34120 (R_MN10300_TLS_DTPMOD): Likewise.
34121 (R_MN10300_TLS_DTPOFF): Likewise.
34122 (R_MN10300_TLS_TPOFF): Likewise.
34123 (R_MN10300_SYM_DIFF): Likewise.
34124 (R_MN10300_ALIGN): Likewise.
34125 (R_MN10300_NUM): Update.
34126
b36137f1
JM
341272012-08-08 Joseph Myers <joseph@codesourcery.com>
34128
34129 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34130 Remove.
34131
cdd915fd
RM
341322012-08-08 Roland McGrath <roland@hack.frob.com>
34133
a2433aac
RM
34134 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34135
cdd915fd
RM
34136 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34137 sysdeps/unix -> sysdeps/posix move.
34138 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34139
bf9b740a
AM
341402012-08-07 Allan McRae <allan@archlinux.org>
34141
34142 [BZ #14303]
34143 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34144 (SUNOS_CPP): Likewise.
34145 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34146 not found.
34147 (open_input): Call CPP using execvp.
34148
93df14ee
JM
341492012-08-07 Joseph Myers <joseph@codesourcery.com>
34150
34151 * sysdeps/unix/sysv/linux/kernel-features.h
34152 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34153 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34154 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34155 (__ASSUME_WAITID_SYSCALL): Likewise.
34156 * sysdeps/unix/sysv/linux/dl-execstack.c
34157 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34158 code unconditional.
34159 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34160 conditional code.
34161 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34162 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34163 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34164 code.
34165 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34166 unconditional.
34167 [__ASSUME_WAITID_SYSCALL]: Likewise.
34168 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34169
d34689de
RM
341702012-08-07 Roland McGrath <roland@hack.frob.com>
34171
a281decc
RM
34172 * sysdeps/unix/closedir.c: Renamed to ...
34173 * sysdeps/posix/closedir.c: ... here.
34174 * sysdeps/unix/dirfd.c: Renamed to ...
34175 * sysdeps/posix/dirfd.c: ... here.
34176 * sysdeps/unix/dirstream.h: Renamed to ...
34177 * sysdeps/posix/dirstream.h: ... here.
34178 * sysdeps/unix/fdopendir.c: Renamed to ...
34179 * sysdeps/posix/fdopendir.c: ... here.
34180 * sysdeps/unix/opendir.c: Renamed to ...
34181 * sysdeps/posix/opendir.c: ... here.
34182 * sysdeps/unix/readdir.c: Renamed to ...
34183 * sysdeps/posix/readdir.c: ... here.
34184 * sysdeps/unix/readdir_r.c: Renamed to ...
34185 * sysdeps/posix/readdir_r.c: ... here.
34186 * sysdeps/unix/rewinddir.c: Renamed to ...
34187 * sysdeps/posix/rewinddir.c: ... here.
34188 * sysdeps/unix/seekdir.c: Renamed to ...
34189 * sysdeps/posix/seekdir.c: ... here.
34190 * sysdeps/unix/telldir.c: Renamed to ...
34191 * sysdeps/posix/telldir.c: ... here.
34192 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34193 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34194 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34195 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34196
22895b47
RM
34197 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34198 * bits/fcntl.h: ... here.
34199
707a53b6
RM
34200 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34201 not 0.
34202 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34203 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34204 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34205 (struct flock): Move l_start, l_len to the beginning.
34206 Use __pid_t for l_pid.
34207 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34208 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34209 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34210 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34211 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34212 [__USE_LARGEFILE64] (struct flock64): New type.
34213 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34214
f0bd3e25
RM
34215 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34216 * bits/dirent.h: ... here.
34217
d34689de
RM
34218 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34219 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34220
6dad2c06
JM
342212012-08-07 Joseph Myers <joseph@codesourcery.com>
34222
34223 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34224 Change from 2.6.0 to 2.6.16.
34225 * sysdeps/unix/sysv/linux/configure: Regenerated.
34226 * sysdeps/unix/sysv/linux/kernel-features.h
34227 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34228 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34229 version.
34230 (__ASSUME_UTIMES): Likewise.
34231 (__ASSUME_CLONE_STOPPED): Remove.
34232 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34233 architectures, not kernel version.
34234 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34235 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34236 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34237 (__ASSUME_WAITID_SYSCALL): Likewise.
34238 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34239 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34240 * README: State 2.6.16 as minimum Linux kernel version. Do not
34241 refer to older versions.
34242
03af9520
RM
342432012-08-06 Roland McGrath <roland@hack.frob.com>
34244
8e49df1d
RM
34245 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34246 Define alphasort64 as an alias.
34247 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34248 Define versionsort64 as an alias.
34249 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34250 Define scandir64 as an alias.
34251 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34252 Define scandirat64 as an alias.
34253 * dirent/alphasort64.c (alphasort64):
34254 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34255 * dirent/versionsort64.c: Likewise.
34256 * dirent/scandir64.c: Likewise.
34257 * dirent/scandirat64.c: Likewise.
34258 * sysdeps/wordsize-64/alphasort.c: File removed.
34259 * sysdeps/wordsize-64/alphasort64.c: File removed.
34260 * sysdeps/wordsize-64/scandir.c: File removed.
34261 * sysdeps/wordsize-64/scandir64.c: File removed.
34262 * sysdeps/wordsize-64/scandirat.c: File removed.
34263 * sysdeps/wordsize-64/scandirat64.c: File removed.
34264 * sysdeps/wordsize-64/versionsort.c: File removed.
34265 * sysdeps/wordsize-64/versionsort64.c: File removed.
34266 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34267 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34268 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34269 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34270 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34271 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34272 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34273 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34274
34275 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34276 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34277 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34279 [defined __arch64__ || defined __sparcv9]
34280 (__INO_T_MATCHES_INO64_T): New macro.
34281 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34282 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34283 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34284 * sysdeps/unix/sysv/linux/bits/dirent.h
34285 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34286 (_DIRENT_MATCHES_DIRENT64): New macro.
34287
03af9520
RM
34288 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34289 Define lockf64 as an alias.
34290 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34291 Define fseeko64 as an alias.
34292 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34293 Define ftello64 as an alias.
34294 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34295 Define _IO_fgetpos64 and fgetpos64 as aliases.
34296 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34297 Define _IO_fsetpos64 and fsetpos64 as aliases.
34298 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34299 Conditionalize body on this.
34300 * libio/fseeko64.c: Likewise.
34301 * libio/ftello64.c: Likewise.
34302 * libio/iofgetpos64.c: Likewise.
34303 * libio/iofsetpos64.c: Likewise.
34304 * sysdeps/wordsize-64/lockf.c: File removed.
34305 * sysdeps/wordsize-64/lockf64.c: File removed.
34306 * sysdeps/wordsize-64/fseeko.c: File removed.
34307 * sysdeps/wordsize-64/fseeko64.c: File removed.
34308 * sysdeps/wordsize-64/ftello.c: File removed.
34309 * sysdeps/wordsize-64/ftello64.c: File removed.
34310 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34311 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34312 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34313 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34314 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34315 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34316 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34317 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34318 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34319 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34320 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34321 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34322 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34323 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34324
34325 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34327 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34328 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34329 [defined __arch64__ || defined __sparcv9]
34330 (__OFF_T_MATCHES_OFF64_T): New macro.
34331 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34332 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34334 (__OFF_T_MATCHES_OFF64_T): New macro.
34335
c5757acd
L
343362012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34337
34338 * stdlib/secure-getenv.c (__secure_getenv): Replace
34339 GLIBC_2_16 with GLIBC_2_17.
34340
3a31811e
L
343412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34342
34343 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34344 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34345
faa2bccb
DM
343462012-08-03 David S. Miller <davem@davemloft.net>
34347
34348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34349
85fe1997
JM
343502012-08-03 Joseph Myers <joseph@codesourcery.com>
34351
34352 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34353 Remove.
34354 (__ASSUME_CORRECT_SI_PID): Likewise.
34355 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34356 (__ASSUME_TMPFS_NAME): Likewise.
34357 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34358 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34359 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34360 (HAVE_AUX_SECURE): Make definition unconditional.
34361 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34362 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34363
4f75b7a0
RM
343642012-08-03 Roland McGrath <roland@hack.frob.com>
34365
34366 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34367 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34368 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34369 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34370 __eloop_threshold instead of SYMLOOP_MAX.
34371
34372 * sysdeps/generic/eloop-threshold.h: New file.
34373 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34374 of MAXSYMLINKS.
34375 * elf/chroot_canon.c (chroot_canon): Likewise.
34376
7aab07e4
JM
343772012-08-03 Joseph Myers <joseph@codesourcery.com>
34378
34379 [BZ #13717]
34380 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34381 Change to 2.6.0 everywhere.
34382 * sysdeps/unix/sysv/linux/configure: Regenerated.
34383 * sysdeps/unix/sysv/linux/kernel-features.h
34384 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34385 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34386 kernel versions.
34387 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34388 (__ASSUME_FUTEX_REQUEUE): Remove.
34389 (__ASSUME_STATFS64): Define unconditionally.
34390 (__ASSUME_AT_SECURE): Likewise.
34391 (__ASSUME_CORRECT_SI_PID): Likewise.
34392 (__ASSUME_TGKILL): Define without depending on kernel version for
34393 i386.
34394 (__ASSUME_UTIMES): Likewise.
34395 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34396 kernel version.
34397 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34398 (__ASSUME_TMPFS_NAME): Likewise.
34399 * README: Update reference to Linux kernel versions.
34400
b67e9372
MP
344012012-08-02 Marek Polacek <polacek@redhat.com>
34402
1f529f7d 34403 [BZ# 14150]
b67e9372
MP
34404 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34405 libc_cv_asm_type_prefix with %.
34406 * configure: Regenerated.
d2441631
RM
34407 * include/libc-symbols.h: Remove comment about
34408 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34409 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34410 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34411 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34412 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34413 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34414 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34415 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34416 * elf/tst-unique2mod1.c: Likewise.
34417 * elf/tst-unique1mod2.c: Likewise.
34418 * elf/tst-unique1mod1.c: Likewise.
34419 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34420 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34421 Replace ASM_TYPE_DIRECTIVE with .type.
34422 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34423 * sysdeps/i386/sysdep.h: Likewise.
34424 * sysdeps/x86_64/sysdep.h: Likewise.
34425 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34427 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34428 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34429 * sysdeps/powerpc/powerpc32/sysdep.h:
34430 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34431 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34432 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34433 * sysdeps/i386/fpu/e_powf.S: Likewise.
34434 * sysdeps/i386/fpu/e_expl.S: Likewise.
34435 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34436 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34437 * sysdeps/i386/fpu/e_pow.S: Likewise.
34438 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34439 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34440 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34441 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34442 * sysdeps/i386/fpu/e_log2.S: Likewise.
34443 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34444 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34445 * sysdeps/i386/fpu/e_powl.S: Likewise.
34446 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34447 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34448 * sysdeps/i386/fpu/e_logl.S: Likewise.
34449 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34450 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34451 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34453 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34454 * sysdeps/i386/fpu/e_log.S: Likewise.
34455 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34456 * sysdeps/i386/fpu/e_logf.S: Likewise.
34457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34459 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34460 * sysdeps/i386/fpu/e_log10.S: Likewise.
34461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34466 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34467 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34468 * sysdeps/i386/i686/strtok.S: Likewise.
34469 * sysdeps/i386/i386-mcount.S: Likewise.
34470 * sysdeps/i386/strtok.S: Likewise.
34471 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34472 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34473 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34474 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34475 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34476 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34477 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34478 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34479 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34480 * sysdeps/x86_64/_mcount.S: Likewise.
34481 * sysdeps/x86_64/strtok.S: Likewise.
34482 * sysdeps/sh/_mcount.S: Likewise.
34483
2747bf9a
RM
344842012-08-01 Roland McGrath <roland@hack.frob.com>
34485
34486 * libio/iofopen.c: Include <fcntl.h>.
34487 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34488 (_IO_fopen64, fopen64): Define as aliases.
34489 * libio/iofopen64.c: Include <fcntl.h>.
34490 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34491 Conditionalize body on this.
34492 * sysdeps/wordsize-64/iofopen.c: File removed.
34493 * sysdeps/wordsize-64/iofopen64.c: File removed.
34494
3fb791b8
MP
344952012-08-01 Marek Polacek <polacek@redhat.com>
34496
34497 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34498 Use dlfcn directly instead of a variable.
34499 (binfmt-subdir): Do not define.
34500 (dlfcn): Likewise.
34501
a9f1039f
JM
345022012-08-01 Joseph Myers <joseph@codesourcery.com>
34503
23bddc06
JM
34504 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34505 Remove all definitions.
34506 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34507 <kernel-features.h>.
34508 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34509 (miss_F_GETOWN_EX): Remove all definitions.
34510 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34511 macro definition.
34512 [!__ASSUME_FCNTL64]: Remove conditional code.
34513 [__ASSUME_FCNTL64]: Make code unconditional.
34514 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34515 <kernel-features.h>.
34516 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34517 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34518 (lockf64) [__NR_fcntl64]: Make code unconditional.
34519 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34520
a9f1039f
JM
34521 * sysdeps/unix/sysv/linux/kernel-features.h
34522 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34523 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34524 Make code unconditional.
34525 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34526 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34528 [__NR_vfork]: Make code unconditional.
34529 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34530 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34532 [__NR_vfork]: Make code unconditional.
34533 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34534 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34535
09c0ee5f
RM
345362012-08-01 Roland McGrath <roland@hack.frob.com>
34537
48aec5b9
RM
34538 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34539 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34540
cd97c966
RM
34541 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34542 Define mkstemp64 as an alias.
3f55550c
RM
34543 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34544 Define mkstemps64 as an alias.
cd97c966
RM
34545 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34546 Define mkostemp64 as an alias.
b8625cfc
RM
34547 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34548 Define mkostemps64 as an alias.
cd97c966
RM
34549 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34550 Conditionalize body on this.
34551 * misc/mkostemp64.c: Likewise.
b8625cfc 34552 * misc/mkostemps64.c: Likewise.
3f55550c 34553 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34554 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34555 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34556 * sysdeps/wordsize-64/mkostemp.c: File removed.
34557 * sysdeps/wordsize-64/mkstemp.c: File removed.
34558 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34559 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34560 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34561 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34562
09c0ee5f
RM
34563 [BZ #14138]
34564 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34565 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34566 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34567 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34568
34569 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34570 compat_symbol macros from <shlib-compat.h> rather than the underlying
34571 default_symbol_version and symbol_version macros, so that DEFAULT
34572 lines in shlib-versions are respected.
34573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34574
7e66ee51
FW
345752012-08-01 Florian Weimer <fweimer@redhat.com>
34576
34577 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34578 Declare with warn_unused_result.
34579 (setgid, setregid, setegid, setresgid): Likewise.
34580 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34581 Likewise.
34582 * WUR-REPORT: Remove set*id functions.
34583
d2a54255
PT
345842012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34585
34586 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34587
7ecdb005
RM
345882012-07-31 Roland McGrath <roland@hack.frob.com>
34589
b4180a5e 34590 [BZ #10191]
789bd351
RM
34591 * include/sys/socket.h (__libc_accept, __libc_accept4):
34592 Add attribute_hidden.
34593 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34594
40ce302d
RM
34595 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34596 use of PTR_MANGLE.
34597 * inet/getnetgrent_r.c (setup): Likewise.
34598
7ecdb005
RM
34599 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34600
e2eabb2c
DM
346012012-07-31 David S. Miller <davem@davemloft.net>
34602
34603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34604
d0419dbf
JM
346052012-07-31 Joseph Myers <joseph@codesourcery.com>
34606
34607 [BZ #13629]
34608 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34609 value between 1.0 and 2.0 and smaller part has absolute value less
34610 than 1.0.
34611 * math/s_clog10.c (__clog10): Likewise.
34612 * math/s_clog10f.c (__clog10f): Likewise.
34613 * math/s_clog10l.c (__clog10l): Likewise.
34614 * math/s_clogf.c (__clogf): Likewise.
34615 * math/s_clogl.c (__clogl): Likewise.
34616 * math/libm-test.inc (clog_test): Add more tests.
34617 (clog10_test): Likewise.
34618 * sysdeps/i386/fpu/libm-test-ulps: Update.
34619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34620
2bc13872
FW
346212012-07-31 Florian Weimer <fweimer@redhat.com>
34622
34623 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34624 Exit with zero in case no suitable GID is found, and write a
34625 message to standard error.
34626
bea9b193
RM
346272012-07-30 Roland McGrath <roland@hack.frob.com>
34628
34629 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34630 rather than to 1.
34631 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34632 (MAXPATHLEN): Removed.
34633 (NOGROUP, NODEV): New macros.
34634 (setbit, clrbit, isset, isclr): New macros.
34635 (howmany, roundup, powerof2): New macros.
34636 (DEV_BSIZE): New macro.
34637
34638 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34639 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34640
34641 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34642 definition on [!__NO_LONG_DOUBLE_MATH].
34643
34644 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34645 PTR_MANGLE and PTR_DEMANGLE.
34646
34647 * socket/accept4.c (accept4): Rename to __libc_accept4.
34648 Define accept4 as a weak alias.
34649
34650 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34651 on [_DIRENT_HAVE_D_TYPE].
34652 * io/ftw.c (ftw_dir): Likewise.
34653
34654 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34655
34656 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34657
34658 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34659 Use the BSD numbers rather than the arbitrary ones we had.
34660 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34661 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34662 (SIGXCPU, SIGXFSZ): New macros.
34663 (_NSIG): Now 32.
34664
34665 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34666 initializer on [_LIBC_REENTRANT].
34667
34668 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34669 definitions inside [_POSIX_MAPPED_FILES].
34670
34671 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34672
34673 * dirent/opendir.c: Include <fcntl.h>.
34674
34675 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34676 (__libc_getspecific): Likewise.
34677 (__libc_key_create): Likewise.
34678
34679 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34680 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34681 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34682 (tmpfile64): Define as alias.
34683 * sysdeps/wordsize-64/tmpfile.c: File removed.
34684 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34687
34688 * stdio-common/vfscanf.c: Include <stdbool.h>.
34689 * nss/makedb.c: Likewise.
34690 * stdio-common/_i18n_number.h: Likewise.
34691 * argp/argp-help.c: Likewise.
34692 * posix/wordexp.c: Likewise.
34693 * sysdeps/posix/spawni.c: Likewise.
34694 * nss/nss_files/files-initgroups.c: Likewise.
34695 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34696 * nss/nss_files/files-initgroups.c: Likewise.
34697 * nss/nss_db/db-netgrp.c: Likewise.
34698 * nss/nss_db/db-initgroups.c: Likewise.
34699 * io/fchmodat.c: Include <sys/stat.h>.
34700
34701 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34702 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34703
34704 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34705 [HAVE_MMAP].
34706
34707 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34708 Add multiple inclusion protection.
34709
e5abc686
DM
347102012-07-27 David S. Miller <davem@davemloft.net>
34711
34712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34713
815e6fa3
GB
347142012-07-27 Gary Benson <gbenson@redhat.com>
34715
34716 [BZ #14298]
34717 * elf/rtld.c: Include <stap-probe.h>.
34718 (dl_main): Added static probes "init_start" and "init_complete".
34719 * elf/dl-load.c: Include <stap-probe.h>.
34720 (lose): Take new parameter "nsid".
34721 Added static probe "map_failed".
34722 (_dl_map_object_from_fd): Pass namespace id to lose.
34723 Added static probe "map_start".
34724 (open_verify): Pass namespace id to lose.
34725 * elf/dl-open.c: Include <stap-probe.h>.
34726 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34727 and "reloc_complete".
34728 * elf/dl-close.c: Include <stap-probe.h>.
34729 (_dl_close_worker): Added static probes "unmap_start" and
34730 "unmap_complete".
34731 * elf/rtld-debugger-interface.txt: New file documenting the above.
34732
9f98c16c
RM
347332012-07-26 Roland McGrath <roland@hack.frob.com>
34734
34735 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34736 rather than a string variable.
34737 * sunrpc/rpc_main.c (h_output): Likewise.
34738 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34739
f3c22df3
PT
347402012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34741
34742 * inet/check_native.c: New file.
34743
3129cfc6
JM
347442012-07-26 Joseph Myers <joseph@codesourcery.com>
34745
da865e95
JM
34746 [BZ #13629]
34747 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34748 if larger part has absolute value 1.0.
34749 * math/s_clog10.c (__clog10): Likewise.
34750 * math/s_clog10f.c (__clog10f): Likewise.
34751 * math/s_clog10l.c (__clog10l): Likewise.
34752 * math/s_clogf.c (__clogf): Likewise.
34753 * math/s_clogl.c (__clogl): Likewise.
34754 * math/libm-test.inc (clog_test): Add more tests.
34755 (clog10_test): Likewise.
34756 * sysdeps/i386/fpu/libm-test-ulps: Update.
34757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34758
3129cfc6
JM
34759 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34760 (pltexit): Likewise.
34761 (La_regs): Likewise.
34762 (La_retval): Likewise.
34763 (int_retval): Likewise.
34764 Update #error for removed macros to refer only to definitions in
34765 tst-audit.h.
34766 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34767 macro.
34768 (pltexit): Likewise.
34769 (La_regs): Likewise.
34770 (La_retval): Likewise.
34771 (int_retval): Likewise.
34772 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34773 macro.
34774 (pltexit): Likewise.
34775 (La_regs): Likewise.
34776 (La_retval): Likewise.
34777 (int_retval): Likewise.
34778 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34779 macro.
34780 (pltexit): Likewise.
34781 (La_regs): Likewise.
34782 (La_retval): Likewise.
34783 (int_retval): Likewise.
34784 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34785 macro.
34786 (pltexit): Likewise.
34787 (La_regs): Likewise.
34788 (La_retval): Likewise.
34789 (int_retval): Likewise.
34790 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34791 macro.
34792 (pltexit): Likewise.
34793 (La_regs): Likewise.
34794 (La_retval): Likewise.
34795 (int_retval): Likewise.
34796 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34797 macro.
34798 (pltexit): Likewise.
34799 (La_regs): Likewise.
34800 (La_retval): Likewise.
34801 (int_retval): Likewise.
34802 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34803 macro definitions in tst-audit.h.
34804 * sysdeps/i386/tst-audit.h: New file.
34805 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34806 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34807 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34808 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34809 * sysdeps/sh/tst-audit.h: Likewise.
34810 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34811 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34812 * sysdeps/x86_64/tst-audit.h: Likewise.
34813
bfc07087
AJ
348142012-07-26 Andreas Jaeger <aj@suse.de>
34815
b1b2aaf8
AJ
34816 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34817 ptrace.
34818
34819 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34820 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34821 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34822 PTRACE_O_MASK.
34823 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34824 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34825 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34826
bfc07087
AJ
34827 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34828 value.
34829
34830 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34831 _sigsys.
34832 (si_call_addr, si_syscall, si_arch): Define new macro.
34833 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34834 _sigsys.
34835 (si_call_addr, si_syscall, si_arch): Define new marcro.
34836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34837 _sigsys.
34838 (si_call_addr, si_syscall, si_arch): Define new macro.
34839 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34840 _sigsys.
34841 (si_call_addr, si_syscall, si_arch): Define new macro.
34842
89b4b02f
JM
348432012-07-25 Joseph Myers <joseph@codesourcery.com>
34844
34845 [BZ #13717]
34846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34847 Change to 2.4.21 where previously 2.4.1.
34848 * sysdeps/unix/sysv/linux/configure: Regenerated.
34849 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34850 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34851 Linux kernel version.
34852 (__ASSUME_STD_AUXV): Remove.
34853 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34854 kernel version.
34855 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34856 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34857 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34858 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34859 (__ASSUME_NETLINK_SUPPORT): Likewise.
34860 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34861 (__no_netlink_support): Remove conditional definition.
34862 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34863 Remove.
34864 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34865 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34866 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34867 (if_nameindex_ioctl): Remove.
34868 (if_nameindex_netlink): Do not handle __no_netlink_support.
34869 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34870 code.
34871 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34872 Remove conditional code.
34873 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34874 code.
34875 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34876 unconditional.
34877 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34878 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34879 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34880 Remove.
34881 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34882 [!__ASSUME_STD_AUXV]: Remove conditional code.
34883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34884 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34885 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34887 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34888 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34889 code.
34890 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34892 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34893 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34894 conditional code.
34895 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34897 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34898 code.
34899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34900 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34901 conditional code.
34902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34903 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34904 code unconditional.
34905 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34906 conditional code.
34907 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34908 unconditional.
34909 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34910 conditional code.
34911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34912 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34913 unconditional.
34914 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34915 conditional code.
34916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34917 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34918 code unconditional.
34919 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34920 conditional code.
34921 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34922 unconditional.
34923 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34924 conditional code.
34925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34926 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34927 code unconditional.
34928 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34929 conditional code.
34930 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34931 unconditional.
34932 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34933 conditional code.
34934
842a39cd
AS
349352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34936
34937 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34938 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34939 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34940 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34941 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34942 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34943 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34944 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34945 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34946 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34947 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34948 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34949 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34950 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34952 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34953 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34954 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34955 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34957 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34958 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34960
84b3fd84
FW
349612012-07-25 Florian Weimer <fweimer@redhat.com>
34962
34963 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
34964 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34965 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34966 Introduce __libc_secure_getenv.
0c7936d5
FW
34967 * stdlib/Versions (2.17): Add secure_getenv
34968 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34969 * stdlib/secure-getenv.c: Rename __secure_getenv to
34970 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34971 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
34972 * stdlib/tst-secure-getenv.c: New.
34973 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
34974 * manual/startup.texi (Environment Access): Document
34975 secure_getenv.
84b3fd84
FW
34976 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34977 __libc_secure_getenv.
34978 * inet/ruserpass.c (ruserpass): Likewise.
34979 * malloc/mtrace.c (mtrace): Likewise.
34980 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 34981 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
34982 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34983 * sysdeps/posix/tempname.c: Likewise. Evaluate
34984 HAVE_SECURE_GETENV.
34985 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 34986 __secure_getenv to __libc_secure_getenv.
84b3fd84 34987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34989 Likewise.
34990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34991 Likewise.
34992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34994 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 34999
56e49b71
JM
350002012-07-25 Joseph Myers <joseph@codesourcery.com>
35001
35002 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35003 (struct La_i86_retval): Likewise.
35004 (struct La_x86_64_regs): Likewise.
35005 (struct La_x86_64_retval): Likewise.
35006 (struct La_x32_regs): Likewise.
35007 (struct La_x32_retval): Likewise.
35008 (struct La_ppc32_regs): Likewise.
35009 (struct La_ppc32_retval): Likewise.
35010 (struct La_ppc64_regs): Likewise.
35011 (struct La_ppc64_retval): Likewise.
35012 (struct La_sh_regs): Likewise.
35013 (struct La_sh_retval): Likewise.
35014 (struct La_s390_32_regs): Likewise.
35015 (struct La_s390_32_retval): Likewise.
35016 (struct La_s390_64_regs): Likewise.
35017 (struct La_s390_64_retval): Likewise.
35018 (struct La_sparc32_regs): Likewise.
35019 (struct La_sparc32_retval): Likewise.
35020 (struct La_sparc64_regs): Likewise.
35021 (struct La_sparc64_retval): Likewise.
35022 (struct audit_ifaces): Remove architecture-specific pltenter and
35023 pltexit members.
35024 * sysdeps/i386/ldsodefs.h: New file.
35025 * sysdeps/powerpc/ldsodefs.h: Likewise.
35026 * sysdeps/s390/ldsodefs.h: Likewise.
35027 * sysdeps/sh/ldsodefs.h: Likewise.
35028 * sysdeps/sparc/ldsodefs.h: Likewise.
35029 * sysdeps/x86_64/ldsodefs.h: Likewise.
35030
354691b7
MP
350312012-07-25 Marek Polacek <polacek@redhat.com>
35032
35033 [BZ #6808]
35034 * math/libm-test.inc (yn_test): Add another test.
35035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35036 to ERANGE when the result is +-Inf.
35037 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35038 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35039 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35040 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35041
bf9e2071
JM
350422012-07-24 Joseph Myers <joseph@codesourcery.com>
35043
35044 * conform/data/time.h-data (NULL): Use macro-constant. Require
35045 equal to 0.
35046 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35047 clock_t.
35048 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35049
57633811
TS
350502012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35051
35052 * configure.in <sysdeps resolving>: Correct printing
35053 Implies_before.
35054 * configure: Regenerate.
35055
c23c33b0
TS
350562012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35057
35058 * math/w_ilogb.c: Include <limits.h>.
35059 * math/w_ilogbl.c: Likewise.
35060
b5982523
JM
350612012-07-20 Joseph Myers <joseph@codesourcery.com>
35062
35063 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35064 va_copy. Document allowing for unavailable va_copy only as
35065 pre-C99 compatibility.
35066 * manual/string.texi (Copying and Concatenation): Use va_copy
35067 instead of __va_copy in concat example.
35068
ac4ea442
PT
350692012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35070
35071 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35072 (__sendto): Use create_address_port. Initialize APORT and deallocate
35073 it if not null.
35074
f98eafbd
PT
35075 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35076 with O_NOLINK passed to __file_name_lookup.
35077
898c7aab
PT
35078 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35079 with O_NOLINK passed to __file_name_lookup.
35080
0ced335a
PT
35081 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35082 negative N or less than NGIDS.
35083
b3404dbd
PT
35084 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35085 type to string_t. Set ERANGE as errno and return it if NAME is not big
35086 enough. Use memcpy instead of strncpy.
35087
0f48659e
JM
350882012-07-20 Joseph Myers <joseph@codesourcery.com>
35089
35090 * elf/Makefile (check-data): Remove.
35091 (localplt.data): New vpath directive.
35092 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35093 instead of $(check-data).
35094 * scripts/data/localplt-generic.data: Move to ...
35095 * sysdeps/generic/localplt.data: ... here.
35096 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35097 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35098 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35100 ... here.
35101 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35103 ... here.
35104 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35106 ... here.
35107 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35109 ... here.
35110 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35112 ... here.
35113 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35115 ... here.
35116
d37cbdaa
AZ
351172012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35118
35119 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35120 PPC32 and PPC64 files.
35121 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35122 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35123
46f85fc2
AK
351242012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35125
35126 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35127 __makecontext_ret to ...
35128 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35129 ... here and call exit if uc_link is NULL. New file.
35130 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35131 __makecontext_ret.S.
35132 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35133 __makecontext_ret to ...
35134 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35135 ... here and call exit if uc_link is NULL. New file.
35136 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35137 __makecontext_ret.S.
35138
08f43f9b
AK
351392012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35140
35141 * elf/elf.h (R_390_IRELATIVE): New definition.
35142 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35143 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35144 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35145 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35146 (elf_machine_lazy_rel): Likewise.
35147 * sysdeps/s390/dl-irel.h: New file.
35148 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35149 * sysdeps/s390/s390-64/memset.S: New asm code.
35150 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35151 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35152 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35153 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35154 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35155 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35156 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35157 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35158 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35159 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35160 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35161 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35162 * sysdeps/s390/s390-32/memset.S: New asm code.
35163 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35164
3b05db33
MP
351652012-07-17 Marek Polacek <polacek@redhat.com>
35166
35167 [BZ #14349]
35168 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35169 * sysdeps/s390/s390-64/configure.in: Likewise.
35170 * sysdeps/sparc/configure.in: Likewise.
35171 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35172 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35173 * sysdeps/i386/configure.in: Likewise.
35174 * sysdeps/x86_64/configure.in: Likewise.
35175 * sysdeps/sh/configure.in: Likewise.
35176 * sysdeps/s390/s390-32/configure: Regenerated.
35177 * sysdeps/s390/s390-64/configure: Likewise.
35178 * sysdeps/x86_64/configure: Likewise.
35179 * sysdeps/sh/configure: Likewise.
35180 * sysdeps/powerpc/powerpc64/configure: Likewise.
35181 * sysdeps/powerpc/powerpc32/configure: Likewise.
35182 * sysdeps/sparc/configure: Likwise.
35183 * sysdeps/i386/configure: Likewise.
35184
a66877c6
MP
35185 * elf/dl-open.c: Comment fixes.
35186
cfc82fd8
JM
351872012-07-17 Joseph Myers <joseph@codesourcery.com>
35188
bd29910a
JM
35189 * Makefile [CXX] (check-data): Remove.
35190 [CXX] (c++-types.data): New vpath directive.
35191 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35192 vpath. Do not allow for C++ type data being missing.
35193 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35194 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35195 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35196 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35197 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35198 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35199 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35201 ... here.
35202 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35204 ... here.
35205 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35207 ... here.
35208 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35210 ... here.
35211 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35213 ... here.
35214 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35216 ... here.
35217 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35219 ... here.
35220 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35222
cfc82fd8
JM
35223 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35224 definitions to architecture-specific files.
35225 (TLS_IE): Likewise.
35226 (TLS_LD): Likewise.
35227 (TLS_GD): Likewise.
35228 * sysdeps/i386/tls-macros.h: New file.
35229 * sysdeps/powerpc/tls-macros.h: Likewise.
35230 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35231 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35232 * sysdeps/sh/tls-macros.h: Likewise.
35233 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35234 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35235 * sysdeps/x86_64/tls-macros.h: Likewise.
35236
f7db3170
TS
352372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35238
07cbfc23
TS
35239 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35240 zero value for regular exit case.
35241
f7db3170
TS
35242 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35243 (__start_context): Preserve zero value for regular exit case.
35244
dc97c227
TS
352452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35246 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35247
35248 * manual/setjmp.texi (setcontext): Clarify normal process
35249 termination when uc_link is the null pointer.
35250 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35251 exit call.
35252
d0cd7d02
AS
352532012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35254
35255 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35256 preprocessor. Test for each exception mask separately.
35257
dd318934
AJ
352582012-07-16 Andreas Jaeger <aj@suse.de>
35259
35260 * po/ru.po: Update from translation team.
35261
8048311a
JM
352622012-07-15 Joseph Myers <joseph@codesourcery.com>
35263
35264 * conform/data/string.h-data (NULL): Use macro-constant. Require
35265 equal to 0.
35266 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35267 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35268 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35269 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35271
b637d46e
AJ
352722012-07-13 Andreas Jaeger <aj@suse.de>
35273
35274 * po/fr.po: Update from translation team.
35275
541428fe
MP
352762012-07-12 Marek Polacek <polacek@redhat.com>
35277
35278 [BZ #14173]
35279 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35280 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35281 loop condition.
35282
ec332e94
JM
352832012-07-12 Joseph Myers <joseph@codesourcery.com>
35284
35285 [BZ #13717]
35286 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35287 Change to 2.4.1 where previously 2.4.0.
35288 * sysdeps/unix/sysv/linux/configure: Regenerated.
35289 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35290 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35291 version.
35292 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35293 (__ASSUME_AT_CLKTCK): Remove.
35294 (__ASSUME_AT_PAGESIZE): Likewise.
35295 (__ASSUME_AT_XID): Likewise.
35296 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35297 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35298 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35299 unconditionally.
35300 (HAVE_AUX_PAGESIZE): Likewise.
35301 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35302 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35303 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35304
7b6e99be
JB
353052012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35306
35307 [BZ #14307]
35308 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35309 the temporary buffer used to invoke __gethostbyname2_r,
35310 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35311 host_data / struct gaih_addrtuple.
35312 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35313 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35314 header file nss/nsswitch.h.
35315 * nss/nsswitch.h (global scope): Add definition of implementation
35316 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35317 resolv/nss_dns/dns-host.c).
35318
608404eb
AJ
353192012-07-11 Andreas Jaeger <aj@suse.de>
35320
35321 * po/fr.po: Update from translation team.
35322
71220aca
AJ
35323 * po/sv.po: Update from translation team
35324 * po/fr.po: Another update from translation team.
35325
28cfe843
AZ
353262012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35327
35328 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35329 for subnormals or multiply small sinh result by itself.
35330 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35332
6b90f981
DM
353332012-07-11 David S. Miller <davem@davemloft.net>
35334
35335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35336
c6825772
AS
353372012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35338
35339 [BZ #14347]
35340 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35341 (INTERNAL_MARK): Shift it here.
35342
7b8e0d49
MP
353432012-07-10 Marek Polacek <polacek@redhat.com>
35344
35345 [BZ #14151]
35346 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35347 libc_cv_asm_global_directive with .globl.
35348 * configure: Regenerated.
35349 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35350 with .globl.
35351 * sysdeps/i386/configure: Regenerated.
35352 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35353 with .globl.
35354 * sysdeps/x86_64/configure: Regenerated.
35355 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35356 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35357 * elf/tst-unique2mod2.c: Likewise.
35358 * elf/tst-unique2mod1.c: Likewise.
35359 * elf/tst-unique1mod2.c: Likewise.
35360 * elf/tst-unique1mod1.c: Likewise.
35361 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35362 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35364 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35365 * sysdeps/mach/sysdep.h: Likewise.
35366 * sysdeps/i386/sysdep.h: Likewise.
35367 * sysdeps/i386/i386-mcount.S: Likewise.
35368 * sysdeps/x86_64/_mcount.S: Likewise.
35369 * sysdeps/x86_64/sysdep.h: Likewise.
35370 * sysdeps/sh/_mcount.S: Likewise.
35371 * sysdeps/sh/sysdep.h: Likewise.
35372 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35373 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35374 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35375 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35376 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35377 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35378 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35379 * locale/localeinfo.h: Likewise.
35380 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35381 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35382
6c55cda3
RM
353832012-07-09 Roland McGrath <roland@hack.frob.com>
35384
35385 [BZ #14336]
35386 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35387 system".
35388 * manual/message.texi (The Uniforum approach): Likewise.
35389 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35390 (glibc iconv Implementation): Likewise.
35391
638a572e
JM
353922012-07-09 Joseph Myers <joseph@codesourcery.com>
35393
35394 [BZ #14337]
35395 * math/s_clog.c (__clog): Avoid scaling a value down where that
35396 could result in underflow.
35397 * math/s_clog10.c (__clog10): Likewise.
35398 * math/s_clog10f.c (__clog10f): Likewise.
35399 * math/s_clog10l.c (__clog10l): Likewise.
35400 * math/s_clogf.c (__clogf): Likewise.
35401 * math/s_clogl.c (__clogl): Likewise.
35402 * math/libm-test.inc (clog_test): Add more tests.
35403 (clog10_test): Likewise.
35404 * sysdeps/i386/fpu/libm-test-ulps: Update.
35405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35406
261f4859
AS
354072012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35408
0abaf3e4
AS
35409 [BZ #14283]
35410 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35411 by 7 not 8 to examine high bit of fractional part.
35412
261f4859
AS
35413 [BZ #14042]
35414 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35415 for call to __mcount_internal.
35416 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35417 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35418 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35419
f17ac40d
JM
354202012-07-06 Joseph Myers <joseph@codesourcery.com>
35421
9ad63c23
JM
35422 [BZ #14154]
35423 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35424 approximation for values within 0x1p-13f of an odd multiple of
35425 pi/4.
35426 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35427 exception. Add more tests.
35428 * sysdeps/i386/fpu/libm-test-ulps: Update.
35429
f17ac40d
JM
35430 [BZ #6778]
35431 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35432 inputs and return -1 for them. Do not check for +Inf in case not
35433 reachable for +Inf.
35434 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35435 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35436 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35437 and return -1 for them. Do not check for +Inf in case not
35438 reachable for +Inf.
35439 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35440 define.
35441 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35442 and return -1 for them. Do not check for +Inf in case not
35443 reachable for +Inf.
35444 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35445 spurious underflow.
35446 * sysdeps/i386/fpu/libm-test-ulps: Update.
35447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35448
fb21f89b
MF
354492012-07-06 Mike Frysinger <vapier@gentoo.org>
35450
35451 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35452
cdfe2c5e
JM
354532012-07-05 Joseph Myers <joseph@codesourcery.com>
35454
35455 [BZ #14157]
35456 [BZ #14331]
35457 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35458 could result in spurious underflow. Scale down values above
35459 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35460 * math/s_csqrtf.c (__csqrtf): Likewise.
35461 * math/s_csqrtl.c (__csqrtl): Likewise.
35462 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35463 spurious underflow.
35464 * sysdeps/i386/fpu/libm-test-ulps: Update.
35465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35466
70d35b67
AS
354672012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35468
704bc459
AS
35469 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35470 xopen-msg.sed.
35471 * catgets/xopen-msg.awk: New file.
35472 * catgets/xopen-msg.sed: Removed.
35473
70d35b67
AS
35474 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35475 po2text.sed.
35476 * intl/po2test.awk: New file.
35477 * intl/po2test.sed: Removed.
35478
ca61cf32
JM
354792012-07-04 Joseph Myers <joseph@codesourcery.com>
35480
35481 [BZ #14328]
35482 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35483 or multiply small sinh result by itself.
35484 * math/s_ctanf.c (__ctanf): Likewise.
35485 * math/s_ctanh.c (__ctanh): Likewise.
35486 * math/s_ctanhf.c (__ctanhf): Likewise.
35487 * math/s_ctanhl.c (__ctanhl): Likewise.
35488 * math/s_ctanl.c (__ctanl): Likewise.
35489 * math/libm-test.inc (ctan_test_tonearest): New function.
35490 (ctan_test_towardzero): Likewise.
35491 (ctan_test_downward): Likewise.
35492 (ctan_test_upward): Likewise.
35493 (ctanh_test_tonearest): Likewise.
35494 (ctanh_test_towardzero): Likewise.
35495 (ctanh_test_downward): Likewise.
35496 (ctanh_test_upward): Likewise.
35497 (main): Call these new functions.
35498 * sysdeps/i386/fpu/libm-test-ulps: Update.
35499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35500
ca48a46a
MF
355012012-07-03 Mike Frysinger <vapier@gentoo.org>
35502
35503 * .gitignore: Delete /ports entry.
35504
9d63d37d
AJ
355052012-07-03 Andreas Jaeger <aj@suse.de>
35506
35507 * po/bg.po: Update from translation team.
35508 * po/cs.po: Likewise.
35509 * po/de.po: Likewise.
35510 * po/hr.po: Likewise.
35511 * po/nl.pl: Likewise.
35512 * po/pl.po: Likewise.
35513 * po/vi.po: Likewise.
35514
370ca3d2
JM
355152012-07-03 Joseph Myers <joseph@codesourcery.com>
35516
95f5a9a8
JM
35517 * Makeconfig [!+link] (+link-before-libc): New variable.
35518 [!+link] (+link-after-libc): Likewise.
35519 [!+link] (+link-tests): Likewise.
35520 [!+link] (+link): Define in terms of $(+link-before-libc) and
35521 $(+link-after-libc).
35522 [!+link-static] (+link-static-before-libc): New variable.
35523 [!+link-static] (+link-static-after-libc): Likewise.
35524 [!+link-static] (+link-static-tests): Likewise.
35525 [!+link-static] (+link-static): Define in terms of
35526 $(+link-static-before-libc) and $(+link-static-after-libc).
35527 [build-shared] (link-libc-before-gnulib): New variable.
35528 [build-shared] (link-libc-tests): Likewise.
35529 [build-shared] (link-libc): Define in terms of
35530 $(link-libc-before-gnulib).
35531 [!build-shared] (link-libc-tests): New variable.
35532 (link-libc-static-tests): New variable.
35533 [!gnulib] (gnulib-arch): New variable.
35534 [!gnulib] (gnulib-tests): Likewise.
35535 [!gnulib] (static-gnulib-arch): Likewise.
35536 [!gnulib] (static-gnulib-tests): Likewise.
35537 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35538 Define with "=" instead of ":=".
35539 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35540 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35541 * Rules (binaries-all-notests): New variable.
35542 (binaries-all-tests): Likewise.
35543 (binaries-static-notests): Likewise.
35544 (binaries-static-tests): Likewise.
35545 (binaries-all): Define using $(binaries-all-notests) and
35546 $(binaries-all-tests).
35547 (binaries-static): Define using $(binaries-static-notests) and
35548 $(binaries-static-tests).
35549 (binaries-shared-tests): New variable.
35550 (binaries-shared-notests): Likewise.
35551 (binaries-shared): Remove variable.
35552 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35553 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35554 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35555 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35556 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35557 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35558 * elf/Makefile (sln-modules): New variable.
35559 (extra-objs): Add $(sln-modules:=.o).
35560 (ldconfig-modules): Add static-stubs.
35561 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35562 * elf/static-stubs.c: New file.
35563
7a845b2c
JM
35564 [BZ #14283]
35565 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35566 by 7 not 8 to examine high bit of fractional part. Use volatile
35567 variables when splitting into final array of floats if
35568 __FLT_EVAL_METHOD__ != 0.
35569 * math/libm-test.inc (cos_test): Add another test.
35570 (sin_test): Likewise.
35571 * sysdeps/i386/fpu/libm-test-ulps: Update.
35572
e2283f38
JM
35573 [BZ #14273]
35574 * math/libm-test.inc (cosh_test): Add more tests.
35575
370ca3d2
JM
35576 * version.h (RELEASE): Set to "development".
35577 (VERSION): Set to "2.16.90".
35578
ee9247c3
CD
355792012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35580
35581 * NEWS: Update copyright. Remove last-updated date.
35582 Mention math library bug fixes and timezone data changes.
35583 * README: Mention GNU/Hurd, x32, and HPPA support status.
35584
4648c381
TS
355852012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35586
35587 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35588
aac78a43
AJ
355892012-06-27 Andreas Jaeger <aj@suse.de>
35590
35591 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35592
ed3dbfad
AJ
355932012-06-25 Andreas Jaeger <aj@suse.de>
35594
35595 * sysdeps/s390/fpu/libm-test-ulps: Update.
35596
4d0ee855
AS
355972012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35598 Thomas Schwinge <thomas@codesourcery.com>
35599
35600 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35601 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35603 fanotify_mark.
35604
af1bce34
TS
356052012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35606
a9fa33ba
TS
35607 * sysdeps/mach/start.c: Remove file.
35608 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35609 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35610 * sysdeps/sh/init-first.c: Likewise.
35611
58f902b8
TS
35612 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35613 registers for frame unwinding purposes, add CFI directives.
35614 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35615 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35616 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35617 Likewise.
35618
1518f58b
TS
35619 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35620 __fortify_fail returning.
35621 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35622
db9b5059
TS
35623 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35624 sysdeps/sh/____longjmp_chk.S.
35625 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35626 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35627 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35628 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35629
967705fe
TS
35630 * sysdeps/sh/abort-instr.h: New file.
35631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35632 process in case exit returns.
35633
a9def8c4
TS
35634 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35635 initialize the GOT register before use.
35636
2a649725
TS
35637 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35638 calculation of ARGC > 4.
35639
af1bce34
TS
35640 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35641 meaningful names to some local labels.
35642
d230f50a
KK
356432012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35644 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35645
35646 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35647 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35648 (__arch_compare_and_exchange_val_16_acq): Likewise.
35649 (__arch_compare_and_exchange_val_32_acq): Likewise.
35650 (atomic_exchange_and_add): Fix gUSA sequence.
35651 (atomic_add): Likewise.
35652 (atomic_add_negative): Likewise.
35653 (atomic_add_zero): Likewise.
35654 (atomic_bit_test_set): Likewise.
35655
0479b305
AS
356562012-06-22 Andreas Schwab <schwab@redhat.com>
35657
35658 [BZ #13579]
35659 * include/link.h (struct link_map): Add l_free_initfini.
35660 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35661 l_initfini.
35662 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35663 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35664 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35665 set.
35666
0e3933b9
CD
356672012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35668
35669 * configure.in: Use AC_LANG_SOURCE.
35670 * configure: Regenerate.
35671
4248b1b1
RM
356722012-06-22 Roland McGrath <roland@hack.frob.com>
35673
35674 * configure.in (libc_cv_localstatedir): New substituted variable.
35675 * configure: Regenerated.
35676 * config.make.in (localstatedir): New variable, substituted from
35677 libc_cv_localstatedir.
35678 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35679 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35680 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35681 * sysdeps/gnu/configure: Regenerated.
35682
006dd861
JL
356832012-06-21 Jeff Law <law@redhat.com>
35684
35685 [BZ #14277]
35686 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35687 free. Simplify list management for _LIBC case.
35688
79662d42
JM
356892012-06-21 Joseph Myers <joseph@codesourcery.com>
35690
b7abb4bf
JM
35691 [BZ #14273]
35692 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35693 Clear sign bit of 64-bit integer value before comparing against
35694 overflow value.
35695
79662d42
JM
35696 * sysdeps/mach/configure: Regenerated.
35697
1f150908
L
356982012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35699
35700 [BZ #14278]
35701 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35702
28363bbf
JL
357032012-06-21 Jeff Law <law@redhat.com>
35704
35705 [BZ #13882]
35706 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35707 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35708 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35709 * elf/dl-open.c (dl_open_worker): Likewise.
35710
09615db4
CD
357112012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35712
35713 * scripts/list-sources.sh: Scan PORTS for translations.
35714 * po/libc.pot: Regenerated.
35715
2174c6dd
AJ
357162012-06-21 Andreas Jaeger <aj@suse.de>
35717
35718 [BZ #12194]
35719 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35720 warning.
35721 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35722 * bits/byteswap-16.h (__bswap_16): Likewise.
35723 * bits/byteswap.h (__bswap_constant_16): Likewise.
35724
3ee947b1
L
357252012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35726
35727 [BZ #14117]
a2f34833
L
35728 * sysdeps/i386/fpu_control.h: Removed.
35729 * sysdeps/x86_64/fpu_control.h: Moved to ...
35730 * sysdeps/x86/fpu_control.h: Here.
35731
3ee947b1
L
35732 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35733 (_FPU_SETCW): Likewise.
35734
ed1825f8
L
357352012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35736
25f1282a
L
35737 [BZ #14117]
35738 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35739 * sysdeps/x86/fpu/bits/mathinline.h: This.
35740 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35741
ed1825f8
L
35742 [BZ #14050]
35743 [BZ #14117]
35744 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35745 functions if __x86_64__ is defined.
35746
36d54b74
CLT
357472012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35748
35749 * string/endian.h: Add !__ASSEMBLER__ condition for including
35750 conversion interfaces.
35751
10285c21
JM
357522012-06-15 Joseph Myers <joseph@codesourcery.com>
35753
35754 [BZ #14241]
35755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35756 of ABS(x) in calculating zero to negative powers other than odd
35757 integers.
35758 * math/libm-test.inc (pow_test): Add more tests.
35759
06c5abbd
AJ
357602012-06-15 Andreas Jaeger <aj@suse.de>
35761
35762 * manual/contrib.texi (Contributors): Update entry of Liubov
35763 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35764 Machado Filho.
35765
a3aeac40
CH
357662012-06-15 Cyril Hrubis <metan@ucw.cz>
35767
35768 * string/string.h: Add __wur to GNU version of strerror_r.
35769
49bdf4c1
L
357702012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35771
35772 [BZ #14229]
35773 * string/Makefile (tests): Add tst-strtok_r.
35774 * string/tst-strtok_r.c: New file.
35775 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35776 RAX_LP/RDX_LP on SAVE_PTR.
35777
834f9b8d
RM
357782012-06-14 Roland McGrath <roland@hack.frob.com>
35779
35780 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35781
75fa1921
JM
357822012-06-14 Joseph Myers <joseph@codesourcery.com>
35783
35784 * libm_test.inc (csqrt_test): Allow more spurious underflow
35785 exceptions.
35786 (j0_test): Likewise.
35787 (j1_test): Likewise.
35788 (y0_test): Likewise.
35789 (y1_test): Likewise.
35790
771766df
CD
357912012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35792
35793 * po/Makefile (libc.pot): Use UTF-8 charset.
35794
ceb9e56b
PP
357952012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35796
35797 [BZ #14210]
35798 Suppress sign-conversion warning from FD_SET.
35799 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35800 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35801 not unsigned long int.
35802 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35803
ddb28975
L
358042012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35805
35806 [BZ #14050]
35807 [BZ #14117]
35808 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35809 __extern_always_inline instead of __extern_inline.
35810 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35811 (__signbit): Likewise.
35812 (__signbitl): Support C++ namespace.
35813 (lrintf): New inline function.
35814 (lrint): Likewise.
35815 (llrintf): Likewise.
35816 (llrint): Likewise.
35817 (fmaxf): Likewise.
35818 (fmax): Likewise.
35819 (fminf): Likewise.
35820 (fmin): Likewise.
35821 (rint): Likewise.
35822 (rintf): Likewise.
35823 (ceil): Likewise.
35824 (ceilf): Likewise.
35825 (floor): Likewise.
35826 (floorf): Likewise.
35827 (nearbyint): Likewise.
35828 (nearbyintf): Likewise.
35829
d7b4fb26
TS
358302012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35831
35832 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35833 non-default versions.
35834
eb55f5c2
RM
358352012-06-11 Roland McGrath <roland@hack.frob.com>
35836
35837 [BZ #14218]
35838 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35839
366af02c
TS
358402012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35841
99ff6e5c
TS
35842 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35843 (FE_UPWARD, FE_DOWNWARD): Don't define.
35844 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35845 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35846
366af02c
TS
35847 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35848 reading it.
35849 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35850 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35851
793ea851
KK
358522012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35853
35854 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35855 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35856 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35857 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35858
a728a38f
L
358592012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35860
35861 [BZ #14117]
c08010c7
L
35862 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35863 * sysdeps/i386/fpu/Implies: New file.
35864 * sysdeps/x86_64/fpu/Implies: Likewise.
35865 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35866 * sysdeps/x86/fpu/bits/fenv.h: This.
35867
a728a38f
L
35868 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35869 __SSE_MATH__.
35870
6e230d11
SP
358712012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35872
35873 [BZ #14134]
35874 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35875 character 0xffff that matches the last element of the
35876 conversion table.
35877
1b671feb
AZ
358782012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35879
35880 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35881 fmodl commit.
35882
6043738b
AZ
358832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35884
35885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35886 values higher than 25.6283.
35887
34ae0b32
AZ
358882012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35889
35890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35891 subnormal exponent extraction and add some __builtin_expect.
35892 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35893 Fix for subnormal mantissa calculation.
35894
1214ec8f
MF
358952012-06-04 Mike Frysinger <vapier@gentoo.org>
35896
35897 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35898 cpu2 is -1 and errno is not ENOSYS.
35899
f3d1f93c
L
359002012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35901
35902 [BZ #14117]
0e4a3cd7
L
35903 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35904 * sysdeps/x86/bits/string.h: This.
35905 * sysdeps/x86_64/bits/string.h: Removed.
35906
6704c645
L
35907 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35908 if not compiling for x86-64, but compiling for >= i486.
35909
48495318
L
35910 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35911 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35912
14adcbfc
L
35913 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35914 New macro from Linux kernel 3.4.0.
35915 (FP_XSTATE_MAGIC2): Likewise.
35916 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35917 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35918 (struct _fpx_sw_bytes): New struct.
35919 (struct _xsave_hdr): Likewise.
35920 (struct _ymmh_state): Likewise.
35921 (struct _xstate): Likewise.
35922
68e408ab
L
35923 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35924 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35925 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35926 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35927 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35928 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35929
f3d1f93c
L
35930 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35932 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35933 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35934 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35935 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35936
d9dc34cd
TMQMF
359372012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35938
35939 [BZ #13743]
35940 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35941 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35942 (sysdep_headers): Include sys/platform/ppc.h.
35943 * sysdeps/powerpc/test-gettimebase.c: Test for
35944 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35945 * manual/Makefile (appendices): Include platform.texi.
35946 * manual/contrib.texi (Contributors): Update @node pointers.
35947 * manual/maint.texi (Maintenance): Likewise.
35948 (Platform): New node.
35949 * manual/platform.texi: New file. Document the new features.
35950
4af3879c
SP
359512012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35952 Jakub Jelinek <jakub@redhat.com>
35953
35954 [BZ #14188]
35955 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35956 where __builtin_expect is unavailable.
35957
2fd6ff13
DM
359582012-06-03 David S. Miller <davem@davemloft.net>
35959
35960 * stdlib/longlong.h: Updated from GCC.
35961
173f7220
AS
359622012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35963
35964 [BZ #14042]
35965 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35966 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35967 __mcount_internal.
35968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35969 (GLIBC_2.16): Likewise.
35970
f34a1c6f
L
359712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35972
35973 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35974
88a4576f
JM
359752012-06-01 Joseph Myers <joseph@codesourcery.com>
35976
ea32bcdd
JM
35977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35978 (default-abi): New variable.
35979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35980 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35981 variable.
35982 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35983 Likewise.
35984 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35985 Likewise.
35986 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35987 Likewise.
35988
88a4576f
JM
35989 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35990 definition. Document in comment.
35991
402fe938
DM
359922012-06-01 David S. Miller <davem@davemloft.net>
35993
35994 * stdlib/longlong.h: Updated from GCC.
35995
3553723f
L
359962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35997
35998 [BZ #14117]
3bd872c4
L
35999 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36000 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36001 sys/debugreg.h sys/io.h here.
36002 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36003 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36004 sys/io.h.
36005 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36006 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36007 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36008 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36009 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36010 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36011
3553723f
L
36012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36013 Define only if __x86_64__ is defined.
36014
4842e4fe
JM
360152012-06-01 Joseph Myers <joseph@codesourcery.com>
36016
c5bfe3d5
JM
36017 [BZ #14048]
36018 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36019 Use int64_t for variable i.
36020 * math/libm-test.inc (fmod_test): Add more tests.
36021
4842e4fe
JM
36022 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36023 z computation is not scheduled after fetestexcept.
36024 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36025 Use math_force_eval instead of asm to ensure calculation scheduled
36026 before exception test.
36027 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36028 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36029
efb73488
AJ
360302012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36031
36032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36033 computation is not scheduled after fetestexcept.
36034
29bcce7c
L
360352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36036
36037 [BZ #14117]
36038 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36039 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36040
73a68f94
AZ
360412012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36042
36043 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36044 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36045
67b6df78
L
360462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36047
edf2933a 36048 [BZ #14117]
ebc64a18
L
36049 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36050 <bits/wordsize.h>.
36051 (__WCHAR_MIN): Support __WORDSIZE == 64.
36052 (__WCHAR_MAX): Likewise.
36053
edf2933a
L
36054 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36055 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36056
57c6cf40
L
36057 [BZ #14183]
36058 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36059 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36060
67b6df78 36061 [BZ #14117]
8eb6281e
L
36062 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36063 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36064
aac639f4
L
36065 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36066 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36067
67b6df78
L
36068 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36069 Defined to 1 if __x86_64__ isn't defined.
36070 (_STAT_VER_LINUX_OLD): New.
36071 (st_atime): Remove duplicate.
36072 (st_mtime): Likewise.
36073 (st_ctime): Likewise.
36074
1c2cfe81
DM
360752012-05-31 David S. Miller <davem@davemloft.net>
36076
36077 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36078 entries.
36079
5be8418c
AS
360802012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36081
e7725326
AS
36082 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36083 gen-libm-test.pl.
36084
5be8418c
AS
36085 [BZ #14132]
36086 * elf/dl-reloc.c: Include <_itoa.h>.
36087 (_dl_reloc_bad_type): Remove use of INTUSE.
36088 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36089 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36090 * stdio-common/psiginfo.c (psiginfo): Likewise.
36091 * stdio-common/psignal.c (psignal): Likewise.
36092 * string/strsignal.c (strsignal): Likewise.
36093 * include/signal.h (_sys_siglist): Declare hidden proto.
36094 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36095 INTVARDEF with libc_hidden_data_def.
36096 * stdio-common/itoa-udigits.c: Likewise.
36097 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36098 (_itoa_lower_digits_internal): Remove declaration.
36099 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36100 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36101 (_sys_sigabbrev_internal): Remove aliases.
36102 (_sys_siglist): Define hidden alias.
36103
507352f1
MT
361042012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36105
36106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36107 bits/sysctl.h.
36108
42bbb1c3
L
361092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36110
36111 [BZ #14117]
6bd784b6
L
36112 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36113 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36114
8bca20f0
L
36115 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36116 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36117 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36118 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36120 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36121
f9e890a9
L
36122 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36123 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36124 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36125
471101a1
L
36126 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36127 with __addr.
36128 (insw): Likewise.
36129 (insl): Likewise.
36130 (outsb): Likewise.
36131 (outsw): Likewise.
36132 (outsl): Likewise.
36133
6451c862
L
36134 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36135 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36137
a254b8c9
L
36138 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36139 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36141 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36142 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36143 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36144
b8dfdd92
L
36145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36146 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36147
578cd270
L
36148 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36149 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36150
de662f5f
L
36151 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36153 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36154
25653439
L
36155 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36156 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36157 to ...
36158 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36159
6bad24a0
L
36160 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36161 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36162 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36163
42bbb1c3
L
36164 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36165 for x86-64.
36166 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36167
2d10d547
JM
361682012-05-31 Joseph Myers <joseph@codesourcery.com>
36169
36170 * math/math.h (M_El): Use two more decimal places.
36171 (M_LOG2El): Likewise.
36172 (M_LOG10El): Likewise.
36173 (M_LN2l): Likewise.
36174 (M_LN10l): Likewise.
36175 (M_PIl): Likewise.
36176 (M_PI_2l): Likewise.
36177 (M_PI_4l): Likewise.
36178 (M_1_PIl): Likewise.
36179 (M_2_PIl): Likewise.
36180 (M_2_SQRTPIl): Likewise.
36181 (M_SQRT2l): Likewise.
36182 (M_SQRT1_2l): Likewise.
36183
f230c29b
DM
361842012-05-31 David S. Miller <davem@davemloft.net>
36185
36186 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36187 values between float registers.
36188 * sysdeps/sparc/sparc64/memset.S: Likewise.
36189 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36190
fed806c3
MF
361912012-05-31 Mike Frysinger <vapier@gentoo.org>
36192
36193 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36194 -D_FORTIFY_SOURCE=1.
36195 (CPPFLAGS-tst-longjmp_chk.c): Define.
36196 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36197 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36198 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36199 CFLAGS-tst-wchar-h.c.
36200
30917259
MP
362012012-05-31 Marek Polacek <polacek@redhat.com>
36202
36203 [BZ #14132]
36204 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36205 __endmntent_internal): Remove declaration.
36206 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36207 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36208 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36209
1c58d5dc
DM
362102012-05-30 David S. Miller <davem@davemloft.net>
36211
36212 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36213 (___Q_simulate_exceptions): Use real FP ops rather than writing
36214 into the %fsr.
36215 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36216 Likewise.
36217
7dc00e0d
L
362182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36219
36220 [BZ #14117]
0bd53985
L
36221 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36222 * sysdeps/x86/bits/xtitypes.h: This.
36223
3a257e66
L
36224 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36225 * sysdeps/x86/bits/wordsize.h: This.
36226
62f62904
L
36227 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36228 * sysdeps/x86/bits/huge_vall.h: This.
36229
404fe9d9
L
36230 * sysdeps/i386/bits/select.h: Removed.
36231 * sysdeps/x86_64/bits/select.h: Renamed to ...
36232 * sysdeps/x86/bits/select.h: This.
36233
d48d0446
L
36234 * sysdeps/i386/bits/setjmp.h: Removed.
36235 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36236 * sysdeps/x86/bits/setjmp.h: This.
36237
7dc00e0d
L
36238 * sysdeps/i386/bits/mathdef.h: Removed.
36239 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36240 * sysdeps/x86/bits/mathdef.h: This.
36241
03277f8f
AS
362422012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36243
36244 [BZ #14132]
36245 * include/sys/socket.h (__connect_internal)
36246 (__libc_sa_len_internal): Remove declaration.
36247 (__connect, __libc_sa_len): Declare hidden_proto.
36248 (SA_LEN): Remove use of INTUSE.
36249 * socket/connect.c: Add libc_hidden_def.
36250 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36251 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36252 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36253 alias.
36254 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36255 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36256 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36257 of adding _internal alias.
36258
13764867
L
362592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36260
36261 [BZ #14117]
6bd97696
L
36262 * sysdeps/i386/bits/link.h: Removed.
36263 * sysdeps/i386/bits/linkmap.h: Likewise.
36264 * sysdeps/x86_64/bits/link.h: Renamed to ...
36265 * sysdeps/x86/bits/link.h: This.
36266 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36267 * sysdeps/x86/bits/linkmap.h: This.
36268
f726f0bb
L
36269 * sysdeps/i386/bits/endian.h: Removed.
36270 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36271 * sysdeps/x86/bits/endian.h: This.
36272
13764867
L
36273 * sysdeps/i386/bits/byteswap.h: Removed.
36274 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36275 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36276 * sysdeps/x86/bits/byteswap.h: This.
36277 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36278 * sysdeps/x86/bits/byteswap-16.h: This.
36279 * sysdeps/i386/Implies: Add x86.
36280 * sysdeps/x86_64/Implies: Likewise.
36281
ae251b0b
DM
362822012-05-30 David S. Miller <davem@davemloft.net>
36283
36284 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36285 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36287 (FP_TRAPPING_EXCEPTIONS): Define.
36288 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36289 (FP_TRAPPING_EXCEPTIONS): Define.
36290 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36291 subnormals only when inexact has been signalled or underflow
36292 exceptions are enabled.
36293 (_FP_PACK_CANONICAL): Likewise.
36294
d5c90867
L
362952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36296
36297 [BZ #14183]
36298 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36299 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36300
63f1549e
RH
363012012-05-30 Richard Henderson <rth@twiddle.net>
36302
8d8f2279
RH
36303 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36304 with #ifndef NOT_IN_libc.
36305
63f1549e
RH
36306 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36307 marked to avoid plt entry.
36308
0ab0291b
L
363092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36310
36311 [BZ #14112]
36312 * Makeconfig (default-abi): New macro.
36313 (abi-includes): Likewise.
36314 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36315 $(abi-$(default-abi)-lib-soname) for soname if defined.
36316 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36317 abi-variants.
36318 * Makefile (installed-stubs): Likewise.
36319 * include/stubs-biarch.h: Removed.
36320 * scripts/lib-names.awk: Only handle one library at a time.
36321 * scripts/soversions.awk: Remove WORDSIZE support.
36322 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36323 entries.
36324 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36325 Removed.
36326 (syscall-list-default-condition): Likewise.
36327 (syscall-list-default-condition): Likewise.
36328 (syscall-list-includes): Likewise.
36329 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36330 syscall-list-* with abi-*. Handle undefined abi-variants.
36331 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36332 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36333 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36334 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36335 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36336 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36337 Removed.
36338 (syscall-list-32-options): Likewise.
36339 (syscall-list-32-condition): Likewise.
36340 (syscall-list-64-options): Likewise.
36341 (syscall-list-64-condition): Likewise.
36342 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36343 macro.
36344 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36345 Renamed to ...
36346 (abi-*): This.
36347 (abi-64-ld-soname): New macro.
36348 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36349 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36350 Renamed to ...
36351 (abi-*): This.
36352 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36353 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36354
4da0431d
JM
363552012-05-30 Joseph Myers <joseph@codesourcery.com>
36356
3a85279c
JM
36357 * sysdeps/unix/sysv/linux/kernel-features.h
36358 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36359 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36360 include <kernel-features.h>.
36361 [!__NR_ftruncate64]: Remove conditional code.
36362 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36363 [__NR_ftruncate64]: Make code unconditional.
36364 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36365 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36366 include <kernel-features.h>.
36367 [!__NR_ftruncate64]: Remove conditional code.
36368 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36369 [__NR_ftruncate64]: Make code unconditional.
36370 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36372 include <kernel-features.h>.
36373 [!__NR_ftruncate64]: Remove conditional code.
36374 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36375 [__NR_ftruncate64]: Make code unconditional.
36376 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36378 include <kernel-features.h>.
36379 [!__NR_ftruncate64]: Remove conditional code.
36380 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36381 [__NR_ftruncate64]: Make code unconditional.
36382 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36383
4da0431d
JM
36384 * configure.in (libc_cv_fpie): Weaken to a compile test using
36385 LIBC_TRY_CC_OPTION.
36386 * configure: Regenerated.
36387
11ef492c
AK
363882012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36389
36390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36394 Refreshed.
36395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36401 Refreshed.
36402
d66ef399
DM
364032012-05-27 David S. Miller <davem@davemloft.net>
36404
36405 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36406 (___Q_zero): New.
36407 (__Q_simulate_exceptions): Return void. Change to simulate
36408 exceptions by writing into the %fsr.
36409 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36410 (__Qp_handle_exceptions): Likewise.
36411 (numbers): Delete.
36412 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36413 __Qp_handle_exceptions.
36414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36415 __Qp_handle_exceptions.
36416 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36417 as unused and give dummy FP_RND_NEAREST initializer.
36418 (FP_INHIBIT_RESULTS): Define.
36419 (___Q_simulate_exceptions): Update declaration.
36420 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36421 formatting.
36422 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36423 as unused and give dummy FP_RND_NEAREST initializer.
36424 (__Qp_handle_exceptions): Update declaration.
36425 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36426 formatting.
36427
04fb54b5
TS
364282012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36429
36430 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36431 the temporary FPU control word.
36432 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36433 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36434 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36435 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36436 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36437 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36438 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36439 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36440 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36441 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36442 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36443
3f99608f
KK
364442012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36445
36446 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36447 fields.
36448
65a4de4e
CLT
364492012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36450
36451 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36452 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36453 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36454 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36455 Likewise.
36456 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36457 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36458 Likewise.
36459
15749d40
UD
364602012-05-27 Ulrich Drepper <drepper@gmail.com>
36461
36462 * po/h.po: Update from translation team.
36463
25dbcb27
AS
364642012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36465
3d3f8e55
AS
36466 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36467
25dbcb27
AS
36468 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36469 handling of denormals.
36470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36471 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36472 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36473 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36474 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36477 Likewise.
36478
7ad47a80 364792012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36480
36481 [BZ #14152]
36482 * math/libm-test.inc (fma_test): Don't always expect underflow
36483 exception.
36484
9c6ea9fa
SP
364852012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36486
36487 [BZ #12416]
36488 * elf/tst-execstack.c: Include stackinfo.h.
36489 (do_test): Adjust test case to ensure that pthread_getattr_np
36490 behaviour remains the same after marking stack executable.
36491
a8239222
JM
364922012-05-25 Joseph Myers <joseph@codesourcery.com>
36493
36494 * sysdeps/unix/sysv/linux/kernel-features.h
36495 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36496 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36497 kernel-features.h.
36498 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36499 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36500 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36501 kernel-features.h.
36502 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36503 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36504
918b5606
L
365052012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36506
36507 * configure.in: Define the default includes to being none.
36508 * configure: Regenerated.
36509
3a097cc7
RM
365102012-05-25 Roland McGrath <roland@hack.frob.com>
36511
8422c9a5
RM
36512 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36513 * sysdeps/x86_64/setjmp.S: Likewise.
36514 * sysdeps/i386/bsd-setjmp.S: Likewise.
36515 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36516 * sysdeps/i386/setjmp.S: Likewise.
36517 * sysdeps/i386/__longjmp.S: Likewise.
36518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36519 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36520
3a097cc7
RM
36521 * include/stap-probe.h: New file.
36522 * configure.in: Handle --enable-systemtap.
36523 * configure: Regenerated.
36524 * config.h.in (USE_STAP_PROBE): New #undef.
36525 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36526 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36527 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36528
21708942
JM
365292012-05-25 Joseph Myers <joseph@codesourcery.com>
36530
36531 [BZ #13717]
36532 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36533 to 2.4.0 where earlier.
36534 * sysdeps/unix/sysv/linux/configure: Regenerated.
36535 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36536 <kernel-features.h>.
36537 [__ASSUME_32BITUIDS]: Make code unconditional.
36538 [!__ASSUME_32BITUIDS]: Remove conditional code.
36539 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36540 <kernel-features.h>.
36541 [__ASSUME_32BITUIDS]: Make code unconditional.
36542 [!__ASSUME_32BITUIDS]: Remove conditional code.
36543 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36544 [__ASSUME_32BITUIDS]: Make code unconditional.
36545 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36546 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
36583 <kernel-features.h>.
36584 [__ASSUME_32BITUIDS]: Make code unconditional.
36585 [!__ASSUME_32BITUIDS]: Remove conditional code.
36586 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36587 <kernel-features.h>.
36588 [__NR_setresgid] (__setresgid): Do not declare.
36589 [__ASSUME_32BITUIDS]: Make code unconditional.
36590 [!__ASSUME_32BITUIDS]: Remove conditional code.
36591 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36592 <kernel-features.h>.
36593 [__NR_setresuid] (__setresuid): Do not declare.
36594 [__ASSUME_32BITUIDS]: Make code unconditional.
36595 [!__ASSUME_32BITUIDS]: Remove conditional code.
36596 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36597 <kernel-features.h>.
36598 [__ASSUME_32BITUIDS]: Make code unconditional.
36599 [!__ASSUME_32BITUIDS]: Remove conditional code.
36600 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36601 <kernel-features.h>.
36602 [__ASSUME_32BITUIDS]: Make code unconditional.
36603 [!__ASSUME_32BITUIDS]: Remove conditional code.
36604 * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
36613 <kernel-features.h>.
36614 [__ASSUME_32BITUIDS]: Make code unconditional.
36615 [!__ASSUME_32BITUIDS]: Remove conditional code.
36616 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36617 <kernel-features.h>.
36618 [__ASSUME_32BITUIDS]: Make code unconditional.
36619 [!__ASSUME_32BITUIDS]: Remove conditional code.
36620 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36621 <kernel-features.h>.
36622 [__ASSUME_32BITUIDS]: Make code unconditional.
36623 [!__ASSUME_32BITUIDS]: Remove conditional code.
36624 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36625 <kernel-features.h>.
36626 [__ASSUME_32BITUIDS]: Make code unconditional.
36627 [!__ASSUME_32BITUIDS]: Remove conditional code.
36628 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36629 <kernel-features.h>.
36630 [__ASSUME_32BITUIDS]: Make code unconditional.
36631 [!__ASSUME_32BITUIDS]: Remove conditional code.
36632 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36633 <kernel-features.h>.
36634 [__ASSUME_32BITUIDS]: Make code unconditional.
36635 [!__ASSUME_32BITUIDS]: Remove conditional code.
36636 * sysdeps/unix/sysv/linux/kernel-features.h
36637 (__ASSUME_SETRESUID_SYSCALL): Remove.
36638 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36639 (__ASSUME_32BITUIDS): Likewise.
36640 (__ASSUME_LDT_WORKS): Likewise.
36641 (__ASSUME_O_DIRECTORY): Likewise.
36642 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36643 architecture but not kernel version.
36644 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36645 (__ASSUME_MMAP2_SYSCALL): Likewise.
36646 (__ASSUME_STAT64_SYSCALL): Likewise.
36647 (__ASSUME_IPC64): Likewise.
36648 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36649 <kernel-features.h>.
36650 [__ASSUME_32BITUIDS]: Make code unconditional.
36651 [!__ASSUME_32BITUIDS]: Remove conditional code.
36652 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36653 <kernel-features.h>.
36654 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36655 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36656 132096]: Remove conditional code.
36657 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36658 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36659 <kernel-features.h>.
36660 [__ASSUME_32BITUIDS]: Make code unconditional.
36661 [!__ASSUME_32BITUIDS]: Remove conditional code.
36662 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36663 <kernel-features.h>.
36664 [__ASSUME_32BITUIDS]: Make code unconditional.
36665 [!__ASSUME_32BITUIDS]: Remove conditional code.
36666 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36667 <kernel-features.h>.
36668 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36669 unconditional.
36670 (__setresgid): Do not declare.
36671 [__ASSUME_32BITUIDS]: Make code unconditional.
36672 [!__ASSUME_32BITUIDS]: Remove conditional code.
36673 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36674 <kernel-features.h>.
36675 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36676 unconditional.
36677 (__setresuid): Do not declare.
36678 [__ASSUME_32BITUIDS]: Make code unconditional.
36679 [!__ASSUME_32BITUIDS]: Remove conditional code.
36680 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36681 <kernel-features.h>.
36682 [__ASSUME_32BITUIDS]: Make code unconditional.
36683 [!__ASSUME_32BITUIDS]: Remove conditional code.
36684 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36685 <kernel-features.h>.
36686 [__ASSUME_32BITUIDS]: Make code unconditional.
36687 [!__ASSUME_32BITUIDS]: Remove conditional code.
36688
a386f1cc
RH
366892012-05-25 Richard Henderson <rth@twiddle.net>
36690
36691 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36692 dl_hwcap to ifunc resolver.
36693 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36694 elf_ifunc_invoke.
36695 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36696 dl_hwcap to ifunc resolver.
36697 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36698
b6550497
JM
366992012-05-24 Joseph Myers <joseph@codesourcery.com>
36700
36701 [BZ #14153]
36702 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36703 for |x| <= 2**-26, not 2**-57.
36704 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36705 exception.
36706
b0bc23a1
JL
367072012-05-24 Jeff Law <law@redhat.com>
36708
36709 * stdio-common/Makefile (tests): Add bug25.
36710 * stdio-common/bug25.c: New test.
36711
347c92e9
L
367122012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36713
36714 [BZ #13576]
36715 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36716 multiple of MALLOC_ALIGNMENT in size.
36717 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36718
6bcc8b3f
JM
367192012-05-24 Joseph Myers <joseph@codesourcery.com>
36720
36721 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36722 Require >= 256.
36723 (FILENAME_MAX): Use macro-int-constant.
36724 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36725 (_IOFBF): Use macro-int-constant.
36726 (_IOLBF): Likewise.
36727 (_IONBF): Likewise.
36728 (SEEK_CUR): Likewise.
36729 (SEEK_END): Likewise.
36730 (SEEK_SET): Likewise.
36731 (TMP_MAX): Likewise.
36732 (EOF): Use macro-int-constant. Require < 0.
36733 (NULL): Use macro-constant. Require == 0.
36734 (stdin): Require type to be FILE *.
36735 (stdout): Likewise.
36736 (stderr): Likewise.
36737 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36738 macro-int-constant.
36739 (EXIT_SUCCESS): Likewise.
36740 (NULL): Use macro-constant. Require == 0.
36741 (RAND_MAX): Use macro-int-constant.
36742 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36743 [C99-based standards] (strtof): Require function.
36744 [C99-based standards] (strtold): Likewise.
36745 [C99-based standards] (strtoll): Likewise.
36746 [C99-based standards] (strtoull): Likewise.
36747 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36748 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36749 [ISO || ISO99 || ISO11] (math.h): Likewise.
36750 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36751 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36752 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36753
d18ea0c5
AS
367542012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36755
36756 [BZ #14132]
56d25bb8
AS
36757 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36758 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36759 * intl/dgettext.c (DCGETTEXT): Likewise.
36760 * intl/gettext.c (DCGETTEXT): Likewise.
36761 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36762 * posix/regex_internal.h (gettext): Likewise.
36763 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36764 Remove declaration.
36765 * include/argz.h (__argz_count_internal)
36766 (__argz_stringify_internal): Remove declaration.
36767 (__argz_count, __argz_stringify): Declare hidden proto.
36768 * intl/dcgettext.c: Remove use of INTDEF.
36769 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36770 * string/argz-stringify.c: Likewise.
36771 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36772 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36773 Declare hidden proto.
d18ea0c5
AS
36774 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36775 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36776 Declare hidden proto.
36777 * include/stdio.h (__asprintf_internal): Don't declare.
36778 (__asprintf): Don't define as macro. Declare hidden proto.
36779 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36780 (__fsetlocking): Declare hidden proto.
36781 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36782 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36783 hidden proto.
36784 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36785 (_IO_setlinebuf): Remove use of INTUSE.
36786 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36787 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36788 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36789 Remove declaration.
36790 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36791 (_IO_do_flush): Remove use of INTUSE.
36792 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36793 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36794 (_IO_adjust_column, _IO_least_wmarker)
36795 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36796 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36797 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36798 (_IO_default_doallocate, _IO_wdefault_doallocate)
36799 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36800 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36801 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36802 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36803 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36804 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36805 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36806 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36807 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36808 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36809 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36810 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36811 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36812 proto.
36813 (_IO_flush_all_internal, _IO_adjust_column_internal)
36814 (_IO_default_uflow_internal, _IO_default_finish_internal)
36815 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36816 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36817 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36818 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36819 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36820 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36821 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36822 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36823 (_IO_file_close_internal, _IO_file_close_it_internal)
36824 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36825 (_IO_file_init_internal, _IO_file_attach_internal)
36826 (_IO_file_fopen_internal, _IO_file_read_internal)
36827 (_IO_file_sync_internal, _IO_file_seek_internal)
36828 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36829 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36830 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36831 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36832 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36833 (_IO_list_all_internal, _IO_link_in_internal)
36834 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36835 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36836 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36837 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36838 (_IO_do_write_internal, _IO_padn_internal)
36839 (_IO_getline_info_internal, _IO_getline_internal)
36840 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36841 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36842 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36843 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36844 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36845 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36846 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36847 with libc_hidden_ver, remove use of INTUSE.
36848 * libio/genops.c: Likewise.
36849 * libio/freopen.c: Likewise.
36850 * libio/freopen64.c: Likewise.
36851 * libio/iofclose.c: Likewise.
36852 * libio/iofdopen.c: Likewise.
36853 * libio/iofflush.c: Likewise.
36854 * libio/iofflush_u.c: Likewise.
36855 * libio/iofgets.c: Likewise.
36856 * libio/iofgets_u.c: Likewise.
36857 * libio/iofopen.c: Likewise.
36858 * libio/iofopncook.c: Likewise.
36859 * libio/iofread.c: Likewise.
36860 * libio/iofread_u.c: Likewise.
36861 * libio/ioftell.c: Likewise.
36862 * libio/iofwrite.c: Likewise.
36863 * libio/iogetline.c: Likewise.
36864 * libio/iogets.c: Likewise.
36865 * libio/iogetwline.c: Likewise.
36866 * libio/iopadn.c: Likewise.
36867 * libio/iopopen.c: Likewise.
36868 * libio/ioseekoff.c: Likewise.
36869 * libio/ioseekpos.c: Likewise.
36870 * libio/iosetbuffer.c: Likewise.
36871 * libio/iosetvbuf.c: Likewise.
36872 * libio/ioungetc.c: Likewise.
36873 * libio/ioungetwc.c: Likewise.
36874 * libio/iovdprintf.c: Likewise.
36875 * libio/iovsprintf.c: Likewise.
36876 * libio/iovsscanf.c: Likewise.
36877 * libio/memstream.c: Likewise.
36878 * libio/obprintf.c: Likewise.
36879 * libio/oldfileops.c: Likewise.
36880 * libio/oldiofclose.c: Likewise.
36881 * libio/oldiofdopen.c: Likewise.
36882 * libio/oldiofopen.c: Likewise.
36883 * libio/oldiopopen.c: Likewise.
36884 * libio/oldstdfiles.c: Likewise.
36885 * libio/putc.c: Likewise.
36886 * libio/setbuf.c: Likewise.
36887 * libio/setlinebuf.c: Likewise.
36888 * libio/stdfiles.c: Likewise.
36889 * libio/strops.c: Likewise.
36890 * libio/vasprintf.c: Likewise.
36891 * libio/vscanf.c: Likewise.
36892 * libio/vsnprintf.c: Likewise.
36893 * libio/vswprintf.c: Likewise.
36894 * libio/wfiledoalloc.c: Likewise.
36895 * libio/wfileops.c: Likewise.
36896 * libio/wgenops.c: Likewise.
36897 * libio/wmemstream.c: Likewise.
36898 * libio/wstrops.c: Likewise.
36899 * libio/__fpurge.c: Likewise.
36900 * libio/__fsetlocking.c: Likewise.
36901 * assert/assert.c: Likewise.
36902 * debug/fgets_chk.c: Likewise.
36903 * debug/fgets_u_chk.c: Likewise.
36904 * debug/fread_chk.c: Likewise.
36905 * debug/fread_u_chk.c: Likewise.
36906 * debug/gets_chk.c: Likewise.
36907 * debug/obprintf_chk.c: Likewise.
36908 * debug/vasprintf_chk.c: Likewise.
36909 * debug/vdprintf_chk.c: Likewise.
36910 * debug/vsnprintf_chk.c: Likewise.
36911 * debug/vsprintf_chk.c: Likewise.
36912 * malloc/mtrace.c: Likewise.
36913 * misc/error.c: Likewise.
36914 * misc/syslog.c: Likewise.
36915 * stdio-common/asprintf.c: Likewise.
36916 * stdio-common/fxprintf.c: Likewise.
36917 * stdio-common/getw.c: Likewise.
36918 * stdio-common/isoc99_fscanf.c: Likewise.
36919 * stdio-common/isoc99_scanf.c: Likewise.
36920 * stdio-common/isoc99_vfscanf.c: Likewise.
36921 * stdio-common/isoc99_vscanf.c: Likewise.
36922 * stdio-common/isoc99_vsscanf.c: Likewise.
36923 * stdio-common/printf-prs.c: Likewise.
36924 * stdio-common/printf_fp.c: Likewise.
36925 * stdio-common/printf_fphex.c: Likewise.
36926 * stdio-common/printf_size.c: Likewise.
36927 * stdio-common/putw.c: Likewise.
36928 * stdio-common/scanf.c: Likewise.
36929 * stdio-common/sprintf.c: Likewise.
36930 * stdio-common/tmpfile.c: Likewise.
36931 * stdio-common/vfprintf.c: Likewise.
36932 * stdio-common/vfscanf.c: Likewise.
36933 * stdlib/strfmon_l.c: Likewise.
36934 * sunrpc/openchild.c: Likewise.
36935 * sunrpc/xdr_stdio.c: Likewise.
36936 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36937 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36938
d6c33fda
RM
369392012-05-24 Roland McGrath <roland@hack.frob.com>
36940
c1487492
RM
36941 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36942
36943 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36944 in the third column, to generate for the shared library an IFUNC
36945 that uses _dl_vdso_vsym.
36946 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36947 * Makeconfig (object-suffixes-noshared): New variable.
36948
36949 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36950 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36951 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36952 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36953
d6c33fda
RM
36954 [BZ #14132]
36955 * include/sys/time.h (__gettimeofday): Remove macro.
36956 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36957 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36958 Remove INTDEF.
36959 (__gettimeofday): Add libc_hidden_def.
36960 (gettimeofday): Add libc_hidden_weak.
36961 * sysdeps/mach/gettimeofday.c: Likewise.
36962 * sysdeps/posix/gettimeofday.c: Likewise.
36963 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36964 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36965 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36966 (__gettimeofday_internal): Remove strong_alias.
36967 (__gettimeofday): Add libc_hidden_def.
36968 (gettimeofday): Add libc_hidden_weak.
36969 * sysdeps/unix/syscalls.list (gettimeofday):
36970 Remove __gettimeofday_internal alias.
36971
b5a2bbe6
L
369722012-05-24 Daniel Jacobowitz <drow@false.org>
36973 H.J. Lu <hongjiu.lu@intel.com>
36974
36975 [BZ #12495]
36976 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36977 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36978 (largebin_index_32_big): New.
36979 (largebin_index): Use it for 16-byte alignment.
36980 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36981 correction with front_misalign.
36982
cfba4fda
L
369832012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36984
7f907421
L
36985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36986 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36987 Likewise.
36988 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36989 Likewise.
36990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36991 Likewise.
36992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36993 Likewise.
36994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36995 Likewise.
36996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36997 Likewise.
36998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36999 Likewise.
37000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37001 Likewise.
37002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37003 Likewise.
37004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37005 Likewise.
37006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37007 Likewise.
37008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37009 Likewise.
37010
cfba4fda
L
37011 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37012 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37013
80bad0cc
JM
370142012-05-24 Joseph Myers <joseph@codesourcery.com>
37015
7a25eb06
JM
37016 [BZ #10846]
37017 [BZ #14036]
37018 * math/libm-test.inc (exp_test): Add test from bug 14036.
37019 (pow_test): Add test from bug 10846.
37020
795405f9
JM
37021 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37022 and other flags.
37023 (special_function): Do not include flags in test name.
37024 (parse_args): Likewise.
37025 * sysdeps/i386/fpu/libm-test-ulps: Update.
37026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37027 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37028 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37030
80bad0cc
JM
37031 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37032 exceptions.
37033 * math/libm-test.inc ("Philosophy"): Update comment about
37034 exception testing.
37035 (UNDERFLOW_EXCEPTION): New macro.
37036 (UNDERFLOW_EXCEPTION_OK): Likewise.
37037 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37038 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37039 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37040 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37041 (INVALID_EXCEPTION_OK): Update value.
37042 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37043 (OVERFLOW_EXCEPTION_OK): Likewise.
37044 (IGNORE_ZERO_INF_SIGN): Likewise.
37045 (test_exceptions): Handle underflow exceptions.
37046 (acos_test): Update for underflow exception expectations.
37047 (cexp_test): Likewise.
37048 (clog_test): Likewise.
37049 (clog10_test): Likewise.
37050 (csqrt_test): Likewise.
37051 (ctan_test): Likewise.
37052 (ctanh_test): Likewise.
37053 (exp_test): Likewise.
37054 (exp10_test): Likewise.
37055 (exp2_test): Likewise.
37056 (expm1_test): Likewise.
37057 (fma_test): Likewise.
37058 (j0_test): Likewise.
37059 (jn_test): Likewise.
37060 (nexttoward_test): Likewise.
37061 (pow_test): Likewise.
37062 (scalbn_test): Likewise.
37063 (scalbln_test): Likewise.
37064 (tan_test): Likewise.
37065 (y1_test): Likewise.
37066 * sysdeps/i386/fpu/libm-test-ulps: Update.
37067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37068
9e0e3d0b
DM
370692012-05-23 David S. Miller <davem@davemloft.net>
37070
37071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37072 (__libc_sigaction): Remove unused local variables.
37073
ccd0a08f
L
370742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37075
37076 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37077
62bdf9a6
PE
370782012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37079
f8591f80
PE
37080 mktime: avoid signed integer overflow
37081 * time/mktime.c (__mktime_internal): Do not mishandle the case
37082 where diff == INT_MIN.
37083
94c7d826
PE
37084 mktime: simplify computation of average
37085 * time/mktime.c (ranged_convert): Use new time_t_avg function
37086 instead of rolling our own (probably-slower) code.
37087
ce73d683
PE
37088 mktime: do not assume signed right shift propagates sign bit
37089 * time/mktime.c (isdst_differ): New static function.
37090 (__mktime_internal): No need to normalize tm_isdst now.
37091 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37092 tm_isdst values.
37093
72a22e59
PE
37094 mktime: merge another wrapv change from gnulib
37095 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37096 from some compilers.
37097
68605433
PE
37098 mktime: remove incorrect attempt at unusual arithmetics
37099 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37100 The code didn't really work on such machines anyway.
37101 (TYPE_MINIMUM): Assume two's complement.
37102 (twos_complement_arithmetic): Verify that long_int and time_t
37103 are two's complement (or unsigned, in the latter case).
37104
03cf7fe3
PE
37105 mktime: check signed shifts on long_int and time_t, too
37106 * time/mktime.c (SHR): Check that shifts work as desired
37107 on the types long_int and time_t too, as SHR is used on
37108 such types.
37109
f04dfbc2
PE
37110 mktime: do not assume 'long' is wide enough
37111 * time/mktime.c (verify): Move decl up.
37112 (long_int): New type.
37113 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37114 to remove assumption in the code that 'long' is wide enough to
37115 store year values. This assumption is not true on x32 and on
37116 some non-glibc platforms.
37117
62bdf9a6
PE
37118 mktime: merge wrapv change from gnulib
37119 * time/mktime.c (WRAPV): New macro.
37120 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37121 (guess_time_tm, __mktime_internal): Do not assume that signed
37122 integer overflow wraps around; modern compilers generate code
37123 where this assumption is no longer valid.
37124
5e292e4f
L
371252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37126
37127 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37128 Replace "jmp L(pseudo_end)" with "ret".
37129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37130 Likewise.
37131
8caf8c87
AJ
371322012-05-23 Andreas Jaeger <aj@suse.de>
37133
37134 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37135 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37136
1a09dc56
AJ
371372012-05-23 Andreas Jaeger <aj@suse.de>
37138 Maximilian Attems <max@stro.at>
37139
37140 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37141 New macros.
37142
1c87aba0
L
371432012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37144
37145 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37146 code so that pseudo_end is just ret and the stack pointer is
37147 correct also for static library in error case.
37148
40e45bd5
JM
371492012-05-23 Joseph Myers <joseph@codesourcery.com>
37150
c2670533
JM
37151 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37152 move to syscalls.list.
37153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37157
40e45bd5
JM
37158 * manual/install.texi (Running make install): Do not mention Linux
37159 kernel version for which pt_chown is not needed.
37160 (Linux): Do not mention problems with nscd with 2.0 kernels.
37161 * INSTALL: Regenerated.
37162
be08eda5
AJ
371632012-05-23 Andreas Jaeger <aj@suse.de>
37164
37165 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37166 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37167 macro.
37168 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37169 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37170 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37171 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37172 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37176 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37178 * sysdeps/unix/sysv/linux/bits/in.h
37179 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37180
a6a056bb
RM
371812012-05-22 Roland McGrath <roland@hack.frob.com>
37182
37183 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37184 (PREPARE_VERSION): Just use assert instead, it will be elided
37185 under [NDEBUG] anyway.
37186
c9009328
L
371872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37188
37189 * sysdeps/unix/sysv/linux/Makefile: Include
37190 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37191 (sysdep_routines): Remove sysctl.
c9009328
L
37192 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37193 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37194 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37195 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37196 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37197
73338355
AJ
371982012-05-22 Andreas Jaeger <aj@suse.de>
37199
37200 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37201 that pseudo_end is just ret and the stack pointer is correct also
37202 for static library in error case.
37203
d44638b0
PP
372042012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37205
37206 [BZ #14122]
37207 * nss/nsswitch.c (defconfig_entries): New variable.
37208 (__nss_database_lookup): Don't leak defconfig entries.
37209 (nss_parse_service_list): Don't leak on error paths.
37210 (free_database_entries): New function.
37211 (free_defconfig): New function.
37212 (free_mem): Move common code to free_database_entries.
37213
31a39bd8
L
372142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37215
da0331a8
L
37216 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37217 Add arch_prctl.
37218 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37219
31a39bd8
L
37220 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37221 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37223 New macro.
37224 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37225 (INTERNAL_SYSCALL_TYPES): Likewise.
37226 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37227 (LOAD_REGS_TYPES_[1-6]): Likewise.
37228 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37229 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37230
45470df3
AZ
372312012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37232
37233 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37234 copysignl for GLIBC_2_0.
37235 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37236 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37237 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37238 logbl for GLIBC_2_0.
37239 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37240 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37241
98a61bcb
L
372422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37243
a4f6e481
L
37244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37246
f63d5db6
L
37247 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37248 Use "neg %eax".
37249
98a61bcb
L
37250 * time/mktime.c: Update copyright years.
37251
95770f14
PE
372522012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37253
6226efbd
PE
37254 mktime: merge comment-quoting-style change from gnulib
37255 * time/mktime.c: Quote 'like this' in comments.
37256 The GNU coding standards suggest that we no longer quote `like this',
37257 as "`" and "'" are typically rendered asymmetrically nowadays.
37258 The typical gnulib style is to quote 'like this' when quoting
37259 code, and "like this" when quoting English.
37260
b99e4f78
PE
37261 * time/mktime.c (compile-command): Add "-I.".
37262
643e01e6
PE
37263 mktime: merge mktime-internal.h change from gnulib
37264 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37265
2554247d
PE
37266 mktime: merge time_r change from gnulib
37267 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37268
826dd0ab
PE
37269 mktime: merge DEBUG change from gnulib
37270 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37271 case system <time.h> has a #define.
37272
bd83aabe
PE
37273 mktime: merge <sys/types.h> change from gnulib
37274 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37275 since <time.t> is now guaranteed to define time_t.
37276
95770f14
PE
37277 mktime: merge HAVE_CONFIG_H change from gnulib
37278 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37279
5e1a27a9
L
372802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37281
0e44a77e
L
37282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37283 Use "neg %eax".
37284
5e1a27a9
L
37285 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37286 __rlim_t cast.
37287 (struct rusage): Use anonymous union to pad each field to
37288 __syscall_slong_t.
37289
46259bec
DM
372902012-05-21 David S. Miller <davem@davemloft.net>
37291
37292 * Makefules (o-iterator): Remove .s cases.
37293 (compile-command.s): Delete.
37294 (COMPILE.s): Delete.
37295 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37296
59f0c22e
JM
372972012-05-21 Joseph Myers <joseph@codesourcery.com>
37298
37299 * configure.in (libc_cv_predef_stack_protector): Only consider
37300 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37301 * configure: Regenerated.
37302
20c07380
L
373032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37304
bbb3154b
L
37305 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37306 New macro. Use R*LP on int and pointer.
37307 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37308 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37309 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37310 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37311
20c07380
L
37312 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37313 [__WORDSIZE_TIME64_COMPAT32] instead of
37314 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37315 (struct utmp): Likewise.
37316 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37317 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37318 Renamed to ...
37319 (__WORDSIZE_TIME64_COMPAT32): This.
37320 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37321 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37322 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37323 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37324 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37325 (__WORDSIZE_TIME64_COMPAT32): New macro.
37326
d8d1017e
AJ
373272012-05-21 Andreas Jaeger <aj@suse.de>
37328
37329 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37330 only if [SHARED]. Add prototype for __wcschr_ia32.
37331
6c7fb145
RM
373322012-05-21 Roland McGrath <roland@hack.frob.com>
37333
37334 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37335 of %rbp unmolested in the jmp_buf while mangling the low bits.
37336 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37337 unmolested high bits of %rbp while demangling the low bits.
37338 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37339
66274218
AJ
373402012-05-21 Andreas Jaeger <aj@suse.de>
37341
07c58f8f
AJ
37342 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37343 * sunrpc/svc_simple.c: Use it for registerrpc.
37344 * sunrpc/xcrypt.c: Use it for passwd2des.
37345
66274218
AJ
37346 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37347
61f65140
L
373482012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37349
37350 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37351 Don't define if [__SYSCALL_WORDSIZE != 32].
37352 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37353 New macro.
37354
5fefb436
AJ
373552012-05-21 Bruno Haible <bruno@clisp.org>
37356 Andreas Jaeger <aj@suse.de>
37357
37358 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37359 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37360 inptr and inend for must_buffer_ch.
37361 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37362 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37363 * stdio-common/Makefile (tests): Remove bug15.
37364 (bug15-ENV): Remove macro.
37365 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37366 anymore.
37367
d8e272ab
AJ
373682012-05-19 Andreas Jaeger <aj@suse.de>
37369 Roland McGrath <roland@hack.frob.com>
37370
37371 * manual/contrib.texi: Completely rewritten. It contains now an
37372 alphabetical list of contributors and their contributions.
37373
4a56a162
RH
373742012-05-21 Richard Henderson <rth@twiddle.net>
37375
37376 * misc/getauxval.c (__getauxval): Use unsigned long int.
37377 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37378 (getauxval): Use unsigned long int.
37379
d024d23c
L
373802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37381
37382 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37383
cbc00a03
RM
373842012-05-21 Roland McGrath <roland@hack.frob.com>
37385
37386 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37387 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37388 __alignof__ (long double).
37389
478143fa
AZ
373902012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37391
37392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37393
c7683a6d
RH
373942012-05-20 Richard Henderson <rth@twiddle.net>
37395
37396 * misc/getauxval.c: New file.
37397 * misc/sys/auxv.h: New file.
37398 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37399 (routines): Add getauxval.
37400 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37401 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37402 * elf/dl-sysdep.c (_dl_auxv): Remove.
37403 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37404 * elf/dl-support.c (_dl_auxv): New variable.
37405 (_dl_aux_init): Initialize it.
37406 * manual/startup.texi (Auxiliary Vector): New node.
37407 * sysdeps/generic/bits/hwcap.h: New file.
37408 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37409 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37410 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37411 * sysdeps/sparc/sysdep.h: ... here. Include it.
37412 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37413 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37415 Update.
c7683a6d
RH
37416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37423 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37424
a6f1845d
AZ
374252012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37426
37427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37428
cbcbe830
DM
374292012-05-19 David S. Miller <davem@davemloft.net>
37430
37431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37432
e0b16cc2
JM
374332012-05-19 Joseph Myers <joseph@codesourcery.com>
37434
37435 [BZ #14123]
37436 * math/s_ccosh.c: Include <float.h>
37437 (__ccosh): Avoid internal overflow calculating sinh and cosh
37438 values before multiplying by sin and cos values.
37439 * math/s_ccoshf.c: Likewise.
37440 * math/s_ccoshl.c: Likewise.
37441 * math/s_csin.c: Likewise.
37442 * math/s_csinf.c: Likewise.
37443 * math/s_csinl.c: Likewise.
37444 * math/s_csinh.c: Likewise.
37445 * math/s_csinhf.c: Likewise.
37446 * math/s_csinhl.c: Likewise.
37447 * math/libm-test.inc (ccos_test): Add more tests.
37448 (ccosh_test): Likewise.
37449 (csin_test): Likewise.
37450 (csinh_test): Likewise.
37451 * sysdeps/i386/fpu/libm-test-ulps: Update.
37452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37453
6ad13e08
L
374542012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37455
f66f0ce8
L
37456 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37457 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37458
6ad13e08
L
37459 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37460
b1d072a7
JM
374612012-05-19 Joseph Myers <joseph@codesourcery.com>
37462
37463 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37464 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37465 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37466 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37467 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37468 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37469 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37470 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37471 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37472 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37473 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37474 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37475 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37476 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37477 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37478 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37479 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37480 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37481 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37482 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37483 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37484 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37485 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37486 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37487 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37488 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37489 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37490 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37491 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37492 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37493 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37494
9eae47cb
AJ
374952012-05-18 Andreas Jaeger <aj@suse.de>
37496
37497 * csu/.gitignore: Delete.
37498
bb07f69f
L
374992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37500
37501 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37502 (timex): Use __syscall_slong_t.
37503
e6bdb741
AJ
375042012-05-18 Andreas Jaeger <aj@suse.de>
37505 Carlos O'Donell <carlos_odonell@mentor.com>
37506
37507 * manual/install.texi (Configuring and compiling): Update
37508 description about files modified in the source directory.
d6c33fda 37509 * INSTALL: Regenerated.
e6bdb741 37510
1b74487e
L
375112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37512
37513 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37514 value. Use "or" to set return value to -1.
37515 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37516 negate return value.
37517
a88b64b9
TMQMF
375182012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37519
57f41c40
AS
37520 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37521 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37522 failure if the compiler has Graphite support disabled.
37523 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37524 Likewise.
57f41c40
AS
37525 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37526 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37527 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37528 Likewise.
37529
3707636e
L
375302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37531
610b8622
L
37532 * sysdeps/x86_64/x32/_itoa.h: New file.
37533
7cd195df
L
37534 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37535 getdents system call only if kernel and user dirents have the
37536 same d_ino and d_off.
37537
94b07d20
L
37538 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37539 LLONG_MAX != LONG_MAX.
37540 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37541 (_fitoa_word): Likewise.
37542
18298070
L
37543 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37544 years.
37545 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37546 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37547 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37548
553c7ea4
L
37549 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37550 include <bits/wordsize.h>. Check __x86_64__ instead of
37551 __WORDSIZE.
37552 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37553 if __x86_64__ is defined. Use anonymous union on fpstate.
37554
3707636e
L
37555 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37556 anonymous union.
37557
b53ef01a
AS
375582012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37559
37fb1dc0
AS
37560 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37561 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37562 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37563 Refer to _rtld_local_ro instead of _rtld_global_ro.
37564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37565 Likewise.
37566 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37567 Likewise.
37568 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37569 Likewise.
37570 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37571 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37572 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37573
b53ef01a
AS
37574 * sysdeps/powerpc/powerpc32/dl-machine.c
37575 (__elf_machine_runtime_setup) [PROF]: Don't reference
37576 _dl_prof_resolve.
37577
7a185db2
AJ
375782012-05-18 Andreas Jaeger <aj@suse.de>
37579
37580 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37581 function only available for GCCs before 3.4 since GCC 3.4
37582 introduced a builtin.
37583 (lrint): Likewise.
37584 (llrintf): Likewise.
37585 (llrint): Likewise.
37586 (fmaxf): Likewise.
37587 (fmax): Likewise.
37588 (fminf): Likewise.
37589 (fmin): Likewise.
37590 (rint): Likewise.
37591 (rintf): Likewise.
37592 (nearbyint): Likewise.
37593 (nearbyintf): Likewise.
37594 (ceil): Likewise.
37595 (ceilf): Likewise.
37596 (floor): Likewise.
37597 (floorf): Likewise.
37598
3e5aef87
L
375992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37600
428bd707
L
37601 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37602 on both fields and cast pointer to __syscall_ulong_t.
37603
3e5aef87
L
37604 * bits/types.h (__fsword_t): New type.
37605 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37606 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37608 (__FSWORD_T_TYPE): Likewise.
37609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37610 (__FSWORD_T_TYPE): Likewise.
37611 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37612 (__FSWORD_T_TYPE): Likewise.
37613 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37614 (__FSWORD_T_TYPE): Likewise.
37615 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37616 __SWORD_TYPE with __fsword_t.
37617 (statfs64): Likewise.
37618
1ba7c3dc
DM
376192012-05-17 David S. Miller <davem@davemloft.net>
37620
37621 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37622
59910343
AJ
376232012-05-17 Andreas Jaeger <aj@suse.de>
37624
37625 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37626 warning.
37627
2e4c1e9e
L
376282012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37629
37630 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37631
de7f5ce7
AJ
376322012-05-17 Andreas Jaeger <aj@suse.de>
37633
37634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37635 when it is used.
37636
286abc3d
CM
376372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37638
37639 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37640
477cc68e
L
376412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37642
37643 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37644 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37645
1a0994f5
CD
376462012-05-17 Andreas Jaeger <aj@suse.de>
37647 Carlos O'Donell <carlos_odonell@mentor.com>
37648
37649 [BZ #14059]
37650 * sysdeps/x86_64/multiarch/init-arch.h
37651 (bit_YMM_Usable): Rename to...
37652 (bit_AVX_Usable): ... this.
37653 (bit_FMA4_Usable): New macro.
37654 (bit_XMM_state): New macro.
37655 (bit_YMM_state): New macro.
37656 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37657 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37658 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37659 (CPUID_OSXSAVE): New macro.
37660 (CPUID_AVX): New macro.
37661 (CPUID_FMA4): New macro.
37662 (index_YMM_Usable): Rename to...
37663 (index_AVX_Usable): ... this.
37664 (HAS_AVX): Use HAS_ARCH_FEATURE.
37665 (HAS_FMA4): Likewise.
37666 (HAS_YMM_USABLE): Remove.
37667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37668 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37669 are present.
37670 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37671 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37672 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37673 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37674 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37675
0af797de
CM
376762012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37677
37678 * math/libm-test.c: Support platforms without multiple rounding modes.
37679 * math/bug-nextafter.c: Support platforms without FP exceptions.
37680 * math/bug-nexttoward.c: Likewise.
37681 * math/test-fenv.c: Likewise.
37682 * math/test-misc.c: Likewise.
37683 * stdlib/bug-getcontext.c: Likewise.
37684
e39745ff
AJ
376852012-05-17 Andreas Jaeger <aj@suse.de>
37686
37687 * manual/examples/search.c (critter_cmp): Change signature to
37688 avoid warnings.
37689 * manual/string.texi (Collation Functions): Likewise.
37690
48970aba
L
376912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37692
37693 * bits/types.h: Fold copyright years.
37694 * bits/typesizes.h: Likewise.
37695 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37696 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37697 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37699 * time/time.h: Likewise.
37700
bedee953
PP
377012012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37702
37703 [BZ #208]
37704 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37705 in instead of returning them. Return void.
37706 (__libc_mallinfo): Accumulate over all arenas.
37707 (__malloc_stats): Adjust for change in int_mallinfo interface.
37708
61653dfb
RM
377092012-05-16 Roland McGrath <roland@hack.frob.com>
37710
30b99d79
RM
37711 [BZ #10375]
37712 * configure.in (NM): Add AC_CHECK_TOOL for it.
37713 (libc_extra_cflags): New substituted variable.
37714 Check for -fstack-protector being used implicitly.
37715 * configure: Regenerated.
37716 * config.make.in (config-extra-cflags): New variable,
37717 gets @libc_extra_cflags@.
37718 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37719
61653dfb
RM
37720 [BZ #10375]
37721 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37722 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37723 * configure: Regenerated.
37724 * config.make.in (CPPUNDEFS): New substituted variable.
37725 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37726 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37727 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37728
661768bb
L
377292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37730
37731 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37732 (mq_attr): Use __syscall_slong_t.
37733
d4261567
L
377342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37735
37736 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37737 Check __x86_64__ instead of __WORDSIZE.
37738 (_STAT_VER_LINUX): Likewise.
37739 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37740 __syscall_ulong_t and __syscall_slong_t.
37741 (stat64): Likewise.
37742
cf3ff365
L
377432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37744
37745 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37746
76cf3e4d
L
377472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37748
37749 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37750
a637753a
L
377512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37752
37753 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37754 __syscall_ulong_t.
37755
d5e05119
L
37756 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37757 include <bits/wordsize.h>. Check __x86_64__ instead of
37758 __WORDSIZE.
37759 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37760 defined.
37761 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37762
f62ee380
L
37763 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37764 include <bits/wordsize.h>. Check __x86_64__ instead of
37765 __WORDSIZE.
37766 (user_regs_struct): Use "__extension__ unsigned long long"
37767 instead of "unsigned long" if __x86_64__ is defined.
37768 (user): Likewise. Pad after pointer field if __ILP32__ is
37769 defined.
37770
4e124ced
JM
377712012-05-16 Joseph Myers <joseph@codesourcery.com>
37772
6a3951a0
JM
37773 * configure.in (makeinfo): Require version 4.5 or later. Allow
37774 versions 5 to 9.
37775 * configure: Regenerated.
37776 * manual/install.texi (texinfo): Increase version requirement to
37777 4.5 or later.
37778 * INSTALL: Regenerated.
37779
4e124ced
JM
37780 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37781
953ca31a
L
377822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37783
37784 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37785
617aca05
L
37786 * sysdeps/x86_64/x32/ffs.c: New file.
37787
5762f7ae
L
37788 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37789 __syscall_ulong_t.
37790 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37791 defined. Use __syscall_ulong_t.
37792 (shminfo): Use __syscall_ulong_t.
37793 (shm_info): Likewise.
37794
a26b6856
L
37795 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37796 __syscall_ulong_t.
37797
cb2b9ef7
L
37798 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37799 <bits/wordsize.h>.
37800 (msgqnum_t): Use __syscall_ulong_t.
37801 (msglen_t): Likewise.
37802 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37803 __syscall_ulong_t.
37804
34683bb0
L
37805 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37806 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37807
84a68786
L
37808 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37809
48baa5f1
L
37810 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37811 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37812
180be88b
L
37813 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37814 __syscall_slong_t.
37815
5e90c8ad
L
37816 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37817 include <bits/wordsize.h>. Check __x86_64__ instead of
37818 __WORDSIZE.
37819
23dfb58b
L
37820 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37821 "unsigned long long int" if __x86_64__ is defined.
37822 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37823
ce5d54b0
L
37824 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37825 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37826 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37827
13dc9eac
L
37828 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37829 <stdint.h>.
37830 (GET_PC): Cast to uintptr_t first.
37831 (GET_FRAME): Likewise.
37832 (GET_STACK): Likewise.
37833
a7895d15
L
37834 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37835 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37836 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37837 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37838 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37839 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37840 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37841 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37842 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37843 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37844 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37845 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37846 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37847 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37848 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37849 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37850 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37851 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37852 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37853 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37854 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37855 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37856 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37857 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37858 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37859 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37860 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37861 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37862 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37863
656416c9
AS
378642012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37865
5bd66283
AS
37866 * Makerules (+depfiles): Also collect depfiles from .oS in
37867 $(extra-objs).
37868 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37869 .oS, $(libnldbl-routines)).
37870
656416c9
AS
37871 * Makerules (native-compile-mkdep-flags): Define.
37872 * sunrpc/Makefile (extra-objs): Add $(addprefix
37873 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37874 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37875 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37876 calling $(make-target-directory).
37877
a46f2169
L
378782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37879
37880 * bits/types.h (__snseconds_t): Removed.
37881 * time/time.h (struct timespec): Replace __snseconds_t with
37882 __syscall_slong_t.
37883 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37884 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37885 Likewise.
37886 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37887 (__SNSECONDS_T_TYPE): Likewise.
37888 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37889 (__SNSECONDS_T_TYPE): Likewise.
37890 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37891 (__SNSECONDS_T_TYPE): Likewise.
37892
6af6528b
L
378932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37894
37895 * sysdeps/mach/hurd/bits/typesizes.h
37896 (__SYSCALL_SLONG_TYPE): New macro.
37897 (__SYSCALL_ULONG_TYPE): Likewise.
37898
de986b56
L
378992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37900
37901 * bits/types.h (__syscall_slong_t): New type.
37902 (__syscall_ulong_t): Likewise.
37903
37904 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37905 (__SYSCALL_ULONG_TYPE): Likewise.
37906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37907 (__SYSCALL_SLONG_TYPE): Likewise.
37908 (__SYSCALL_ULONG_TYPE): Likewise.
37909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37910 (__SYSCALL_SLONG_TYPE): Likewise.
37911 (__SYSCALL_ULONG_TYPE): Likewise.
37912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37913 (__SYSCALL_SLONG_TYPE): Likewise.
37914 (__SYSCALL_ULONG_TYPE): Likewise.
37915
85736dc7
L
379162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37917
37918 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37919 Add sigaltstack-offsets.sym.
37920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37921 <sigaltstack-offsets.h>.
37922 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37923 longjmp_msg pointer.
37924 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37925 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37926 signal stack.
37927 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37928
cc03b296
JM
379292012-05-15 Joseph Myers <joseph@codesourcery.com>
37930
a9538892
JM
37931 * elf/stackguard-macros.h: Remove file.
37932 * sysdeps/generic/stackguard-macros.h: New file.
37933 * sysdeps/i386/stackguard-macros.h: Likewise.
37934 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37935 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37936 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37937 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37938 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37939 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37940 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37941 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37942 <elf/stackguard-macros.h>.
37943
cc03b296
JM
37944 [BZ #14109]
37945 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37946 __aligned__ in attribute.
37947 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37948 (gregset_t): Likewise.
37949
93171016
L
379502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37951
37952 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37953 * sysdeps/x86_64/64/Implies-after: Here. New file.
37954 * sysdeps/x86_64/x32/Implies-after: New file.
37955
d86813a0
L
379562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37957
37958 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37959 and access return value for _dl_profile_fixup. Use R10_LP to
37960 load frame size.
37961
2953ec75
L
379622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37963
37964 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37965
3b550e9e
L
379662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37967
37968 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37969 * sysdeps/x86_64/x32/sysdep.h: New file.
37970
eda41706
L
379712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37972
37973 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37974 * sysdeps/x86_64/setjmp.S: Likewise.
37975
9ea01d93
AZ
379762012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37977
37978 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37979 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37980 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37981 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37982 remove unused global constant.
37983
02a91938
CM
379842012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37985
37986 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37987 include of <not-cancel.h>.
37988
6540185f
RM
379892012-05-15 Roland McGrath <roland@hack.frob.com>
37990
37991 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37992
509072a0
AJ
379932012-05-15 Jeff Law <law@redhat.com>
37994 Andreas Jaeger <aj@suse.de>
37995
37996 [BZ #13594]
37997 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37998 out from...
37999 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38000 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38001 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38002 code changing __hst_map_handle.map.
38003
ba75122d
RM
380042012-05-15 Roland McGrath <roland@hack.frob.com>
38005
38006 * configure.in (sysnames): Look for Implies-before and Implies-after
38007 files.
38008 * configure: Regenerated.
38009
890d8bd8
L
380102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38011
38012 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38013 8-byte data alignment with LP_SIZE alignment.
38014
f6ee6623
L
380152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38016
38017 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38018 into R10_LP.
38019
ea2626f6
L
380202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38021
38022 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38023
085f715e
L
380242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38025
38026 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38027 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38028 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38029 Likewise.
38030 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38031
be8498fc
L
380322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38033
38034 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38035 (stackinfo_sub_sp): Likewise.
38036
70bc83b9
L
380372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38038
38039 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38040 RAX_LP.
38041
9bc0b730
L
380422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38043
38044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38045 into R*_LP.
38046
6d2850e7
L
380472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38048
38049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38050 sizes into R*_LP.
38051
3cb84561
L
380522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38053
38054 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38055
54e2ed81
L
380562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38057
38058 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38059 into R11_LP and load __x86_64_shared_cache_size_half into
38060 R8_LP.
38061
8a17f349
L
380622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38063
38064 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38065 R8_LP.
38066
777b1eea
AZ
380672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38068
38069 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38070 logb for POWER7.
38071 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38072 logbf for POWER7.
38073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38074 logbl for POWER7.
38075 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38076 powerpc32/power7/fpu/s_logb.c via #include.
38077 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38078 powerpc32/power7/fpu/s_logbf.c via #include.
38079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38080 powerpc32/power7/fpu/s_logbl.c via #include.
38081
d20d4ac2
JM
380822012-05-15 Joseph Myers <joseph@codesourcery.com>
38083
38084 * README.libm: Remove file.
38085
6cdef1ab
L
380862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38087
38088 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38089 count for x32. Use R*_LP and omit operand-size suffix.
38090
0b254d8f
L
380912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38092
38093 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38094 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38095 * sysdeps/x86_64/x32/shlib-versions: New file.
38096
ceb809dc
RM
380972012-05-14 Roland McGrath <roland@hack.frob.com>
38098
38099 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38100 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38101 Use _dl_fatal_printf instead.
38102
37f1abd4
JM
381032012-05-14 Joseph Myers <joseph@codesourcery.com>
38104
38105 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38106 set if not set by the user. Do not allow for being unset.
38107 * sysdeps/unix/sysv/linux/configure: Regenerated.
38108
11de3a33
L
381092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38110
38111 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38112 the `q' suffix from lea and replace .quad with ASM_ADDR.
38113
e02f153a
L
381142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38115
38116 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38117 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38118 instead of $17.
38119 (PTR_DEMANGLE): Likewise.
38120
520ae0fd
L
381212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38122
38123 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38124 (LP_OP): Likewise.
38125 (ASM_ADDR): Likewise.
38126 (RAX_LP): Likewise.
38127 (RBP_LP): Likewise.
38128 (RBX_LP): Likewise.
38129 (RCX_LP): Likewise.
38130 (RDI_LP): Likewise.
38131 (RSI_LP): Likewise.
38132 (RSP_LP): Likewise.
38133 (R8_LP): Likewise.
38134 (R9_LP): Likewise.
38135 (R10_LP): Likewise.
38136 (R10_LP): Likewise.
38137 (R11_LP): Likewise.
38138 (R12_LP): Likewise.
38139 (R13_LP): Likewise.
38140 (R14_LP): Likewise.
38141 (R15_LP): Likewise.
38142
b985be81
L
381432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38144
38145 * sysdeps/x86_64/x32/dl-machine.h: New file.
38146
6a4888ff
AJ
381472012-05-14 Andreas Jaeger <aj@suse.de>
38148
38149 * manual/Makefile (subdir): Remove export of subdir.
38150 (all): Remove target.
38151 (.PHONY): Remove all from list.
38152 (mkinstalldirs): Remove.
38153 (.PHONY): Remove installdirs from list.
38154 ($(inst_infodir)/libc.info): Use make-target-directory.
38155 (installdirs): Remove.
38156 (subdir_%): Remove.
38157 (glibc-targets): Remove.
38158 (lib): Remove.
38159 (stubs): Remove.
38160 ($(objpfx)stubs ../po/manual.pot): Remove.
38161 ($(objpfx)stamp%): Remove.
38162 (make-target-directory): Remove.
38163 (subdir_install): Remove.
38164 (routines): Remove.
38165 (aux): Remove.
38166 (sources): Remove.
38167 (objects): Remove.
38168 (headers): Remove.
38169
38170 [BZ #13750]
38171 * manual/.gitignore: Remove, it's not needed anymore.
38172 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38173 all files in it.
38174 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38175 directory.
38176 (texis): Renamed to $(objpfx)texis.
38177 (texis-path): New, contains path to generated files.
38178 (chapters.%): Use texis-path for complete path, add extra argument
38179 libc-texinfo.sh.
38180 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38181 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38182 (summary,texi, stamp-summary): Use complete path of
38183 files. Generate files in build dir.
38184 (dir-add.texi): Build in build dir.
38185 (libm-err.texi,stamp-libm-err): Likewise.
38186 (version.texi, stamp-version): Likewise.
38187 (.%c.texi): Likewise.
38188 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38189 (mostlyclean): Remove target.
38190 (realclean): Remove target.
38191 (generated): Add new variable with contents from mostlyclean and
38192 realclean, remove entries duplicated in common-mostlyclean, add
38193 stamp-libm-err and stamp-version.
38194 (generated-dirs): Add libc directory.
38195 ($(inst_infodir)/libc.info): Install files from build dir.
38196
38197 * manual/install.texi (Configuring and compiling): Adjust since
38198 the info files are not part of the tar ball anymore.
38199
7ac77294
AJ
382002012-05-14 Andreas Jaeger <aj@suse.de>
38201
38202 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38203 variable.
38204
ffb7875d
JM
382052012-05-14 Joseph Myers <joseph@codesourcery.com>
38206
38207 [BZ #13717]
38208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38209 to 2.2.0 where earlier.
38210 * sysdeps/unix/sysv/linux/configure: Regenerated.
38211 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38212 Remove conditional code.
38213 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38214 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38215 Remove conditional code.
38216 [!__NR_lchown]: Likewise.
38217 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38218 [__NR_lchown]: Likewise.
38219 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38220 comment referencing __ASSUME_LCHOWN_SYSCALL.
38221 * sysdeps/unix/sysv/linux/i386/sigaction.c
38222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38224 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38225 Remove conditional code.
38226 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38227 (__protocol_available): Remove #if 0 code.
38228 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38229 conditional code.
38230 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38231 * sysdeps/unix/sysv/linux/kernel-features.h
38232 (__ASSUME_GETCWD_SYSCALL): Don't define.
38233 (__ASSUME_REALTIME_SIGNALS): Likewise.
38234 (__ASSUME_PREAD_SYSCALL): Likewise.
38235 (__ASSUME_PWRITE_SYSCALL): Likewise.
38236 (__ASSUME_POLL_SYSCALL): Likewise.
38237 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38238 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38239 non-SPARC.
38240 (__ASSUME_SIOCGIFNAME): Don't define.
38241 (__ASSUME_MSG_NOSIGNAL): Likewise.
38242 (__ASSUME_SENDFILE): Define unconditionally.
38243 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38244 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38245 conditional code.
38246 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38247 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38248 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38249 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38250 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38251 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38252 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38254 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38255 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38257 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38260 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38261 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38263 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38266 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38269 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38277 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38278 Remove conditional code.
38279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38280 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38281 Remove conditional code.
38282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38283 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38284 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38285 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38286 Remove conditional code.
38287 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38288 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38289 Remove conditional code.
38290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38291 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38292 Remove conditional code.
38293 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38294 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38295 Remove conditional code.
38296 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38297 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38298 Remove conditional code.
38299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38300 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38301 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38303 * sysdeps/unix/sysv/linux/sigaction.c
38304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38306 * sysdeps/unix/sysv/linux/sigpending.c
38307 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38308 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38309 * sysdeps/unix/sysv/linux/sigprocmask.c
38310 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38311 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38312 * sysdeps/unix/sysv/linux/sigsuspend.c
38313 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38314 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38315 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38316 (__libc_missing_rt_sigs): Remove.
38317 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38318 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38319 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38320 Remove conditional code.
38321 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38322 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38323 return 1.
38324 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38325 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38326 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38327 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38328
1bfb7291
AJ
383292012-05-14 Andreas Jaeger <aj@suse.de>
38330
caae5a81
AJ
38331 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38332 it's not used in glibc.
38333 (__coshm1): Likewise.
38334 (__acosh1p): Likewise.
38335 (__sgn): Likewise.
38336
1bfb7291
AJ
38337 * manual/string.texi (Copying and Concatenation): Add missing
38338 variable in concat example.
38339 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38340
c044d724
L
383412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38342
144c5467 38343 [BZ #14103]
c044d724
L
38344 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38345 __builtin_clzl with __builtin_clzll.
38346
2523c62b
L
383472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38348
38349 [BZ #14104]
38350 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38351 libc_freeres_ptr.
38352
d7bb4c42
LD
383532012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38354
38355 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38356 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38357 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38358 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38359
9dc4e1fb
MF
383602012-05-14 Mike Frysinger <vapier@gentoo.org>
38361
38362 * NEWS: Update ia64 info.
38363
c7df0112
AS
383642012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38365
38366 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38367 used as bcopy.
38368
dc70356c
TS
383692012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38370
38371 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38372 * sysdeps/unix/syscalls.list (dup3): Likewise.
38373 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38374 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38375
9fb1a21f
L
383762012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38377
38378 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38379 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38380
4822a2a5
L
383812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38382
38383 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38384 thread pointer.
38385 (TLS_IE): Use mov/add instead of movq/addq to load thread
38386 pointer.
38387 (TLS_GD_PREFIX): New.
38388 (TLS_GD): Use it.
38389
842b81d6
DM
383902012-05-11 David S. Miller <davem@davemloft.net>
38391
38392 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38393 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38394 (_FPU_SETCW): Likewise.
38395
1cf463cd
L
383962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38397
38398 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38399 is 32-byte aligned.
38400
60cc4a18
AS
384012012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38402
38403 [BZ #11837]
38404 * iconvdata/gb18030.c: Update tables.
38405 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38406 characters specially.
38407 (BODY for TO_LOOP): Add encoding of missing ranges.
38408
febb44a4
TS
384092012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38410
38411 [BZ #13673]
38412 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38413 * sysdeps/mach/hurd/dup3.c: Likewise.
38414 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38415 * sysdeps/powerpc/memmove.c:: Likewise.
38416
0a10fb9e
L
384172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38418
38419 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38420 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38421
df8a552f
L
384222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38423
38424 * elf/elf.h (R_X86_64_RELATIVE64): New.
38425 (R_X86_64_NUM): Updated.
38426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38427 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38428 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38429 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38430 tst-quad1pie tst-quad2pie
38431 (modules-names): Add tst-quadmod1 tst-quadmod2.
38432 ($(objpfx)tst-quad1): New dependency.
38433 ($(objpfx)tst-quad2): Likewise.
38434 ($(objpfx)tst-quad1pie): Likewise.
38435 ($(objpfx)tst-quad2pie): Likewise.
38436 * sysdeps/x86_64/tst-quad1.c: New file.
38437 * sysdeps/x86_64/tst-quad1pie.c: New file.
38438 * sysdeps/x86_64/tst-quad2.c: Likewise.
38439 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38440 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38441 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38442 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38443 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38444
f34d6f84
ST
384452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38446
f42d41d1
ST
38447 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38448 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38449 * streams/stropts.h (t_scalar_t): Define type.
38450
3c3571fc
ST
38451 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38452 (_PATH_PRESERVE): Set to "/var/lib".
38453 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38454
61f06bd3
ST
38455 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38456 instead of int.
38457
918d4d71
ST
38458 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38459 if __dir_mkfile succeeded.
38460
f34d6f84
ST
38461 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38462 checking for _hurd_dtablesize. Unlock it right after having
38463 finished _hurd_dtable allocation.
38464
10589b4a
TS
384652012-05-10 Thomas Schwinge <thomas@schwinge.name>
38466
674cdbc7
TS
38467 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38468 * sysdeps/mach/hurd/configure: Regenerated.
38469 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38470 special-casing to...
38471 * sysdeps/gnu/configure.in: ... this new file.
38472 * sysdeps/unix/sysv/linux/configure: Regenerated.
38473 * sysdeps/gnu/configure: New generated file.
38474
8e41b99f
TS
38475 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38476 for Linux: use nsec instead of usec, as well as:
38477 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38478 members of type struct timespec.
38479 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38480 New macros.
38481 (struct stat64): Likewise.
38482 (_STATBUF_ST_NSEC): New macro.
38483 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38484
10589b4a
TS
38485 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38486 __strtoul_internal rather than strtoul.
38487
63643c85
PT
384882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38489
38490 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38491 and reject them.
38492
3faebe6a
ST
384932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38494
38495 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38496 which preserves existing values.
38497 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38498
c6474b07
PT
384992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38500
38501 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38502 TIMEOUT values. Return EINVAL for NFDS values either negative or
38503 greater than FD_SETSIZE.
38504
1043890b
ST
385052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38506
38507 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38508 allocated, call __vm_protect to finish enabling the existing space, and
38509 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38510 allocate the remainder.
38511
37ed8b9b
PT
385122012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38513
38514 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38515 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38516
db653660
ST
385172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38518
37ed8b9b
PT
38519 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38520 sysdeps/mach/hurd/readlink.c.
b29d4053 38521
db653660
ST
38522 * posix/tst-sysconf.c (posix_options): Only use
38523 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38524 _POSIX_SYNCHRONIZED_IO when they are defined
38525 * sysdeps/mach/hurd/bits/posix_opt.h:
38526 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38527 (_XOPEN_REALTIME): Undefine macro.
38528 (_XOPEN_REALTIME_THREADS): Undefine macro.
38529 (_XOPEN_SHM): Undefine macro.
38530 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38531 macro to -1.
38532 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38533 macro to -1.
38534 (_POSIX_ASYNC_IO): Undefine macro.
38535 (_POSIX_PRIORITIZED_IO): Undefine macro.
38536 (_POSIX_SPIN_LOCKS): Define macro to -1.
38537
ee16e894
ST
38538 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38539 SA_NODEFER, SA_RESETHAND.
38540 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38541 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38542 F_DUPFD_CLOEXEC.
38543
6103ae3b
TS
385442012-05-10 Thomas Schwinge <thomas@schwinge.name>
38545
38546 * elf/Makefile (pldd-modules): Define unconditionally.
38547
80b4e5f3
TS
385482012-05-10 Thomas Schwinge <thomas@schwinge.name>
38549
38550 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38551
edadcbd6
ST
385522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38553
38554 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38555 Return ENOENT when name is empty.
38556 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38557
80694780
TS
385582012-05-10 Thomas Schwinge <thomas@schwinge.name>
38559
1792c087
TS
38560 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38561
80694780
TS
38562 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38563
6b645f0d
ST
385642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38565
80694780
TS
38566 Fix mlock in all cases except non-readable pages.
38567 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38568 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38569
6b645f0d
ST
38570 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38571 (__mkdir): When path is `/', just fail with EEXIST.
38572 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38573
e468f8a3
TS
385742012-05-10 Thomas Schwinge <thomas@schwinge.name>
38575
38576 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38577 <sys/uio.h> (for writev).
38578 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38579 and <sys/param.h> (for MIN).
38580
a4186cff
PT
385812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38582
38583 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38584 REQUESTED_TIME. Properly set the remaining time and return EINTR
38585 if interrupted.
38586
510bbf14
TS
385872012-05-10 Thomas Schwinge <thomas@schwinge.name>
38588
38589 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38590 Depend on against $(link-rpcuserlibs).
38591
5d5722e8
ST
385922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38593
a4186cff
PT
38594 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38595 (__libc_stack_end): Do not use attribute_relro.
38596 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38597 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38598 to libthread-provided value.
a4186cff
PT
38599 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38600 attribute_relro.
5d5722e8 38601
37233df9
TS
386022012-05-10 Thomas Schwinge <thomas@schwinge.name>
38603
be971a2b
TS
38604 [BZ #3748]
38605 * bits/libc-lock.h (__libc_once_get): New macro.
38606 * sysdeps/mach/bits/libc-lock.h: Likewise.
38607 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38608 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38609 instead of using implementation details.
38610
37233df9
TS
38611 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38612 * libio/freopen.c: Likewise.
38613 * libio/freopen64.c: Likewise.
38614 * misc/syslog.c: Likewise.
38615 * nscd/connections.c: Likewise.
38616 * nscd/netgroupcache.c: Likewise.
38617 * sysdeps/posix/getcwd.c: Likewise.
38618
38de94a5
RM
386192012-05-10 Roland McGrath <roland@hack.frob.com>
38620
38621 * math/w_ilogbf.c: Add #include <limits.h>.
38622
67530489
ST
386232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38624
a4186cff 38625 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38626 path instead of returning without unlocking.
38627
67530489
ST
38628 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38629 immediate-write ioctls.
38630 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38631
5aa3a74a
TS
386322012-05-10 Thomas Schwinge <thomas@schwinge.name>
38633
18bad2ae
TS
38634 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38635 __builtin_frame_address instead of making assumptions about the
38636 location of the return address relative to DATA. Force early load of
38637 the return address.
38638 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38639 __builtin_frame_address.
38640
5aa3a74a
TS
38641 dup3 for GNU Hurd.
38642 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38643 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38644 implement dup3 and do some further code clean-ups.
38645 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38646 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38647
ecd0de9a
ST
386482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38649
cd9fa985
ST
38650 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38651
a4186cff
PT
38652 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38653 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38654 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38655 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38656 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38657 d->port.lock.
802ca5a5 38658
a4186cff
PT
38659 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38660 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38661 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38662
bcf55240
TS
386632012-05-10 Thomas Schwinge <thomas@schwinge.name>
38664
6960eb42
TS
38665 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38666 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38667 definitions.
38668
eb43375f
TS
38669 accept4 for GNU Hurd.
38670 * include/sys/socket.h (__libc_accept4): New prototype.
38671 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38672 to implement __libc_accept4.
38673 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38674 __libc_accept4.
38675 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38676
bcf55240
TS
38677 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38678 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38679 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38680 signal-defines.sym.
38681
6178c55b
ST
386822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38683
a4186cff 38684 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38685
6f080c2f
TS
386862012-05-10 Thomas Schwinge <thomas@schwinge.name>
38687
38688 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38689 assertion on O_CLOEXEC flag.
38690 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38691 * hurd/intern-fd.c: Likewise.
38692 * hurd/port2fd.c: Likewise.
38693
bcfe3a54
ST
386942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38695
38696 [BZ #3906]
38697 * bits/in.h (IPV6_PKTINFO): Define new macro.
38698 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38699
89c9aa49
AZ
387002012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38701
38702 [BZ #13954]
38703 [BZ #13955]
38704 [BZ #13956]
38705 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38707 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38708 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38709 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38710 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38711 * math/libm-test.inc (logb_test) : Additional logb tests.
38712
021db4be
AJ
387132012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38714 Andreas Jaeger <aj@suse.de>
38715
38716 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38717 * configure: Regenerated.
38718 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38719 * config.make.in (link-obsolete-rpc): New substituted variable.
38720 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38721 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38722 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38723 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38724 so that libc.a contains the symbols.
38725 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38726 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38727 * sunrpc/auth_none.c: Likewise.
38728 * sunrpc/auth_unix.c: Likewise.
38729 * sunrpc/authdes_prot.c: Likewise.
38730 * sunrpc/authuxprot.c: Likewise.
38731 * sunrpc/clnt_gen.c: Likewise.
38732 * sunrpc/clnt_perr.c: Likewise.
38733 * sunrpc/clnt_raw.c: Likewise.
38734 * sunrpc/clnt_simp.c: Likewise.
38735 * sunrpc/clnt_tcp.c: Likewise.
38736 * sunrpc/clnt_udp.c: Likewise.
38737 * sunrpc/clnt_unix.c: Likewise.
38738 * sunrpc/des_crypt.c: Likewise.
38739 * sunrpc/des_soft.c: Likewise.
38740 * sunrpc/get_myaddr.c: Likewise.
38741 * sunrpc/key_call.c: Likewise.
38742 * sunrpc/key_prot.c: Likewise.
38743 * sunrpc/netname.c: Likewise.
38744 * sunrpc/pm_getmaps.c: Likewise.
38745 * sunrpc/pm_getport.c: Likewise.
38746 * sunrpc/pmap_clnt.c: Likewise.
38747 * sunrpc/pmap_prot.c: Likewise.
38748 * sunrpc/pmap_prot2.c: Likewise.
38749 * sunrpc/pmap_rmt.c: Likewise.
38750 * sunrpc/publickey.c: Likewise.
38751 * sunrpc/rpc_cmsg.c: Likewise.
38752 * sunrpc/rpc_common.c: Likewise.
38753 * sunrpc/rpc_dtable.c: Likewise.
38754 * sunrpc/rpc_prot.c: Likewise.
38755 * sunrpc/rpc_thread.c: Likewise.
38756 * sunrpc/rtime.c: Likewise.
38757 * sunrpc/svc.c: Likewise.
38758 * sunrpc/svc_auth.c: Likewise.
38759 * sunrpc/svc_raw.c: Likewise.
38760 * sunrpc/svc_run.c: Likewise.
38761 * sunrpc/svc_tcp.c: Likewise.
38762 * sunrpc/svc_udp.c: Likewise.
38763 * sunrpc/svc_unix.c: Likewise.
38764 * sunrpc/svcauth_des.c: Likewise.
38765 * sunrpc/xcrypt.c: Likewise.
38766 * sunrpc/xdr.c: Likewise.
38767 * sunrpc/xdr_array.c: Likewise.
38768 * sunrpc/xdr_float.c: Likewise.
38769 * sunrpc/xdr_intXX_t.c: Likewise.
38770 * sunrpc/xdr_mem.c: Likewise.
38771 * sunrpc/xdr_rec.c: Likewise.
38772 * sunrpc/xdr_ref.c: Likewise.
38773 * sunrpc/xdr_sizeof.c: Likewise.
38774 * sunrpc/xdr_stdio.c: Likewise.
38775
b5c086a2
RM
387762012-05-10 Roland McGrath <roland@hack.frob.com>
38777
38778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38779 change. Update copyright years.
38780
6d74dd09
JM
387812012-05-10 Joseph Myers <joseph@codesourcery.com>
38782
38783 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38784
28e72501
MK
387852012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38786 Joseph Myers <joseph@codesourcery.com>
38787 Paul Pluzhnikov <ppluzhnikov@google.com>
38788
38789 [BZ #14012]
38790 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38791 requiring rpcgen.
38792 [cross-compiling] (extra-libs): Likewise.
38793 [cross-compiling] (extra-libs-others): Likewise.
38794 [cross-compiling] (librpcsvc-routines): Likewise.
38795 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38796 [cross-compiling] (omit-deps): Likewise.
38797 (sunrpc-CPPFLAGS): New variable.
38798 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38799 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38800 (cross-rpcgen-objs): New variable.
38801 (extra-objs): Append $(cross-rpcgen-objs).
38802 ($(cross-rpcgen-objs)): New rule.
38803 ($(objpfx)cross-rpcgen): Likewise.
38804 (rpcgen-cmd): Define to use $(built-program-file). Expand
38805 comment.
38806 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38807 ($(objpfx)x%.stmp): Likewise.
38808 * sunrpc/proto.h [IS_IN_build] (_): Define.
38809 [IS_IN_build] (_libc_intl_domainname): Likewise.
38810
c8c59454
L
388112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38812
38813 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38814 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38815 and R_X86_64_TPOFF64.
38816
6f27cd16
JM
388172012-05-10 Joseph Myers <joseph@codesourcery.com>
38818
38819 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38820 sysdeps/unix/sysv/syscalls.list.
38821 (stime): Likewise.
38822 (utime): Likewise.
38823 * sysdeps/unix/sysv/syscalls.list: Remove file.
38824
02467e1c
PE
388252012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38826
38827 [BZ #3440]
38828 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38829 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38830 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38831 (__LC_IDENTIFICATION): Make these macros useful in #if
38832 expressions, as required by C99.
38833
da392631
AS
388342012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38835
38836 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38837 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38838 after this.
38839
8115f29b
L
388402012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38841
38842 * stdlib/longlong.h: Updated from GCC.
38843
bdd74070
AJ
388442012-05-09 Andreas Jaeger <aj@suse.de>
38845
edfe0dbe
AJ
38846 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38847 default is first entry.
38848 (run_mode): Set type.
38849 (main): Remove informal message about syslog.
38850 (options): Fix typo.
38851
bcfe3a54
ST
38852 [BZ #14053]
38853 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 38854 to asm.
bcfe3a54
ST
38855 (lrint): Likewise.
38856 (llrintf): Likewise.
38857 (llrint): Likewise.
38858 (rint): Likewise.
38859 (rintf): Likewise.
38860 (nearbyint): Likewise.
38861 (nearbyintf): Likewise.
bdd74070 38862
91d8d69e
AJ
388632012-05-09 Andreas Jaeger <aj@suse.de>
38864 Pedro Alves <palves@redhat.com>
38865
38866 * nscd/nscd.c (run_mode): Use enum.
38867 (main): Cleanup coding style issue.
38868
bb90b80b
AJ
388692012-05-09 Alexandre Oliva <aoliva@redhat.com>
38870 Andreas Jaeger <aj@suse.de>
38871
bcfe3a54
ST
38872 * nscd/nscd.c (go_background): Replaced with...
38873 (run_mode): ... this.
bb90b80b 38874 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
38875 (options): Add -F --foreground.
38876 (main): Implement it.
38877 (parse_opt): Parse it.
bb90b80b 38878
1a4b75a1
AJ
388792012-05-09 Andreas Jaeger <aj@suse.de>
38880
38881 [BZ #14083]
38882 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38883 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38884 -Wconversion warning.
38885 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38886 Likewise.
38887
b1cc2472
JM
388882012-05-09 Joseph Myers <joseph@codesourcery.com>
38889
38890 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38891 == 0.
38892 (LC_ALL): Use macro-int-constant.
38893 (LC_COLLATE): Likewise.
38894 (LC_CTYPE): Likewise.
38895 (LC_MESSAGES): Likewise.
38896 (LC_MONETARY): Likewise.
38897 (LC_NUMERIC): Likewise.
38898 (LC_TIME): Likewise.
38899 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38900 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38902 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38903 Specify type.
38904 [C99-based standards] (float_t): Expect type.
38905 [C99-based standards] (double_t): Expect type.
38906 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38907 type.
38908 [C99-based standards] (HUGE_VALL): Likewise.
38909 [C99-based standards] (INFINITY): Likewise.
38910 [C99-based standards] (NAN): Likewise.
38911 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38912 [C99-based standards] (FP_NAN): Likewise.
38913 [C99-based standards] (FP_NORMAL): Likewise.
38914 [C99-based standards] (FP_SUBNORMAL): Likewise.
38915 [C99-based standards] (FP_ZERO): Likewise.
38916 [C99-based standards] (FP_FAST_FMA): Use
38917 optional-macro-int-constant. Specify type. Require == 1.
38918 [C99-based standards] (FP_FAST_FMAF): Likewise.
38919 [C99-based standards] (FP_FAST_FMAL): Likewise.
38920 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38921 [C99-based standards] (FP_ILOGBNAN): Likewise.
38922 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38923 Specify type.
38924 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38925 [C99-based standards] (math_errhandling): Specify type.
38926 [ISO99 || ISO11] (signgam): Do not allow.
38927 [non-C99-based standards] (copysignf): Do not allow.
38928 [non-C99-based standards] (exp2f): Likewise.
38929 [non-C99-based standards] (log2f): Likewise.
38930 [non-C99-based standards] (modff): Allow.
38931 [non-C99-based standards] (erff): Do not allow.
38932 [non-C99-based standards] (erfcf): Likewise.
38933 [non-C99-based standards] (gammaf): Likewise.
38934 [non-C99-based standards] (hypotf): Likewise.
38935 [non-C99-based standards] (j0f): Likewise.
38936 [non-C99-based standards] (j1f): Likewise.
38937 [non-C99-based standards] (jnf): Likewise.
38938 [non-C99-based standards] (lgammaf): Likewise.
38939 [non-C99-based standards] (tgammaf): Likewise.
38940 [non-C99-based standards] (y0f): Likewise.
38941 [non-C99-based standards] (y1f): Likewise.
38942 [non-C99-based standards] (ynf): Likewise.
38943 [non-C99-based standards] (isnanf): Likewise.
38944 [non-C99-based standards] (acoshf): Likewise.
38945 [non-C99-based standards] (asinhf): Likewise.
38946 [non-C99-based standards] (atanhf): Likewise.
38947 [non-C99-based standards] (cbrtf): Likewise.
38948 [non-C99-based standards] (expm1f): Likewise.
38949 [non-C99-based standards] (ilogbf): Likewise.
38950 [non-C99-based standards] (log1pf): Likewise.
38951 [non-C99-based standards] (logbf): Likewise.
38952 [non-C99-based standards] (nextafterf): Likewise.
38953 [non-C99-based standards] (remainderf): Likewise.
38954 [non-C99-based standards] (rintf): Likewise.
38955 [non-C99-based standards] (scalbf): Likewise.
38956 [non-C99-based standards] (copysignl): Likewise.
38957 [non-C99-based standards] (exp2l): Likewise.
38958 [non-C99-based standards] (log2l): Likewise.
38959 [non-C99-based standards] (modfl): Allow.
38960 [non-C99-based standards] (erfl): Do not allow.
38961 [non-C99-based standards] (erfcl): Likewise.
38962 [non-C99-based standards] (gammal): Likewise.
38963 [non-C99-based standards] (hypotl): Likewise.
38964 [non-C99-based standards] (j0l): Likewise.
38965 [non-C99-based standards] (j1l): Likewise.
38966 [non-C99-based standards] (jnl): Likewise.
38967 [non-C99-based standards] (lgammal): Likewise.
38968 [non-C99-based standards] (tgammal): Likewise.
38969 [non-C99-based standards] (y0l): Likewise.
38970 [non-C99-based standards] (y1l): Likewise.
38971 [non-C99-based standards] (ynl): Likewise.
38972 [non-C99-based standards] (isnanl): Likewise.
38973 [non-C99-based standards] (acoshl): Likewise.
38974 [non-C99-based standards] (asinhl): Likewise.
38975 [non-C99-based standards] (atanhl): Likewise.
38976 [non-C99-based standards] (cbrtl): Likewise.
38977 [non-C99-based standards] (expm1l): Likewise.
38978 [non-C99-based standards] (ilogbl): Likewise.
38979 [non-C99-based standards] (log1pl): Likewise.
38980 [non-C99-based standards] (logbl): Likewise.
38981 [non-C99-based standards] (nextafterl): Likewise.
38982 [non-C99-based standards] (remainderl): Likewise.
38983 [non-C99-based standards] (rintl): Likewise.
38984 [non-C99-based standards] (scalbl): Likewise.
38985 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38986 [non-C99-based standards] (FP_*): Do not allow.
38987 [C99-based standards] (FP_*): Change to
38988 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38989 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38990 allow.
38991 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38992 (SIG_ERR): Likewise.
38993 [X/Open-based standards] (SIG_HOLD): Likewise.
38994 (SIG_IGN): Likewise.
38995 (SIGABRT): Use macro-int-constant. Specify type. Require
38996 positive value.
38997 (SIGFPE): Likewise.
38998 (SIGILL): Likewise.
38999 (SIGINT): Likewise.
39000 (SIGSEGV): Likewise.
39001 (SIGTER): Likewise.
39002 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39003 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39004 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39005 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39006 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39007 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39008 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39009 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39010 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39011 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39012 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39013 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39014 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39015 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39016 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39017 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39018 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39019 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39020 [X/Open-based standards] (SIGTRAP): Likewise.
39021 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39022 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39023 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39024 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39025 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39026 allow.
39027
b9f1922d
IW
390282012-05-08 Ian Wienand <ianw@vmware.com>
39029
39030 [BZ #14080]
39031 * time/tzset.c (__tzset_parse_tz): Update default rules for
39032 daylight time changes in the Energy Policy Act of 2005.
39033
1db86e88
AJ
390342012-05-09 Andreas Jaeger <aj@suse.de>
39035
39036 [BZ #13983]
39037 * elf/ldconfig.c (parse_conf): Change string to make clear that
39038 ldconfig only issued a warning if ld.so.conf does not exist.
39039
dee4a4e3
DM
390402012-05-08 David S. Miller <davem@davemloft.net>
39041
ee0db190
DM
39042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39043 movxtod instead of popping the value on the stack.
39044
dee4a4e3
DM
39045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39046
6a43ec98
CD
390472012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39048
39049 * config.h.in: Add HAVE_ARM_PCS_VFP.
39050
05c2c961
RMG
390512012-05-08 Roland Mc Grath <roland@hack.frob.com>
39052
bcfe3a54
ST
39053 [BZ #13979]
39054 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39055 checking but the checks are disabled for any reason.
05c2c961 39056
4b30f61a
L
390572012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39058
39059 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39060 and ELF64_R_TYPE with ELFW(R_TYPE).
39061
eee2bc67
JM
390622012-05-08 Joseph Myers <joseph@codesourcery.com>
39063
7ea5391a
JM
39064 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39065 (ulimit): Likewise.
39066
eee2bc67
JM
39067 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39068 (settimeofday): Likewise.
39069
abb66a67
MF
390702012-05-08 Mike Frysinger <vapier@gentoo.org>
39071
39072 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39073 a struct th_u2 inside the union, and move tu_block/tu_code into
39074 a new th_u3 union of tu_block/tu_code inside of that. Move
39075 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39076 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39077 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39078 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39079 (th_stuff): Change to th_u1.tu_stuff.
39080 (th_data): Define.
39081 (th_msg): Change to th_u1.th_u2.tu_data.
39082
7f18b530
DM
390832012-05-07 David S. Miller <davem@davemloft.net>
39084
05760585
DM
39085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39086
7f18b530
DM
39087 [BZ #14074]
39088 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39089 (SETUP_PIC_REG): Use it.
39090 (SETUP_PIC_REG_LEAF): Use it.
39091
495fd99f
JM
390922012-05-07 Joseph Myers <joseph@codesourcery.com>
39093
39094 [BZ #13885]
39095 [BZ #13923]
39096 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39097 USE_AS_EXPM1L.
39098 (EXPL_FINITE): Likewise.
39099 (FLDLOG): Likewise.
39100 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39101 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39102 e_expl.S.
39103 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39104 USE_AS_EXPM1L.
39105 (EXPL_FINITE): Likewise.
39106 (FLDLOG): Likewise.
39107 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39108 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39109 e_expl.S.
39110 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39111 test of -max_value argument for long double.
39112 * sysdeps/i386/fpu/libm-test-ulps: Update.
39113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39114
6693d694
DM
391152012-05-06 David S. Miller <davem@davemloft.net>
39116
39117 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39118 quad soft-float symbols whose references which are compiler
39119 generated.
39120 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39121
6c23e11c
JM
391222012-05-06 Joseph Myers <joseph@codesourcery.com>
39123
d8b82cad
JM
39124 [BZ #13884]
39125 [BZ #13914]
39126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39127 USE_AS_EXP10L.
39128 (EXPL_FINITE): Likewise.
39129 (FLDLOG): Likewise.
39130 (c0): Likewise.
39131 (c1): Likewise.
39132 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39133 Adjust comments for base varying.
39134 (__expl_finite): Change alias to EXPL_FINITE.
39135 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39136 e_expl.S.
39137 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39138 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39140 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39141 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39142 USE_AS_EXP10L.
39143 (EXPL_FINITE): Likewise.
39144 (FLDLOG): Likewise.
39145 (c0): Likewise.
39146 (c1): Likewise.
39147 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39148 Adjust comments for base varying.
39149 (__expl_finite): Change alias to EXPL_FINITE.
39150 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39151 tests for bugs.
39152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39153
6c23e11c
JM
39154 [BZ #14064]
39155 * math/libm-test.inc (check_float_internal): Correct ulp
39156 calculation for subnormal expected results.
39157
29ba805c
AJ
391582012-05-06 Andreas Jaeger <aj@suse.de>
39159
39160 * Makeconfig (+math-flags): New, set to -frounding-math.
39161 (+cflags): Add +math-flags so that all of glibc gets compiled with
39162 it.
39163
39164 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39165
7b17aeda
JM
391662012-05-05 Joseph Myers <joseph@codesourcery.com>
39167
5779f134
JM
39168 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39169 Disable one test.
39170
41498f4d
JM
39171 [BZ #13787]
39172 [BZ #13922]
39173 [BZ #14036]
39174 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39175 (__ieee754_expl): Allow for and saturate large arguments.
39176 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39177 (u_threshold): Likewise.
39178 (__exp): Call __ieee754_exp before checking for overflow and
39179 underflow.
39180 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39181 (u_threshold): Likewise.
39182 (__expf): Call __ieee754_expf before checking for overflow and
39183 underflow.
39184 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39185 (u_threshold): Likewise.
39186 (__expl): Call __ieee754_expl before checking for overflow and
39187 underflow.
39188 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39189 (__ieee754_expl): Allow for and saturate large arguments.
39190 * math/libm-test.inc (exp_test): Add another test. Do not allow
39191 missing overflow exception on overflow.
39192 (expm1_test): Do not allow missing overflow exception on overflow.
39193
6698b8bf
JM
39194 * sysdeps/i386/fpu/e_expl.c: Move to ...
39195 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39196 rather than using inline asm.
39197 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39198 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39199 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39200
7b17aeda
JM
39201 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39202 (nice): Likewise.
39203 (poll): Likewise.
39204 (signal): Likewise.
39205 (time): Likewise.
39206 (times): Likewise.
39207
f7c85819
JM
392082012-05-04 Joseph Myers <joseph@codesourcery.com>
39209
39210 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39211 sysdeps/unix/common/syscalls.list.
39212 (fchmod): Likewise.
39213 (fchown): Likewise.
39214 (ftruncate): Likewise.
39215 (getrusage): Likewise.
39216 (gettimeofday): Likewise.
39217 (setpgid): Likewise.
39218 (setregid): Likewise.
39219 (setreuid): Likewise.
39220 (sigaction): Likewise.
39221 (truncate): Likewise.
39222 (vhangup): Likewise.
39223 * sysdeps/unix/common/syscalls.list: Remove file.
39224 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39225 * sysdeps/unix/sysv/linux/Implies: Likewise.
39226
336270d0
L
392272012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39228
39229 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39231 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39232 Moved to ...
39233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39234 Here.
39235 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39236 to ...
39237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39238 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39239 to ...
39240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39241 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39242 to ...
39243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39244 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39245 to ...
39246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39247 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39248 to ...
39249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39250 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39251 to ...
39252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39253 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39254 to ...
39255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39256 Here.
39257 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39258 to ...
39259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39260 Here.
39261 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39262 to ...
39263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39264 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39265 Moved to ...
39266 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39267 Here.
39268 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39269 to ...
39270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39271
d128e450
JM
392722012-05-04 Joseph Myers <joseph@codesourcery.com>
39273
fa8ee516
JM
39274 * sysdeps/unix/common/bits/dirent.h: Remove file.
39275 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39276
d128e450
JM
39277 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39278 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39279 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39280 * sysdeps/unix/bsd/isatty.c: Likewise.
39281 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39282 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39283 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39284
ff8faaf0 392852012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39286
62881be4 39287 [BZ #13563]
31dc8730
AZ
39288 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39289 long double comparison inaccuracies.
39290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39292
6fef930c
AS
392932012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39294
39295 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39296 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39297
8f203e6c
JM
392982012-05-04 Joseph Myers <joseph@codesourcery.com>
39299
39300 [BZ #14049]
39301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39302 nonzero digits before rounding a hex value.
39303 * stdlib/tst-strtod.c (tests): Add another test.
39304
5197d9c2
AK
393052012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39306
39307 * sysdeps/s390/fpu/libm-test-ulps: Update.
39308
f0c1dedf
AJ
393092012-05-03 Andreas Jaeger <aj@suse.de>
39310
39311 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39312 does not get optimized out.
39313 (malloc_opt_barrier): New.
39314
a65ef2ae 393152012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39316 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39317
2b942cb7 39318 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39319 intermediate file deletion.
2b942cb7 39320 (generated): Add .symlist files.
a65ef2ae 39321
54b71e02
JM
393222012-05-03 Joseph Myers <joseph@codesourcery.com>
39323
39324 [BZ #13775]
39325 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39326 Redirect under this condition.
39327 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39328 [__USE_GNU] (__dprintf_chk): Not under this condition.
39329 [__USE_GNU] (__vdprintf_chk): Likewise.
39330 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39331 under this condition.
39332 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39333 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39334 [__USE_XOPEN2K8] (vdprintf): Likewise.
39335 [__USE_GNU] (__dprintf_chk): Not under this condition.
39336 [__USE_GNU] (__vdprintf_chk): Likewise.
39337 [__USE_GNU] (dprintf): Likewise.
39338 [__USE_GNU] (vdprintf): Likewise.
39339
d3dfcc41
RM
393402012-05-03 Roland McGrath <roland@hack.frob.com>
39341
39342 * elf/Makefile (common-generated): Set this instead of generated for
39343 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39344 $(all-built-dso)-derived lists.
39345
7ac30cc5
AJ
393462012-05-03 Andreas Jaeger <aj@suse.de>
39347
0c51e550
AJ
39348 * sysdeps/i386/fpu/libm-test-ulps: Update.
39349
7ac30cc5
AJ
39350 * FAQ: Removed.
39351 * FAQ.in: Likewise.
39352 * scripts/gen-FAQ.pl: Likewise.
39353 * manual/install.texi (Installation): Point to online location of
39354 FAQ.
39355 * Makefile (files-for-dist): Remove FAQ.
39356 (FAQ): Remove.
39357
d4c2917f
AM
393582012-05-02 Allan McRae <allan@archlinux.org>
39359
39360 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39361 (LDFLAGS-reldepmod5.so): Likewise.
39362 (LDFLAGS-reldep6mod1.so): Likewise.
39363 (LDFLAGS-reldep6mod4.so): Likewise.
39364 (LDFLAGS-reldep8mod3.so): Likewise.
39365 (LDFLAGS-unload4mod1.so): Likewise.
39366 (LDFLAGS-unload4mod2.so): Likewise.
39367 (LDFLAGS-tst-initorder): Likewise.
39368 (LDFLAGS-tst-initordera2.so): Likewise.
39369 (LDFLAGS-tst-initordera3.so): Likewise.
39370 (LDFLAGS-tst-initordera4.so): Likewise.
39371 (LDFLAGS-tst-initorderb2.so): Likewise.
39372 (LDFLAGS-noload): Likewise.
39373 (LDFLAGS-next): Likewise.
39374 (LDFLAGS-order2mod1.so): Likewise.
39375 (LDFLAGS-order2mod2.so): Likewise.
39376 (LDFLAGS-tst-initorder2): Likewise.
39377 (LDFLAGS-tst-initorder2a.so): Likewise.
39378 (LDFLAGS-tst-initorder2b.so): Likewise.
39379 (LDFLAGS-tst-initorder2c.so): Likewise.
39380 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39381
d77f993f
DM
393822012-05-02 David S. Miller <davem@davemloft.net>
39383
39384 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39385
171a70b4
PP
393862012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39387
39388 [BZ #14055]
39389 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39390
0be196ad
AJ
393912012-05-02 Andreas Jaeger <aj@suse.de>
39392
39393 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39394 since we manipulate rounding mode.
39395 (CPPFLAGS-test-idouble.c): Likewise.
39396 (CPPFLAGS-test-ifloat.c): Likewise.
39397 (CFLAGS-test-ldouble.c): Likewise.
39398 (CFLAGS-test-double.c): Likewise.
39399 (CFLAGS-test-float.c): Likewise.
39400 (CFLAGS-test-misc.c): Likewise.
39401 (CFLAGS-test-test-fenv.c): Likewise.
39402
4f9d04aa
AZ
394032012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39404
2b942cb7
RM
39405 [BZ #2550]
39406 [BZ #2570]
39407 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39408 comparisons to determine direction to adjust input.
4f9d04aa 39409
82a79e7d
RM
394102012-05-01 Roland McGrath <roland@hack.frob.com>
39411
f5a01ca9
RM
39412 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39413 output to the target.
39414
90fe4186
RM
39415 * scripts/localplt.awk: New file.
39416 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39417 (check-localplt-CFLAGS): Variable removed.
39418 ($(all-built-dso:=.jmprel)): New static pattern rule.
39419 (generated): Add those targets.
39420 (localplt-built-dso): New variable.
39421 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39422
39423 * elf/check-localplt.c: File removed.
39424
82397ed6
RM
39425 * scripts/check-execstack.awk: New file.
39426 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39427 (check-execstack-CFLAGS): Variable removed.
39428 ($(objpfx)check-execstack.h): Target removed.
39429 ($(objpfx)execstack-default): New target.
39430 (generated): Add that instead of check-execstack.h.
39431 ($(all-built-dso:=.phdr)): New static pattern rule.
39432 (generated): Add those targets.
39433 * elf/check-execstack.c: File removed.
39434
82a79e7d
RM
39435 * scripts/check-textrel.awk: New file.
39436 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39437 (check-textrel-CFLAGS): Variable removed.
39438 (all-built-dso): Use := to define.o
39439 ($(all-built-dso:=.dyn)): New static pattern rule.
39440 (generated): Add those targets.
39441 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39442 * config.make.in (READELF): New substituted variable.
39443 * elf/check-textrel.c: File removed.
39444
62fde54f 394452012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39446
615605c9
JM
39447 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39448 allow.
39449 * conform/data/ctype.h-data [C99-based standards] (isblank):
39450 Expect function.
39451 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39452 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39453 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39454 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39455 Specify type. Require positive value.
39456 (EILSEQ): Likewise.
39457 (ERANGE): Likewise.
39458 [ISO || POSIX] (EILSEQ): Do not expect.
39459 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39460 Specify type. Require positive value.
39461 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39462 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39463 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39464 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39465 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39466 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39467 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39468 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39469 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39470 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39471 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39472 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39473 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39474 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39475 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39476 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39477 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39478 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39479 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39480 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39481 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39482 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39483 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39484 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39485 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39486 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39487 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39488 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39489 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39490 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39491 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39492 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39493 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39494 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39495 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39496 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39497 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39498 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39499 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39500 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39501 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39502 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39503 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39504 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39505 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39506 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39507 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39508 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39509 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39510 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39511 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39512 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39513 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39514 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39515 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39516 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39517 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39518 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39519 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39520 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39521 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39522 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39523 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39524 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39525 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39526 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39527 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39528 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39529 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39530 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39531 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39532 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39533 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39534 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39535 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39536 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39537 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39538 Require >= 2.
39539 (FLT_ROUNDS): Expect as macro, not constant.
39540 (FLT_MANT_DIG): Use macro-int-constant.
39541 (DBL_MANT_DIG): Likewise.
39542 (LDBL_MANT_DIG): Likewise.
39543 (FLT_DIG): Likewise.
39544 (DBL_DIG): Likewise.
39545 (LDBL_DIG): Likewise.
39546 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39547 (DBL_MIN_EXP): Likewise.
39548 (LDBL_MIN_EXP): Likewise.
39549 (FLT_MAX_EXP): Use macro-int-constant.
39550 (DBL_MAX_EXP): Likewise.
39551 (LDBL_MAX_EXP): Likewise.
39552 (FLT_MAX_10_EXP): Likewise.
39553 (DBL_MAX_10_EXP): Likewise.
39554 (LDBL_MAX_10_EXP): Likewise.
39555 (FLT_MAX): Use macro-constant.
39556 (DBL_MAX): Likewise.
39557 (LDBL_MAX): Likewise.
39558 (FLT_EPSILON): Use macro-constant. Give upper bound.
39559 (DBL_EPSILON): Likewise.
39560 (LDBL_EPSILON): Likewise.
39561 (FLT_MIN): Likewise.
39562 (DBL_MIN): Likewise.
39563 (LDBL_MIN): Likewise.
39564 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39565 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39566 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39567 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39568 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39569 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39570 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39571 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39572 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39573 [ISO11] (FLT_TRUE_MIN): Likewise.
39574 [ISO11] (LDBL_TRUE_MIN): Likewise.
39575 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39576 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39577 (SCHAR_MIN): Use macro-int-constant. Specify type.
39578 (SCHAR_MAX): Likewise.
39579 (UCHAR_MAX): Likewise.
39580 (CHAR_MIN): Likewise.
39581 (CHAR_MAX): Likewise.
39582 (MB_LEN_MAX): Use macro-int-constant.
39583 (SHRT_MIN): Use macro-int-constant. Specify type.
39584 (SHRT_MAX): Likewise.
39585 (USHRT_MAX): Likewise.
39586 (INT_MAX): Likewise.
39587 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39588 bound negative.
39589 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39590 bound with "U".
39591 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39592 bound with "L".
39593 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39594 bound negative. Suffix upper bound with "L".
39595 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39596 bound with "UL".
39597 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39598 Specify type.
39599 [C99-based standards] (LLONG_MAX): Likewise.
39600 [C99-based standards] (ULLONG_MAX): Likewise.
39601 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39602 == 0.
39603 [ISO11] (max_align_t): Require type.
39604 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39605
c9140a62
JM
39606 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39607 from $CFLAGS, without defining away __attribute__ calls.
39608 (checknamespace): Use $CFLAGS_namespace.
39609
9af0bf29
JM
39610 * conform/conformtest.pl (@keywords): Only include C99 keywords
39611 for standards based on C99 or C11.
39612
343222a2
JM
39613 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39614 Disable tests.
39615 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39616 UNIX98]: Likewise.
39617
661f8cf0
JM
39618 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39619 usability of symbols in #if.
39620
ee74b9cb
JM
39621 * conform/conformtest.pl: If macro or constant types start
39622 "promoted:", expect the symbol to be of the following type
39623 promoted by the integer promotions.
62fde54f 39624
aafc49b3
JM
39625 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39626 in one place. Also handle "macro-constant".
39627
fefdf574
JM
39628 * conform/conformtest.pl: Only accept expected macro values with
39629 "==". Parse all "macro" lines in one place.
39630 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39631
f2d922fe
JM
39632 * conform/conformtest.pl: Handle braced types on "constant" lines
39633 instead of handling "typed-constant".
39634 * conform/data/signal.h-data: Use "constant" instead of
39635 "typed-constant".
39636
d22956c9
JM
39637 * conform/conformtest.pl: Handle "optional-" at start of lines in
39638 one place rather than duplicating several cases. Handle each
39639 format of "macro" line with initial "optional-".
39640
028e2e38
JM
39641 * conform/conformtest.pl: Only accept expected constant or
39642 optional-constant values with "==". Parse all "constant" lines in
39643 one place. Parse all "optional-constant" lines in one place.
39644 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39645 * conform/data/fmtmsg.h-data: Likewise.
39646 * conform/data/netinet/in.h-data: Likewise.
39647 * conform/data/tar.h-data: Likewise.
39648 * conform/data/limits.h-data: Use "==" form on "constant" and
39649 "optional-constant" lines.
39650
1b8f2850
JM
39651 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39652 Use -std=c99 for XOPEN2K.
39653 (@knownproblems): Remove.
39654 (newtoken): Don't check %isknown.
39655
a05a144b
JM
39656 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39657 Do not expect macro.
39658 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39659 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39660 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39661 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39662 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39663 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39664 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39665 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39666 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39667 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39668 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39669 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39670 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39671 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39672 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39673 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39674 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39675 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39676 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39677 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39678 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39679 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39680 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39681 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39682 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39683 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39684 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39685 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39686 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39687 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39688 [XPG3] (acosh): Likewise.
39689 [XPG3] (asinh): Likewise.
39690 [XPG3] (atanh): Likewise.
39691 [XPG3] (cbrt): Likewise.
39692 [XPG3] (expm1): Likewise.
39693 [XPG3] (ilogb): Likewise.
39694 [XPG3] (log1p): Likewise.
39695 [XPG3] (logb): Likewise.
39696 [XPG3] (nextafter): Likewise.
39697 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39698 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39699 [XPG3] (remainder): Likewise.
39700 [XPG3] (rint): Likewise.
39701 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39702 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39703 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39704 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39705 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39706 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39707 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39708 [UNIX98 || XOPEN2K] (scalb): Expect.
39709 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39710 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39711 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39712 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39713 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39714 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39715 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39716 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39717 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39718 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39719 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39720 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39721 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39722 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39723 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39724 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39725 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39726 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39727 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39728 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39729 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39730 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39731 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39732 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39733 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39734 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39735 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39736 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39737 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39738 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39739 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39740 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39741 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39742 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39743 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39744 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39745 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39746 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39747 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39748 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39749 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39750 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39751 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39752 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39753 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39754 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39755 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39756 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39757 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39758 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39759 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39760 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39761 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39762 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39763 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39764 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39765 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39766 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39767 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39768 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39769 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39770 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39771 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39772 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39773 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39774 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39775 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39776 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39777 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39778 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39779 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39780 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39781 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39782 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39783 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39784 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39785 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39786 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39787 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39788 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39789 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39790 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39791 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39792 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39793 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39794 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39795 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39796 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39797 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39798 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39799 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39800 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39801 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39802 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39803 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39804 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39805 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39806 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39807 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39808 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39809 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39810 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39811 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39812 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39813 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39814 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39815 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39816 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39817 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39818 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39819 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39820 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39821 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39822 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39823 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39824 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39825 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39826 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39827 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39828 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39829 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39830 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39831 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39832 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39833 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39834 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39835 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39836 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39837 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39838 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39839 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39840 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39841 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39842 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39843 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39844 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39845 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39846
73c5ebe3
JM
39847 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39848 _XOPEN_SOURCE_EXTENDED for XPG4.
39849
39c33b6c
JM
39850 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39851
62fde54f
JM
39852 * Makeconfig (localtime): Remove variable.
39853 (inst_localtime-file): Likewise.
39854
0741d64c
AS
398552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39856
39857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39858 Update.
39859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39860 Update.
39861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39862 Update.
39863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39864 Update.
39865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39866 Update.
39867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39868 Update.
39869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39870 Update.
39871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39872 Update.
39873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39874 Update.
39875
7cb029ee
JM
398762012-05-01 Joseph Myers <joseph@codesourcery.com>
39877
39878 [BZ #2550]
39879 [BZ #2570]
39880 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39881 comparisons to determine direction to adjust input.
39882 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39883 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39885 Likewise.
39886 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39887 Likewise.
39888 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39889 Likewise.
39890 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39891 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39892 Likewise.
39893 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39894 Likewise.
39895 * math/libm-test.inc (nexttoward_test): Add more tests.
39896
412bd966
AS
398972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39898
39899 [BZ #14040]
39900 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39901 in version GLIBC_2.1, not GLIBC_2.0.
39902 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39903 Likewise.
39904
9568c0c2
JM
399052012-04-30 Joseph Myers <joseph@codesourcery.com>
39906
adfbc8ac
JM
39907 [BZ #13942]
39908 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39909 (1 - x) * (1 + x).
39910 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39911 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39912 * math/libm-test.inc (acos_test): Add more tests.
39913 (asin_test): Likewise.
39914 * sysdeps/i386/fpu/libm-test-ulps: Update.
39915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39916
5ba3cc69
JM
39917 [BZ #14034]
39918 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39919 of square root.
39920 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39921 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39922 * math/libm-test.inc (acos_test_tonearest): New function.
39923 (acos_test_towardzero): Likewise.
39924 (acos_test_downward): Likewise.
39925 (acos_test_upward): Likewise.
39926 (asin_test_tonearest): Likewise.
39927 (asin_test_towardzero): Likewise.
39928 (asin_test_downward): Likewise.
39929 (asin_test_upward): Likewise.
39930 (main): Call the new functions.
39931 * sysdeps/i386/fpu/libm-test-ulps: Update.
39932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39933
9568c0c2
JM
39934 [BZ #13884]
39935 [BZ #13924]
39936 * math/e_exp10.c: Include <float.h>.
39937 (__ieee754_exp10): Handle underflow here rather than multiplying
39938 large negative argument by M_LN10.
39939 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39940 of __ieee754_expf.
39941 * math/e_exp10l.c: Include <float.h>.
39942 (__ieee754_exp10l): Handle underflow here rather than multiplying
39943 large negative argument by M_LN10l.
39944 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39945 spurious overflow exception on underflow.
39946
5ac3ea17
MP
399472012-04-29 Marek Polacek <polacek@redhat.com>
39948
39949 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39950 (__fortify_function): New macro.
39951 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39952 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39953 __extern_always_inline.
39954 * libio/bits/stdio2.h: Likewise.
39955 * libio/bits/stdio.h: Likewise.
39956 * string/string.h: Likewise.
39957 * string/bits/string3.h: Likewise.
39958 * include/stdio.h: Likewise.
39959 * stdlib/bits/stdlib.h: Likewise.
39960 * stdlib/stdlib.h: Likewise.
39961 * rt/bits/mqueue2.h: Likewise.
39962 * rt/mqueue.h: Likewise.
39963 * posix/bits/unistd.h: Likewise.
39964 * posix/unistd.h: Likewise.
39965 * io/bits/poll2.h: Likewise.
39966 * io/bits/fcntl2.h: Likewise.
39967 * io/fcntl.h: Likewise.
39968 * io/sys/poll.h: Likewise.
39969 * misc/bits/syslog.h: Likewise.
39970 * misc/bits/syslog-ldbl.h: Likewise.
39971 * misc/sys/syslog.h: Likewise.
39972 * socket/bits/socket2.h: Likewise.
39973 * socket/sys/socket.h: Likewise.
39974 * debug/tst-chk1.c: Likewise.
39975 * wcsmbs/bits/wchar2.h: Likewise.
39976 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39977 * wcsmbs/wchar.h: Likewise.
39978
ecf0ebfb
AJ
399792012-04-29 Andreas Jaeger <aj@suse.de>
39980
39981 * Makerules (tests): Remove enable-check-abi protection.
39982 (check-abi-warn): Remove.
39983 (check-abi-%): Remove check-abi-warn usage.
39984
39985 * configure.in: Remove check-abi configure option.
39986 * configure: Regenerated.
39987 * config.make.in (enable-check-abi): Remove.
39988
6d5c57fa
AS
399892012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39990
24c5d07e 39991 [BZ #14033]
ded5180a
AS
39992 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39993 double functions to double *_finite functions.
39994
7e0d315d
AS
39995 [BZ #13941]
39996 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39997 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39998 LDBL_MIN_EXP.
39999 * stdio-common/Makefile (tests): Add tst-sprintf3.
40000 * stdio-common/tst-sprintf3.c: New file.
40001
6d5c57fa
AS
40002 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40003 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40004
0749ff8b
JM
400052012-04-28 Joseph Myers <joseph@codesourcery.com>
40006
40007 * conform/conformtest.pl: Remove duplicate typed-constant
40008 handling.
40009
8dbd5d7b
DM
400102012-04-28 David S. Miller <davem@davemloft.net>
40011
40012 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40013 (check-abi-%): Remove AWK script prerequisite and explicit
40014 abilist directory.
40015 (check-abi): Rewrite to just diff the symlist with the abilist.
40016 (config-tls, config-abi-config): Delete, no longer used.
40017 (update-abi-%): Remove AWK script and explicit abilist directory.
40018 (update-abi): Rewrite to simply compare and conditionally copy the
40019 symlist and the sysdep abilist file. Remove update-abi-config
40020 checks.
40021 * abilist/ld.abilist: Remove.
40022 * abilist/libBrokenLocale.abilist: Remove.
40023 * abilist/libanl.abilist: Remove.
40024 * abilist/libcrypt.abilist: Remove.
40025 * abilist/libdl.abilist: Remove.
40026 * abilist/librt.abilist: Remove.
40027 * abilist/libthread_db.abilist: Remove.
40028 * abilist/libutil.abilist: Remove.
40029 * scripts/extract-abilist.awk: Remove.
40030 * scripts/merge-abilist.awk: Remove.
40031 * sysdeps/generic/libcidn.abilist: New file.
40032 * sysdeps/generic/libnss_compat.abilist: New file.
40033 * sysdeps/generic/libnss_db.abilist: New file.
40034 * sysdeps/generic/libnss_dns.abilist: New file.
40035 * sysdeps/generic/libnss_files.abilist: New file.
40036 * sysdeps/generic/libnss_hesiod.abilist: New file.
40037 * sysdeps/generic/libnss_nis.abilist: New file.
40038 * sysdeps/generic/libnss_nisplus.abilist: New file.
40039 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40040 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40041 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40042 file.
40043 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40044 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40045 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40046 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40047 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40048 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40049 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40050 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40051 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40052 file.
40053 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40054 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40055 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40056 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40057 file.
40058 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40059 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40060 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40061 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40062 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40063 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40064 file.
40065 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40066 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40067 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40068 file.
40069 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40071 New file.
40072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40073 New file.
40074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40075 New file.
40076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40077 New file.
40078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40079 New file.
40080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40081 New file.
40082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40083 New file.
40084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40085 New file.
40086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40087 New file.
40088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40089 New file.
40090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40091 New file.
40092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40093 New file.
40094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40095 New file.
40096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40097 file.
40098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40099 New file.
40100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40101 New file.
40102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40103 file.
40104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40105 New file.
40106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40107 New file.
40108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40109 file.
40110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40111 New file.
40112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40113 New file.
40114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40115 New file.
40116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40117 New file.
40118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40119 New file.
40120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40121 New file.
40122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40124 file.
40125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40126 New file.
40127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40128 file.
40129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40130 file.
40131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40132 file.
40133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40134 file.
40135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40136 file.
40137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40138 New file.
40139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40140 file.
40141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40142 file.
40143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40144 New file.
40145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40146 file.
40147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40149 file.
40150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40151 New file.
40152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40153 file.
40154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40155 file.
40156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40157 file.
40158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40159 file.
40160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40161 file.
40162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40163 New file.
40164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40165 file.
40166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40167 file.
40168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40169 New file.
40170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40171 file.
40172 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40173 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40174 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40175 file.
40176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40177 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40178 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40179 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40180 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40181 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40182 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40183 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40184 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40185 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40188 file.
40189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40190 New file.
40191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40192 file.
40193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40194 file.
40195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40196 file.
40197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40198 file.
40199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40200 file.
40201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40202 New file.
40203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40204 New file.
40205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40206 file.
40207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40208 New file.
40209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40210 file.
40211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40213 file.
40214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40215 New file.
40216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40217 file.
40218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40219 file.
40220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40221 file.
40222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40223 file.
40224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40225 file.
40226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40227 New file.
40228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40229 New file.
40230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40231 file.
40232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40233 New file.
40234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40235 file.
40236
41d73a1b
JM
402372012-04-28 Joseph Myers <joseph@codesourcery.com>
40238
40239 * conform/conformtest.pl: Fix typo in handling typed-constant from
40240 allow-header.
40241
28aeeda4
JM
402422012-04-27 Joseph Myers <joseph@codesourcery.com>
40243
adae8f5e
JM
40244 * README: Cut down references to pre-2.6 Linux kernels and
40245 Linuxthreads. Update lists of configurations in libc and ports
40246 and sort alphabetically. Say "or newer" with Linux kernel version
40247 requirements.
40248
28aeeda4
JM
40249 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40250
a462cb63
RA
402512012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40252
40253 [BZ #887]
40254 * math/libm-test.inc (logb_test_downward): New test to expose
40255 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40256 rounding mode.
40257
6ad3493e
JM
402582012-04-27 Joseph Myers <joseph@codesourcery.com>
40259
40260 [BZ #14027]
40261 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40262 to be done.
40263 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40264 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40265
2ce4f015
JM
402662012-04-26 Joseph Myers <joseph@codesourcery.com>
40267
5aeb141a
JM
40268 * sysdeps/unix/i386/brk.S: Remove file.
40269 * sysdeps/unix/i386/dl-brk.S: Likewise.
40270 * sysdeps/unix/i386/pipe.S: Likewise.
40271 * sysdeps/unix/i386/sigreturn.S: Likewise.
40272 * sysdeps/unix/i386/syscall.S: Likewise.
40273 * sysdeps/unix/i386/vfork.S: Likewise.
40274 * sysdeps/unix/i386/wait.S: Likewise.
40275
7143acae
JM
40276 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40277 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40278
2ce4f015
JM
40279 * configure.in (arm*-none*): Do not allow without
40280 --enable-hacker-mode.
40281 (netbsd*): Remove case setting base_os.
40282 (386bsd*): Likewise.
40283 (freebsd*): Likewise.
40284 (bsdi*): Likewise.
40285 (osf*): Likewise.
40286 (sunos*): Likewise.
40287 (ultrix*): Likewise.
40288 (newsos*): Likewise.
40289 (dynix*): Likewise.
40290 (*bsd*): Likewise.
40291 (sysv*): Likewise.
40292 (isc*): Likewise.
40293 (esix*): Likewise.
40294 (sco*): Likewise.
40295 (minix*): Likewise.
40296 (irix4*): Likewise.
40297 (irix6*): Likewise.
40298 (solaris[2-9]*): Likewise.
40299 (none): Likewise.
40300 * configure: Regenerated.
40301
0ac229c8
AZ
403022012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40303
40304 [BZ #11521]
40305 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40306 overflow or cancellation in calculating denominator.
40307 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40308 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40309 down expression to avoid unexpected rounding in newer GCCs.
40310 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40311
33f244f4
DM
403122012-04-26 David S. Miller <davem@davemloft.net>
40313
40314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40315 long-double compat symbols.
40316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40329
cfa1f3e8
DM
403302012-04-25 David S. Miller <davem@davemloft.net>
40331
40332 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40333 HWCAP_* values only after the memory barriers have been defined.
40334 (atomic_full_barrier): Define.
40335 (atomic_read_barrier): Define.
40336 (atomic_write_barrier): Define.
40337
6e236b92
SP
403382012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40339
40340 * shlib-versions: Add libgcc_s version information.
40341 * sysdeps/generic/libgcc_s.h: Remove.
40342 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40343 libgcc_s.h.
40344 * sysdeps/gnu/unwind-resume.c: Likewise.
40345 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40346
aab39a09
DM
403472012-04-25 David S. Miller <davem@davemloft.net>
40348
40349 * sysdeps/unix/sparc/brk.S: Delete.
40350 * sysdeps/unix/sparc/dl-brk.S: Delete.
40351 * sysdeps/unix/sparc/pipe.S: Delete.
40352 * sysdeps/unix/sparc/sysdep.S: Delete.
40353 * sysdeps/unix/sparc/sysdep.h: Delete.
40354 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40355 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40356 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40357 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40358 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40359 (JUMPTARGET): Remove.
40360 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40361 sysdeps/unix/sparc/sysdep.h
40362 (ENTRY, END): Remove.
40363 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40364
a3cc4f48
JM
403652012-04-25 Joseph Myers <joseph@codesourcery.com>
40366
2ed8cda2
JM
40367 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40368 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40369 -DIS_IN_build.
40370
35d76d59
JM
40371 * timezone/README: Update upstream location and email address for
40372 tzcode and tzdata.
40373 * timezone/zdump.c: Update from tzcode 2012b.
40374 * timezone/zic.c: Likewise.
40375
a3cc4f48
JM
40376 * configure.in (libc_cv_as_needed): Remove test.
40377 * configure: Regenerated.
40378 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40379 conditional definition.
40380 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40381 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40382 * config.make.in (have-as-needed): Remove variable.
40383
ceab42c3
SP
403842012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40385 Paul Pluzhnikov <ppluzhnikov@google.com>
40386
40387 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40388 strings correctly.
40389
3ce2865f
CLT
403902012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40391
40392 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40393 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40394 * sysdeps/sh/strlen.S: Likewise.
40395
f37e0d68
JM
403962012-04-24 Joseph Myers <joseph@codesourcery.com>
40397
ae186e9a
JM
40398 * sysdeps/unix/fork.S: Remove file.
40399 * sysdeps/unix/i386/fork.S: Likewise.
40400 * sysdeps/unix/sparc/fork.S: Likewise.
40401
b96914af
JM
40402 * sysdeps/unix/system.c: Remove file.
40403 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40404
f37e0d68
JM
40405 * sysdeps/unix/getegid.S: Remove file.
40406 * sysdeps/unix/geteuid.S: Likewise.
40407
87ef29ca
RM
404082012-04-24 Roland McGrath <roland@hack.frob.com>
40409
83bcd236
RM
40410 * scripts/check-localplt.awk: New file.
40411 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40412 of diff.
40413 * scripts/data/localplt-generic.data: Add a comment.
40414
87ef29ca
RM
40415 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40416 NODE when __dir_mkfile failed.
40417 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40418 Reported by Ludovic Courtès <ludo@gnu.org>.
40419
e5a6e567
AJ
404202012-04-24 Andreas Jaeger <aj@suse.de>
40421
40422 * Makerules (common-clean): Also remove gen-as-const-headers
40423 files.
40424
c1820385
JM
404252012-04-24 Joseph Myers <joseph@codesourcery.com>
40426
40427 * Makerules (native-compile): Do not change working directory for
40428 build. Use $(OUTPUT_OPTION) in command.
40429 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40430
94e02fc4
AZ
404312012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40432
40433 [BZ #13886]
40434 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40435 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40436 * math/libm-test.inc (floor_test): Add more tests.
40437 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40438
3a533ca3
JM
404392012-04-24 Joseph Myers <joseph@codesourcery.com>
40440
940ab4b3
JM
40441 * sysdeps/unix/getdents.c: Remove file.
40442 * sysdeps/unix/sysv/getdents.c: Likewise.
40443 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40444
90e037bd
JM
40445 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40446 sysdeps/unix/mman/syscalls.list.
40447 (mmap): Likewise.
40448 (mprotect): Likewise.
40449 (msync): Likewise.
40450 (munmap): Likewise.
40451 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40452 * sysdeps/unix/mman/syscalls.list: Remove.
40453 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40454
3a533ca3
JM
40455 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40456 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40457 * configure: Regenerated.
40458 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40459 $(libgcc_s_suffix).
40460 * config.make.in (libgcc_s_suffix): Remove variable.
40461
1ad743de
JM
404622012-04-23 Joseph Myers <joseph@codesourcery.com>
40463
4ad451e2
JM
40464 * sysdeps/unix/sysv/gethostname.c: Move to ...
40465 * sysdeps/posix/gethostname.c: ... here.
40466
5e37ce39
JM
40467 * sysdeps/unix/execve.S: Remove file.
40468
1ad743de
JM
40469 * sysdeps/unix/_exit.S: Remove file.
40470
4e681b5b
AJ
404712012-04-23 Andreas Jaeger <aj@suse.de>
40472
40473 [BZ #13739]
40474 * manual/Makefile: Remove make dist support, there's no
40475 need for a stand-alone documentation tar ball.
40476 (TEXI2DVI): Define always, it's not in Makeconfig.
40477 (dist): Removed.
40478 (tar-it): Removed.
40479 (edition): Removed.
40480 (glibc-doc-$(edition).tar): Removed
40481 (%.Z): Removed.
40482 (%.gz): Removed.
40483 (%.uu): Removed.
40484 (ETAGS): Remove, it's in Makeconfig.
40485 (move-if-change): Remove, it's in Makeconfig.
40486
38686a03 404872012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40488
40489 [BZ #13970]
40490 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40491 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40492 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40493 (strtod_l, strtof_l, strtold_l): Remove __wur.
40494 It is not necessarily an error to ignore strtol's return value.
40495 One can reliably look at the stored endptr to decide whether
40496 the number had valid syntax.
40497
7c0616fa
AJ
404982012-04-21 Andreas Jaeger <aj@suse.de>
40499
803cb6b7 40500 [BZ #13739]
7c0616fa
AJ
40501 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40502
b0fe253f
JM
405032012-04-21 Joseph Myers <joseph@codesourcery.com>
40504
40505 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40506 * sysdeps/unix/sysv/Versions: Remove file.
40507
8280f22d
MT
405082012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40509
40510 [BZ #13927]
40511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40512
75ce411f 405132012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40514
40515 [BZ #7064]
40516 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40517 version from __vm86.
40518
097d59fa
JM
405192012-04-20 Joseph Myers <joseph@codesourcery.com>
40520
a90f3bcb
JM
40521 * sysdeps/unix/common/lxstat.c: Remove file.
40522 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40523
edc7ea78
JM
40524 * sysdeps/unix/sysv/Makefile: Remove file.
40525
cb78c221
JM
40526 * sysdeps/unix/sysv/direct.h: Remove file.
40527
efa6a45f
JM
40528 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40529 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40530 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40531 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40532 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40533 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40534 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40535
9c9f2d0c
JM
40536 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40537
4541c83b
JM
40538 * sysdeps/unix/xmknod.c: Remove file.
40539 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40540
f5d153a0
JM
40541 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40542
aa746595
JM
40543 * sysdeps/unix/sysv/i386/time.S: Remove file.
40544
cce5905e
JM
40545 * sysdeps/unix/fxstat.c: Remove file.
40546 * sysdeps/unix/xstat.c: Likewise.
40547 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40548
37fa3841
JM
40549 * sysdeps/unix/sysv/sigaction.c: Remove file.
40550
ff1962a3
JM
40551 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40552 (sysdep_headers): Remove variable.
40553 [termio.h not in sysdep_headers] (generated): Likewise.
40554 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40555 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40556 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40557 * sysdeps/unix/sysv/tcflow.c: Likewise.
40558 * sysdeps/unix/sysv/tcflush.c: Likewise.
40559 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40560 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40561 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40562 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40563 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40564
e7740d31
JM
40565 * sysdeps/unix/siglist.c: Remove file.
40566
ee06f18b
JM
40567 * sysdeps/unix/getppid.S: Remove file.
40568
097d59fa
JM
40569 * sysdeps/unix/mkdir.c: Remove file.
40570 * sysdeps/unix/rmdir.c: Likewise.
40571
ff3d51ec
AS
405722012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40573
40574 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40575 ERR_MAX value.
40576 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40577 errlist-compat value.
40578
50f81fd7
DM
405792012-04-18 David S. Miller <davem@davemloft.net>
40580
40581 * sysdeps/generic/memcopy.h (reg_char): Delete.
40582 * debug/strcat_chk.c: Use char, not reg_char.
40583 * debug/strcpy_chk.c: Likewise.
40584 * debug/strncat_chk.c: Likewise.
40585 * debug/strncpy_chk.c: Likewise.
40586 * string/memchr.c: Likewise.
40587 * string/memrchr.c: Likewise.
40588 * string/rawmemchr.c: Likewise.
40589 * string/strcat.c: Likewise.
40590 * string/strchr.c: Likewise.
40591 * string/strchrnul.c: Likewise.
40592 * string/strcmp.c: Likewise.
40593 * string/strcpy.c: Likewise.
40594 * string/strncat.c: Likewise.
40595 * string/strncmp.c: Likewise.
40596 * string/strncpy.c: Likewise.
40597
8ff41c46
WS
405982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40599
40600 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40601 __builtin_memcopy is called when src and dest ranges are known to not
40602 overlap.
40603
6b652f46
WS
406042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40605
40606 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40607 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40608 fwd_align_merge macro call.
40609 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40610 bwd_align_merge macro call.
40611 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40612
b282631e
WS
406132012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40614
40615 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40616 bwd_align_merge macros.
40617 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40618 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40619 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40620
95aa737c
DM
406212012-04-18 David S. Miller <davem@davemloft.net>
40622
40623 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40624
7a99a614
AJ
406252012-04-18 Andreas Jaeger <aj@suse.de>
40626
40627 [BZ# 6794]
40628 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40629 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40630 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40631
40632 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40633 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40634 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40635
40636 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40637 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40638 Adjust for changed ldbl-128 files.
40639
40640 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40641 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40642 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40643
e5270c23
DM
406442012-04-17 David S. Miller <davem@davemloft.net>
40645
40646 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40647
fb5e92c9
AS
406482012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40649
40650 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40651 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40652 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40653 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40654 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40655 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40656
76da7265
AZ
406572012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40658
40659 [BZ #6794]
40660 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40661 * math/libm-test.inc: Add ilogb errno and exception tests.
40662 * math/w_ilogb.c: New file: ilogb wrapper.
40663 * math/w_ilogbf.c: New file: ilogbf wrapper.
40664 * math/w_ilogbl.c: New file: ilogbl wrapper.
40665 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40666 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40667 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40668 exception being thrown with 0.0 as argument.
40669 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40670 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40671 exception being thrown with 0.0 as argument.
40672 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40673 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40674 exception being thrown with 0.0 as argument.
40675 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40676 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40677 exception being thrown with 0.0 as argument.
40678 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40679 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40680 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40681 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40682 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40683 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40684 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40685 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40686 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40687
0396e69d
PB
406882012-04-17 Petr Baudis <pasky@ucw.cz>
40689
40690 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40691 with altivec.
40692
750b5926
MP
406932012-04-16 Marek Polacek <polacek@redhat.com>
40694
40695 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40696
751728a1
MP
406972012-04-16 Marek Polacek <polacek@redhat.com>
40698
40699 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40700 operands of fdivp instruction.
40701
34a27407
L
407022012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40703
40704 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40705 * elf/tst-auditmod3b.c: Likewise.
40706 * elf/tst-auditmod4b.c: Likewise.
40707 * elf/tst-auditmod5b.c: Likewise.
40708 * elf/tst-auditmod6b.c: Likewise.
40709 * elf/tst-auditmod6c.c: Likewise.
40710 * elf/tst-auditmod7b.c: Likewise.
40711 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40712 * sysdeps/x86_64/preconfigure.in: Likewise.
40713 * sysdeps/x86_64/preconfigure: Regenerated.
40714
7e73e17d
L
407152012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40716
40717 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40718 __ILP32__.
40719
c7a6ab72
AB
407202012-04-13 Antoine Balestrat <merkil33@gmail.com>
40721
40722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40723 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40724
a9e8e0e0
CL
407252012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40726
40727 [BZ #13973]
40728 * locale/iso-639.def: Fix gl language name. Spotted by
40729 Yaron Shahrabani.
40730
ec98af7d
RM
407312012-04-12 Roland McGrath <roland@hack.frob.com>
40732
40733 [BZ #2074]
40734 * libio/libio.h (__io_write_fn): Update comment.
40735
247c3ede
PB
407362012-04-12 Petr Baudis <pasky@ucw.cz>
40737
40738 [BZ #2074]
40739 * stdio.texi (Hook Functions): The user provided writer function
40740 is not allowed to return -1.
40741
55939d6d
DM
407422012-04-11 David S. Miller <davem@davemloft.net>
40743
40744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40745
90020f5a
MF
407462012-04-11 Mike Frysinger <vapier@gentoo.org>
40747
40748 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40749 Add a leading slash to rtkaio.
40750
288f9098
JM
407512012-04-11 Jim Meyering <meyering@redhat.com>
40752
90020f5a
MF
40753 [BZ #11959]
40754 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40755 It is not necessarily an error to ignore fwrite's return
40756 value. One can reliably use ferror to test for errors after
40757 the fact.
288f9098 40758
4be2b570
L
407592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40760
40761 * bits/types.h (__snseconds_t): New type.
40762 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40763
40764 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40766 (__SNSECONDS_T_TYPE): Likewise.
40767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40768 (__SNSECONDS_T_TYPE): Likewise.
40769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40770 (__SNSECONDS_T_TYPE): Likewise.
40771
288f9098 407722012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
40773
40774 [BZ #2636]
40775 * manual/time.texi (Processor Time): Return type of times is
40776 elapsed real time since an arbitrary point in the past.
40777 (CPU Time): Move CLK_TCK from here...
40778 (Processor Time): ...to here. Correct description.
40779 * manual/conf.texi (Constants for Sysconf): Correct description of
40780 _SC_CLK_TCK.
40781
d7dd4413
DM
407822012-04-10 David S. Miller <davem@davemloft.net>
40783
40784 [BZ #13967]
40785 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40786 where the is a gap between DT_REL(A) and DT_JMPREL.
40787
b46068fc
L
407882012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40789
40790 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40791 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40792 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40793
73d65cc3
SP
407942012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40795
40796 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40797 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40798 (dl_main): Handle --inhibit-cache.
40799 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40800 _dl_inhibit_cache.
40801 * elf/dl-load.c (_dl_map_object): Use it.
40802 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40803
bcc8d661
JM
408042012-04-09 Joseph Myers <joseph@codesourcery.com>
40805
8f9a2fae
JM
40806 [BZ #13872]
40807 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40808 (__ieee754_powl): Saturate large exponents rather than testing for
40809 overflow of y*log2(x).
40810 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40811 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40812 exceptions.
40813
bcc8d661
JM
40814 [BZ #11521]
40815 * math/s_ctan.c: Include <float.h>.
40816 (__ctan): Avoid internal overflow or cancellation in calculating
40817 denominator.
40818 * math/s_ctanf.c: Likewise.
40819 * math/s_ctanl.c: Likewise.
40820 * math/s_ctanh.c: Likewise.
40821 * math/s_ctanhf.c: Likewise.
40822 * math/s_ctanhl.c: Likewise.
40823 * math/libm-test.inc (ctan_test): Add more tests.
40824 (ctanh_test): Likewise.
40825 * sysdeps/i386/fpu/libm-test-ulps: Update.
40826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40827
823fbbb4
AJ
408282012-04-09 Andreas Jaeger <aj@suse.de>
40829
03879793
AJ
40830 [BZ #6894]
40831 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40832 is an optional BSD extension.
40833
823fbbb4
AJ
40834 [BZ #10254]
40835 * manual/stdio.texi (Opening Streams): Document additional fopen
40836 parameters.
40837
8de131cb
RM
408382012-04-09 Roland McGrath <roland@hack.frob.com>
40839
40840 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40841 %eax without telling the compiler.
40842
c0ed9d7d
CD
408432012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40844
40845 [BZ # 13963]
40846 * manual/install.texi: Use sourceware.org.
40847
c483f6b4
JM
408482012-04-09 Joseph Myers <joseph@codesourcery.com>
40849
d7dd9453
JM
40850 [BZ #13873]
40851 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40852 (__ieee754_pow): Generate overflow and underflow using huge*huge
40853 and tiny*tiny rather than just returning constant infinity or zero
40854 for large exponents.
40855 * math/libm-test.inc (pow_test): Require overflow exceptions for
40856 applicable cases of large exponents.
40857
c483f6b4
JM
40858 [BZ #706]
40859 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40860 (__ieee754_pow): Use iterative multiplication algorithm only for
40861 integer exponents with absolute value below 1024. Check for odd
40862 integer exponents when using algorithm for real exponents.
40863 * math/libm-test.inc (pow_test): Add more tests.
40864 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40865
d2de7579
JM
408662012-04-08 Joseph Myers <joseph@codesourcery.com>
40867
40868 [BZ #13705]
40869 * math/libm-test.inc (exp_test): Do not allow overflow exception
40870 on underflow test.
40871
f77f1232
AJ
408722012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40873
40874 [BZ #13705]
40875 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40876 instead of __kernel_standard_f.
40877
3884932b
MF
408782012-04-08 Mike Frysinger <vapier@gentoo.org>
40879
40880 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40881 * sysdeps/x86_64/memset_chk.S: Likewise.
40882
54472e9c
AJ
408832012-04-08 Andreas Jaeger <aj@suse.de>
40884
6ab0fbfc
AJ
40885 [BZ #10153]
40886 * manual/startup.texi (Environment Access): Describe return value
40887 for putenv and setenv.
40888
61efba8c
AJ
40889 [BZ #6895]
40890 * manual/filesys.texi (Directory Entries): Add description for
40891 DT_LNK.
40892
95c3f29a
AJ
40893 [BZ #6890]
40894 * manual/filesys.texi (Directory Entries): Clarify that it's file
40895 system not operating system in the description of DT_UNKNOWN.
40896
54472e9c
AJ
40897 [BZ #6578]
40898 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40899
624254b1
SC
409002012-04-08 Stephen Compall <s11@member.fsf.org>
40901
40902 [BZ #6649]
40903 * manual/llio.texi (Opening and Closing Files): Add cross
40904 reference to explain mode argument.
40905
1e4920e0
MF
409062012-04-07 Mike Frysinger <vapier@gentoo.org>
40907
40908 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40909 * sysdeps/x86_64/memset_chk.S: Likewise.
40910
5ed848f3
DM
409112012-04-07 David S. Miller <davem@davemloft.net>
40912
40913 * elf/elf.h (R_SPARC_WDISP10): Define.
40914 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40915 R_SPARC_SIZE32.
40916 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40917 R_SPARC_SIZE64 and R_SPARC_H34.
40918
96154cd8
CD
409192012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40920
40921 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40922 conditions and remove no longer applicable assertion.
40923
9904dc47
L
409242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40925
40926 * bits/byteswap.h: Include <features.h>.
40927 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40928 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40929
f8887d0a
L
409302012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40931
40932 * bits/byteswap.h (__bswap_16): Removed.
40933 Include <bits/byteswap-16.h> to get __bswap_16.
40934 * sysdeps/i386/bits/byteswap.h: Likewise.
40935 * sysdeps/s390/bits/byteswap.h: Likewise.
40936 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40937 * bits/byteswap-16.h: New file.
40938 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40939 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40940 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40941 * string/Makefile (headers): Add bits/byteswap-16.h.
40942
62470f60
PP
409432012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40944
40945 [BZ #13895]
40946 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40947 extra indirection.
40948 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40949 * nss/tst-nss-static.c: New.
40950
4dad7bab
RM
409512012-04-06 Robert Millan <rmh@gnu.org>
40952
40953 [BZ #6486]
40954 * manual/llio.texi (File Position Primitive): lseek
40955 refers to WHENCE when it really means OFFSET.
40956
e9142a17
AJ
409572012-04-06 Andreas Jaeger <aj@suse.de>
40958
2c040eff
AJ
40959 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40960 strncmp declarations.
40961
e9142a17
AJ
40962 * abilist/libc.abilist: Add __poll and __ppoll.
40963
ff9f1c5f
DM
409642012-04-05 David S. Miller <davem@davemloft.net>
40965
dcd2ae90
DM
40966 * scripts/check-local-headers.sh: Accept a host triplet in the
40967 path matched by the exclude regexp.
40968
993eb054
DM
40969 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40970 definition.
40971 * sysdeps/powerpc/powerpc32/dl-machine.h
40972 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40973 * sysdeps/s390/s390-32/dl-machine.h
40974 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40975 * sysdeps/sparc/sparc32/dl-machine.h
40976 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40977 * sysdeps/sparc/sparc64/dl-machine.h
40978 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40979
ff9f1c5f
DM
40980 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40981 lazy binding.
48e2e132 40982 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
40983 undefined symbol errors.
40984
48e2e132 40985 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
40986 DT_NEEDED entries.
40987
e80d6f94
MM
409882012-04-05 Michael Matz <matz@suse.de>
40989
40990 [BZ #13592]
40991 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40992
349fa79f
AJ
409932012-04-05 Andreas Jaeger <aj@suse.de>
40994
40995 [BZ #13908]
40996 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40997 comment.
40998
f402708f
KK
409992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41000
41001 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41002 which ROUND is no valid rounding mode.
41003
2ecccfc9
KK
410042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41005
41006 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41007 read again.
41008 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41009
8a53f50f
KK
410102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41011
41012 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41013 an exception using FPU order intentionally.
41014
410152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41016
41017 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41018 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41019 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41020 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41021
d653abb7
SJ
410222012-04-05 Simon Josefsson <simon@josefsson.org>
41023
41024 [BZ #12340]
41025 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41026 EINVAL when BUFLEN is too smal.
41027
c3b1bf7d
TS
410282012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41029
41030 [BZ #13553]
41031 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41032 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41033
b1aa60f3
AJ
410342012-04-03 Andreas Jaeger <aj@suse.de>
41035
c3b1bf7d 41036 [BZ #13938]
67f60a26
AJ
41037 * manual/setjmp.texi (System V contexts): Fix sentence.
41038
b1aa60f3
AJ
41039 [BZ #13926]
41040 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41041 New macro for this case.
41042 [!__GNUC__] (__bswap_64): New inline function for this case.
41043 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41044 * bits/byteswap.h: Likewise.
41045 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41046 ull, guard with __GLIBC_HAVE_LONG_LONG.
41047
41048 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41049 __GLIBC_HAVE_LONG_LONG.
41050
41051 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41052 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41053
39c59c35
TMQMF
410542012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41055
41056 [BZ #13691]
41057 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41058 inptr and inend, rather than using last_ch.
41059
135ffda8
DM
410602012-04-02 David S. Miller <davem@davemloft.net>
41061
41062 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41063 * stdio-common/printf-parse.h (read_int): Change return type to
41064 'int', return -1 on INT_MAX overflow.
41065 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41066 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41067 overflows INT_MAX. Check for overflow of in-format-string precision
41068 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41069 SIZE_MAX not INT_MAX for integer overflow test.
41070 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41071 skip the construct in the format string but do not record anything.
41072 * stdio-common/bug22.c: Adjust to test both width/prevision
41073 INT_MAX overflow as well as total length INT_MAX overflow. Check
41074 explicitly for proper errno values.
41075
228c019e
TS
410762012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41077
302cadd3
TS
41078 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41079 CHAR_MAX.
41080 * string/test-strcmp.c [! WIDE]: Likewise.
41081 * time/tst-mktime2.c: Likewise for INT_MAX.
41082 * string/test-string.h: #include <sys/param.h> for MIN.
41083
228c019e
TS
41084 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41085 * sysdeps/i386/init-first.c (init): Likewise.
41086 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41087 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41088 * sysdeps/sh/init-first.c (init): Likewise.
41089
cfa633f5
UD
410902012-04-01 Ulrich Drepper <drepper@gmail.com>
41091
41092 * po/ru.po: Update from translation team.
d1635ef8 41093 * po/vi.po: Likewise.
cfa633f5 41094
6cd0a5ea
SP
410952012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41096
41097 * resolv/nss_dns/dns-host.c: Merge copyright years.
41098
4b43400f
LD
410992012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41100
41101 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41102 Optimize memcpy with prefetch if
41103 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41104 src, dst pointers have unequal 16 byte alignments.
41105
48c41d04
SP
411062012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41107
41108 [BZ #13928]
41109 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41110 from a CNAME entry and return the minimum ttl for the query.
41111 (gaih_getanswer_slice): Likewise.
41112
b8dc394d
JL
411132012-03-30 Jeff Law <law@redhat.com>
41114
41115 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41116 due to long keys.
41117 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41118 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41119
2f5a5ed0
JL
41120 * resolv/nss_dns/dns-host.c: Update copyright year.
41121
1d39e359
UD
411222012-03-30 Ulrich Drepper <drepper@gmail.com>
41123
c030f70c 41124 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41125 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41126
1d39e359
UD
41127 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41128 comments for sendmmsg.
41129
411302012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41131
41132 [BZ #13691]
41133 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41134 with only 1 character between 0x0041 and 0x01b0.
41135 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41136 * wcsmbs/tst-mbsnrtowcs.c: New file.
41137
20fde227
DM
411382012-03-29 David S. Miller <davem@davemloft.net>
41139
41140 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41141 small copies by hand.
41142
984a4237
JL
411432012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41144
41145 [BZ #13761]
57f41c40
AS
41146 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41147 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41148 group memberships.
984a4237 41149
18c9d62b
DM
411502012-03-28 David S. Miller <davem@davemloft.net>
41151
88d85d4f
DM
41152 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41153 that branches into memcpy.
41154 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41156 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41157 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41158 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41159 bits.
41160 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41161 implementation too.
41162 * sysdeps/sparc/mempcpy.S: New file.
41163
e5aa83e1
DM
41164 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41165 the IFUNC routine in the libc case.
41166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41167
88570753
DM
41168 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41169 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41170 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41171 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41172 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41173 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41174 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41175 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41176
249d7567
DM
41177 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41178 loop to 256 bytes instead of 64 bytes and fix test signedness.
41179
18c9d62b
DM
41180 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41181 * sysdeps/sparc/sparc32/Makefile: rather than here...
41182 * sysdeps/sparc/sparc64/Makefile: and here.
41183
05f3d1f6
UD
411842012-03-28 Ulrich Drepper <drepper@gmail.com>
41185
41186 * malloc/mallocbug.c: Avoid warnings about unused variables.
41187
86ae07a8
JL
411882012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41189
41190 [BZ #13760]
41191 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41192 in the right place. Discard and retry query if response is
41193 larger than input buffer size.
41194
41bf21a1
JM
411952012-03-28 Joseph Myers <joseph@codesourcery.com>
41196
d6270972
JM
41197 [BZ #369]
41198 [BZ #2678]
41199 [BZ #3866]
41200 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41201 x for large integer exponent.
41202 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41203 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41204 sign of result as needed afterwards.
41205 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41206 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41207 result for underflowing pow the same as for overflow.
41208 (__kernel_standard_l): Handle powl overflow and underflow here
41209 rather than calling __kernel_standard.
41210 * math/libm-test.inc (pow_test): Add more tests.
41211
414fca03 41212 [BZ #3868]
41bf21a1
JM
41213 [BZ #13879]
41214 [BZ #13910]
41215 [BZ #13911]
41216 [BZ #13912]
41217 [BZ #13913]
41218 [BZ #13915]
41219 [BZ #13916]
41220 [BZ #13917]
41221 [BZ #13918]
41222 [BZ #13919]
41223 [BZ #13920]
41224 [BZ #13921]
41225 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41226 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41227 (__kernel_standard_l): New function.
41228 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41229 __kernel_standard.
41230 * math/w_acosl.c (__acosl): Likewise.
41231 * math/w_asinl.c (__asinl): Likewise.
41232 * math/w_atan2l.c (__atan2l): Likewise.
41233 * math/w_atanhl.c (__atanhl): Likewise.
41234 * math/w_coshl.c (__coshl): Likewise.
41235 * math/w_exp10l.c (__exp10l): Likewise.
41236 * math/w_exp2l.c (__exp2l): Likewise.
41237 * math/w_fmodl.c (__fmodl): Likewise.
41238 * math/w_hypotl.c (__hypotl): Likewise.
41239 * math/w_j0l.c (__j0l, __y0l): Likewise.
41240 * math/w_j1l.c (__j1l, __y1l): Likewise.
41241 * math/w_jnl.c (__jnl, __ynl): Likewise.
41242 * math/w_lgammal.c (__lgammal): Likewise.
41243 * math/w_log10l.c (__log10l): Likewise.
41244 * math/w_log2l.c (__log2l): Likewise.
41245 * math/w_logl.c (__logl): Likewise.
41246 * math/w_powl.c (__powl): Likewise.
41247 * math/w_remainderl.c (__remainderl): Likewise.
41248 * math/w_scalbl.c (sysv_scalbl): Likewise.
41249 * math/w_sinhl.c (__sinhl): Likewise.
41250 * math/w_sqrtl.c (__sqrtl): Likewise.
41251 * math/w_tgammal.c (__tgammal): Likewise.
41252 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41253 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41254 * math/libm-test.inc (acos_test): Add more tests.
41255 (acosh_test): Likewise.
41256 (asin_test): Likewise.
41257 (atanh_test): Likewise.
41258 (exp_test): Likewise.
41259 (exp10_test): Likewise.
41260 (exp2_test): Likewise.
41261 (expm1_test): Likewise.
41262 (lgamma_test): Likewise.
41263 (log_test): Likewise.
41264 (log10_test): Likewise.
41265 (log1p_test): Likewise.
41266 (log2_test): Likewise.
41267 (pow_test): Do not allow some spurious overflow exceptions.
41268 (sqrt_test): Add more tests.
41269 (tgamma_test): Likewise.
41270 (y0_test): Likewise.
41271 (y1_test): Likewise.
41272 (yn_test): Likewise.
41273
dd62fda6
AB
412742012-03-27 Anton Blanchard <anton@samba.org>
41275
41276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41277 MAP_HUGETLB.
41278 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41280 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41281
1e3cdfda
AJ
412822012-03-27 David S. Miller <davem@davemloft.net>
41283
b855ab85
DM
41284 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41285
1e3cdfda
AJ
41286 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41287 have-as-vis3 check.
41288
412892012-03-27 Andreas Jaeger <aj@suse.de>
41290
41291 * sysdeps/x86_64/elf/configure.in: Moved to ...
41292 * sysdeps/x86_64/configure.in: ... here.
41293 * sysdeps/x86_64/elf/start.S: Moved to ...
41294 * sysdeps/x86_64/start.S: ... here.
41295 * sysdeps/x86_64/elf/configure: Delete.
41296
41297 * sysdeps/x86_64/configure.in: Merge contents from
41298 sysdeps/i386/configure.in (without i686 check).
41299
41300 * sysdeps/i386/elf/Versions: Merge into ...
41301 * sysdeps/i386/Versions: ... this.
41302 * sysdeps/i386/elf/Versions: Delete file.
41303 * sysdeps/i386/elf/start.S: Moved to ...
41304 * sysdeps/i386/start.S: ...here.
41305 * sysdeps/i386/elf/configure.in: Merge into...
41306 * sysdeps/i386/configure.in: ...here.
41307 * sysdeps/i386/elf/configure.in: Delete file.
41308 * sysdeps/i386/elf/configure: Delete file.
41309
41310 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41311 * debug/backtracesyms.c: ... here.
41312 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41313 * debug/backtracesymsfd.c: ... here.
41314 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41315 * sysdeps/generic/ifunc-sel.h: ... here.
41316
41317 * sysdeps/unix/i386/start.c: Delete file.
41318 * sysdeps/unix/sparc/start.c: Delete file.
41319 * sysdeps/unix/start.c: Delete file.
41320
41321 * sysdeps/sh/elf/configure.in: Moved to ...
41322 * sysdeps/sh/configure.in: ... here.
41323 * sysdeps/sh/elf/start.S: Moved to ...
41324 * sysdeps/sh/start.S: ... here.
41325 * sysdeps/sh/elf/configure: Delete file.
41326
41327 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41328 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41329 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41330 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41331 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41332 * sysdeps/powerpc/powerpc64/start.S: here.
41333 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41334 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41335 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41336 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41337 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41338
41339 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41340 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41341 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41342 * sysdeps/powerpc/powerpc32/start.S: ... here.
41343 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41344 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41345 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41346
41347 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41348 * sysdeps/powerpc/ifunc-sel.h: ... here.
41349 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41350 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41351
41352 * sysdeps/sparc/elf/configure.in: Moved to ...
41353 * sysdeps/sparc/configure.in: ... here.
41354 * sysdeps/sparc/elf/configure: Delete file.
41355 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41356 * sysdeps/sparc/sparc32/start.S: ... here.
41357 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41358 * sysdeps/sparc/sparc64/start.S: ... here.
41359 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41360 * sysdeps/sparc/sparc32/Makefile: ... this.
41361 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41362 * sysdeps/sparc/sparc64/Makefile: ... this.
41363
41364 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41365 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41366 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41367 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41368 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41369 * sysdeps/s390/s390-32/setjmp.S: ... here.
41370 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41371 * sysdeps/s390/s390-32/configure.in: ... here.
41372 * sysdeps/s390/s390-32/elf/configure: Delete file.
41373 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41374 * sysdeps/s390/s390-32/start.S: ... here.
41375
41376 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41377 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41378 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41379 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41380 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41381 * sysdeps/s390/s390-64/setjmp.S: ... here.
41382 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41383 * sysdeps/s390/s390-64/configure.in: ... here
41384 * sysdeps/s390/s390-64/elf/configure: Delete file.
41385 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41386 * sysdeps/s390/s390-64/start.S: ... here.
41387 * sysdeps/s390/s390-64/elf/configure: Delete.
41388
41389 * configure.in: Remove support for elf directories in sysdeps.
41390
41391 * configure: Regenerated.
41392 * sysdeps/i386/configure: Regenerated.
41393 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41394 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41395 * sysdeps/s390/s390-32/configure: Regenerated.
41396 * sysdeps/s390/s390-64/configure: Regenerated.
41397 * sysdeps/sh/configure: Regenerated.
41398 * sysdeps/sparc/configure: Regenerated.
41399 * sysdeps/x86_64/configure: Regenerated.
41400
a3f61311
AS
414012012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41402
c876e002
AS
41403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41404
a3f61311
AS
41405 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41406 denormal result into account.
41407
ac4c54f0
RM
414082012-03-25 Roland McGrath <roland@hack.frob.com>
41409
41410 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41411 Reported by Allan McRae <allan@archlinux.org>.
41412
6a9b9c02
JL
414132012-03-23 Jeff Law <law@redhat.com>
41414
41415 * nss/getnssent.c (__nss_getent): Fix typo.
41416
4c42a0c1
DM
414172012-03-23 David S. Miller <davem@davemloft.net>
41418
41419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41420
1532c7ac
L
414212012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41422
41423 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41424 to pad to uint64_t for each field.
41425 (dl_tls_index): Replace unsigned long with uint64_t.
41426
3ff42526
PP
414272012-03-23 Daniel Jacobowitz <dmj@google.com>
41428 Paul Pluzhnikov <ppluzhnikov@google.com>
41429
41430 [BZ #6528]
41431 * grp/Makefile (otherlibs): Don't set it.
41432 * inet/Makefile (otherlibs): Likewise.
41433 * login/Makefile (otherlibs): Likewise.
41434 * nscd/Makefile (otherlibs): Likewise.
41435 * posix/Makefile (otherlibs): Likewise.
41436 * pwd/Makefile (otherlibs): Likewise.
41437 * rt/Makefile (otherlibs): Likewise.
41438 * sunrpc/Makefile (otherlibs): Likewise.
41439 * nss/Makefile (otherlibs): Likewise.
41440 Add libnss_files to routines and static-only-routines.
41441 ($(objpfx)getent): Remove rule.
41442 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41443 static-only-routines.
41444
7c69cd14
JM
414452012-03-22 Joseph Myers <joseph@codesourcery.com>
41446
41447 [BZ #13892]
41448 * math/s_cexp.c: Include <float.h>.
41449 (__cexp): Handle exp result overflowing not necessarily
41450 overflowing both real and imaginary parts of result.
41451 * math/s_cexpf.c: Likewise.
41452 * math/s_cexpl.c: Likewise.
41453 * math/libm-test.inc (cexp_test): Add more tests.
41454 * sysdeps/i386/fpu/libm-test-ulps: Update.
41455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41456
81b035fe
L
414572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41458
41459 * include/link.h (ELFW): New macro.
41460 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41461 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41462
1da7940c
L
414632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41464
41465 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41466 with uint64_t.
41467
b749dbb9
L
414682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41469
41470 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41471 declaration.
41472 (struct La_x32_retval): Likewise.
41473
2ff87f3f
L
414742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41475
41476 * sysdeps/x86_64/preconfigure.in: New file.
41477 * sysdeps/x86_64/preconfigure: New generated file.
41478
c0df8e69
JM
414792012-03-22 Joseph Myers <joseph@codesourcery.com>
41480
48e44791
JM
41481 [BZ #13824]
41482 * math/e_exp2l.c: Include <float.h>.
41483 (__ieee754_exp2l): Handle overflow and underflow cases
41484 separately. Only pass fractional part of argument to
41485 __ieee754_expl.
41486 * math/libm-test.inc (exp2_test): Add more tests.
41487
c0df8e69
JM
41488 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41489 negating x to take absolute value.
41490 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41491 Likewise.
41492 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41493 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41494 Likewise.
41495 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41496 computing low part if x was negated.
41497 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41498
c8e43ba7
L
414992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41500
41501 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41502 la_x32_gnu_pltexit.
41503 (pltexit): Cast int_retval to ptrdiff_t.
41504 * elf/tst-auditmod3b.c: Likewise.
41505 * elf/tst-auditmod4b.c: Likewise.
41506 * elf/tst-auditmod5b.c: Likewise.
41507 * elf/tst-auditmod6b.c: Likewise.
41508 * elf/tst-auditmod6c.c: Likewise.
41509 * elf/tst-auditmod7b.c: Likewise.
41510
41511 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41512 and x32_gnu_pltexit.
41513
41514 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41515 __ELF_NATIVE_CLASS.
41516 (La_x32_regs): New macro.
41517 (La_x32_retval): Likewise.
41518 (la_x32_gnu_pltenter): New function prototype.
41519 (la_x32_gnu_pltexit): Likewise.
41520
7998fa78
AS
415212012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41522
dcb33988
AS
41523 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41524 exponent.
41525
233fc563
AS
41526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41527
7998fa78
AS
41528 * configure.in (libc_cv_cc_nofma): Check for option to disable
41529 generation of FMA instructions.
41530 * configure: Regenerate.
41531 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41532 * sysdeps/ieee754/dbl-64/Makefile: New file.
41533 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41534 Remove brandred-fma4.
41535 (CFLAGS-brandred-fma4.c): Remove.
41536 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41538 define.
41539 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41540 define.
41541
8e95c99a
L
415422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41543
41544 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41545 LLONG_MAX != LONG_MAX.
41546 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41547 (_fitoa_word): Likewise.
41548 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41549 LLONG_MAX != LONG_MAX.
41550 * stdio-common/_itowa.h: Include <_itoa.h>.
41551 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41552 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41553 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41554 only if not defined.
41555 (_ITOA_WORD_TYPE): Likewise.
41556 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41557 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41558
6f4db457
DM
415592012-03-21 David S. Miller <davem@davemloft.net>
41560
41561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41562
7785fe5a
L
415632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41564
41565 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41566 of x86_64 when setting libc_cv_slibdir, libdir and
41567 libc_cv_localedir.
41568 * sysdeps/unix/sysv/linux/configure: Regenerated.
41569
4535cd55
JM
415702012-03-21 Joseph Myers <joseph@codesourcery.com>
41571
41572 * manual/lang.texi (Old Varargs): Remove section.
41573 (How Variadic): Update menu.
41574 (va_start): Do not mention varargs.h.
41575
17228132
TS
415762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41577 Joseph Myers <joseph@codesourcery.com>
41578
41579 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41580 link test.
41581 * configure: Regenerated.
41582
8149f976
TS
415832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41584
05f3d1f6
UD
41585 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41586 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41587 conformtest.pl
8149f976 41588
1a4ac776
JM
415892012-03-21 Joseph Myers <joseph@codesourcery.com>
41590
be22ce65
JM
41591 * NOTES: Remove.
41592 * Makefile (files-for-dist): Remove NOTES.
41593 (NOTES): Remove rule.
41594 * README: Don't refer to NOTES.
41595 * manual/creature.texi: Don't include macros.texi.
41596 * manual/intro.texi (creature.texi): Remove comment referring to
41597 NOTES.
41598
40b601fb
JM
41599 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41600 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41601 * configure: Regenerated.
41602 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41603 LIBC_TRY_CC_OPTION.
41604 (libc_cv_as_i686): Likewise.
41605 (libc_cv_cc_avx): Likewise.
41606 (libc_cv_cc_sse2avx): Likewise.
41607 (libc_cv_cc_fma4): Likewise.
41608 (libc_cv_cc_novzeroupper): Likewise.
41609 * sysdeps/i386/configure: Regenerated.
41610
1a4ac776
JM
41611 [BZ #13883]
41612 * sysdeps/i386/fpu/s_cexp.S: Remove.
41613 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41614 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41615 * math/libm-test.inc (cexp_test): Add more tests.
41616 * sysdeps/i386/fpu/libm-test-ulps: Update.
41617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41618
a458e7fe
AM
416192012-03-21 Allan McRae <allan@archlinux.org>
41620
41621 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41622
0cb7efc5
JM
416232012-03-21 Joseph Myers <joseph@codesourcery.com>
41624
41625 [BZ #13871]
41626 * math/w_exp2.c: Do not include <float.h>.
41627 (o_threshold, u_threshold): Remove.
41628 (__exp2): Calculate result before checking finiteness and calling
41629 __kernel_standard.
41630 * math/w_exp2f.c: Likewise.
41631 * math/w_exp2l.c: Likewise.
41632 * math/libm-test.inc (exp2_test): Require overflow exception for
41633 1e6 input.
2460d3aa
JM
41634
41635 [BZ #3866]
41636 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41637 range of signed 64-bit integers before using fistpll. Remove
41638 checks for whether integers fit in mantissa bits.
41639 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41640 the range of signed 32-bit integers before using fistpl. Remove
41641 checks for whether integers fit in mantissa bits.
41642 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41643 (__ieee754_powl): Test for y outside the range of signed 64-bit
41644 integers before using fistpll. Reduce 64-bit values to 63-bit
41645 ones as needed.
41646 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41647 divide-by-zero is raised for zero to large negative powers.
41648 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41649 (__ieee754_powl): Test for y outside the range of signed 64-bit
41650 integers before using fistpll. Reduce 64-bit values to 63-bit
41651 ones as needed.
41652 * math/libm-test.inc (pow_test): Add more tests.
41653
eb96ffb0
L
416542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41655
41656 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41657 <stdio-common/_itoa.h>.
41658 * debug/segfault.c: Likewise.
41659 * elf/dl-cache.c: Likewise.
41660 * elf/dl-minimal.c: Likewise.
41661 * elf/dl-misc.c: Likewise.
41662 * elf/dl-sysdep.c: Likewise.
41663 * elf/dl-version.c: Likewise.
41664 * elf/rtld.c: Likewise.
41665 * hurd/hurdsock.c: Likewise.
41666 * hurd/lookup-retry.c: Likewise.
41667 * malloc/malloc.c: Likewise.
41668 * malloc/mtrace.c: Likewise.
41669 * nscd/nscd_getgr_r.c: Likewise.
41670 * nscd/nscd_getpw_r.c: Likewise.
41671 * nscd/nscd_getserv_r.c: Likewise.
41672 * posix/getopt_init.c: Likewise.
41673 * posix/wordexp.c: Likewise.
41674 * stdio-common/_itoa.c: Likewise.
41675 * stdio-common/printf_fphex.c: Likewise.
41676 * stdio-common/vfprintf.c: Likewise.
41677 * string/_strerror.c: Likewise.
41678 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41679 * sysdeps/i386/i686/hp-timing.h: Likewise.
41680 * sysdeps/mach/_strerror.c: Likewise.
41681 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41682 * sysdeps/mach/hurd/sethostid.c: Likewise.
41683 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41684 * sysdeps/mach/xpg-strerror.c: Likewise.
41685 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41686 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41687 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41688 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41689 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41690 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41691 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41692 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41693 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41694 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41695 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41696 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41697 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41698 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41700 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41701 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41702 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41703 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41704 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41705 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41706
41707 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41708
41709 * stdio-common/_itoa.h: Moved to ...
41710 * sysdeps/generic/_itoa.h: Here.
41711
41712 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41713
41714 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41715 instead of "_itoa.h" and "_itowa.h".
41716 * stdio-common/vfprintf.: Likewise.
41717
d1af992d
L
417182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41719
41720 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41721 <bits/wordsize.h>.
41722 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41723 (__signbit): Likwise.
41724 (llrintf): Likwise.
41725 (llrint): Likwise.
41726
114883e0
L
417272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41728
41729 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41730 __WORDSIZE != 64.
41731
c135cc1b
JM
417322012-03-20 Joseph Myers <joseph@codesourcery.com>
41733
41734 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41735 OVERFLOW_EXCEPTION_OK.
41736 * math/libm-test.inc ("Philosophy"): Update comment about
41737 exception testing.
41738 (OVERFLOW_EXCEPTION): Define.
41739 (OVERFLOW_EXCEPTION_OK): Likewise.
41740 (INVALID_EXCEPTION_OK): Renumber.
41741 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41742 (IGNORE_ZERO_INF_SIGN): Likewise.
41743 (test_exceptions): Handle FE_OVERFLOW.
41744 (exp10_test): Expect overflow exceptions.
41745 (exp2_test): Likewise.
41746 (expm1_test): Likewise.
41747 (nextafter_test): Likewise.
41748 (pow_test): Likewise.
41749 (scalbn_test): Likewise.
41750 (scalbln_test): Likewise.
41751
95443d88
L
417522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41753
41754 * sysdeps/x86_64/bits/atomic.h
41755 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41756 64bit integer.
41757 (atomic_exchange_acq): Likewise.
41758 (__arch_exchange_and_add_body): Likewise.
41759 (__arch_add_body): Likewise.
41760 (atomic_add_negative): Likewise.
41761 (atomic_add_zero): Likewise.
41762
490df6c4
L
417632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41764
c2722551 41765 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
41766 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41767
5e52b189
L
417682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41769
41770 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41771 Check __x86_64__ instead of __WORDSIZE.
41772
a9879d4c
L
417732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41774
41775 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41776
5df98260
DM
417772012-03-19 David S. Miller <davem@davemloft.net>
41778
e1497744
DM
41779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41780
5df98260
DM
41781 * sysdeps/sparc/fpu/fenv_private.h: New file.
41782 * sysdeps/sparc/fpu/math_private.h: Use it.
41783 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41784 Remove.
57f41c40 41785 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
41786 (libc_feholdexcept_setroundl): Remove.
41787 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41788 Remove.
41789 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41790 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41791
b4c35121
L
417922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41793
41794 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41795 int64_t instead of long int.
41796 (INSERT_WORDS64): Likwise.
41797
56965fd7
L
417982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41799
41800 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41801 _Unwind_GetCFA return to _Unwind_Ptr first.
41802
83d1aec8
JM
418032012-03-19 Joseph Myers <joseph@codesourcery.com>
41804
1897ad44
JM
41805 [BZ #13629]
41806 * math/s_clog.c: Include <float.h>.
41807 (__clog): Scale large or subnormal inputs.
41808 * math/s_clogf.c: Likewise.
41809 * math/s_clogl.c: Likewise.
41810 * math/s_clog10.c: Include <float.h>.
41811 (M_LOG10_2): Define.
41812 (__clog10): Scale large or subnormal inputs.
41813 * math/s_clog10f.c: Likewise.
41814 * math/s_clog10l.c: Likewise.
41815 * math/libm-test.inc (clog_test): Add more tests.
41816 (clog10_test): Likewise.
41817 * sysdeps/i386/fpu/libm-test-ulps: Update.
41818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41819
7726d6a9
JM
41820 [BZ #11451]
41821 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41822 x and y.
41823 * math/libm-test.inc (atan2_test): Add another test.
41824
83d1aec8
JM
41825 * Makerules (common-objdir-compile): Remove.
41826 * sysdeps/unix/Makefile (config-generated): Do not add
41827 $(unix-generated) to variable.
41828 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41829 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41830 Remove rule.
41831 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41832 Likewise.
41833 [generic bits/local_lim.h] (before-compile): Do not append to
41834 variable.
41835 [generic bits/local_lim.h] (common-generated): Likewise.
41836 [generic sys/param.h] (before-compile): Do not append to variable.
41837 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41838 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41839 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41840 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41841 include.
41842 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41843 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41844 [generic sys/param.h] ($(addprefix
41845 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41846 [generic sys/param.h] (common-generated): Do not append to
41847 variable.
41848 [generic sys/param.h] (sysdep_headers): Likewise.
41849 [generic bits/errno.h] (before-compile): Do not append to
41850 variable.
41851 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41852 rule.
41853 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41854 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41855 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41856 [generic bits/errno.h] (common-generated): Do not append to
41857 variable.
41858 [generic bits/ioctls.h] (before-compile): Do not append to
41859 variable.
41860 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41861 rule.
41862 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41863 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41864 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41865 rule.
41866 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41867 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41868 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41869 [generic bits/ioctls.h] (common-generated): Do not append to
41870 variable.
41871 [generic sys/syscall.h] (syscall.h): Remove variable.
41872 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41873 rule.
41874 [generic sys/syscall.h] (before-compile): Do not append to
41875 variable.
41876 [generic sys/syscall.h] (common-generated): Likewise.
41877 * sysdeps/unix/errnos-tmpl.c: Remove file.
41878 * sysdeps/unix/errnos.awk: Likewise.
41879 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41880 * sysdeps/unix/ioctls.awk: Likewise.
41881 * sysdeps/unix/mk-local_lim.c: Likewise.
41882 * sysdeps/unix/snarf-ioctls: Likewise.
41883
4851a949
RH
418842012-03-19 Richard Henderson <rth@twiddle.net>
41885
bd37f2ee
RH
41886 * sysdeps/i386/fpu/fenv_private.h: New file.
41887 * sysdeps/i386/fpu/math_private.h: Use it.
41888 (math_opt_barrier, math_force_eval): Remove.
41889 (libc_feholdexcept_setround_53bit): Remove.
41890 (libc_feupdateenv_53bit): Remove.
41891 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41892 (math_opt_barrier, math_force_eval): Remove.
41893 (libc_feholdexcept): Remove.
41894 (libc_feholdexcept_setround): Remove.
41895 (libc_fetestexcept, libc_fesetenv): Remove.
41896 (libc_feupdateenv_test): Remove.
41897 (libc_feupdateenv, libc_feholdsetround): Remove.
41898 (libc_feresetround): Remove.
41899
d0adc922
RH
41900 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41901 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41902
0fe0f1f8
RH
41903 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41904 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41905 (libc_feupdateenv_testl): New.
41906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41907 (libc_feupdateenv_testf): New.
41908 (libc_feupdateenv): Use libc_feupdateenv_test.
41909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41911
eb92c487
RH
41912 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41913 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41914 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41915 (libc_feresetround_noex): New.
41916 (libc_feresetround_noexf): New.
41917 (libc_feresetround_noexl): New.
41918 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41919 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41920 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41921 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41922 SET_RESTORE_ROUND.
41923 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41924 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41925 (__cos): Likewise.
41926 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41928 SET_RESTORE_ROUND_NOEX.
41929 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41930 SET_RESTORE_ROUND_NOEXF.
41931 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41932 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41933 (libc_feholdsetroundf): New.
41934 (libc_feresetround, libc_feresetroundf): New.
41935
7d2e8012
RH
41936 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41937 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41938 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41939
b4dabbb4
RH
41940 * sysdeps/generic/math_private.h: Include <fenv.h>.
41941 (default_libc_feholdexcept): New.
41942 (default_libc_feholdexcept_setround): New.
41943 (default_libc_fesetenv, default_libc_feupdateenv): New.
41944 (libc_feholdexcept): Only define if undefined.
41945 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41946 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41947 (libc_feholdexcept_setroundl): Likewise.
41948 (libc_feholdexcept_setround_53bit): Likewise.
41949 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41950 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41951 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41952 (libc_feupdateenv_53bit): Likewise.
41953 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41954 (libc_feholdexcept): Convert from macro to inline function.
41955 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41956 (libc_fesetenv, libc_feupdateenv): Likewise.
41957
4851a949
RH
41958 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41959 not previously defined.
41960 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41961 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41962 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41963 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41964 * sysdeps/ieee754/flt-32/math_private.h: New file.
41965 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41966 math_private.h below SET_FLOAT_WORD.
41967 (__isnan, __isinf_ns, __finite): Remove.
41968 (__isnanf, __isinf_nsf, __finitef): Remove.
41969
e79d442e
AS
419702012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41971
41972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41973
90b80344
DM
419742012-03-17 David S. Miller <davem@davemloft.net>
41975
41976 [BZ #6471]
41977 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41978 for 2.16.
41979
edc21804
DM
419802012-03-16 David S. Miller <davem@davemloft.net>
41981
77e927af
DM
41982 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41983 warnings.
41984
374976dd
DM
41985 [BZ #6471]
41986 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41987 properly.
41988 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41989 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41990 sysdep_routines when subdir is sysvipc.
41991 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41992 __getshmlba helper.
41993
edc21804
DM
41994 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41995
473c3ef3
L
419962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41997
41998 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41999 [__LP64__].
42000
eb0f39b6
L
420012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42002
42003 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42004 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42005 (__lround): Renamed to ...
42006 (__llround): This. Replace long int with long long int.
42007 Define lround functions as aliases of llround functions.
42008 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42009
6b6cd74b
L
420102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42011
42012 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42013 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42014 adresses to uintptr_t. Replace "long int" and "unsigned long
42015 int" with "greg_t" on va_arg.
42016
f1a77b01
L
420172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42018
42019 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42020 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42021
42022 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42023 Move e_machine check before EI_CLASS check. Handle x32
42024 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42025 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42026 SKIP_EM_IA_64 and include
42027 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42028
42029 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42030 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42031 (add_system_dir): New macro.
42032
42033 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42034 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42035
11b90b9f
JM
420362012-03-16 Joseph Myers <joseph@codesourcery.com>
42037
c36e1d23
JM
42038 [BZ #2551]
42039 [BZ #2552]
42040 [BZ #2553]
42041 [BZ #2554]
42042 [BZ #2562]
42043 [BZ #2563]
42044 [BZ #2565]
42045 [BZ #2566]
42046 [BZ #2576]
42047 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42048 (y0): Likewise.
42049 * math/w_j0f.c (j0f): Likewise.
42050 (y0f): Likewise.
42051 * math/w_j0l.c (__j0l): Likewise.
42052 (__y0l): Likewise.
42053 * math/w_j1.c (j1): Likewise.
42054 (y1): Likewise.
42055 * math/w_j1f.c (j1f): Likewise.
42056 (y1f): Likewise.
42057 * math/w_j1l.c (__j1l): Likewise.
42058 (__y1l): Likewise.
42059 * math/w_jn.c (jn): Likewise.
42060 (yn): Likewise.
42061 * math/w_jnf.c (jnf): Likewise.
42062 (ynf): Likewise.
42063 * math/w_jnl.c (__jnl): Likewise.
42064 (__ynl): Likewise.
42065 * math/libm-test.inc (j0_test): Add more tests.
42066 (j1_test): Likewise.
42067 (jn_test): Likewise. Add trailing semicolon to existing test.
42068 (y0_test): Likewise.
42069 (y1_test): Likewise.
42070 * sysdeps/i386/fpu/libm-test-ulps: Update.
42071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42072
11b90b9f
JM
42073 [BZ #13851]
42074 [BZ #13854]
42075 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42076 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42077 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42078 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42079 (__tanl): Set errno for infinite argument.
42080 * sysdeps/i386/fpu/mptan.c: Remove.
42081 * sysdeps/i386/fpu/s_tan.S: Likewise.
42082 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42083 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42084 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42085 * math/libm-test.inc (tan_test): Add more tests and enable more
42086 tests for double and long double.
42087 * sysdeps/i386/fpu/libm-test-ulps: Update.
42088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42089
6a1bd2a1
JK
420902012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42091
42092 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42093 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42094
10a803e0
RM
420952012-03-16 Roland McGrath <roland@hack.frob.com>
42096
42097 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42098 * configure.in: Use it for both main tree and add-ons.
42099 * configure: Regenerated.
42100
f196c7f7
L
421012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42102
42103 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42104
8848d99d
JM
421052012-03-16 Joseph Myers <joseph@codesourcery.com>
42106
96cbe7f4
JM
42107 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42108 in comment.
42109
8848d99d
JM
42110 [BZ #13851]
42111 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42112 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42113 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42114 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42115 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42116 infinite argument.
42117 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42119 != 0 for prec == 2.
42120 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42121 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42122 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42123 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42124 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42125 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42126 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42127 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42128 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42129 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42130 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42131 * math/libm-test.inc (cos_test): Add more tests and enable more
42132 tests for long double.
42133 (sin_test): Likewise.
42134 (sincos_test): Likewise.
42135 * sysdeps/i386/fpu/libm-test-ulps: Update.
42136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42137
dd7f4703
DM
421382012-03-16 David S. Miller <davem@davemloft.net>
42139
42140 * sysdeps/sparc/fpu/math_private.h: New file.
42141
006f1daa
DM
421422012-03-15 David S. Miller <davem@davemloft.net>
42143
c0c83bc8
DM
42144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42145 file.
e6a62e18 42146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42148 file.
e6a62e18
DM
42149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42155 sysdep routines.
42156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42157
88cb87d9
DM
42158 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42159 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42160
006f1daa 42161 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42163 sparc-ifunc.h
006f1daa 42164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42166 Likewise.
42167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42168 Likewise.
006f1daa
DM
42169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42173 Likewise.
006f1daa
DM
42174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42179 Likewise.
42180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42181 Likewise.
006f1daa
DM
42182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42206
11e0098e
AS
422072012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42208
42209 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42210 scaling.
42211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42212
e85b09d0
AJ
422132012-03-15 Andreas Jaeger <aj@suse.de>
42214
42215 [BZ #13852]
42216 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42217 ieee754/flt-32 implementation for sin, cos and sincos.
42218 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42219 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42220 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42221 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42222 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42223 ieee754/flt-32 implementation for tan.
42224
42225 * math/libm-test.inc (cos_test): Enable some large input tests for
42226 float as well
42227 (sin_test): Likewise.
42228 (sincos_test): Likewise.
42229 (tan_test): Add tests for large input.
42230
42231 * sysdeps/i386/fpu/libm-test-ulps: Update.
42232
81c64153
AJ
422332012-03-15 Andreas Jaeger <aj@suse.de>
42234
42235 [BZ #13658]
42236 * math/libm-test.inc (cos_test): Add more test cases.
42237 (sin_test): Likewise.
42238 (sincos_test): Likewise.
42239
7bbfa5c6
AJ
422402012-03-15 Andreas Jaeger <aj@suse.de>
42241
42242 [BZ #13837]
42243 * math/libm-test.inc (cos_test): Add a test case for large input
42244 value.
42245 (sin_test): Likewise.
42246 (sincos_test): Likewise.
42247
57f41c40
AS
422482012-03-15 Andreas Jaeger <aj@suse.de>
42249 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42250
42251 [BZ #13658]
0671f479 42252 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42253 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42254 * sysdeps/i386/fpu/branred.c: Likewise.
42255 * sysdeps/i386/fpu/dosincos.c: Likewise.
42256 * sysdeps/i386/fpu/mpa.c: Likewise.
42257 * sysdeps/i386/fpu/s_cos.S: Likewise.
42258 * sysdeps/i386/fpu/s_sin.S: Likewise.
42259 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42260 * sysdeps/i386/fpu/sincos32.c: Likewise.
42261
42262 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42263 Define.
42264 (libc_feupdateenv_53bit): Define.
42265 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42266 Define.
42267 (libc_feupdateenv_53bit): Define.
42268
42269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42270 53 bit (without extend i386 double precision).
42271
42272 * math/libm-test.inc (sincos_test): Add tests for large input.
42273 (sin): Likewise.
42274 (cos): Likewise.
42275
42276 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42277
9cad04ea
AS
422782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42279
42280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42281
f7062b9a
DM
422822012-03-15 David S. Miller <davem@davemloft.net>
42283
42284 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42285 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42286 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42287 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42300 file.
f7062b9a 42301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42303 file.
f7062b9a 42304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42306 file.
f7062b9a 42307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42309 file.
f7062b9a
DM
42310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42312 fmin/fmax sysdep routines.
42313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42314
7bd951ff
DM
423152012-03-14 David S. Miller <davem@davemloft.net>
42316
559398ab
DM
42317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42346 routines.
42347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42348 file.
559398ab 42349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42351 file.
559398ab 42352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42354 file.
559398ab 42355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42357 file.
559398ab 42358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42360 file.
559398ab 42361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42363 file.
42364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42365 file.
42366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42367 file.
42368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42369 file.
42370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42371 New file.
42372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42373 file.
42374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42375 file.
559398ab 42376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42378 file.
559398ab 42379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42381 file.
559398ab 42382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42384 file.
559398ab 42385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42387 VIS3 routines.
559398ab
DM
42388
42389 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42390 New file.
42391
5a1c1e32
DM
42392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42393
eae47a36
DM
42394 * sysdeps/sparc/configure.in: New file.
42395 * sysdeps/sparc/configure: Generate.
42396 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42397 * configure: Regenerate.
42398 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42399 * config.make.in (have-as-vis3): New.
42400 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42401 available use -Av9d instead of -Av9a.
42402 * sysdeps/sparc/sparc64/Makefile: Likewise.
42403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42405 New file.
42406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42407 file.
42408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42409 New file.
42410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42411 file.
eae47a36
DM
42412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42417
c0c83bc8
DM
42418 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42419 fzeros/fnegs to load 0x80000000 into a float register instead of
42420 using the stack.
7bd951ff
DM
42421 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42422
bd951ccb
JM
424232012-03-14 Joseph Myers <joseph@codesourcery.com>
42424
42425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42426 bits/syscall.h.
42427 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42428 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42429 ($(inst_includedir)/bits/syscall.h): Remove rule.
42430 ($(objpfx)bits/syscall.d): Include instead of
42431 $(objpfx)syscall-list.d.
42432 (generated): Change syscall-list.h and syscall-list.d to
42433 bits/syscall.h and bits/syscall.d.
42434
bb4e6db2
RM
424352012-03-14 Roland McGrath <roland@hack.frob.com>
42436
42437 [BZ #13846]
42438 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42439
aa4a2ae1
JM
424402012-03-14 Joseph Myers <joseph@codesourcery.com>
42441
e456826d
JM
42442 [BZ #13841]
42443 * math/s_csqrt.c: Include <float.h>.
42444 (__csqrt): Scale large or subnormal inputs.
42445 * math/s_csqrtf.c: Likewise.
42446 * math/s_csqrtl.c: Likewise.
42447 * math/libm-test.inc (csqrt_test): Add more tests.
42448 * sysdeps/i386/fpu/libm-test-ulps: Update.
42449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42450
aa4a2ae1
JM
42451 [BZ #13840]
42452 * math/libm-test.inc (hypot_test): Add more tests.
42453
7c10fd35
DM
424542012-03-13 David S. Miller <davem@davemloft.net>
42455
42456 [BZ #13840]
42457 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42458 double-precision for the calculation instead of scaling.
42459
f453b98b
JM
424602012-03-13 Joseph Myers <joseph@codesourcery.com>
42461
42462 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42463 manipulate bits before adding and subtracting TWO52[sx].
42464 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42465 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42466 Likewise.
42467 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42468
09a3453f
DM
424692012-03-13 David S. Miller <davem@davemloft.net>
42470
8e59da90
DM
42471 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42472 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42474 rtld-global-offsets.h
42475 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42476
2a8ab7f2
DM
42477 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42478 large parameters.
42479
10f62770
DM
42480 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42481
5f0bdb18
DM
42482 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42483 'err' in the ifdef scope in which it is actually used.
42484
09a3453f
DM
42485 * nss/nss_db/db-init.c: Include string.h
42486
b4b2eb5e
DM
424872012-03-12 David S. Miller <davem@davemloft.net>
42488
98bb2f1c
DM
42489 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42490 masking out of the most significant byte of random value used.
42491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42492 Fix coding style in previous change.
42493
b4b2eb5e
DM
42494 * sysdeps/unix/sysv/linux/kernel-features.h
42495 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42496 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42497 expression.
42498 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42499 later.
42500
6e226b09
DM
425012012-03-11 David S. Miller <davem@davemloft.net>
42502
a1bcbd40
DM
42503 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42504 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42505 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42506 for 'resultvar' otherwise things get truncated on 64-bit.
42507
cb9d6174
DM
42508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42509 Fix masking out of the most significant byte of random value used.
42510
6e226b09
DM
42511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42512
058c132d
AS
425132012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42514
42515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42516
2d2cd515
DM
425172012-03-09 David S. Miller <davem@davemloft.net>
42518
42519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42520 variables with appropriate CPP guards.
57f41c40
AS
42521 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42522 from the frame pointer, not the stack pointer. Correct layout
42523 comments. Fix test on resulting framesize and the management of
42524 the outregs buffer for pltexit. Preserve floating point return
42525 values across _dl_call_pltexit call.
2d2cd515
DM
42526 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42527 framesize and the management of the outregs buffer for pltexit.
42528 Preserve floating point return values across _dl_call_pltexit
42529 call.
57f41c40
AS
42530 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42531 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42532 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42533 (print_exit): Fix format string for return register value.
42534
9a07f9d0
JM
425352012-03-10 Joseph Myers <joseph@codesourcery.com>
42536
42537 * sunrpc/Makefile (others): Add rpcgen.
42538 ($(objpfx)rpcgen): Remove special build rule and dependency on
42539 libc.
42540 * sunrpc/rpcgen.c: New file.
42541
547b5e30
PE
425422012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42543
c524201a
PE
42544 [BZ #13673]
42545 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42546 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42547 * sysdeps/i386/crti.S: Likewise.
42548 * sysdeps/i386/crtn.S: Likewise.
42549 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42550 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42551 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42552 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42553 * sysdeps/sh/crti.S: Likewise.
42554 * sysdeps/sh/crtn.S: Likewise.
42555 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42556
7b6235f2
PE
42557 [BZ #13673]
42558 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42559 with URL.
42560 * locale/programs/locfile-kw.gperf: Likewise.
42561 * locale/programs/charmap-kw.h: Regenerated.
42562 * locale/programs/locfile-kw.h: Likewise.
42563
547b5e30
PE
42564 [BZ #13673]
42565 * intl/plural.y: Replace FSF snail mail address with URL.
42566 * intl/plural.c: Regenerated.
42567
5f0a5dae
RH
425682012-03-09 Richard Henderson <rth@twiddle.net>
42569
42570 * include/math_private.h: Remove file.
42571 * math/math_private.h: Move file ...
42572 * sysdeps/generic/math_private.h: ... here.
42573
b8c03620
RH
42574 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42575 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42576 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42577
4e234f5d 42578 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42579 and <math_private.h>.
42580 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42581 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42582 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42583 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42584 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42585 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42595 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42602 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42604 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42620 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42621 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42623 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42625 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42627 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42634 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42635 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42639 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42641 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42644 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42668 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42669 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42671 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42674 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42685 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42686 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42687 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42694 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42703 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42707 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42708 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42710 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42711 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42713 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42714 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42717 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42718 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42719 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42722 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42723 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42724 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42728 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42729 * sysdeps/ieee754/k_standard.c: Likewise.
42730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42737 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42742 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42743 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42744 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42745 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42749 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42750 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42751 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42755 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42760 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42767 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42768 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42769 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42770 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42771 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42772 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42774 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42775 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42776 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42781 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42783 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42786 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42792 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42793 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42797 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42798 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42803 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42809 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42810 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42814 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42820 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42822 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42823 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42826 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42827 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42828 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42837 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42838 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42848 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42851 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42855 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42856 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42857 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42863 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42864 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42867 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42872 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42873 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42874 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42876 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42879 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42880 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42884 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42885 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42890 * sysdeps/ieee754/s_lib_version.c: Likewise.
42891 * sysdeps/ieee754/s_matherr.c: Likewise.
42892 * sysdeps/ieee754/s_signgam.c: Likewise.
42893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42895 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42896 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42897 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42899 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42900 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42901 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42902 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42903 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42904 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42907 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42908 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 42914
1991fa03
JM
429152012-03-09 Joseph Myers <joseph@codesourcery.com>
42916
42917 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42918 * sunrpc/rpc_main.c: Likewise.
42919 * sunrpc/rpc_svcout.c: Likewise.
42920
60d6f5a6
DM
429212012-03-09 David S. Miller <davem@davemloft.net>
42922
42923 * include/math_private.h: New file.
42924
4962050e
JM
429252012-03-09 Joseph Myers <joseph@codesourcery.com>
42926
02a6f887
JM
42927 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42928 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42929 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42930 from <bits/socket_type.h>.
42931 (enum __socket_type): Don't define here.
42932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42934 bits/socket_type.h.
42935
c6e013c1
JM
42936 [BZ #13566]
42937 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42938 checking __USE_GNU.
42939
4962050e
JM
42940 * Makerules ($(inst_includedir)/%.h): New rule.
42941 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42942 (install-others): Remove variable setting.
42943 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42944
38842f45
RH
429452012-03-08 Richard Henderson <rth@twiddle.net>
42946
67bb6da6
RH
42947 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42948 from macro to inline function; merge with the
42949 !__LIBC_INTERNAL_MATH_INLINES version.
42950 (__ieee754_sqrtf): Likewise.
42951
15194b4b
RH
42952 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42953 to inline function.
42954 (__rintf, __floor, __floorf): Likewise.
42955
64e21ede
RH
42956 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42957 macro to inline function.
42958 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42959
38842f45
RH
42960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42961 not <math/math_private.h>.
42962
c64bf5fe
DM
429632012-03-08 David S. Miller <davem@davemloft.net>
42964
42965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42966 copyright year.
42967 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42968
82d86f28
TS
429692012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42970
42971 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42972 normalization.
42973 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42974 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42975
aea5d727
UD
429762012-03-08 Ulrich Drepper <drepper@gmail.com>
42977
42978 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42979 be defined individually, they must be defined as a block. Define
42980 S for printing a string instead of hidint the different by using a
42981 macro for adding the 'l'.
42982 * stdio-common/tst-fphex-wide.c: Adjust.
42983
70bca0a3
MP
429842012-03-07 Marek Polacek <polacek@redhat.com>
42985
42986 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42987
65b81130
MP
429882012-03-08 Marek Polacek <polacek@redhat.com>
42989
42990 [BZ #13806]
42991 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42992 * stdio-common/tst-fphex.c: Define a few macros to make the
42993 test reusable. Use them.
42994 * stdio-common/tst-fphex-wide.c: New file.
42995
07037eeb
JM
429962012-03-08 Joseph Myers <joseph@codesourcery.com>
42997
a7a93d50
JM
42998 [BZ #6911]
42999 * manual/macros.texi (gnusystems): New macro.
43000 (nongnusystems): Likewise.
43001 (gnulinuxhurdsystems): Likewise.
43002 (gnuhurdsystems): Likewise..
43003 (gnulinuxsystems): Likewise.
43004 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43005 variants of the GNU system, not "GNU system".
43006 * manual/conf.texi: Likewise.
43007 * manual/errno.texi: Likewise. Update example of errno macro
43008 expansion.
43009 * manual/filesys.texi: Likewise.
43010 (getumask): Document as specific to GNU/Hurd.
43011 * manual/install.texi: Likewise. Reword some references to
43012 GNU/Linux.
43013 * manual/intro.texi: Likewise.
43014 * manual/io.texi: Likewise.
43015 (File Name Portability): Detail which constraints are inapplicable
43016 to all GNU systems and which are only inapplicable to GNU/Hurd.
43017 * manual/job.texi: Likewise.
43018 * manual/llio.texi: Likewise.
43019 (O_NOCTTY): Document as present on GNU/Linux.
43020 * manual/maint.texi: Likewise.
43021 * manual/memory.texi: Likewise.
43022 * manual/pattern.texi: Likewise.
43023 * manual/pipe.texi: Likewise.
43024 * manual/process.texi: Likewise.
43025 * manual/resource.texi: Likewise.
43026 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43027 child on GNU/Hurd.
43028 * manual/setjmp.texi: Likewise.
43029 * manual/signal.texi: Likewise.
43030 * manual/startup.texi: Likewise.
43031 * manual/stdio.texi: Likewise.
43032 * manual/terminal.texi: Likewise.
43033 (ONLCR): Document as POSIX.
43034 (OXTABS): Document availability on GNU/Linux as XTABS.
43035 (ONOEOT): Document availability separately from other bits.
43036 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43037 * manual/time.texi: Likewise.
43038 * manual/users.texi: Likewise.
43039 * INSTALL: Regenerated.
43040 * sysdeps/gnu/errlist.c: Regenerated.
43041
07037eeb
JM
43042 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43043 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43044 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43045 puts.
43046 * configure: Regenerated.
43047
d1d3431a
JM
430482012-03-07 Joseph Myers <joseph@codesourcery.com>
43049
af6a1e37
JM
43050 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43051 default includes instead of AC_HEADER_CHECK.
43052 * sysdeps/i386/configure: Regenerated.
43053
d1d3431a
JM
43054 [BZ #10716]
43055 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43056 * math/s_cacoshf.c (__cacoshf): Likewise.
43057 * math/s_cacoshl.c (__cacoshl): Likewise.
43058 * math/s_casinh.c (__casinh): Set signs of result from argument.
43059 * math/s_casinhf.c (__casinhf): Likewise.
43060 * math/s_casinhl.c (__casinhl): Likewise.
43061 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43062 (casinh_test): Add more tests.
43063 * sysdeps/i386/fpu/libm-test-ulps: Update.
43064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43065
482ff4da
UD
430662012-03-07 Ulrich Drepper <drepper@gmail.com>
43067
872fda05
UD
43068 * po/zh_TW.po: Update from translation team.
43069
a4300c7a
UD
43070 * login/Makefile (distribute): Remove variable.
43071 * catgets/Makefile: Likewise.
43072 * mach/Makefile: Likewise.
43073 * malloc/Makefile: Likewise.
43074 * misc/Makefile: Likewise.
43075 * iconv/Makefile: Likewise.
43076 * nscd/Makefile: Likewise.
43077 * hurd/Makefile: Likewise.
43078 * manual/Makefile: Likewise.
43079 * locale/Makefile: Likewise.
43080 * intl/Makefile: Likewise.
43081 * conform/Makefile: Likewise.
43082 * nss/Makefile: Likewise.
43083 * time/Makefile: Likewise.
43084 * soft-fp/Makefile: Likewise.
43085 * dirent/Makefile: Likewise.
43086 * gmon/Makefile: Likewise.
43087 * po/Makefile: Likewise.
43088 * rt/Makefile: Likewise.
43089 * socket/Makefile: Likewise.
43090 * math/Makefile: Likewise.
43091 * signal/Makefile: Likewise.
43092 * debug/Makefile: Likewise.
43093 * elf/Makefile: Likewise.
43094 * timezone/Makefile: Likewise.
43095 * stdlib/Makefile: Likewise.
43096 * iconvdata/Makefile: Likewise.
43097 * sunrpc/Makefile: Likewise.
43098 * io/Makefile: Likewise.
43099 * argp/Makefile: Likewise.
43100 * inet/Makefile: Likewise.
43101 * hesiod/Makefile: Likewise.
43102 * grp/Makefile: Likewise.
43103 * csu/Makefile: Likewise.
43104 * wctype/Makefile: Likewise.
43105 * crypt/Makefile: Likewise.
43106 * libio/Makefile: Likewise.
43107 * string/Makefile: Likewise.
43108 * nis/Makefile: Likewise.
43109 * resolv/Makefile: Likewise.
43110 * stdio-common/Makefile: Likewise.
43111 * wcsmbs/Makefile: Likewise.
43112 * dlfcn/Makefile: Likewise.
43113 * posix/Makefile: Likewise.
43114
3b7c4e74 43115 [BZ #6959]
482ff4da
UD
43116 * timezone/Makefile: Don't install timezone files, just the programs
43117 and scripts.
43118
f72ed77d
UD
431192012-03-06 Ulrich Drepper <drepper@gmail.com>
43120
a000466f
UD
43121 * nss/databases.def: Add missing gshadow entry.
43122
f72ed77d
UD
43123 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43124
a53b7a4e
MP
431252012-03-06 Marek Polacek <polacek@redhat.com>
43126
43127 [BZ #13726]
43128 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43129 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43130 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43131 * stdio-common/tst-long-dbl-fphex.c: New file.
43132
e9258400
DM
431332012-03-06 David S. Miller <davem@davemloft.net>
43134
43135 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43136 (set_obp_int): New function.
43137 (get_obp_int): New function.
43138 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43139 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43140 Avoid unused variable warnings on 'val' and use builtin_expect.
43141 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43142 __builtin_expect.
e9258400
DM
43143 (INLINE_CLONE_SYSCALL): Likewise.
43144
3bd2c723
DM
431452012-03-05 David S. Miller <davem@davemloft.net>
43146
43147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43148
bbb78d03
AS
431492012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43150
884c5db4
AS
43151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43152
bbb78d03
AS
43153 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43154 only for |x| >= 40.
43155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43156
1c9f702a 431572012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43158
43159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43160 Replace gettimeofday with __vdso_gettimeofday.
43161
7be16f82
RM
43162 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43163 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43164 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43165
43166 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43167 time with __vdso_time.
43168
ed58a00f
JM
431692012-03-05 Joseph Myers <joseph@codesourcery.com>
43170
43171 * manual/lang.texi (size_t): Note types to which size_t may be
43172 equivalent with the GNU C Library, but do not describe when
43173 differences between them are significant.
43174
30ee4ced
AJ
431752012-03-05 Andreas Jaeger <aj@suse.de>
43176
43177 * sysdeps/i386/fpu/libm-test-ulps: Update.
43178
b7cd39e8
JM
431792012-03-05 Joseph Myers <joseph@codesourcery.com>
43180
43181 [BZ #3976]
43182 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43183 (__ieee754_pow): Save and restore rounding mode and use
43184 round-to-nearest for main computations.
43185 * math/libm-test.inc (pow_test_tonearest): New function.
43186 (pow_test_towardzero): Likewise.
43187 (pow_test_downward): Likewise.
43188 (pow_test_upward): Likewise.
43189 (main): Call the new functions.
43190 * sysdeps/i386/fpu/libm-test-ulps: Update.
43191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43192
43193 [BZ #3976]
43194 * math/libm-test.inc (cosh_test_tonearest): New function.
43195 (cosh_test_towardzero): Likewise.
43196 (cosh_test_downward): Likewise.
43197 (cosh_test_upward): Likewise.
43198 (sinh_test_tonearest): Likewise.
43199 (sinh_test_towardzero): Likewise.
43200 (sinh_test_downward): Likewise.
43201 (sinh_test_upward): Likewise.
43202 (main): Call the new functions.
43203 * sysdeps/i386/fpu/libm-test-ulps: Update.
43204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43205
6c6a98c9
TV
432062012-03-05 Tom de Vries <tom@codesourcery.com>
43207
43208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43209 default stack guard is set in last bytes.
43210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43211
21bb2d2e 432122012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43213
21bb2d2e 43214 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43215
21bb2d2e
AJ
43216 [BZ #13656]
43217 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43218 possibly allocate from heap instead of stack.
43219 * stdio-common/bug-vfprintf-nargs.c: New file.
43220 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43221
c6922934
AS
432222012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43223
43224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43225
bc957d53
MP
432262012-03-03 Marek Polacek <polacek@redhat.com>
43227
43228 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43229 * math/math_private.h: Likewise.
43230 * stdlib/tst-strtod.c: Likewise.
43231 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43232 * sysdeps/x86_64/bits/atomic.h: Likewise.
43233
6358490d
DM
432342012-03-02 David S. Miller <davem@davemloft.net>
43235
43236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43240 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43241 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43242 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43243 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43244
01ae168d
RM
432452012-03-02 Roland McGrath <roland@hack.frob.com>
43246
d9a17c07
RM
43247 [BZ #13792]
43248 * manual/examples/README: New file, says the example source files
43249 can be used under GPL>=2.
43250 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43251 line containing just "*/".
43252 * manual/examples/add.c: Add copyright header (GPL>=2).
43253 * manual/examples/argp-ex1.c: Likewise.
43254 * manual/examples/argp-ex2.c: Likewise.
43255 * manual/examples/argp-ex3.c: Likewise.
43256 * manual/examples/argp-ex4.c: Likewise.
43257 * manual/examples/atexit.c: Likewise.
43258 * manual/examples/db.c: Likewise.
43259 * manual/examples/dir.c: Likewise.
43260 * manual/examples/dir2.c: Likewise.
43261 * manual/examples/execinfo.c: Likewise.
43262 * manual/examples/filecli.c: Likewise.
43263 * manual/examples/filesrv.c: Likewise.
43264 * manual/examples/fmtmsgexpl.c: Likewise.
43265 * manual/examples/genpass.c: Likewise.
43266 * manual/examples/inetcli.c: Likewise.
43267 * manual/examples/inetsrv.c: Likewise.
43268 * manual/examples/isockad.c: Likewise.
43269 * manual/examples/longopt.c: Likewise.
43270 * manual/examples/memopen.c: Likewise.
43271 * manual/examples/memstrm.c: Likewise.
43272 * manual/examples/mkfsock.c: Likewise.
43273 * manual/examples/mkisock.c: Likewise.
43274 * manual/examples/mygetpass.c: Likewise.
43275 * manual/examples/pipe.c: Likewise.
43276 * manual/examples/popen.c: Likewise.
43277 * manual/examples/rprintf.c: Likewise.
43278 * manual/examples/search.c: Likewise.
43279 * manual/examples/select.c: Likewise.
43280 * manual/examples/setjmp.c: Likewise.
43281 * manual/examples/sigh1.c: Likewise.
43282 * manual/examples/sigusr.c: Likewise.
43283 * manual/examples/stpcpy.c: Likewise.
43284 * manual/examples/strdupa.c: Likewise.
43285 * manual/examples/strftim.c: Likewise.
43286 * manual/examples/strncat.c: Likewise.
43287 * manual/examples/subopt.c: Likewise.
43288 * manual/examples/swapcontext.c: Likewise.
43289 * manual/examples/termios.c: Likewise.
43290 * manual/examples/testopt.c: Likewise.
43291 * manual/examples/testpass.c: Likewise.
43292 * manual/examples/timeval_subtract.c: Likewise.
43293
01ae168d
RM
43294 [BZ #13792]
43295 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43296 function to ...
43297 * manual/timeval_subtract.c.texi: ... here, new file.
43298
49efa33d
DM
432992012-03-02 David S. Miller <davem@davemloft.net>
43300
43301 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43302
28afd92d
JM
433032012-03-02 Joseph Myers <joseph@codesourcery.com>
43304
804360ed
JM
43305 [BZ #3976]
43306 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43307 (__sin): Save and restore rounding mode and use round-to-nearest
43308 for all computations.
43309 (__cos): Save and restore rounding mode and use round-to-nearest
43310 for all computations.
43311 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43312 <fenv.h>.
43313 (tan): Save and restore rounding mode and use round-to-nearest for
43314 all computations.
43315 * math/libm-test.inc (cos_test_tonearest): New function.
43316 (cos_test_towardzero): Likewise.
43317 (cos_test_downward): Likewise.
43318 (cos_test_upward): Likewise.
43319 (sin_test_tonearest): Likewise.
43320 (sin_test_towardzero): Likewise.
43321 (sin_test_downward): Likewise.
43322 (sin_test_upward): Likewise.
43323 (tan_test_tonearest): Likewise.
43324 (tan_test_towardzero): Likewise.
43325 (tan_test_downward): Likewise.
43326 (tan_test_upward): Likewise.
43327 (main): Call the new functions.
43328 * sysdeps/i386/fpu/libm-test-ulps: Update.
43329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43330
a6d06d7b
JM
43331 [BZ #10135]
43332 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43333 small n, then large n, before computing and testing k+n.
43334 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43336 Likewise.
43337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43338 Likewise.
43339 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43340 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43341 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43342 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43345 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43347 * math/libm-test.inc (scalbn_test): Add more tests.
43348 (scalbln_test): Likewise.
43349
07e12bb3
JM
43350 * manual/filesys.texi (mode_t): Describe constraints on size and
43351 signedness, not exact equivalence to a particular type.
43352 (ino_t): Likewise.
43353 (ino64_t): Likewise.
43354 (dev_t): Likewise.
43355 (nlink_t): Likewise.
43356 (blkcnt_t): Likewise.
43357 (blkcnt64_t): Likewise.
43358 * manual/llio.texi (off_t): Likewise.
43359
28afd92d
JM
43360 [BZ #3976]
43361 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43362 (__ieee754_exp): Save and restore rounding mode and use
43363 round-to-nearest for all computations.
43364 * math/libm-test.inc (exp_test_tonearest): New function.
43365 (exp_test_towardzero): Likewise.
43366 (exp_test_downward): Likewise.
43367 (exp_test_upward): Likewise.
43368 (main): Call the new functions.
43369 * sysdeps/i386/fpu/libm-test-ulps: Update.
43370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43371
b1eeb65d
CD
433722012-03-01 Chris Demetriou <cgd@google.com>
43373
43374 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43375 have predictable order.
43376
53362a4b
DM
433772012-03-01 David S. Miller <davem@davemloft.net>
43378
3c969083
DM
43379 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43380
759707de
DM
43381 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43382 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43383 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43384 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43385
dfdb8ff2
DM
43386 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43387 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43388 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43390 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43391 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43392 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43393 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43394 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43395
ead89f96
DM
43396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43397
7f66bd07
DM
43398 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43399 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43400 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43401
53362a4b
DM
43402 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43403 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43404 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43405 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43406 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43409 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43411 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43412 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43415 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43416 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43418 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43419 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43420 * sysdeps/sparc/elf/configure: Regenerated.
43421
7b1902cb
JM
434222012-03-01 Joseph Myers <joseph@codesourcery.com>
43423
bec039bc
JM
43424 * configure.in (AS, LD): Require binutils 2.20 or later.
43425 * configure: Regenerated.
43426 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43427 as required minimum version.
43428 * INSTALL: Regenerated.
43429
7b1902cb
JM
43430 [BZ #2541]
43431 [BZ #4108]
43432 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43433 before squaring exponent.
43434 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43435 bottom long double and 27 bits of top long double before squaring
43436 exponent.
43437 * math/libm-test.inc (erfc_test): Add more tests.
43438 * sysdeps/i386/fpu/libm-test-ulps: Update.
43439 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43441
f775c276
KT
434422012-03-01 Kai Tietz <ktietz@redhat.com>
43443
43444 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43445 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43446 containing bit-fields.
43447 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43448 * soft-fp/single.h (_FP_UNION_S): Likewise.
43449 * soft-fp/double.h (_FP_UNION_D): Likewise.
43450
5b8a4d4a
JM
434512012-02-29 Joseph Myers <joseph@codesourcery.com>
43452
0bab47b6
JM
43453 [BZ #13786]
43454 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43455 not include ../strcmp.S.
43456 [USE_AS_STRNCASECMP_L]: Likewise.
43457 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43458 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43459 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43460 (__strncasecmp_l_ia32): Define as alias to
43461 __strncasecmp_l_nonascii.
43462
0fcad3e2
JM
43463 [BZ #5794]
43464 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43465 * sysdeps/i386/fpu/libm-test-ulps: Update.
43466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43467
5b8a4d4a
JM
43468 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43470
8fdceb2e
JL
434712012-02-29 Jeff Law <law@redhat.com>
43472
43473 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43474 out of bounds read.
43475
1f393a11
MP
434762012-02-29 Marek Polacek <polacek@redhat.com>
43477
43478 [BZ #13706]
43479 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43480 * elf/Makefile: Add rules to run tst-unused-dep.out.
43481
8847f037
DM
434822012-02-28 David S. Miller <davem@davemloft.net>
43483
43484 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43485 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43487 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43488 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43489 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43490
169d7f11
JM
434912012-02-29 Joseph Myers <joseph@codesourcery.com>
43492
43493 * math/libm-test.inc (llround_test): Move one test from
43494 lround_test. Use TEST_f_L in moved test.
43495 (lround_test): Move misplaced test to llround_test. Add testcase
43496 from bug 2561.
43497
39adf059
UD
434982012-02-28 Ulrich Drepper <drepper@gmail.com>
43499
43500 * sysdeps/x86_64/fpu/e_expf.S: New file.
43501 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43502
71b5d1c5
SB
435032012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43504
43505 [BZ #13637]
43506 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43507 of remain_len that may cause incomplete multi-byte character and
43508 false match.
43509 * posix/bug-regex33.c: New file.
43510 * posix/Makefile (tests): Add bug-regex33.
43511
1f77f049
JM
435122012-02-28 Joseph Myers <joseph@codesourcery.com>
43513
43514 * manual/macros.texi: New file.
43515 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43516 * manual/libc.texinfo: Include macros.texi.
43517 * manual/creatute.texi: Likewise.
43518 * manual/install.texi: Likewise.
43519 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43520 @glibcadj{} in references to the GNU C Library.
43521 * manual/charset.texi: Likewise.
43522 * manual/conf.texi: Likewise.
43523 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43524 when not using those macros.
43525 * manual/creature.texi: Likewise.
43526 * manual/crypt.texi: Likewise.
43527 * manual/errno.texi: Likewise.
43528 * manual/filesys.texi: Likewise.
43529 * manual/header.texi: Likewise.
43530 * manual/install.texi: Likewise.
43531 * manual/intro.texi: Likewise.
43532 * manual/io.texi: Likewise.
43533 * manual/job.texi: Likewise.
43534 * manual/lang.texi: Likewise.
43535 * manual/libc.texiinfo: Likewise.
43536 * manual/llio.texi: Likewise.
43537 * manual/locale.texi: Likewise.
43538 * manual/maint.texi: Likewise.
43539 * manual/math.texi: Likewise.
43540 * manual/memory.texi: Likewise.
43541 * manual/message.texi: Likewise.
43542 * manual/nss.texi: Likewise.
43543 * manual/pattern.texi: Likewise.
43544 * manual/process.texi: Likewise.
43545 * manual/resource.texi: Likewise.
43546 * manual/search.texi: Likewise.
43547 * manual/setjmp.texi: Likewise.
43548 * manual/signal.texi: Likewise.
43549 * manual/socket.texi: Likewise.
43550 * manual/startup.texi: Likewise.
43551 * manual/stdio.texi: Likewise.
43552 * manual/string.texi: Likewise.
43553 * manual/sysinfo.texi: Likewise.
43554 * manual/syslog.texi: Likewise.
43555 * manual/terminal.texi: Likewise.
43556 * manual/time.texi: Likewise.
43557 * manual/users.texi: Likewise.
43558 * INSTALL: Regenerated.
43559 * NOTES: Regenerated.
d40c5d54 43560 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43561
450bf206
AS
435622012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43563
43564 * include/dirent.h: Include <dirstream.h> before
43565 <dirent/dirent.h>.
43566
741a235b
DM
435672012-02-28 David S. Miller <davem@davemloft.net>
43568
43569 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43570 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43571 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43572 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43573
d6b5aa58
DM
435742012-02-27 David S. Miller <davem@davemloft.net>
43575
1aff59a3
DM
43576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43578 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43579 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43580
d6b5aa58
DM
43581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43582 frame pointer instead of stack pointer relative arg slot.
43583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43584 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43585 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43586
433f48bf
CD
435872012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43588
43589 [BZ #3992]
43590 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43591
d674b76d
DM
435922012-02-27 David S. Miller <davem@davemloft.net>
43593
43594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43598 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43599 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43600 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43601 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43602
0e7727f7
JM
436032012-02-27 Joseph Myers <joseph@codesourcery.com>
43604
43605 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43606 later. Allow versions 5-9.
43be4ca2 43607 * configure: Regenerated.
0e7727f7
JM
43608 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43609 required minimum version and 4.6 as recommended version. Do not
43610 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43611 * INSTALL: Regenerated.
0e7727f7 43612
a78bc654
DM
436132012-02-27 David S. Miller <davem@davemloft.net>
43614
428d5830
DM
43615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43619 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43620 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43621 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43622 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43623
a78bc654
DM
43624 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43625 manipulate bits before adding and subtracting TWO112[sx].
43626 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43627
4579f81c
RM
436282012-02-27 Roland McGrath <roland@hack.frob.com>
43629
36c8acb4
RM
43630 [BZ #13775]
43631 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43632 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43633 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43634 being in POSIX, because they are in 1003.1-2008.
43635
84ad622b
RM
43636 * rt/tst-aio.c: Include <fcntl.h>.
43637 * rt/tst-aio7.c: Likewise.
43638 * rt/tst-aio64.c: Likewise.
43639
4579f81c
RM
43640 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43641
abd923db
JM
436422012-02-27 Joseph Myers <joseph@codesourcery.com>
43643
43644 * manual/install.texi (--with-headers): Describe headers as
43645 interface headers, not private headers.
43646 (Specific advice for GNU/Linux systems): Describe use of headers
43647 from "make headers_install", not private headers from older
43648 kernels.
43be4ca2 43649 * INSTALL: Regenerated.
abd923db
JM
43650 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43651 Change to 2.6.19.
43652 * sysdeps/unix/sysv/linux/configure: Regenerated.
43653
6664049b
JM
43654 * manual/llio.texi (fclean): Remove documentation.
43655
bb8b6697
JM
43656 * manual/Makefile (libc-texi-generated): New variable. Include
43657 version.texi.
43658 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43659 $(libc-texi-generated), not duplicated list of files.
43660 (version.texi, stamp-version): New rules.
43661 (realclean): Remove $(libc-texi-generated), not individual files
43662 from that list. Do not remove dir-add.texinfo.
43663 * manual/libc.texinfo: Comment out uses of edition numbers and
43664 references to printed manual. Remove last-updated dates.
43665 (EDITION): Comment out.
43666 (ISBN): Likewise.
43667 (VERSION, UPDATED): Remove.
43668 (version.texi): Include.
43669
12e5c3b9
AS
436702012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43671
43672 * sysdeps/posix/spawni.c: Include <signal.h>.
43673 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43674 * sysdeps/pthread/aio_fsync.c: Likewise.
43675
4efeffc1 436762012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43677
ba63ba08
UD
43678 * conform/Makefile (tests): Run only when not cross-compiling and
43679 when fast-check is not defined.
43680
d94a4670
UD
43681 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43682 * conform/data/limits.h-data: Fixes for POSIX2008.
43683 * conform/run-conformtest.sh: Run all tests.
43684 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43685 headers.
43686 * include/bits/dlfcn.h: Likewise.
43687 * include/langinfo.h: Likewise.
43688 * include/monetary.h: Likewise.
43689 * include/sys/poll.h: Likewise.
43690
43691 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43692 for __USE_GNU.
43693 * posix/spawn.h: Define __need_sigset_t.
43694 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43695 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43696 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43697 to get sigevent_t only.
43698 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43699 only for __USE_GNU.
43700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43701 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43702 process_vm_writev only for __USE_GNU.
43703 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43704
43705 * conform/Makefile: For now ignore errors from run-conformtest.
43706 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43707 POSIX to avoid namespace pollution. Don't prepend headers.
43708 * conform/data/aio.h-data: Fixes for POSIX testing.
43709 * conform/data/fcntl.h-data: Likewise.
43710 * conform/data/glob.h-data: Likewise.
43711 * conform/data/grp.h-data: Likewise.
43712 * conform/data/pthread.h-data: Likewise.
43713 * conform/data/pwd.h-data: Likewise.
43714 * conform/data/signal.h-data: Likewise.
43715 * conform/data/spawn.h-data: Likewise.
43716 * conform/data/stdio.h-data: Likewise.
43717 * conform/data/stdlib.h-data: Likewise.
43718 * conform/data/stropts.h-data: Likewise.
43719 * conform/data/sys/mman.h-data: Likewise.
43720 * conform/data/sys/stat.h-data: Likewise.
43721 * conform/data/sys/types.h-data: Likewise.
43722 * conform/data/sys/wait.h-data: Likewise.
43723 * conform/data/time.h-data: Likewise.
43724 * conform/data/unistd.h-data: Likewise.
43725 * conform/data/utime.h-data: Likewise.
43726
43727 * io/sys/stat.h: fchmod was always in POSIX.
43728 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43729 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43730 * rt/aio.h: Define __need_timespec before including <time.h>.
43731 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43732 struct. Add forward declaration of pthread_attr_t and use it in
43733 sigevent.
43734 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43735 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43736 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43737 always remove CLK_TCK definition.
43738
c20105c3
AS
437392012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43740
43741 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43742
7a270350
UD
437432012-02-25 Ulrich Drepper <drepper@gmail.com>
43744
31341567
UD
43745 * conform/run-conformtest.sh: New file.
43746 * conform/Makefile: Run run-conformtest for tests.
43747 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43748 support.
43749
43750 * conform/data/uchar.h-data: New file.
43751 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43752 * conform/data/arpa/inet.h-data: Likewise.
43753 * conform/data/assert.h-data: Likewise.
43754 * conform/data/complex.h-data: Likewise.
43755 * conform/data/cpio.h-data: Likewise.
43756 * conform/data/ctype.h-data: Likewise.
43757 * conform/data/dirent.h-data: Likewise.
43758 * conform/data/dlfcn.h-data: Likewise.
43759 * conform/data/errno.h-data: Likewise.
43760 * conform/data/fcntl.h-data: Likewise.
43761 * conform/data/float.h-data: Likewise.
43762 * conform/data/fmtmsg.h-data: Likewise.
43763 * conform/data/fnmatch.h-data: Likewise.
43764 * conform/data/ftw.h-data: Likewise.
43765 * conform/data/glob.h-data: Likewise.
43766 * conform/data/grp.h-data: Likewise.
43767 * conform/data/iconv.h-data: Likewise.
43768 * conform/data/inttypes.h-data: Likewise.
43769 * conform/data/langinfo.h-data: Likewise.
43770 * conform/data/libgen.h-data: Likewise.
43771 * conform/data/limits.h-data: Likewise.
43772 * conform/data/locale.h-data: Likewise.
43773 * conform/data/math.h-data: Likewise.
43774 * conform/data/monetary.h-data: Likewise.
43775 * conform/data/mqueue.h-data: Likewise.
43776 * conform/data/ndbm.h-data: Likewise.
43777 * conform/data/net/if.h-data: Likewise.
43778 * conform/data/netdb.h-data: Likewise.
43779 * conform/data/netinet/in.h-data: Likewise.
43780 * conform/data/nl_types.h-data: Likewise.
43781 * conform/data/poll.h-data: Likewise.
43782 * conform/data/pthread.h-data: Likewise.
43783 * conform/data/pwd.h-data: Likewise.
43784 * conform/data/regex.h-data: Likewise.
43785 * conform/data/sched.h-data: Likewise.
43786 * conform/data/search.h-data: Likewise.
43787 * conform/data/semaphore.h-data: Likewise.
43788 * conform/data/setjmp.h-data: Likewise.
43789 * conform/data/signal.h-data: Likewise.
43790 * conform/data/spawn.h-data: Likewise.
43791 * conform/data/stdarg.h-data: Likewise.
43792 * conform/data/stdio.h-data: Likewise.
43793 * conform/data/stdlib.h-data: Likewise.
43794 * conform/data/string.h-data: Likewise.
43795 * conform/data/strings.h-data: Likewise.
43796 * conform/data/stropts.h-data: Likewise.
43797 * conform/data/sys/ipc.h-data: Likewise.
43798 * conform/data/sys/mman.h-data: Likewise.
43799 * conform/data/sys/msg.h-data: Likewise.
43800 * conform/data/sys/resource.h-data: Likewise.
43801 * conform/data/sys/select.h-data: Likewise.
43802 * conform/data/sys/sem.h-data: Likewise.
43803 * conform/data/sys/shm.h-data: Likewise.
43804 * conform/data/sys/socket.h-data: Likewise.
43805 * conform/data/sys/stat.h-data: Likewise.
43806 * conform/data/sys/statvfs.h-data: Likewise.
43807 * conform/data/sys/time.h-data: Likewise.
43808 * conform/data/sys/timeb.h-data: Likewise.
43809 * conform/data/sys/times.h-data: Likewise.
43810 * conform/data/sys/types.h-data: Likewise.
43811 * conform/data/sys/uio.h-data: Likewise.
43812 * conform/data/sys/un.h-data: Likewise.
43813 * conform/data/sys/utsname.h-data: Likewise.
43814 * conform/data/sys/wait.h-data: Likewise.
43815 * conform/data/syslog.h-data: Likewise.
43816 * conform/data/tar.h-data: Likewise.
43817 * conform/data/termios.h-data: Likewise.
43818 * conform/data/utime.h-data: Likewise.
43819 * conform/data/utmpx.h-data: Likewise.
43820 * conform/data/varargs.h-data: Likewise.
43821 * conform/data/wchar.h-data: Likewise.
43822 * conform/data/wctype.h-data: Likewise.
43823 * conform/data/wordexp.h-data: Likewise.
43824
43825 * include/stropts.h: New file.
43826 * include/uchar.h: New file.
43827 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43828 * include/assert.h: Likewise.
43829 * include/ctype.h: Likewise.
43830 * include/dirent.h: Likewise.
43831 * include/dlfcn.h: Likewise.
43832 * include/fcntl.h: Likewise.
43833 * include/fnmatch.h: Likewise.
43834 * include/glob.h: Likewise.
43835 * include/grp.h: Likewise.
43836 * include/libio.h: Likewise.
43837 * include/locale.h: Likewise.
43838 * include/math.h: Likewise.
43839 * include/net/if.h: Likewise.
43840 * include/netdb.h: Likewise.
43841 * include/netinet/in.h: Likewise.
43842 * include/pthread.h: Likewise.
43843 * include/pwd.h: Likewise.
43844 * include/regex.h: Likewise.
43845 * include/sched.h: Likewise.
43846 * include/search.h: Likewise.
43847 * include/setjmp.h: Likewise.
43848 * include/signal.h: Likewise.
43849 * include/stdio.h: Likewise.
43850 * include/stdlib.h: Likewise.
43851 * include/string.h: Likewise.
43852 * include/sys/cdefs.h: Likewise.
43853 * include/sys/mman.h: Likewise.
43854 * include/sys/msg.h: Likewise.
43855 * include/sys/resource.h: Likewise.
43856 * include/sys/select.h: Likewise.
43857 * include/sys/socket.h: Likewise.
43858 * include/sys/stat.h: Likewise.
43859 * include/sys/statvfs.h: Likewise.
43860 * include/sys/time.h: Likewise.
43861 * include/sys/times.h: Likewise.
43862 * include/sys/uio.h: Likewise.
43863 * include/sys/utsname.h: Likewise.
43864 * include/sys/wait.h: Likewise.
43865 * include/termios.h: Likewise.
43866 * include/time.h: Likewise.
43867 * include/ulimit.h: Likewise.
43868 * include/unistd.h: Likewise.
43869 * include/utime.h: Likewise.
43870 * include/wchar.h: Likewise.
43871 * include/wctype.h: Likewise.
43872 * include/wordexp.h: Likewise.
43873
43874 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43875
7a270350
UD
43876 * time/time.h: TIME_UTC must be a macro.
43877 Make timespec_get available for ISO C11 only as well.
43878
7724defc
UD
438792012-02-24 Ulrich Drepper <drepper@gmail.com>
43880
43881 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43882 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43883
6b1d1d46
JM
438842012-02-24 Joseph Myers <joseph@codesourcery.com>
43885
43886 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 43887
0f8bbd69
JM
438882012-02-24 Joseph Myers <joseph@codesourcery.com>
43889
43890 * manual/texinfo.tex: Update to version 2012-01-19.16.
43891
66ab80bc
JM
438922012-02-24 Joseph Myers <joseph@codesourcery.com>
43893
43894 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43895
74981cc5
RM
438962012-02-24 Roland McGrath <roland@hack.frob.com>
43897
ee968201
RM
43898 [BZ #13738]
43899 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43900 * manual/fdl-1.3.texi: New file.
43901 * manual/fdl-1.1.texi: File removed.
43902
74981cc5
RM
43903 [BZ #13738]
43904 * manual/libc.texinfo (FDL_VERSION): New @set.
43905 Use it for mention of FDL in cover text.
43906 (Documentation License): Use it in @include file name.
43907
7bb764bc
JM
439082012-02-22 Joseph Myers <joseph@codesourcery.com>
43909 Roland McGrath <roland@hack.frob.com>
43910
43911 [BZ #5461]
57f41c40
AS
43912 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43913 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
43914 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43915 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43916 name.
43917 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43918
6cbeae47
JM
439192012-02-22 Joseph Myers <joseph@codesourcery.com>
43920
43921 [BZ #2547]
43922 [BZ #11365]
43923 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43924 manipulate bits before adding and subtracting TWO23[sx].
43925 * math/libm-test.inc (nearbyint_test): Add more tests.
43926
fe45ce09
JM
439272012-02-22 Joseph Myers <joseph@codesourcery.com>
43928
43929 [BZ #2548]
43930 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43931 bits before adding and subtracting TWO23[sx].
43932 * math/libm-test.inc (rint_test): Add more tests.
43933 (rint_test_tonearest): Likewise.
43934 (rint_test_towardzero): Likewise.
43935 (rint_test_downward): Likewise.
43936 (rint_test_upward: Likewise.
43937
ff3b3d82
JM
439382012-02-22 Joseph Myers <joseph@codesourcery.com>
43939
43940 [BZ #10110]
43941 * include/stdc-predef.h: New file. Extracted from features.h.
43942 * include/features.h: Include stdc-predef.h.
43943 * Makefile (headers): Add stdc-predef.h.
43944 * CONFORMANCE (Compiler limitations): Update.
43945
ef0aab35
JM
439462012-02-22 Joseph Myers <joseph@codesourcery.com>
43947
43948 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43949
58639409
DM
439502012-02-21 David S. Miller <davem@davemloft.net>
43951
43952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43953 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43954
c0e70b25
DM
439552012-02-20 David S. Miller <davem@davemloft.net>
43956
43957 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43958 using a normal save/restore sequence, rather than allocating a
43959 dummy stack frame just to store a frame pointer and restore.
43960 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43961
fb06851d
JM
439622012-02-21 Joseph Myers <joseph@codesourcery.com>
43963
43964 * manual/install.texi: Fix stray word in line-wrapped comment.
43965
7a8b71c3
DM
439662012-02-20 David S. Miller <davem@davemloft.net>
43967
d510c123
DM
43968 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43969 both binutils and gcc support GOTDATA.
43970
0722d7c2
DM
43971 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43972 "rd %pc" in the PIC register setup sequences.
43973
3d2b3019
DM
43974 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43975 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43976 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43977 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43978 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43979 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43980 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43983 (SYSCALL_ERROR_HANDLER): Likewise.
43984 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43985 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43987 (SYSCALL_ERROR_HANDLER): Likewise.
43988
c80098a9
DM
43989 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43990 (HAVE_GCC_GOTDATA): New.
43991 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43992 relocation support in both binutils and gcc.
43993 * sysdeps/sparc/elf/configure: Regenerate.
43994
3a2545a0
DM
43995 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43996 * sysdeps/sparc/sparc32/elf/configure: Delete.
43997 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43998 * sysdeps/sparc/sparc64/elf/configure: Delete.
43999 * sysdeps/sparc/elf/configure.in: New file.
44000 * sysdeps/sparc/elf/configure: Generate.
44001
7a8b71c3
DM
44002 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44003 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44004 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44005 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44006 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44007
f1e86fca
JM
440082012-02-21 Joseph Myers <joseph@codesourcery.com>
44009
44010 * manual/install.texi: Do not mention specific glibc version
44011 numbers.
44012 * manual/libc.texinfo (VERSION, UPDATED): Update.
44013 (@copying): Use @copyright{} and range of years.
44014
0e7dfaef
JM
440152012-02-21 Joseph Myers <joseph@codesourcery.com>
44016
44017 [BZ #13695]
44018 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44019 [crti.S not in sysdirs] (generated): Do not append.
44020 [crti.S not in sysdirs] (omit-deps): Likewise.
44021 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44022 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44023 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44024 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44025 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44026 Likewise.
44027 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44028 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44029 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44030 * csu/defs.awk: Remove file.
44031 * sysdeps/generic/initfini.c: Likewise.
44032 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44033 variable.
44034 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44035 Likewise.
44036
599af3ca
JM
440372012-02-20 Joseph Myers <joseph@codesourcery.com>
44038
44039 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44040 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44041 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44042 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44043 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44044 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44045 <bits/epoll.h>.
44046 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44047 (__EPOLL_PACKED): Define to empty if not defined by
44048 <bits/epoll.h>.
44049 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44051 bits/epoll.h.
44052
0e499750
JM
440532012-02-20 Joseph Myers <joseph@codesourcery.com>
44054
44055 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44056 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44057 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44058 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44059 <bits/timerfd.h>.
44060 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44062 bits/timerfd.h.
44063
5ad91f6e
JM
440642012-02-20 Joseph Myers <joseph@codesourcery.com>
44065
44066 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44067 in C locale.
44068 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44070 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44072
06b99b02
AJ
440732012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44074
44075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44077
7638c0fd
AS
440782012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44079
44080 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44081 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44082 defined.
44083 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44084 Likewise.
44085 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44086 entry for 2.16.
44087
92221550
AJ
440882012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44089
44090 * math/w_acos.c: Use non-signaling floating-point comparisons.
44091 * math/w_acosf.c: Likewise.
44092 * math/w_acosh.c: Likewise.
44093 * math/w_acoshf.c: Likewise.
44094 * math/w_acoshl.c: Likewise.
44095 * math/w_acosl.c: Likewise.
44096 * math/w_asin.c: Likewise.
44097 * math/w_asinf.c: Likewise.
44098 * math/w_asinl.c: Likewise.
44099 * math/w_atanh.c: Likewise.
44100 * math/w_atanhf.c: Likewise.
44101 * math/w_atanhl.c: Likewise.
44102 * math/w_exp2.c: Likewise.
44103 * math/w_exp2f.c: Likewise.
44104 * math/w_exp2l.c: Likewise.
44105 * math/w_j0.c: Likewise.
44106 * math/w_j0f.c: Likewise.
44107 * math/w_j0l.c: Likewise.
44108 * math/w_j1.c: Likewise.
44109 * math/w_j1f.c: Likewise.
44110 * math/w_j1l.c: Likewise.
44111 * math/w_jn.c: Likewise.
44112 * math/w_jnf.c: Likewise.
44113 * math/w_log.c: Likewise.
44114 * math/w_log10.c: Likewise.
44115 * math/w_log10f.c: Likewise.
44116 * math/w_log10l.c: Likewise.
44117 * math/w_log2.c: Likewise.
44118 * math/w_log2f.c: Likewise.
44119 * math/w_log2l.c: Likewise.
44120 * math/w_logf.c: Likewise.
44121 * math/w_logl.c: Likewise.
44122 * math/w_sqrt.c: Likewise.
44123 * math/w_sqrtf.c: Likewise.
44124 * math/w_sqrtl.c: Likewise.
44125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44126 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44128 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44129 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44130
ebaf36eb
JM
441312012-02-19 Joseph Myers <joseph@codesourcery.com>
44132
44133 [BZ #9739]
44134 * manual/string.texi (strnlen): Use correct parameter name in
44135 equivalent expression.
44136
71c254a6
JM
441372012-02-19 Joseph Myers <joseph@codesourcery.com>
44138
44139 [BZ #11174]
44140 * manual/users.texi (seteuid): Consistently use neweuid for
44141 argument name.
44142
16d2c631
JM
441432012-02-19 Joseph Myers <joseph@codesourcery.com>
44144
44145 [BZ #13704]
44146 * manual/nss.texi (Services in the NSS configuration): Correct
44147 list of services in example configuration file.
44148
cd837b09
NB
441492012-02-19 Nick Bowler <nbowler@draconx.ca>
44150
44151 [BZ #11322]
44152 * manual/arith.texi: Remove statements about negative zero
44153 behaving identically to zero.
44154
02c4bbad
JM
441552012-02-18 Joseph Myers <joseph@codesourcery.com>
44156
44157 [BZ #5993]
44158 * manual/install.texi: Do not document upgrading from libc5.
44159
366842e7
JM
441602012-02-18 Joseph Myers <joseph@codesourcery.com>
44161
44162 [BZ #4596]
44163 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44164
dd54084d
DM
441652012-02-18 David S. Miller <davem@davemloft.net>
44166
44167 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44168 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44169 %o7 across the call.
44170 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44171 instead.
44172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44173 SETUP_PIC_REG_LEAF.
44174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44175 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44176 * sysdeps/sparc/crtn.S: Likewise.
44177
2bcc53a3
UD
441782012-02-17 Ulrich Drepper <drepper@gmail.com>
44179
44180 * aout/Makefile: Remove.
44181
09c093b5
RK
441822012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44183
44184 [BZ #13058]
44185 * manual/examples/argp-ex1.c (main): Format definition in GNU
44186 style.
44187 * manual/examples/argp-ex2.c (main): Likewise.
44188 * manual/examples/argp-ex3.c (main): Likewise.
44189 * manual/examples/argp-ex4.c (main): Likewise.
44190 * manual/examples/longopt.c (main): Use new-style prototype
44191 definition.
44192 * manual/examples/strncat.c (main): Specify return type and use
44193 (void) for arguments.
44194 * manual/examples/subopt.c (main): Use char **argv argument.
44195
2ee633a2
JM
441962012-02-17 Joseph Myers <joseph@codesourcery.com>
44197
44198 [BZ #5077]
44199 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44200 rounding modes.
44201
0520adde
FB
442022012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44203
44204 [BZ #6907]
44205 * manual/string.texi (strchr): Change when strchrnul is
44206 recommended.
44207
3f4081cd
DGM
442082012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44209
44210 [BZ #174]
44211 * manual/locale.texi (setlocale): Document LOCPATH.
44212
d1b10e78
JM
442132012-02-17 Joseph Myers <joseph@codesourcery.com>
44214
44215 [BZ #10210]
44216 * manual/process.texi (execle): Move @dots{} before last argument.
44217
79c6869c
PB
442182012-02-17 Paul Bolle <pebolle@tiscali.nl>
44219
44220 [BZ #12047]
44221 * manual/charset.texi (Generic Charset Conversion): Fix typo
44222 (LC_TYPE -> LC_CTYPE).
44223
cc6e48bc
NB
442242012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44225
44226 [BZ #5805]
44227 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44228 (scalbnf): Likewise.
44229 (scalbnl): Likewise.
44230 (scalbln): Likewise.
44231 (scalblnf): Likewise.
44232 (scalblnl): Likewise.
44233 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44234 (vwarnx): Likewise.
44235 (verr): Likewise.
44236 (verrx): Likewise.
44237 * manual/filesys.texi (telldir): Use braces around return type.
44238 * manual/llio.texi (mmap): Add space after comma.
44239 (mmap64): Likewise.
44240 * manual/math.texi (jn): Use @var{} on parameter names.
44241 (jnf): Likewise.
44242 (jnl): Likewise.
44243 (yn): Likewise.
44244 (ynf): Likewise.
44245 (ynl): Likewise.
44246 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44247 line.
44248 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44249 "...".
44250 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44251 (sched_get_priority_max): Likewise.
44252 * manual/signal.texi (sigvec): Add space after comma.
44253 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44254 names.
44255 (if_indextoname): Likewise.
44256 (if_freenameindex): Likewise.
44257 (sendto): Use ',' instead of '.' in prototype.
44258 * manual/startup.texi (syscall): Use @dots{} instead of literal
44259 "...".
44260 * manual/stdio.texi (__fpending): Separate initial words of
44261 paragraph from @deftypefun line.
44262 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44263 "...".
44264 (vsyslog): Use @var{} on parameter names.
44265 * manual/terminal.texi (stty): Use @var{} on parameter names.
44266 * manual/users.texi (getutmp): Use @var{} on parameter names.
44267 (getutmpx): Likewise.
44268
5b23062f
JM
442692012-02-17 Joseph Myers <joseph@codesourcery.com>
44270
44271 [BZ #6884]
44272 * manual/stdio.texi (fopen): Fix typos in description of
44273 ",ccs=STRING".
44274
8dee4833
AJ
442752012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44276
44277 [BZ #4026]
44278 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44279 get clock_id definition.
44280
9078ce93
TS
442812012-02-17 Thomas Schwinge <thomas@schwinge.name>
44282
44283 [BZ #4822]
44284 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44285 (madvise): Cast every argument to void on its own.
44286
3835c55f
JM
442872012-02-17 Joseph Myers <joseph@codesourcery.com>
44288
44289 [BZ #9902]
44290 * manual/startup.texi (Exit Status): Fix typo.
44291
35c47e37
JM
442922012-02-17 Joseph Myers <joseph@codesourcery.com>
44293
44294 [BZ #10140]
44295 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44296 * manual/examples/argp-ex2.c: Likewise.
44297 * manual/examples/argp-ex3.c: Likewise.
44298
e3b69ca7
RH
442992012-02-16 Richard Henderson <rth@redhat.com>
44300
44301 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44302 * sysdeps/s390/s390-32/initfini.c: Remove.
44303 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44304 * sysdeps/s390/s390-64/initfini.c: Remove.
44305
df83af67
KK
443062012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44307
44308 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44309 compiler output for sysdeps/generic/initfini.c.
44310 * sysdeps/sh/elf/initfini.c: Remove file.
44311
f63f3380
DM
443122012-02-16 David S. Miller <davem@davemloft.net>
44313
fb59b3a4
DM
44314 [BZ #11494]
44315 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44316
f63f3380
DM
44317 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44318 * sysdeps/sparc/crti.S: New file.
44319 * sysdeps/sparc/crtn.S: New file.
44320 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44321 * sysdeps/sparc/sparc64/Makefile: Likewise.
44322
df6a4a4a
MF
443232012-02-15 Mike Frysinger <vapier@gentoo.org>
44324
6dd8f3dc 44325 [BZ #3335]
df6a4a4a
MF
44326 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44327
1cac7236
RM
443282012-02-15 Roland McGrath <roland@hack.frob.com>
44329
d2c736f8
RM
44330 [BZ #4822]
44331 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44332
1cac7236
RM
44333 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44334 (write, read, close): Likewise.
44335 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44336
8e475601
JM
443372012-02-15 Joseph Myers <joseph@codesourcery.com>
44338
44339 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44340 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44341 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44342 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44343 <bits/signalfd.h>.
44344 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44346 bits/signalfd.h.
44347
ed656b40
MP
443482012-02-14 Marek Polacek <polacek@redhat.com>
44349
44350 * sysdeps/x86_64/crti.S: New file.
44351 * sysdeps/x86_64/crtn.S: New file.
44352 * sysdeps/x86_64/elf/initfini.c: Remove file.
44353
2a979d3a
JM
443542012-02-13 Joseph Myers <joseph@codesourcery.com>
44355
44356 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44357 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44358 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44359 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44360 <bits/inotify.h>.
44361 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44362 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44363 bits/inotify.h.
44364
2a418ac3
JM
443652012-02-13 Joseph Myers <joseph@codesourcery.com>
44366
44367 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44368 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44369 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44370 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44371 <bits/eventfd.h>.
44372 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44374 bits/eventfd.h.
44375
fb779be7
TS
443762012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44377
e19e83c5
RM
44378 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44379 __feraiseexcept instead of feraiseexcept.
7c35ffed 44380
fb779be7
TS
44381 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44382 nanosleep invocations.
44383 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44384 strings, and add error checking for a nanosleep invocations.
44385
59ba27a6
PE
443862012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44387
44388 Replace FSF snail mail address with URLs, as per GNU coding standards.
44389 Most of the snail mail addresses were wrong anyway, and omitting
44390 them makes the source code easier to maintain. Almost all of the
44391 changes are to license notices and to locale LC_IDENTIFICATION
44392 addresses, except for this one:
44393 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44394 not its snail mail address.
44395
57b957eb
RH
443962012-02-09 Richard Henderson <rth@twiddle.net>
44397
af850b1c
RH
44398 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44399 of kernel-features.h.
44400
57b957eb
RH
44401 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44402
6b73181a
MP
444032012-02-08 Marek Polacek <polacek@redhat.com>
44404
44405 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44406 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44407 * sysdeps/gnu/_G_config.h: Likewise.
44408 * sysdeps/generic/_G_config.h: Likewise.
44409
26ecc33a
AS
444102012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44411
6c6dbc63
AS
44412 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44413 tests.
44414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44415
e216c012
AS
44416 * sysdeps/powerpc/powerpc32/crti.S: New file.
44417 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44418 * sysdeps/powerpc/powerpc64/crti.S: New file.
44419 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44420
26ecc33a
AS
44421 * Makeconfig (have-initfini): Don't set.
44422 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44423 * configure.in (nopic_initfini): Don't substitute.
44424 * config.h.in (HAVE_INITFINI): Don't #undef.
44425 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44426 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44427
3add8e13
JM
444282012-02-08 Joseph Myers <joseph@codesourcery.com>
44429
44430 Support crti.S and crtn.S provided directly by architectures.
44431 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44432 [crti.S in sysdirs] (omit-deps): Likewise.
44433 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44434 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44435 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44436 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44437 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44438 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44439 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44440 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44441 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44442 compiler output for sysdeps/generic/initfini.c.
44443 * sysdeps/i386/elf/Makefile: Remove file.
44444 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44445
a22f12b4
MP
444462012-02-07 Marek Polacek <polacek@redhat.com>
44447
44448 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44449 * sysdeps/gnu/_G_config.h: Likewise.
44450 * sysdeps/mach/hurd/_G_config.h: Likewise.
44451
148cf100
MP
444522012-02-07 Marek Polacek <polacek@redhat.com>
44453
44454 * math/Makefile (tests): Add tst-CMPLX2.
44455 * math/tst-CMPLX2.c: New file.
44456
cfdc0dd7
AS
444572012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44458
84ba42c4
AS
44459 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44460
cfdc0dd7
AS
44461 * math/libm-test.inc (jn_test): Add missing L suffix.
44462
622c86f4
MP
444632012-02-06 Marek Polacek <polacek@redhat.com>
44464
44465 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44466 * sysdeps/i386/fpu/e_powf.S: Likewise.
44467 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44468 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44470 * sysdeps/i386/fpu/e_pow.S: Likewise.
44471 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44472 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44473 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44474 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44475 * sysdeps/i386/fpu/e_log2.S: Likewise.
44476 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44477 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44478 * sysdeps/i386/fpu/e_powl.S: Likewise.
44479 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44480 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44481 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44482 * sysdeps/i386/fpu/e_logl.S: Likewise.
44483 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44484 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44485 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44486 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44487 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44488 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44489 * sysdeps/i386/fpu/e_log.S: Likewise.
44490 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44491 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44492 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44493 * sysdeps/i386/fpu/e_logf.S: Likewise.
44494 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44495 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44496 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44497 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44498 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44499 * sysdeps/i386/fpu/e_log10.S: Likewise.
44500 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44501 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44502 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44503 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44505 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44506 * sysdeps/i386/asm-syntax.h: Likewise.
44507 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44509 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44510 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44511 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44512 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44513 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44514 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44515 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44516 * sysdeps/powerpc/sysdep.h: Likewise.
44517 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44518 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44519
d4a54ac6
JM
445202012-02-06 Joseph Myers <joseph@codesourcery.com>
44521
44522 [BZ #411]
44523 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44524
314054ea
JM
445252012-02-06 Joseph Myers <joseph@codesourcery.com>
44526
44527 * sysdeps/i386/sysdep.h: Include <features.h>.
44528 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44529 version.
44530
d8e0ca50
JM
445312012-02-05 Joseph Myers <joseph@codesourcery.com>
44532
44533 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44534 Define.
44535 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44536 LOAD_PIC_REG_STR.
44537
b1da7dd9
JM
445382012-02-03 Joseph Myers <joseph@codesourcery.com>
44539
44540 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44541 (SETUP_PIC_REG): Use GET_PC_THUNK.
44542 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44543 macro.
44544
9a1d9254
JM
445452012-02-03 Joseph Myers <joseph@codesourcery.com>
44546
44547 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44548 for non-PIC compilation.
44549 (SETUP_PIC_REG): Add .p2align directive.
44550 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44551 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44552 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44553 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44554 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44555 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44556 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44557 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44558 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44559 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44560 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44561 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44562 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44563 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44564 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44565 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44566 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44570 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44572 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44573 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44574 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44576 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44577 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44580 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44582 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44583 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44584 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44585 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44586 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44587 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44588 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44589 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44590 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44591
65dc3b75
JM
445922012-02-03 Joseph Myers <joseph@codesourcery.com>
44593
44594 * math/tst-CMPLX.c: Include <stdio.h>.
44595
d55bf177
JM
445962012-01-31 Joseph Myers <joseph@codesourcery.com>
44597
44598 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44599 float.
44600 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44601 * sysdeps/sparc/bits/mathdef.h: Likewise.
44602
69db4f8f
MP
446032012-01-31 Marek Polacek <polacek@redhat.com>
44604
44605 * libio/libio.h: Don't define _PARAMS.
44606 * locale/programs/config.h: Don't define PARAMS.
44607 * stdlib/strtol_l.c: Likewise.
44608 (__strtol_l): Remove PARAMS from the prototype.
44609
41b81892
UD
446102012-01-31 Ulrich Drepper <drepper@gmail.com>
44611
3b49edc0
UD
44612 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44613 names. Just use the correct names. Remove unnecessary wrapper
44614 functions.
44615 * malloc/arena.c: Likewise.
44616 * malloc/hooks.c: Likewise.
44617
41b81892
UD
44618 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44619 ARENA_TEST says not to. Simplify test for creation of a new arena.
44620 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44621
27a25b6e
UD
446222012-01-30 Ulrich Drepper <drepper@gmail.com>
44623
44624 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44625 into tail calls.
44626 (update_get_addr): New function.
44627 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44628 GET_ADDR_MODULE parameter.
44629
c8a89e7d
JM
446302012-01-30 Joseph Myers <joseph@codesourcery.com>
44631
44632 * crypt/cert.c: Remove __STDC__ conditionals.
44633 * crypt/crypt-entry.c: Likewise.
44634 * crypt/crypt_util.c: Likewise.
44635 * libio/filedoalloc.c: Likewise.
44636 * libio/fileops.c: Likewise.
44637 * libio/genops.c: Likewise.
44638 * libio/iofclose.c: Likewise.
44639 * libio/iofdopen.c: Likewise.
44640 * libio/iofopen.c: Likewise.
44641 * libio/iofopen64.c: Likewise.
44642 * libio/iogetdelim.c: Likewise.
44643 * libio/iopopen.c: Likewise.
44644 * libio/obprintf.c: Likewise.
44645 * libio/oldfileops.c: Likewise.
44646 * libio/oldiofclose.c: Likewise.
44647 * libio/oldiofdopen.c: Likewise.
44648 * libio/oldiofopen.c: Likewise.
44649 * libio/oldiopopen.c: Likewise.
44650 * libio/wfiledoalloc.c: Likewise.
44651 * libio/wgenops.c: Likewise.
44652 * locale/programs/xmalloc.c: Likewise.
44653 * misc/syslog.c: Likewise.
44654 * stdio-common/xbug.c: Likewise.
44655 * string/memchr.c: Likewise.
44656 * string/memcmp.c: Likewise.
44657 * string/memrchr.c: Likewise.
44658 * string/rawmemchr.c: Likewise.
44659 * sysdeps/posix/getcwd.c: Likewise.
44660 * time/strftime_l.c: Likewise.
44661
3b100462
JM
446622012-01-30 Joseph Myers <joseph@codesourcery.com>
44663
44664 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44665 * config.make.in (config-cflags-sse2avx): Define.
44666 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44667 Fix typo.
44668
607998af
CM
446692012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44670
44671 * scripts/config.guess: Update from upstream config git repository.
44672 * scripts/config.sub: Likewise.
44673
3601428f
CM
446742012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44675
3ac8b282
CM
44676 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44677 (EM_NUM): Update.
44678 (R_TILEPRO_*, R_TILEGX_*): New macros.
44679
e034841e
CM
44680 * scripts/firstversions.awk: Fix bug in version range handling.
44681
540d7568
CM
44682 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44683
3601428f
CM
44684 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44685
463de862
CM
44686 * include/sys/epoll.h: New file.
44687 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44688 libc_hidden_def.
44689
73139a76
UD
446902012-01-28 Ulrich Drepper <drepper@gmail.com>
44691
96bc5b45
UD
44692 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44693 Avoid unnecessary __WORDSIZE == 64 test.
44694 (fmaxf): Use VEX format if possible.
44695 (fmax): Likewise.
44696 (fminf): Likewise.
44697 (fmin): Likewise.
44698
56f6f6a2
UD
44699 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44700 * math/math_private.h: Remove libc_fegetround* and
44701 libc_fesetround*.
44702 * sysdeps/i386/configure.in: Check for -msse2avx.
44703 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44704 also if SSE2AVX is defined.
44705 Remove libc_fegetround* and libc_fesetround*.
44706 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44707 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44708 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44709 of HAS_YMM_USABLE.
44710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44712 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44713 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44714 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44715
73139a76
UD
44716 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44717
d73f93a4
AZ
447182012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44719
44720 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44721 size is not set.
44722 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44723
6ee65ed6
UD
447242012-01-27 Ulrich Drepper <drepper@gmail.com>
44725
44726 [BZ #13618]
44727 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44728 relocation.
44729 * Makeconfig (libm): Define.
44730 * elf/Makefile: Add rules to build and run tst-relsort1.
44731 * elf/tst-relsort1.c: New file.
44732 * elf/tst-relsort1mod1.c: New file.
44733 * elf/tst-relsort1mod2.c: New file.
44734
8db21882
JM
447352012-01-27 Joseph Myers <joseph@codesourcery.com>
44736
44737 * math/s_ldexp.c: Remove __STDC__ conditionals.
44738 * math/s_ldexpf.c: Likewise.
44739 * math/s_ldexpl.c: Likewise.
44740 * math/s_nextafter.c: Likewise.
44741 * math/s_nexttowardf.c: Likewise.
44742 * math/s_significand.c: Likewise.
44743 * math/s_significandf.c: Likewise.
44744 * math/s_significandl.c: Likewise.
44745 * math/w_jnl.c: Likewise.
44746 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44747 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44748 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44749 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44750 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44752 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44753 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44755 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44756 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44759 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44760 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44761 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44762 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44763 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44764 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44767 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44768 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44770 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44771 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44772 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44773 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44774 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44775 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44776 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44777 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44778 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44779 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44780 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44781 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44782 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44783 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44784 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44785 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44786 * sysdeps/ieee754/k_standard.c: Likewise.
44787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44788 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44789 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44790 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44791 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44792 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44793 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44794 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44795 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44796 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44797 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44798 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44799 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44800 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44801 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44802 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44803 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44804 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44805 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44806 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44807 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44808 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44809 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44812 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44813 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44814 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44815 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44816 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44817 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44818 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44819 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44820 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44822 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44823 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44826 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44827 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44829 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44830 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44832 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44836 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44837 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44838 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44840 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44842 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44843 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44844 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44846 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44847 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44848 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44849 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44853 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44856 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44857 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44859 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44860 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44861 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44862 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44863 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44864 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44865 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44866 * sysdeps/ieee754/s_matherr.c: Likewise.
44867 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44868 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44871
965a54a4
JM
448722012-01-26 Joseph Myers <joseph@codesourcery.com>
44873
44874 * crypt/md5.h: Remove __STDC__ conditionals.
44875 * libio/libioP.h: Likewise.
44876 * locale/programs/config.h: Likewise.
44877 * sysdeps/generic/sysdep.h: Likewise.
44878 * sysdeps/i386/asm-syntax.h: Likewise.
44879 * sysdeps/s390/asm-syntax.h: Likewise.
44880 * sysdeps/unix/sysdep.h: Likewise.
44881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44883
7071ad79
JM
448842012-01-26 Joseph Myers <joseph@codesourcery.com>
44885
44886 * libio/libio.h: Remove __STDC__ conditionals.
44887 * malloc/obstack.h: Likewise.
44888 * math/complex.h: Likewise.
44889 * math/math.h: Likewise.
44890 * sysdeps/generic/_G_config.h: Likewise.
44891 * sysdeps/gnu/_G_config.h: Likewise.
44892 * sysdeps/mach/hurd/_G_config.h: Likewise.
44893 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44894 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44895 * sysdeps/sparc/bits/mathdef.h: Likewise.
44896
afc5ed09
UD
448972012-01-26 Ulrich Drepper <drepper@gmail.com>
44898
44899 [BZ #13583]
44900 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 44901 Clean up HAS_* macros.
afc5ed09 44902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
44903 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44904 possible.
44905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44906 HAS_AVX.
44907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44908 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44909 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44910 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44911 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 44912
bdb6de1d
JM
449132012-01-25 Joseph Myers <joseph@codesourcery.com>
44914
44915 * elf/tst-unique3.cc (gets): Remove declaration.
44916 * elf/tst-unique3lib.cc (gets): Likewise.
44917 * elf/tst-unique3lib2.cc (gets): Likewise.
44918 * elf/tst-unique4.cc (gets): Likewise.
44919
b15549e6
UD
449202012-01-24 Ulrich Drepper <drepper@gmail.com>
44921
44922 * include/stdio.h: Add C++ protection. Add gets declarations and
44923 definitions.
44924 * debug/tst-chk1.c: Don't declare gets here.
44925 * stdio-common/tst-gets.c: Likewise.
44926
a037381f
JM
449272012-01-24 Joseph Myers <joseph@codesourcery.com>
44928
44929 * posix/glob: Remove directory.
44930
f1d4aa75
JM
449312012-01-24 Joseph Myers <joseph@codesourcery.com>
44932
44933 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44934
81c0c964
PT
449352012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44936
44937 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44938 of the non-standard EPFNOSUPPORT.
44939
0ea698ae
ST
449402011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44941
44942 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44943 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44944 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44945
d220b117
UD
449462012-01-21 Ulrich Drepper <drepper@gmail.com>
44947
44948 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44949
3e1aa84e
UD
449502012-01-20 Ulrich Drepper <drepper@gmail.com>
44951
44952 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44953 transient errors.
44954 * nscd/grpcache.c (cache_addgr): Likewise.
44955 * nscd/hstcache.c (cache_addhst): Likewise.
44956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44957 * nscd/pwdcache.c (cache_addpw): Likewise.
44958 * nscd/servicescache.c (cache_addserv): Likewise.
44959
400aa020
UD
449602012-01-16 Ulrich Drepper <drepper@gmail.com>
44961
d77e7869
UD
44962 * malloc/malloc.c: Various cleanups.
44963 * malloc/hooks.c: Likewise.
44964
400aa020
UD
44965 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44966 * stdlib/bug-fmtmsg1.c: New file.
44967
44968 * stdlib/fmtmsg.c (init): Add missing unlock.
44969 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44970
e0a309cf
MP
449712012-01-12 Marek Polacek <polacek@redhat.com>
44972
44973 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44974 and _GNU_SOURCE.
44975
929d11c7
WS
449762012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44977
44978 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44979 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44980 macro to ensure uniqueness of label name.
44981 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44982 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44983
41d0e869
UD
449842012-01-11 Ulrich Drepper <drepper@gmail.com>
44985
0cc5ed3b
UD
44986 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44987
41d0e869
UD
44988 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44990 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44992
a47a831a
UD
449932012-01-10 Ulrich Drepper <drepper@gmail.com>
44994
daa891c0
UD
44995 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44996
44997 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44998 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44999 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45000
e58ef0f2
UD
45001 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45002
a47a831a 45003 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45004 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45005 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45007
45008 * math/bits/math-finite.h: Add ldexp support.
45009
a0bfc9c7
MP
450102012-01-10 Marek Polacek <polacek@redhat.com>
45011
45012 * locale/programs/localedef.h (show_archive_content): Add noreturn
45013 attribute.
45014
d6e97a1d
UD
450152012-01-09 Ulrich Drepper <drepper@gmail.com>
45016
45017 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45018
d5835c26
UD
450192012-01-08 Ulrich Drepper <drepper@gmail.com>
45020
e5f484c6
UD
45021 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45022
d5835c26
UD
45023 * io/Makefile (headers): Add bits/poll2.h.
45024
d1f741e9
WS
450252011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45026
45027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45028 typo #include statement.
45029
ec09c1c4
UD
450302012-01-08 Ulrich Drepper <drepper@gmail.com>
45031
45032 * include/sys/cdefs.h: Define __attribute_alloc_size.
45033 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45034 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45035 * elf/pldd.c: Likewise.
45036 * iconv/iconv_charmap.c: Likewise.
45037 * iconv/iconvconfig.c: Likewise.
45038 * iconv/strtab.c: Likewise.
45039 * locale/programs/locale.c: Likewise.
45040 * locale/programs/localedef.h: Likewise.
45041 * locale/programs/simple-hash.c: Likewise.
45042 * nscd/nscd.h: Likewise.
45043 * nss/makedb.c: Likewise.
45044 * sysdeps/generic/ldconfig.h: Likewise.
45045 * locale/programs/localedef.c: Remove xmalloc prototype.
45046 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45047
20b38e03
PP
450482012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45049
45050 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45051 appropriate.
45052
a0da5fe1
UD
450532012-01-08 Ulrich Drepper <drepper@gmail.com>
45054
1d5a644a 45055 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45056 * math/tst-CMPLX.c: New file.
1d5a644a 45057
8784a6db
UD
45058 * math/complex.h (CMPLXL): Fix typo.
45059
d9a216c0
UD
45060 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45061 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45062 GLIBC_2.16.
45063 * debug/tst-chk1.c: Add poll and ppoll tests.
45064 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45065 * include/sys/poll.h: Add hidden proto for ppoll.
45066 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45067 * sysdeps/mach/hurd/ppoll.c: Likewise.
45068 * io/ppoll.c: Likewise.
45069 * debug/poll_chk.c: New file.
45070 * debug/ppoll_chk.c: New file.
45071 * include/bits/poll2.h: New file.
45072 * io/bits/poll2.h: New file.
45073
ac097f5c
UD
45074 [BZ #1350]
45075 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45076
2119dcfa
UD
45077 * configure.in: static is always set to yes. Remove.
45078 * config.make.in: Don't set build-static.
45079 * Makeconfig: Remove use of build-static.
45080 * dlfcn/Makefile: Likewise.
45081 * elf/Makefile: Likewise.
45082 * math/Makefile: Likewise.
45083 * misc/Makefile: Likewise.
45084 * nptl/Makefile: Likewise.
45085 * sysdeps/mach/hurd/Makefile: Likewise.
45086
121766a9
UD
45087 * configure.in: PWD_P is not used anymore.
45088 * config.make.in: Remove PWD_P entry.
45089
51a1d39c 45090 * configure.in: Remove last remnants of RANLIB.
8720d066 45091 No need to check for signed size_t anymore.
215f4bdc
UD
45092 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45093 and IA-64.
3857022a 45094 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45095 * aclocal.m4: Likewise.
45096
d3ed7225
UD
45097 * wcsmbs/mbrtoc16.c: Implement using towc function.
45098 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45099 * wcsmbs/wcsmbsload.c: Likewise.
45100 * iconv/gconv_simple.c: Likewise.
45101 * iconv/gconv_int.h: Likewise.
45102 * iconv/gconv_builtin.h: Likewise.
45103 * iconv/iconv_prog.c: Remove CHAR16 handling.
45104
45105 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45106
45107 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45108
a0da5fe1
UD
45109 * configure.in: Remove --with-elf and --enable-bounded options.
45110 Dont set base_machine for ia64. More non-ELF conditions removed.
45111 Remove testing and setting of leading underscore information.
45112 * config.make.in (build-bounded): Set to no.
45113 * config.h.in: Remove NO_UNDERSCORES entry.
45114 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45115 them.
45116 * csu/start.c: Remove !NO_UNDERSCORE code.
45117 * locale/localeinfo.h: Likewise.
45118 * sysdeps/generic/machine-gmon.h: Likewise.
45119 * sysdeps/generic/sysdep.h: Likewise.
45120 * sysdeps/i386/sysdep.h: Likewise.
45121 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45122 * sysdeps/mach/sysdep.h: Likewise.
45123 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45124 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45125 * sysdeps/sh/sysdep.h: Likewise.
45126 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45127 * sysdeps/unix/i386/sysdep.S: Likewise.
45128 * sysdeps/unix/sparc/start.c: Likewise.
45129 * sysdeps/unix/sparc/sysdep.S: Likewise.
45130 * sysdeps/unix/sparc/sysdep.h: Likewise.
45131 * sysdeps/unix/start.c: Likewise.
45132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45133 * sysdeps/x86_64/sysdep.h: Likewise.
45134
df78418a
UD
451352012-01-07 Ulrich Drepper <drepper@gmail.com>
45136
a784e502
UD
45137 [BZ #13553]
45138 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45139 for non-gcc.
45140 * argp/argp-fmtstream.h: Use const instead __const.
45141 * argp/argp.h: Likewise.
45142 * assert/assert.h: Likewise.
45143 * bits/fenv.h: Likewise.
45144 * bits/sched.h: Likewise.
45145 * bits/sigset.h: Likewise.
45146 * bits/sigthread.h: Likewise.
45147 * catgets/nl_types.h: Likewise.
45148 * conform/data/pthread.h-data: Likewise.
45149 * crypt/crypt-private.h: Likewise.
45150 * crypt/crypt.h: Likewise.
45151 * crypt/crypt_util.c: Likewise.
45152 * ctype/ctype.h: Likewise.
45153 * debug/execinfo.h: Likewise.
45154 * debug/mbsnrtowcs_chk.c: Likewise.
45155 * debug/mbsrtowcs_chk.c: Likewise.
45156 * debug/wcsnrtombs_chk.c: Likewise.
45157 * debug/wcsrtombs_chk.c: Likewise.
45158 * debug/wcstombs_chk.c: Likewise.
45159 * dirent/dirent.h: Likewise.
45160 * dlfcn/dlfcn.h: Likewise.
45161 * elf/neededtest4.c: Likewise.
45162 * grp/grp.h: Likewise.
45163 * gshadow/gshadow.h: Likewise.
45164 * iconv/gconv.h: Likewise.
45165 * iconv/gconv_int.h: Likewise.
45166 * iconv/gconv_simple.c: Likewise.
45167 * iconv/iconv.h: Likewise.
45168 * iconv/loop.c: Likewise.
45169 * iconv/skeleton.c: Likewise.
45170 * include/aio.h: Likewise.
45171 * include/aliases.h: Likewise.
45172 * include/argz.h: Likewise.
45173 * include/arpa/inet.h: Likewise.
45174 * include/assert.h: Likewise.
45175 * include/dirent.h: Likewise.
45176 * include/dlfcn.h: Likewise.
45177 * include/execinfo.h: Likewise.
45178 * include/fcntl.h: Likewise.
45179 * include/fenv.h: Likewise.
45180 * include/glob.h: Likewise.
45181 * include/grp.h: Likewise.
45182 * include/libintl.h: Likewise.
45183 * include/mntent.h: Likewise.
45184 * include/netdb.h: Likewise.
45185 * include/pwd.h: Likewise.
45186 * include/rpc/netdb.h: Likewise.
45187 * include/sched.h: Likewise.
45188 * include/search.h: Likewise.
45189 * include/shadow.h: Likewise.
45190 * include/signal.h: Likewise.
45191 * include/stdio.h: Likewise.
45192 * include/stdlib.h: Likewise.
45193 * include/string.h: Likewise.
45194 * include/sys/socket.h: Likewise.
45195 * include/sys/stat.h: Likewise.
45196 * include/sys/statfs.h: Likewise.
45197 * include/sys/statvfs.h: Likewise.
45198 * include/sys/syslog.h: Likewise.
45199 * include/sys/time.h: Likewise.
45200 * include/sys/uio.h: Likewise.
45201 * include/time.h: Likewise.
45202 * include/unistd.h: Likewise.
45203 * include/utmp.h: Likewise.
45204 * include/wchar.h: Likewise.
45205 * include/wctype.h: Likewise.
45206 * inet/aliases.h: Likewise.
45207 * inet/arpa/inet.h: Likewise.
45208 * inet/netinet/ether.h: Likewise.
45209 * inet/netinet/in.h: Likewise.
45210 * intl/libintl.h: Likewise.
45211 * io/bits/fcntl2.h: Likewise.
45212 * io/fcntl.h: Likewise.
45213 * io/ftw.h: Likewise.
45214 * io/sys/poll.h: Likewise.
45215 * io/sys/stat.h: Likewise.
45216 * io/sys/statfs.h: Likewise.
45217 * io/sys/statvfs.h: Likewise.
45218 * io/utime.h: Likewise.
45219 * libio/bits/stdio.h: Likewise.
45220 * libio/bits/stdio2.h: Likewise.
45221 * libio/libio.h: Likewise.
45222 * libio/libioP.h: Likewise.
45223 * libio/stdio.h: Likewise.
45224 * locale/lc-ctype.c: Likewise.
45225 * locale/locale.h: Likewise.
45226 * login/utmp.h: Likewise.
45227 * malloc/arena.c: Likewise.
45228 * malloc/malloc.c: Likewise.
45229 * malloc/malloc.h: Likewise.
45230 * malloc/mcheck.c: Likewise.
45231 * malloc/mtrace.c: Likewise.
45232 * math/bits/mathcalls.h: Likewise.
45233 * math/fenv.h: Likewise.
45234 * math/math_private.h: Likewise.
45235 * misc/bits/error.h: Likewise.
45236 * misc/bits/syslog.h: Likewise.
45237 * misc/err.h: Likewise.
45238 * misc/error.h: Likewise.
45239 * misc/fstab.h: Likewise.
45240 * misc/mntent.h: Likewise.
45241 * misc/regexp.h: Likewise.
45242 * misc/search.h: Likewise.
45243 * misc/sgtty.h: Likewise.
45244 * misc/sys/mman.h: Likewise.
45245 * misc/sys/syslog.h: Likewise.
45246 * misc/sys/uio.h: Likewise.
45247 * misc/sys/xattr.h: Likewise.
45248 * misc/ttyent.h: Likewise.
45249 * nis/rpcsvc/ypclnt.h: Likewise.
45250 * nss/nss.h: Likewise.
45251 * posix/bits/unistd.h: Likewise.
45252 * posix/fnmatch.h: Likewise.
45253 * posix/glob.h: Likewise.
45254 * posix/sched.h: Likewise.
45255 * posix/spawn.h: Likewise.
45256 * posix/sys/wait.h: Likewise.
45257 * posix/unistd.h: Likewise.
45258 * posix/wordexp.h: Likewise.
45259 * pwd/pwd.h: Likewise.
45260 * resolv/netdb.h: Likewise.
45261 * resource/sys/resource.h: Likewise.
45262 * rt/aio.h: Likewise.
45263 * rt/bits/mqueue2.h: Likewise.
45264 * rt/mqueue.h: Likewise.
45265 * shadow/shadow.h: Likewise.
45266 * signal/signal.h: Likewise.
45267 * socket/send.c: Likewise.
45268 * socket/sendto.c: Likewise.
45269 * socket/sys/socket.h: Likewise.
45270 * stdio-common/printf.h: Likewise.
45271 * stdlib/bits/stdlib.h: Likewise.
45272 * stdlib/fmtmsg.h: Likewise.
45273 * stdlib/monetary.h: Likewise.
45274 * stdlib/stdlib.h: Likewise.
45275 * stdlib/ucontext.h: Likewise.
45276 * streams/stropts.h: Likewise.
45277 * string/argz.h: Likewise.
45278 * string/bits/string2.h: Likewise.
45279 * string/string.h: Likewise.
45280 * string/strings.h: Likewise.
45281 * sunrpc/rpc/auth.h: Likewise.
45282 * sunrpc/rpc/auth_des.h: Likewise.
45283 * sunrpc/rpc/clnt.h: Likewise.
45284 * sunrpc/rpc/netdb.h: Likewise.
45285 * sunrpc/rpc/pmap_clnt.h: Likewise.
45286 * sunrpc/rpc/xdr.h: Likewise.
45287 * sysdeps/generic/inttypes.h: Likewise.
45288 * sysdeps/generic/net/if.h: Likewise.
45289 * sysdeps/generic/sys/swap.h: Likewise.
45290 * sysdeps/gnu/net/if.h: Likewise.
45291 * sysdeps/gnu/utmpx.h: Likewise.
45292 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45293 * sysdeps/i386/i486/bits/string.h: Likewise.
45294 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45295 * sysdeps/s390/bits/string.h: Likewise.
45296 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45297 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45298 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45299 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45300 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45301 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45302 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45303 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45304 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45305 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45306 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45307 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45308 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45309 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45310 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45311 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45312 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45315 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45316 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45317 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45318 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45319 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45320 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45321 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45322 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45323 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45324 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45325 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45326 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45327 * sysvipc/sys/ipc.h: Likewise.
45328 * sysvipc/sys/msg.h: Likewise.
45329 * sysvipc/sys/sem.h: Likewise.
45330 * sysvipc/sys/shm.h: Likewise.
45331 * termios/termios.h: Likewise.
45332 * time/sys/time.h: Likewise.
45333 * time/time.h: Likewise.
45334 * wcsmbs/bits/wchar2.h: Likewise.
45335 * wcsmbs/uchar.h: Likewise.
45336 * wcsmbs/wchar.h: Likewise.
45337 * wctype/wctype.h: Likewise.
45338
0269750c
UD
45339 [BZ #13551]
45340 * Makeconfig: Remove all but ELF support including AIX support.
45341 * Makerules: Likewise.
45342 * config.h.in: Likewise.
45343 * config.make.in: Likewise.
45344 * configure: Likewise.
45345 * configure.in: Likewise.
45346 * csu/Makefile: Likewise.
45347 * csu/version.c: Likewise.
45348 * debug/Makefile: Likewise.
45349 * dlfcn/Makefile: Likewise.
45350 * elf/Makefile: Likewise.
45351 * extra-lib.mk: Likewise.
45352 * iconv/Makefile: Likewise.
45353 * include/libc-symbols.h: Likewise.
45354 * include/shlib-compat.h: Likewise.
45355 * resolv/Makefile: Likewise.
45356 * resolv/res_libc.c: Likewise.
45357 * rt/Makefile: Likewise.
45358 * sysdeps/i386/asm-syntax.h: Likewise.
45359 * sysdeps/i386/sysdep.h: Likewise.
45360 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45361 * sysdeps/mach/sysdep.h: Likewise.
45362 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45363 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45364 * sysdeps/s390/asm-syntax.h: Likewise.
45365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45367 * sysdeps/sh/sysdep.h: Likewise.
45368 * sysdeps/unix/sparc/sysdep.h: Likewise.
45369 * sysdeps/wordsize-32/divdi3.c: Likewise.
45370 * sysdeps/x86_64/sysdep.h: Likewise.
45371
00bbd29b
UD
45372 * argp/Versions: Remove _argp_unlock_xxx.
45373
45374 [BZ #13559]
45375 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45376 * abilist/libBrokenLocale.abilist: Likewise.
45377 * abilist/libanl.abilist: Likewise.
45378 * abilist/libc.abilist: Likewise.
45379 * abilist/libcrypt.abilist: Likewise.
45380 * abilist/libdl.abilist: Likewise.
45381 * abilist/libm.abilist: Likewise.
45382 * abilist/libnsl.abilist: Likewise.
45383 * abilist/libpthread.abilist: Likewise.
45384 * abilist/libresolv.abilist: Likewise.
45385 * abilist/librt.abilist: Likewise.
45386 * abilist/libthread_db.abilist: Likewise.
45387 * abilist/libutil.abilist: Likewise.
45388 * abilist/libnss_db.abilist: New file.
45389
45390 * scripts/abilist.awk: Add support for indirect functions.
45391
a2693a0e
UD
45392 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45393
3f05895f
UD
45394 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45395
ecb6fb48
UD
45396 * shlib-versions: Remove entries for ports architectures.
45397
664f8cb9
UD
45398 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45399 files in ports.
45400 * elf/stackguard-macros.h: Remove support for IA-64.
45401 * elf/tst-auditmod1.c: Likewise.
45402 * sysdeps/generic/ldsodefs.h: Likewise.
45403
7ae81d88
UD
45404 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45405 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45406 configure files.
45407
bdeba135
UD
45408 [BZ #13552]
45409 * configure.in: Remove --enable-omitfp support.
45410 * FAQ.in: Adjust.
45411 * config.make.in: Likewise.
45412 * Makeconfig: Likewise.
45413 * manual/install.texi: Likewise.
45414
d75a0a62
UD
45415 In case anyone cares, the IA-64 architecture could move to ports.
45416 * sysdeps/ia64/*: Removed.
45417 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45418 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45419
dcc9756b
UD
45420 [BZ #13555]
45421 * configure.in: Remove entries for unsupported architectures.
45422
d3761ebc 45423 [BZ #13533]
9954432e
UD
45424 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45425 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45426 routines.
45427 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45428 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45429 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45430 fall back to using wcrtomb.
45431 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45432 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45433 renaming.
45434 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45435 * wcsmbs/tst-c16c32-1.c: New file.
45436
45437 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45438 local variable.
45439
c3a87236
UD
45440 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45441
28926a1b
UD
45442 * elf/tst-unique3.cc: Add explicit declaration of gets.
45443 * elf/tst-unique3lib.cc: Likewise.
45444 * elf/tst-unique3lib2.cc: Likewise.
45445 * elf/tst-unique4.cc: Likewise.
45446
df78418a
UD
45447 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45448
8ecd6b2a
JM
454492012-01-06 Joseph Myers <joseph@codesourcery.com>
45450
45451 [BZ #13566]
45452 * assert/assert.h (static_assert): Don't define for C++.
45453 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45454 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45455
9f115170
UD
454562012-01-03 Ulrich Drepper <drepper@gmail.com>
45457
5e0d0300
UD
45458 * iconv/loop.c (single loop): Fix assertion in storing of
45459 remaining bytes.
45460
9f115170
UD
45461 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45462
81fb02b0
UD
454632012-01-01 Ulrich Drepper <drepper@gmail.com>
45464
45465 * posix/getconf.c: Update copyright year.
45466 * nss/getent.c: Likewise.
a316c1f6 45467 * nss/makedb.c: Likewise.
81fb02b0
UD
45468 * iconv/iconvconfig.c: Likewise.
45469 * iconv/iconv_prog.c: Likewise.
45470 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45471 * elf/pldd.c: Likewise.
45472 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45473 * catgets/gencat.c: Likewise.
45474 * csu/version.c: Likewise.
45475 * elf/ldd.bash.in: Likewise.
45476 * elf/sprof.c (print_version): Likewise.
45477 * locale/programs/locale.c: Likewise.
45478 * locale/programs/localedef.c: Likewise.
a316c1f6 45479 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45480 * nscd/nscd.c (print_version): Likewise.
45481 * debug/xtrace.sh: Likewise.
45482 * malloc/memusage.sh: Likewise.
45483 * malloc/mtrace.pl: Likewise.
45484 * debug/catchsegv.sh: Likewise.
45485
2ba92745
JJ
454862011-12-30 Jakub Jelinek <jakub@redhat.com>
45487
45488 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45489 pure attribute.
45490
dadebdae
UD
454912011-12-24 Ulrich Drepper <drepper@gmail.com>
45492
d3761ebc 45493 [BZ #13533]
db6af3eb
UD
45494 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45495 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45496 transformations.
45497 * iconv/gconv_int.h: Likewise.
45498 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45499 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45500 from libc for GLIBC_2.16.
45501 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45502 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45503 * wcsmbs/uchar.h: Really define mbstate_t.
45504 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45505 * wcsmbs/c16rtomb.c: New file.
45506 * wcsmbs/mbrtoc16.c: New file.
45507 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45508 for C/POSIX locale.
45509 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45510 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45511
dadebdae
UD
45512 * wcsmbs/wchar.h: Add missing __restrict.
45513
67371b56
UD
455142011-12-23 Ulrich Drepper <drepper@gmail.com>
45515
74033a25
UD
45516 [BZ #13532]
45517 * time/Makefile (routines): Add timespec_get.
45518 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45519 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45520 timespec for ISO C11.
45521 * time/timespec_get.c: New file.
45522 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45523 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45524
380d7e87
UD
45525 [BZ #13531]
45526 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45527 * stdlib/stdlib.h: Declare aligned_alloc.
45528 * Versions.def: Add GLIBC_2.16 for libc.
45529 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45530
4e9e7a35
UD
45531 [BZ 13527]
45532 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45533 ISO C11.
45534
380d7e87 45535 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45536 code.
45537
03a71829
UD
45538 [BZ #13528]
45539 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45540
839e283e
UD
45541 [BZ #13529]
45542 * assert/assert.h (static_assert): Define.
45543
ce5294e2 45544 * version.h: Update for 2.16 development version.
90fa7312 45545
8d44e150 45546 [BZ #13526]
d7809905
UD
45547 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45548 _ISOC11_SOURCE.
45549
c0da14cd
UD
45550 * version.h (RELEASE): Bump for 2.15 release.
45551 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45552
530a3249
MP
45553 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45554 Patch by Marek Polacek <mpolacek@redhat.com>.
45555
67371b56
UD
45556 * bits/byteswap.h: Protect long long constants with __extension__.
45557 * sysdeps/i386/bits/byteswap.h: Likewise.
45558 * sysdeps/ia64/bits/byteswap.h: Likewise.
45559 * sysdeps/s390/bits/byteswap.h: Likewise.
45560 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45561
15db4de1
LD
455622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45563
45564 [BZ #13540]
bbe315ea
LD
45565 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45566 destination buffer.
15db4de1
LD
45567 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45568
2b2596b1
MP
455692011-12-23 Marek Polacek <polacek@redhat.com>
45570
45571 * elf/dl-addr.c (determine_info): Add inline keyword.
45572 * elf/tst-auditmod4b.c (check_avx): Likewise.
45573 * elf/tst-auditmod6b.c (check_avx): Likewise.
45574 * elf/tst-auditmod6c.c (check_avx): Likewise.
45575 * elf/tst-auditmod7b.c (check_avx): Likewise.
45576
70c6c246
UD
455772011-12-23 Ulrich Drepper <drepper@gmail.com>
45578
45579 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45580 !__SSE_MATH__.
45581
c044cf14
LD
455822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45583
15db4de1 45584 [BZ #13540]
c044cf14
LD
45585 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45586 processing for last bytes.
45587
6b13d9d9
BH
455882011-08-06 Bruno Haible <bruno@clisp.org>
45589
d455f537
BH
45590 [BZ #13061]
45591 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45592 U+0385, not to U+1FEE.
45593
6b13d9d9
BH
45594 [BZ #13062]
45595 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45596 entry for U+00A5 U+0301.
45597
db910efd
UD
455982011-12-22 Ulrich Drepper <drepper@gmail.com>
45599
27deeafc
UD
45600 [BZ #13166]
45601 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45602 buffer for the output is too small.
45603
aed9d171
UD
45604 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45605 optimization.
45606
db910efd
UD
45607 [BZ #13185]
45608 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45609 SSE flags if possible.
45610
2bd779ae
LD
456112011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45612
e7f9dac3 45613 [BZ #13540]
2bd779ae
LD
45614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45615 processing for last bytes.
45616
154bfc16
JM
456172011-12-22 Joseph Myers <joseph@codesourcery.com>
45618
45619 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45620 (syscall-list-default-options, syscall-list-default-condition)
45621 (syscall-list-includes): Define.
45622 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45623 list of ABIs and options and #if conditions for each ABI. Do not
45624 handle common syscalls between ABIs specially.
45625 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45626 Remove.
45627 (syscall-list-variants, syscall-list-32bit-options)
45628 (syscall-list-32bit-condition, syscall-list-64bit-options)
45629 (syscall-list-64bit-condition): Define.
45630 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45631 (syscall-list-variants, syscall-list-32bit-options)
45632 (syscall-list-32bit-condition, syscall-list-64bit-options)
45633 (syscall-list-64bit-condition): Define.
45634 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45635 Remove.
45636 (syscall-list-variants, syscall-list-32bit-options)
45637 (syscall-list-32bit-condition, syscall-list-64bit-options)
45638 (syscall-list-64bit-condition): Define.
45639 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45640 Remove.
45641 (syscall-list-variants, syscall-list-32bit-options)
45642 (syscall-list-32bit-condition, syscall-list-64bit-options)
45643 (syscall-list-64bit-condition): Define.
45644
21eaf3a5
UD
456452011-12-22 Ulrich Drepper <drepper@gmail.com>
45646
16c6f992
UD
45647 * locale/iso-639.def: Add brx entry.
45648
41043168
UD
45649 [BZ #13328]
45650 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45651 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45652
21eaf3a5
UD
45653 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45654 __feraiseexcept_renamed.
45655
e3a851a2
UD
456562011-12-21 Ulrich Drepper <drepper@gmail.com>
45657
4920765e
UD
45658 [BZ #13538]
45659 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45660 EPOLLET with unsigned values.
45661 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45662 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45663
e3a851a2
UD
45664 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45665 to large cancellation.
45666 * math/s_cacoshf.c: Likewise.
45667 * math/s_cacoshl.c: Likewise.
45668
b27e24b8
RK
456692011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45670
45671 [BZ #13305]
aebefeee 45672 [BZ #12786]
b27e24b8
RK
45673 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45674 * math/s_cacoshf.c: Likewise.
45675 * math/s_cacoshl.c: Likewise.
45676
ee190f67
UD
456772011-12-21 Ulrich Drepper <drepper@gmail.com>
45678
45679 [BZ #13439]
45680 * iconv/gconv.h: Define __GCONV_SWAP.
45681 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45682 * iconvdata/utf-16.c: Likewise.
45683 * iconvdata/utf-32.c: Likewise.
45684
707f25df
AS
456852011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45686
45687 [BZ #13524]
45688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45689 numerator after shifting it by one limb.
45690
d2daaa1e
RÁE
456912011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45692
45693 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45694 under [__USE_EXTERN_INLINES].
45695
a4647e72
UD
456962011-12-17 Ulrich Drepper <drepper@gmail.com>
45697
45698 [BZ #13446]
45699 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45700
f0b264f1
AZ
457012011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45702
45703 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45704 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45705 optimized code.
45706 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45707 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45708 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45709 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45710 for strncasecmp/strncasecmp_l compilation.
45711 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45712 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45713
8ef4f244
MP
457142011-12-08 Marek Polacek <mpolacek@redhat.com>
45715
45716 [BZ #13484]
45717 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45718 of __asm__.
45719
97ac2654
UD
457202011-12-17 Ulrich Drepper <drepper@gmail.com>
45721
45722 [BZ #13506]
45723 * time/tzfile.c (__tzfile_read): Check values from file header.
45724
91d2a845
WS
457252011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45726
45727 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45728 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45729 * powerpc/powerpc32/dl-start.S: Likewise.
45730 * powerpc/powerpc32/elf/start.S: Likewise.
45731 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45732 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45733 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45734 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45735 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45736 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45737 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45738 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45739 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45740 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45741 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45742 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45743 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45744 * powerpc/powerpc32/memset.S: Likewise.
45745 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45746 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45747 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45748 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45749 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45750 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45751 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45752 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45753 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45754 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45755 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45756 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45757 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45758
a1267ba1
AZ
457592011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45760
45761 * math/libm-test.inc: Added more nearbyint tests.
45762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45766
ad8ac1bd
RL
457672011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45768
45769 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45770 FD_CLOEXEC.
45771
1d3e4b61
UD
457722011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45773
45774 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45775 Add wcscpy-ssse3 wcscpy-c.
45776 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45777 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45778 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45779 * sysdeps/x86_64/wcschr.S: New file.
45780 * sysdeps/x86_64/wcsrchr.S: New file.
45781 * string/test-strcmp.c: Remove checking of wcscmp function for
45782 wrong alignments.
45783 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45784 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45785 wcsrchr-sse2 wcsrchr-c.
45786 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45787 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45788 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45789 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45790 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45791 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45792 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45793 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45794 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45795 * wcsmbc/wcschr.c (WCSCHR): New macro.
45796
5b330a2d
UD
457972011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45798
45799 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45800 * wcsmbs/test-wcsrchr.c: New file.
45801 * string/test-strrchr.c: Add wcsrchr support.
45802 (WIDE): New macro.
45803 * wcsmbs/test-wcscpy.c: New file.
45804 * string/test-strcpy.c: Add wcscpy support.
45805 (WIDE): New macro.
26428b7c 45806
f039c043
UD
458072011-12-10 Ulrich Drepper <drepper@gmail.com>
45808
45809 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45810 the inner loop.
45811
850fb039
AS
458122011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45813
45814 [BZ #13472]
45815 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45816
4efbd5cb
UD
458172011-12-04 Ulrich Drepper <drepper@gmail.com>
45818
52ff5dd0 45819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 45820 Minor optimizations.
52ff5dd0 45821
4efbd5cb
UD
45822 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45823 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45824 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45825
8a426e12
UD
458262011-12-03 Ulrich Drepper <drepper@gmail.com>
45827
aff2453d
UD
45828 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45829 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45830 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45831 for gcc to avoid warnings.
45832 * inet/Makefile (tests): Add tst-checks.
45833 * inet/tst-checks.c: New file.
45834
45835 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45836 warning.
45837
45838 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45839 __wmemcmp_sse2.
45840
45841 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45842 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45843
8a426e12
UD
45844 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45845
9bea3473
UD
458462011-12-02 Ulrich Drepper <drepper@gmail.com>
45847
3a965496
UD
45848 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45849 problem.
45850
9bea3473
UD
45851 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45852
f101631b
UD
458532011-11-29 Joseph Myers <joseph@codesourcery.com>
45854
45855 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45856 conditional on GCC version.
45857 (__arch_compare_and_exchange_val_8_acq)
45858 (__arch_compare_and_exchange_val_16_acq)
45859 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45860 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45861 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45862
a98275aa
UD
458632011-12-02 Joseph Myers <joseph@codesourcery.com>
45864
45865 * sysdeps/sh/backtrace.c: New file.
45866
d4cc29a2
AS
458672011-12-02 Andreas Schwab <schwab@redhat.com>
45868
45869 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45870 parenthesis.
45871
6257af2d
AS
458722011-12-01 Andreas Schwab <schwab@redhat.com>
45873
45874 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45875 falling back to utime.
45876
b5f44c1a
AS
458772011-11-30 Andreas Schwab <schwab@redhat.com>
45878
45879 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45880 expectations for float.
45881
f3a6cc0a
AS
458822011-11-29 Andreas Schwab <schwab@redhat.com>
45883
45884 * locale/weight.h (findidx): Add parameter len.
45885 * locale/weightwc.h (findidx): Likewise.
45886 * posix/fnmatch_loop.c (FCT): Adjust caller.
45887 * posix/regcomp.c (build_equiv_class): Likewise.
45888 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45889 * posix/regexec.c (check_node_accept_bytes): Likewise.
45890 * string/strcoll_l.c (STRCOLL): Likewise.
45891 * string/strxfrm_l.c (STRXFRM): Likewise.
45892
9d65ea3a
UD
458932011-11-17 Ulrich Drepper <drepper@gmail.com>
45894
45895 * Makefile.in: Remove CVSOPT handling.
45896 * configure.in: Remove use of AC_REVISION.
45897 * iconvdata/Makefile (distribute): No need to filter out CVS.
45898 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45899 handling.
45900
5583a086
AS
459012011-11-16 Andreas Schwab <schwab@redhat.com>
45902
45903 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45904 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45905 [USE_AS_STRNCASECMP_L]: Likewise.
45906 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45907 NO_TLS_DIRECT_SEG_REFS.
45908 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45909 Fix argument offsets for non-PIC.
45910 [USE_AS_STRNCASECMP_L]: Likewise.
45911 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45912 NO_TLS_DIRECT_SEG_REFS.
45913
d62a8200
UD
459142011-11-15 Ulrich Drepper <drepper@gmail.com>
45915
9d65ea3a 45916 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
45917 O_CLOEXEC.
45918 * locale/loadlocale.c (_nl_load_locale): Likewise.
45919
09f93bd3
AS
459202011-11-15 Andreas Schwab <schwab@redhat.com>
45921
446514f9
AS
45922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45923 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45924 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45925 (SYSCALL_GETTIME): Set errno on error.
45926
09f93bd3
AS
45927 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45928 count references to noai6ai_cached.
45929
312be3f9
UD
459302011-11-15 Ulrich Drepper <drepper@gmail.com>
45931
45932 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45933
45934 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45935 FD_CLOEXEC for /proc/self/maps.
45936
45937 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45938 FD_CLOEXEC for /proc/meminfo.
45939
45940 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45941 gai.conf.
45942
45943 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45944 FD_CLOEXEC for given file.
45945
45946 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45947
45948 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45949 FD_CLOEXEC for /etc/hosts.
45950 (_gethtent): Likewise.
45951
45952 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45953
45954 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45955 cancellation and set FD_CLOEXEC for /etc/netgroup.
45956
45957 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45958 reading /etc/publickey.
45959
45960 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45961 allow cancellation when reading /etc/group.
45962
45963 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45964 cancellation.
45965 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45966
45967 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45968 when using data file.
45969
45970 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45971
45972 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45973 (write_nis_obj): Use "c" and "e" in fopen.
45974
45975 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45976
45977 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45978
45979 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45980
45981 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45982
45983 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45984 locale.alias.
45985
45986 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45987
45988 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45989
45990 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45991
45992 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45993 file parsing and set FD_CLOEXEC.
45994
82af0fa8
UD
459952011-11-14 Ulrich Drepper <drepper@gmail.com>
45996
45997 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45998
a5fb313c
AS
459992011-11-14 Andreas Schwab <schwab@redhat.com>
46000
46001 * malloc/arena.c (arena_get2): Don't call reused_arena when
46002 _int_new_arena failed.
46003
6abf3465
UD
460042011-11-14 Ulrich Drepper <drepper@gmail.com>
46005
46006 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46007 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46008 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46009 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46011 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46012 to compile strcasecmp and strncasecmp.
46013 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46014 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46015
46016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46017
76e3966e
UD
460182011-11-13 Ulrich Drepper <drepper@gmail.com>
46019
46020 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46021 locale-defines.sym to gen-as-const-headers.
46022 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46023 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46024 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46025 to compile strcasecmp and strncasecmp.
46026 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46027 strcasecmp_l and strncasecmp_l.
46028 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46029 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46030 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46031 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46032 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46033 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46034 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46035 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46036 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46037 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46038 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46039
ab26144e
UD
460402011-11-12 Ulrich Drepper <drepper@gmail.com>
46041
7edb22ef
UD
46042 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46043 result of SYSDEP_GETTIME_CPU to retval.
46044 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46045 parameter list to macro. Remove trailing semicolon. Adjust users.
46046
9694fc44
UD
46047 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46048 variable.
46049
8ad89ef8
UD
46050 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46051 mantissa words.
46052 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46053
0c822ef9
UD
46054 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46055 from unused variable.
46056
874e0564
UD
46057 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46058 DWARF definitions.
46059 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46060 for assembling.
46061
3a2edc79
UD
46062 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46063 over namespaces.
46064
f3c2577f
UD
46065 * sunrpc/rpc_prot.c (rejected): Fix case value.
46066
294ce126
UD
46067 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46068 unsigned long long int to avoid warnings in shift.
46069
5e2b63c6
UD
46070 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46071 of use of trans.
46072 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46073 variable tmp.
46074
e7f4b08e
UD
46075 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46076 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46077 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46078
ab26144e
UD
46079 * nis/nis_table.c (nis_list): Use variable of correct type for
46080 result of __follow_path call.
46081
8a6d5255
AZ
460822011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46083
46084 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46085 of math functions ceil, trunc, floor, round, and sqrt, when
46086 avaliable on the platform.
46087 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46088 name clash.
46089 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46090 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46091 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46092
aaddc98c
MP
460932011-10-30 Marek Polacek <mpolacek@redhat.com>
46094
46095 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46096 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46097
95b7042b
RM
460982011-11-11 Roland McGrath <roland@hack.frob.com>
46099
46100 * include/unistd.h: Fix __readlink return type.
46101 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46102
57769839
UD
461032011-11-11 Ulrich Drepper <drepper@gmail.com>
46104
46105 * stdlib/ucontext.h: Undo last change for makecontext.
46106
edc5984d
AS
461072011-11-11 Andreas Schwab <schwab@redhat.com>
46108
98591e58
AS
46109 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46110
edc5984d
AS
46111 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46112 * setjmp/setjmp.h: Mark functions as non-leaf.
46113 * setjmp/bits/setjmp2.h: Likewise.
46114 * stdlib/ucontext.h: Likewise.
46115
77cdc054
AS
461162011-11-10 Andreas Schwab <schwab@redhat.com>
46117
46118 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46119 (reused_arena): Don't check arena limit.
46120 (arena_get2): Atomically check arena limit.
46121
fe72eebd
UD
461222011-11-08 Ulrich Drepper <drepper@gmail.com>
46123
5f078c32
UD
46124 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46125 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46126
fe72eebd
UD
46127 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46128 instructions.
46129
ae1bc2fa
AS
461302011-11-07 Andreas Schwab <schwab@redhat.com>
46131
7583a88d
AS
46132 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46133 handler when locking.
46134
ae1bc2fa
AS
46135 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46136 Fix size of allocated buffer.
46137
10fb0bfa
AS
461382011-11-04 Andreas Schwab <schwab@redhat.com>
46139
998832a4
AS
46140 [BZ #10103]
46141 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46142 declarations for long double functions.
46143 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46144
10fb0bfa
AS
46145 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46146
3d7ba52b
AS
461472011-11-03 Andreas Schwab <schwab@redhat.com>
46148
a9ae54a1
AS
46149 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46150 installed.
46151
3d7ba52b
AS
46152 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46153 is disabled.
46154
bc8db248
ST
461552011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46156
46157 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46158
45b96dd6
AS
461592011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46160
647776f6
AS
46161 * include/alloca.h (stackinfo_alloca_round): Define.
46162 (extend_alloca): Use it.
46163 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46164 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46165 here.
46166
d91a8b93
AS
46167 * scripts/check-local-headers.sh: Ignore libaudit.h.
46168
45b96dd6
AS
46169 * nscd/Makefile (extra-objs): Make recursively expanded.
46170
432d41ce
UD
461712011-11-01 Ulrich Drepper <drepper@gmail.com>
46172
34372fc6
UD
46173 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46174 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46175
fadb59f8
UD
46176 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46177 * posix/tst-rfc3484-2.c: Likewise.
46178 * posix/tst-rfc3484-3.c: Likewise.
46179
78239589
UD
46180 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46181 process_vm_writev.
46182 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46183 process_vm_writev.
46184 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46185 process_vm_writev from libc using GLIBC_2.15 version.
46186
432d41ce
UD
46187 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46188
02f9c6cf
PP
461892011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46190
46191 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46192 stack usage.
46193
3a2c0242
UD
461942011-10-31 Ulrich Drepper <drepper@gmail.com>
46195
f4ec4833
UD
46196 [BZ #13367]
46197 * nss/getent.c (initgroups_keys): Show error message in case no group
46198 names are given.
46199
3a2c0242
UD
46200 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46201 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46202 __bump_nl_timestamp.
46203 * nscd/connections (nscd_init): When host database is served open
46204 netlink socket and request notification about configuration changes.
46205 (main_loop_poll): Track netlink file descriptor and bump timestamp
46206 in case data becomes available.
46207 (main_loop_epoll): Likewise.
46208 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46209 (database_pers_head): Add extra_data fileds.
46210 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46211 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46212 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46213 Adjust caller.
46214 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46215 in6ai data, call __free_in6ai.
46216 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46217 Add -DHAVE_NETLINK.
46218 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46219 interface information. Reuse previous data if netlink timestamp
46220 is not changed.
46221 (__bump_nl_timestamp): New function.
46222 (__free_in6ai): New function.
46223
636064eb
UD
462242011-10-30 Ulrich Drepper <drepper@gmail.com>
46225
46226 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46227 close_not_cancel_no_status here.
46228 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46229
9beb2334
UD
462302011-10-29 Ulrich Drepper <drepper@gmail.com>
46231
6ef76f3b
UD
46232 [BZ #13276]
46233 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46234 return value.
46235
0ffc4f3e 46236 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46237 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46238 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46239
cb95113e
UD
462402011-07-03 Andreas Jaeger <aj@suse.de>
46241
46242 [BZ #10709]
46243 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46244 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46245 * math/libm-test.inc (sin_test): Add test case.
46246
a1b560ff
UD
462472011-10-29 Ulrich Drepper <drepper@gmail.com>
46248
c9aaface
UD
46249 [BZ #13337]
46250 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46251 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46252
d272e7f1
UD
46253 * elf/chroot_canon.c (chroot_canon): Cleanups.
46254
1bc33071
UD
46255 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46256
1760874d
TJ
46257 [BZ #13335]
46258 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46259 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46260
51d91b18
UD
46261 * string/test-strchr.c: Make usable for strchrnul testing.
46262 * string/test-strchrnul.c: New file.
46263 * string/Makefile (strop-tests): Add strchrnul.
46264
a1b560ff 46265 * po/it.po: Update from translation team.
b611fb81 46266 * po/es.po: Likewise.
a1b560ff 46267
a5b81e1f
UD
462682011-10-28 Ulrich Drepper <drepper@gmail.com>
46269
fd52bc6d
UD
46270 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46271 the three constants needed as parameters. Drop the others.
46272 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46273 __m128i_strloadu_tolower.
52e4b9eb
UD
46274 Create and initialize variable zero and use it in all the places
46275 where _mm_setzero_si128 was used.
fd52bc6d 46276
a5b81e1f
UD
46277 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46278 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46279 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46280 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46281 anymore.
46282 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46285 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46286 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46287 __mpranred, __mptan.
46288 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46289 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46290 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46291 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46292 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46293 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46294 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46295 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46296 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46297
b4343346
AS
462982011-10-28 Andreas Schwab <schwab@redhat.com>
46299
0c92d8a8
AS
46300 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46301 redefine if SHARED.
46302 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46303
b4343346
AS
46304 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46305 wide char related routines to wcsmbs subdir.
46306
3871f58f
AS
463072011-10-27 Andreas Schwab <schwab@redhat.com>
46308
46309 [BZ #13344]
46310 * misc/sys/cdefs.h (__THROWNL): Define.
46311 * posix/unistd.h: Use __THREADNL instead of __THREAD
46312 for memory synchronization functions.
46313
94d44d9f
RM
463142011-10-26 Roland McGrath <roland@hack.frob.com>
46315
21b64b15 46316 [BZ #13349]
94d44d9f
RM
46317 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46318 doesn't exist.
46319 * manual/stdio.texi (Obstack Streams): Node removed.
46320
f6ce9294
AS
463212011-10-26 Andreas Schwab <schwab@redhat.com>
46322
80479147
AS
46323 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46324 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46325 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46326
f6ce9294
AS
46327 * math/math_private.h (math_force_eval): Allow non-addressable
46328 arguments.
46329 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46330
618280a1
UD
463312011-10-25 Ulrich Drepper <drepper@gmail.com>
46332
e0016b11
UD
46333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46334 file is not needed.
46335
46336 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46338 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46339 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46340 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46341 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46342 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46343 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46344 Add AVX variants.
46345 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46346 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46347 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46348 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46349 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46350 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46351 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46352 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46353 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46354 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46355 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46356 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46358 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46359 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46360 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46361 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46362 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46363 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46364
46365 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46366 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46367
618280a1
UD
46368 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46369 place. Use VEX encoding when compiling for AVX.
46370
37822576
AS
463712011-10-25 Andreas Schwab <schwab@redhat.com>
46372
1f1e1947
AS
46373 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46374 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46375
37822576
AS
46376 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46377
31ea014d
UD
463782011-10-25 Ulrich Drepper <drepper@gmail.com>
46379
d7826aa1 46380 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46381 useless if() expression.
d7826aa1
UD
46382 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46385 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46387 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46389 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46392 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46393 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46394 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46395 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46396 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46397 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46398 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46399 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46400 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46401
31ea014d
UD
46402 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46403
16437fec
AS
464042011-10-25 Andreas Schwab <schwab@redhat.com>
46405
46406 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46407 condition.
46408 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46409
31d3cc00
UD
464102011-10-25 Ulrich Drepper <drepper@gmail.com>
46411
46412 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46413 .text section. Avoid duplicate constants.
46414 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46422 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46423 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46424 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46425 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46426 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46427 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46428 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46429 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46430 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46431 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46432 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46434 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46435 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46436 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46437 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46438 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46439 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46440 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46441 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46443 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46444 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46445 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46446 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46447 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46448 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46449 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46450 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46451 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46452 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46453 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46456 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46457 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46458 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46459
58985aa9
UD
464602011-10-24 Ulrich Drepper <drepper@gmail.com>
46461
202c9deb
UD
46462 * sysdeps/x86_64/dla.h: Move to ...
46463 * sysdeps/x86_64/fpu/dla.h: ...here.
46464 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46465 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46466
af968f62
UD
46467 * config.make.in: Add have-mfma4 entry.
46468 * configure.in: Substitute libc_cv_cc_fma4.
46469 * math/Makefile (dbl-only-routines): Add sincostab.
46470 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46471 Use __sincostab not sincos.
46472 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46473 name is a macro.
46474 * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise. Define singArctan2
46478 using __copysign.
46479 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46480 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46481 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46482 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46483 and __inv.
46484 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46485 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46486 __copysign.
46487 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46488 define aliases when function name is a macro.
46489 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46490 sysdeps/ieee754/dbl-64/sincos.tbl.
46491 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46492 fma4-enabled routines.
46493 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46494 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46495 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46496 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46497 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46498 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46500 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46502 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46503 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46504 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46505 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46506 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46507 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46508 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46509 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46510 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46511 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46512 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46513 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46514 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46515 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46516 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46517 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46518 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46523
58985aa9
UD
46524 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46525 rename.
46526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46534
a201fbcf
AS
465352011-10-24 Andreas Schwab <schwab@redhat.com>
46536
46537 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46538
fc2ee42a
LD
465392011-10-23 Ulrich Drepper <drepper@gmail.com>
46540
bb3129bd
UD
46541 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46542
0275fff8
UD
46543 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46544 prediction.
46545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46546
2fa2ae85
UD
46547 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46548 Remove unused variable magic_bits.
46549 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46550
fc2ee42a
LD
46551 * string/strnlen.c: Define and use STRNLEN macro.
46552 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46553 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46555 * wcsmbs/wcslen.c: Define and use WCSLEN.
46556 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46557 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46558 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46559 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46560 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46561 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46562 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46563
ce7dd29f
LD
465642011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46565
46566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46567 strnlen-sse2-no-bsf.
46568 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46569 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46570 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46571 Add strnlen support.
46572 (USE_AS_STRNLEN): New macro.
46573 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46574 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46575 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46576 * sysdeps/x86_64/wcslen.S: New file.
46577
979c70a3
MZ
465782011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46579
46580 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46581 XMM-moves are used for copying on small sizes.
46582
2d09f82f
LD
465832011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46584
46585 * wcsmbs/Makefile (strop-tests): Add wcschr.
46586 * wcsmbs/test-wcschr.c: New file.
46587 * string/test-strchr.c: Update.
46588 Add wcschr support.
46589 (WIDE): New macro.
46590
619fccca
LD
465912011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46592
2d09f82f 46593 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46594 * wcsmbs/test-wcslen.c: New file.
46595 * string/test-strlen.c: Update.
46596 Add wcslen support.
46597 (WIDE): New macro.
46598
09f699ea
UD
465992011-10-23 Ulrich Drepper <drepper@gmail.com>
46600
46601 * po/it.po: Update from translation team.
46602
95584d3b
LD
466032011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46604
46605 * sysdeps/x86_64/wcscmp.S: Update.
46606 Fix wrong comparison semantics.
46607 wcscmp shall use signed comparison not unsigned.
46608 Don't use substraction to avoid overflow bug.
46609 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46610 * wcsmbc/wcscmp.c: Likewise.
46611 * string/test-strcmp.c: Likewise.
46612 Add new tests to check cases with negative values.
46613
c8b3296b
UD
466142011-10-23 Ulrich Drepper <drepper@gmail.com>
46615
46616 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46617 * sysdeps/x86_64/dla.h: ...here. New file.
46618 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46623 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46624 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46625 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46627
246ad57a
AS
466282011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46629
46630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46631 __ynl_finite aliases.
46632
a1a87169
UD
466332011-10-22 Ulrich Drepper <drepper@gmail.com>
46634
0d355eb7
UD
46635 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46636
a1a87169
UD
46637 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46638 define DLA_FMA.
46639 [DLA_FMA] (EMULV): Use DLA_FMA.
46640 [DLA_FMA] (MUL12): Use EMULV.
46641 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46642 that are not needed.
46643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46644 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46645 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46647 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46650
ee2aafe0
AS
466512011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46652
46653 * math/s_nan.c: Undef __nan.
46654 * math/s_nanf.c: Undef __nanf.
46655 * math/s_nanl.c: Undef __nanl.
46656 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46657 "math_private.h".
46658
bc62c2fb
UD
466592011-10-22 Ulrich Drepper <drepper@gmail.com>
46660
77425c63
UD
46661 * math/s_catan.c: Add branch predictions.
46662 * math/s_catanf.c: Likewise.
46663 * math/s_catanh.c: Likewise.
46664 * math/s_catanhf.c: Likewise.
46665 * math/s_catanhl.c: Likewise.
46666 * math/s_catanl.c: Likewise.
46667 * math/s_cexp.c: Likewise.
46668 * math/s_cexpf.c: Likewise.
46669 * math/s_cexpl.c: Likewise.
46670 * math/s_clog.c: Likewise.
46671 * math/s_clog10.c: Likewise.
46672 * math/s_clog10f.c: Likewise.
46673 * math/s_clog10l.c: Likewise.
46674 * math/s_clogf.c: Likewise.
46675 * math/s_clogl.c: Likewise.
46676 * math/s_csqrt.c: Likewise.
46677 * math/s_csqrtf.c: Likewise.
46678 * math/s_csqrtl.c: Likewise.
46679 * math/s_ctanf.c: Likewise.
46680 * math/s_ctanh.c: Likewise.
46681 * math/s_ctanhf.c: Likewise.
46682 * math/s_ctanhl.c: Likewise.
46683 * math/s_ctanl.c: Likewise.
46684
bc62c2fb
UD
46685 * math/math_private.h: Define __nan, __nanf, __nanl.
46686 * math/s_cacosh.c: Include <math_private.h>.
46687 * math/s_cacoshl.c: Likewise.
46688 * math/s_casinh.c: Likewise.
46689 * math/s_casinhf.c: Likewise.
46690 * math/s_casinhl.c: Likewise.
46691 * math/s_ccos.c: Rely entire on ccosh.
46692 * math/s_ccosf.c: Rely entire on ccoshf.
46693 * math/s_ccosl.c: Rely entirely on ccoshl.
46694 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46695 Remove tests for FE_INVALID.
46696 * math/s_ccoshf.c: Likewise.
46697 * math/s_ccoshl.c: Likewise.
46698 * math/s_csin.c: Likewise.
46699 * math/s_csinf.c: Likewise.
46700 * math/s_csinh.c Likewise.
46701 * math/s_csinhf.c: Likewise.
46702 * math/s_csinhl.c: Likewise.
46703 * math/s_csinl.c: Likewise.
46704 * math/s_ctan.c: Likewise.
46705 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46706 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46707 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46708
8ec250a4
UD
467092011-10-21 Ulrich Drepper <drepper@gmail.com>
46710
c196fed8
UD
46711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46712 compilation problems.
46713
8ec250a4
UD
46714 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46715 __builtin_expect.
46716
8d4f46c6
UD
467172011-10-20 Ulrich Drepper <drepper@gmail.com>
46718
ed72b654
UD
46719 * sysdeps/i386/configure.in: Test for -mfma4 option.
46720 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46721 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46722 COMMON_CPUID_INDEX_80000001.
46723 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46724 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46725 use it if FMA3 is not supported.
46726 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46727
8d4f46c6
UD
46728 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46729 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46730
d45c60c2
AS
467312011-10-20 Andreas Schwab <schwab@redhat.com>
46732
46733 [BZ #12892]
46734 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46735 it would create a cycle with a link time dependency.
46736
d9a4d2ab
UD
467372011-10-19 Ulrich Drepper <drepper@gmail.com>
46738
855d1560
UD
46739 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46740 instruction.
46741 * string/Makefile (strop-tests): Add rawmemchr.
46742 * string/test-rawmemchr.c: New file.
46743
d9a4d2ab
UD
46744 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46746 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46747 when compiling str{,n}casecmp and when AVX is available. Hook up
46748 new optimized code in initializers.
46749
8f3b1ffe
AS
467502011-10-19 Andreas Schwab <schwab@redhat.com>
46751
46752 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46753 __feraiseexcept instead of feraiseexcept.
46754
d38f1dba
UD
467552011-10-18 Ulrich Drepper <drepper@gmail.com>
46756
d9a8d0ab
UD
46757 * math/math_private.h: Define defaults for libc_fetestexcept and
46758 libc_feupdateenv.
46759 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46760 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46761 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46762 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46763 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46764 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46765 libc_fetestexcept and libc_feupdateenv.
46766
4855e3dd
UD
46767 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46768 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46769 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46770 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46771 libc_feholdexcept_setround.
46772
581d30e3
UD
46773 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46774 Add s_nearbyint-c and s_nearbyintf-c.
46775 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46776 nearbyintf inlines.
46777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46778 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46780 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46781
d38f1dba
UD
46782 * math/math_private.h: Define defaults for libc_fegetround,
46783 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46784 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46785 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46787 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46788 standard functions.
46789 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46790 Remove comments and hacks for old compiler versions.
46791 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46792 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46793 libc_feholdexceptl.
46794
caa6c9d8
AS
467952011-10-18 Andreas Schwab <schwab@redhat.com>
46796
46797 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
46798 (__feraiseexcept_renamed): Add __NTH.
46799 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
46800 namespace violations.
46801
97c066e6
UD
468022011-10-17 Ulrich Drepper <drepper@gmail.com>
46803
99ce7b04
UD
46804 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46805
1004d182
UD
46806 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46807
228a984d
UD
46808 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46809 recently added interfaces.
46810 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46811
c8553a6a
UD
46812 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46813 about macro parameter expansion.
46814
ed22dcf6
UD
46815 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46816 __NO_MATH_INLINES is defined. Cleanups.
46817
46818 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46819 and __floorf is target has SSE4.1.
46820 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46822 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46824
b171c137
UD
46825 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46826 name.
46827 (floorf): Likewise.
46828
97c066e6
UD
46829 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46830
629f62ef
AS
468312011-10-17 Andreas Schwab <schwab@redhat.com>
46832
49a43d80
AS
46833 * misc/sys/cdefs.h: Fix last change.
46834
629f62ef
AS
46835 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46836 database lookup.
46837
e453f6cd
UD
468382011-10-16 Ulrich Drepper <drepper@gmail.com>
46839
aa78043a
UD
46840 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46841
ad0f5cad
UD
46842 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46843 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46844 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46848 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46849 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46850 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46851 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46852 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46853 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46854 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46855 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46856 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46857 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46859 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46860 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46861 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46862 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46863 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46864
46865 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46866 ceil, ceilf, floor, floorf.
46867
46868 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46869 Perform IRELATIVE relocations last.
46870
e453f6cd
UD
46871 * elf/do-rel.h: Add another parameter nrelative, replacing the
46872 local variable with the same name. Change name of the function
46873 to end in Rel or Rela (uppercase).
46874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46875 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46876 elf_dynamic_do_##reloc function.
46877
fd5bdc09
UD
468782011-10-15 Ulrich Drepper <drepper@gmail.com>
46879
79b195b5
UD
46880 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46881 is sufficient, at least on modern CPUs.
46882
d4a28569
UD
46883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46884
b61099b5
UD
46885 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46886 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46887
bcf01e6d
UD
46888 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46889 __expl_finite.
46890 * math/bits/math-finite.h: Add entries for exp.
46891 * math/e_expl.c: Add __*_finite alias.
46892 * sysdeps/i386/fpu/e_exp.S: Likewise.
46893 * sysdeps/i386/fpu/e_expf.S: Likewise.
46894 * sysdeps/i386/fpu/e_expl.c: Likewise.
46895 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46896 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46897 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46899 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46900 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46901 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46902
ba1a0d59
UD
46903 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46904 is sufficient, at least on modern CPUs.
46905
fd5bdc09
UD
46906 * ctype/ctype-info.c (__ctype_init): Define.
46907 * include/ctype.h (__ctype_init): Declare.
46908 (__ctype_b_loc): The variable is always initialized.
46909 (__ctype_toupper_loc): Likewise.
46910 (__ctype_tolower_loc): Likewise.
46911 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46912 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46913
7872cfb0
AS
469142011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46915
b468825a
AS
46916 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46917
7872cfb0
AS
46918 * configure.in: Also look in $cxxmachine/include for C++ system
46919 headers.
46920
be13f7bf
LD
469212011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46922
46923 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46924 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46925 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46926 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46927 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46928 (USE_AS_WMEMCMP): New macro.
46929 Fixing indents.
46930 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46931 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46932 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46933 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46935 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46936 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46937 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46938 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46939 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46940 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46941 (USE_AS_WMEMCMP): New macro.
46942 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46943 * sysdeps/string/test-memcmp.c: Update.
46944 Fix simple_wmemcmp.
46945 Add new tests.
46946 * wcsmbs/wmemcmp.c: Update.
46947 (WMEMCMP): New macro.
46948 Fix overflow bug.
46949
556a2007
AJ
469502011-10-12 Andreas Jaeger <aj@suse.de>
46951
46952 [BZ #13268]
46953 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46954
538faaa7
UD
469552011-10-15 Ulrich Drepper <drepper@gmail.com>
46956
ab6737ff
UD
46957 * libio/iofwide.c (do_length): Avoid warning.
46958
538faaa7
UD
46959 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46960
396a21b1
UD
469612011-10-14 Ulrich Drepper <drepper@gmail.com>
46962
cdf2901f
UD
46963 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46964
38ad40ce
UD
46965 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46966 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46967 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46968 * sysdeps/i386/i686/fpu/e_log.S: New file.
46969 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46970 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46971
396a21b1
UD
46972 * ctype/ctype.h: Add support for inlined isXXX functions when
46973 compiling C++ code.
46974
6b1f68c9
AS
469752011-10-14 Andreas Schwab <schwab@redhat.com>
46976
349290c0
AS
46977 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46978
6b1f68c9
AS
46979 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46980
f2282d42
RM
469812011-10-13 Roland McGrath <roland@hack.frob.com>
46982
46983 [BZ #13291]
46984 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46985
5298ffa8
AS
469862011-10-13 Andreas Schwab <schwab@redhat.com>
46987
714fad23
AS
46988 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46989 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46990 feraiseexcept.
46991
81dcc7fb
AS
46992 * sysdeps/x86_64/memrchr.S: Check for zero size.
46993
5298ffa8
AS
46994 * string/stratcliff.c: Add memrchr tests.
46995
951fbcec
LD
469962011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46997
46998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46999 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47000 rawmemchr-sse2 rawmemchr-sse2-bsf.
47001 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47002 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47003 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47004 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47005 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47006 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47007 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47008 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47009 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47010 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47011 * string/memrchr.c (MEMRCHR): New macro.
47012
0ac5ae23
UD
470132011-10-12 Ulrich Drepper <drepper@gmail.com>
47014
47015 Add integration with gcc's -ffinite-math-only and optimize wrapper
47016 functions in libm.
47017 * Versions.def: Define GLIBC_2.15 version for libm.
47018 * math/Makefile (headers): Add bits/math-finite.h.
47019 * math/bits/math-finite.h: New file.
47020 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47021 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47022 * math/e_acoshl.c: Add __*_finite alias.
47023 * math/e_acosl.c: Likewise.
47024 * math/e_asinl.c: Likewise.
47025 * math/e_atan2l.c: Likewise.
47026 * math/e_atanhl.c: Likewise.
47027 * math/e_coshl.c: Likewise.
47028 * math/e_exp10.c: Likewise.
47029 * math/e_exp10f.c: Likewise.
47030 * math/e_exp10l.c: Likewise.
47031 * math/e_exp2l.c: Likewise.
47032 * math/e_fmodl.c: Likewise.
47033 * math/e_gammal_r.c: Likewise.
47034 * math/e_hypotl.c: Likewise.
47035 * math/e_j0l.c: Likewise.
47036 * math/e_j1l.c: Likewise.
47037 * math/e_jnl.c: Likewise.
47038 * math/e_lgammal_r.c: Likewise.
47039 * math/e_log10l.c: Likewise.
47040 * math/e_log2l.c: Likewise.
47041 * math/e_logl.c: Likewise.
47042 * math/e_powl.c: Likewise.
47043 * math/e_sinhl.c: Likewise.
47044 * math/e_sqrtl.c: Likewise.
47045 * math/e_scalb.c: Completely rewritten and optimized.
47046 * math/e_scalbf.c: Likewise.
47047 * math/e_scalbl.c: Likewise.
47048 * math/w_acos.c: Likewise.
47049 * math/w_acosf.c: Likewise.
47050 * math/w_acosl.c: Likewise.
47051 * math/w_acosh.c: Likewise.
47052 * math/w_acoshf.c: Likewise.
47053 * math/w_acoshl.c: Likewise.
47054 * math/w_asin.c: Likewise.
47055 * math/w_asinf.c: Likewise.
47056 * math/w_asinl.c: Likewise.
47057 * math/w_atan2.c: Likewise.
47058 * math/w_atan2f.c: Likewise.
47059 * math/w_atan2l.c: Likewise.
47060 * math/w_atanh.c: Likewise.
47061 * math/w_atanhf.c: Likewise.
47062 * math/w_atanhl.c: Likewise.
47063 * math/w_exp10.c: Likewise.
47064 * math/w_exp10f.c: Likewise.
47065 * math/w_exp10l.c: Likewise.
47066 * math/w_fmod.c: Likewise.
47067 * math/w_fmodf.c: Likewise.
47068 * math/w_fmodl.c: Likewise.
47069 * math/w_j0.c: Likewise.
47070 * math/w_j0f.c: Likewise.
47071 * math/w_j0l.c: Likewise.
47072 * math/w_j1.c: Likewise.
47073 * math/w_j1f.c: Likewise.
47074 * math/w_j1l.c: Likewise.
47075 * math/w_jn.c: Likewise.
47076 * math/w_jnf.c: Likewise.
47077 * math/w_log.c: Likewise.
47078 * math/w_logf.c: Likewise.
47079 * math/w_logl.c: Likewise.
47080 * math/w_log10.c: Likewise.
47081 * math/w_log10f.c: Likewise.
47082 * math/w_log10l.c: Likewise.
47083 * math/w_log2.c: Likewise.
47084 * math/w_log2f.c: Likewise.
47085 * math/w_log2l.c: Likewise.
47086 * math/w_pow.c: Likewise.
47087 * math/w_powf.c: Likewise.
47088 * math/w_powl.c: Likewise.
47089 * math/w_remainder.c: Likewise.
47090 * math/w_remainderf.c: Likewise.
47091 * math/w_remainderl.c: Likewise.
47092 * math/w_scalb.c: Likewise.
47093 * math/w_scalbf.c: Likewise.
47094 * math/w_scalbl.c: Likewise.
47095 * math/w_sqrt.c: Likewise.
47096 * math/w_sqrtf.c: Likewise.
47097 * math/w_sqrtl.c: Likewise.
47098 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47099 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47100 used.
47101 * math/math_private.h: Declare __kernel_standard_f.
47102 * math/w_cosh.c: Remove cruft and optimize a bit.
47103 * math/w_coshf.c: Likewise.
47104 * math/w_coshl.c: Likewise.
47105 * math/w_exp2.c: Likewise.
47106 * math/w_exp2f.c: Likewise.
47107 * math/w_exp2l.c: Likewise.
47108 * math/w_hypot.c: Likewise.
47109 * math/w_hypotf.c: Likewise.
47110 * math/w_hypotl.c: Likewise.
47111 * math/w_lgamma.c: Likewise.
47112 * math/w_lgamma_r.c: Likewise.
47113 * math/w_lgammaf.c: Likewise.
47114 * math/w_lgammaf_r.c: Likewise.
47115 * math/w_lgammal.c: Likewise.
47116 * math/w_lgammal_r.c: Likewise.
47117 * math/w_sinh.c: Likewise.
47118 * math/w_sinhf.c: Likewise.
47119 * math/w_sinhl.c: Likewise.
47120 * math/w_tgamma.c: Likewise.
47121 * math/w_tgammaf.c: Likewise.
47122 * math/w_tgammal.c: Likewise.
47123 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47125 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47126 Minor optimizations. Pretty printing. Remove cruft.
47127 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47128 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47129 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47130 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47131 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47132 * sysdeps/i386/fpu/e_asin.S: Likewise.
47133 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47134 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47135 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47136 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47137 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47138 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47139 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47140 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47141 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47142 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47143 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47144 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47145 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47146 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47147 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47148 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47149 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47150 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47151 * sysdeps/i386/fpu/e_log.S: Likewise.
47152 * sysdeps/i386/fpu/e_log10.S: Likewise.
47153 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47154 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47155 * sysdeps/i386/fpu/e_log2.S: Likewise.
47156 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47157 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47158 * sysdeps/i386/fpu/e_logf.S: Likewise.
47159 * sysdeps/i386/fpu/e_logl.S: Likewise.
47160 * sysdeps/i386/fpu/e_pow.S: Likewise.
47161 * sysdeps/i386/fpu/e_powf.S: Likewise.
47162 * sysdeps/i386/fpu/e_powl.S: Likewise.
47163 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47164 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47165 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47166 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47167 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47168 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47169 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47170 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47171 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47172 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47175 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47177 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47178 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47179 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47180 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47181 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47182 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47184 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47185 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47186 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47187 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47189 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47193 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47194 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47195 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47196 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47197 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47198 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47199 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47200 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47201 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47203 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47205 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47206 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47207 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47208 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47209 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47210 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47211 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47212 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47213 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47214 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47220 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47222 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47224 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47225 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47227 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47228 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47229 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47230 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47231 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47232 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47235 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47237 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47240 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47241 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47242 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47244 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47246 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47248 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47249 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47251 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47253 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47255 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47256 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47257 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47259 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47260 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47261 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47262 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47263 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47265 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47267 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47268 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47269 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47270 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47271 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47272 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47273 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47274 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47275 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47276 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47277 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47278 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47279 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47280 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47281 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47282 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47283 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47284 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47285 (__isnanf): Likewise.
47286 (__isinf_ns): Likewise.
47287 (__isinf_nsf): Likewise.
47288 (__finite): Likewise.
47289 (__finitef): Likewise.
47290 (__ieee754_sqrt): Define as macro.
47291 (__ieee754_sqrtf): Define as macro.
47292 (__ieee754_sqrtl): Define as macro.
47293 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47294 inlined copy.
47295 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47296 __FINITE_MATH_ONLY__ consistent.
47297 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47298
12cc2fcd
AS
472992011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47300
a843a204
AS
47301 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47302 of rawmemchr.
47303
12cc2fcd
AS
47304 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47305
c853acd5
UD
473062011-10-09 Ulrich Drepper <drepper@gmail.com>
47307
47308 * po/ja.po: Update from translation team.
47309
c658d255
RM
473102011-10-08 Roland McGrath <roland@hack.frob.com>
47311
110946e4
RM
47312 * locale/programs/locarchive.c (prepare_address_space): New function.
47313 (create_archive, enlarge_archive, open_archive): Use it.
47314
50604220
RM
47315 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47316 inside [SHARED], where it is used.
47317
c658d255
RM
47318 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47319
47320 * nss/getent.c (netgroup_keys): Remove unused variable.
47321 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47322
6a621eb7
UD
473232011-10-08 Ulrich Drepper <drepper@gmail.com>
47324
7edb55ce
UD
47325 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47326 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47327 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47328 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47329 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47330 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47331 * math/Makefile (libm-calls): Add s_isinf_ns.
47332 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47333 * math/multc3.c: Likewise.
47334 * math/s_casin.c: Likewise.
47335 * math/s_casinf.c: Likewise.
47336 * math/s_casinl.c: Likewise.
47337 * math/s_ccos.c: Likewise.
47338 * math/s_ccosf.c: Likewise.
47339 * math/s_ccosl.c: Likewise.
47340 * math/s_ctan.c: Likewise.
47341 * math/s_ctanf.c: Likewise.
47342 * math/s_ctanh.c: Likewise.
47343 * math/s_ctanhf.c: Likewise.
47344 * math/s_ctanhl.c: Likewise.
47345 * math/s_ctanl.c: Likewise.
47346 * math/w_fmod.c: Likewise.
47347 * math/w_fmodf.c: Likewise.
47348 * math/w_fmodl.c: Likewise.
47349 * math/w_remainder.c: Likewise.
47350 * math/w_remainderf.c: Likewise.
47351 * math/w_remainderl.c: Likewise.
47352 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47353 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47354 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47356 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47357 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47358 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47359 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47360
187da0ae
UD
47361 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47362 of the number.
47363 * stdio-common/printf_fphex.c: Likewise.
47364 * stdio-common/printf_size.c: Likewise.
47365
9277c064
UD
47366 * math/e_exp10.c: Include math_private.h using <...> not "...".
47367 * math/e_exp10f.c: Likewise.
47368 * math/e_exp10l.c: Likewise.
47369 * math/e_exp2l.c: Likewise.
47370 * math/e_j0l.c: Likewise.
47371 * math/e_j1l.c: Likewise.
47372 * math/e_jnl.c: Likewise.
47373 * math/e_lgammal_r.c: Likewise.
47374 * math/e_rem_pio2l.c: Likewise.
47375 * math/e_scalb.c: Likewise.
47376 * math/e_scalbf.c: Likewise.
47377 * math/e_scalbl.c: Likewise.
47378 * math/k_cosl.c: Likewise.
47379 * math/k_sinl.c: Likewise.
47380 * math/k_tanl.c: Likewise.
47381 * math/s_cacoshf.c: Likewise.
47382 * math/s_catan.c: Likewise.
47383 * math/s_catanf.c: Likewise.
47384 * math/s_catanh.c: Likewise.
47385 * math/s_catanhf.c: Likewise.
47386 * math/s_catanhl.c: Likewise.
47387 * math/s_catanl.c: Likewise.
47388 * math/s_ccosh.c: Likewise.
47389 * math/s_ccoshf.c: Likewise.
47390 * math/s_ccoshl.c: Likewise.
47391 * math/s_cexp.c: Likewise.
47392 * math/s_cexpf.c: Likewise.
47393 * math/s_cexpl.c: Likewise.
47394 * math/s_clog.c: Likewise.
47395 * math/s_clog10.c: Likewise.
47396 * math/s_clog10f.c: Likewise.
47397 * math/s_clog10l.c: Likewise.
47398 * math/s_clogf.c: Likewise.
47399 * math/s_clogl.c: Likewise.
47400 * math/s_csin.c: Likewise.
47401 * math/s_csinf.c: Likewise.
47402 * math/s_csinh.c: Likewise.
47403 * math/s_csinhf.c: Likewise.
47404 * math/s_csinhl.c: Likewise.
47405 * math/s_csinl.c: Likewise.
47406 * math/s_csqrt.c: Likewise.
47407 * math/s_csqrtf.c: Likewise.
47408 * math/s_csqrtl.c: Likewise.
47409 * math/s_ctan.c: Likewise.
47410 * math/s_ctanf.c: Likewise.
47411 * math/s_ctanh.c: Likewise.
47412 * math/s_ctanhf.c: Likewise.
47413 * math/s_ctanhl.c: Likewise.
47414 * math/s_ctanl.c: Likewise.
47415 * math/s_ldexp.c: Likewise.
47416 * math/s_ldexpf.c: Likewise.
47417 * math/s_ldexpl.c: Likewise.
47418 * math/s_significand.c: Likewise.
47419 * math/s_significandf.c: Likewise.
47420 * math/s_significandl.c: Likewise.
47421 * math/w_acos.c: Likewise.
47422 * math/w_acosf.c: Likewise.
47423 * math/w_acosh.c: Likewise.
47424 * math/w_acoshf.c: Likewise.
47425 * math/w_acoshl.c: Likewise.
47426 * math/w_acosl.c: Likewise.
47427 * math/w_asin.c: Likewise.
47428 * math/w_asinf.c: Likewise.
47429 * math/w_asinl.c: Likewise.
47430 * math/w_atan2.c: Likewise.
47431 * math/w_atan2f.c: Likewise.
47432 * math/w_atan2l.c: Likewise.
47433 * math/w_atanh.c: Likewise.
47434 * math/w_atanhf.c: Likewise.
47435 * math/w_atanhl.c: Likewise.
47436 * math/w_cosh.c: Likewise.
47437 * math/w_coshf.c: Likewise.
47438 * math/w_coshl.c: Likewise.
47439 * math/w_dremf.c: Likewise.
47440 * math/w_exp10.c: Likewise.
47441 * math/w_exp10f.c: Likewise.
47442 * math/w_exp10l.c: Likewise.
47443 * math/w_exp2.c: Likewise.
47444 * math/w_exp2f.c: Likewise.
47445 * math/w_fmod.c: Likewise.
47446 * math/w_fmodf.c: Likewise.
47447 * math/w_fmodl.c: Likewise.
47448 * math/w_hypot.c: Likewise.
47449 * math/w_hypotf.c: Likewise.
47450 * math/w_hypotl.c: Likewise.
47451 * math/w_j0.c: Likewise.
47452 * math/w_j0f.c: Likewise.
47453 * math/w_j0l.c: Likewise.
47454 * math/w_j1.c: Likewise.
47455 * math/w_j1f.c: Likewise.
47456 * math/w_j1l.c: Likewise.
47457 * math/w_jn.c: Likewise.
47458 * math/w_jnf.c: Likewise.
47459 * math/w_jnl.c: Likewise.
47460 * math/w_lgamma.c: Likewise.
47461 * math/w_lgamma_r.c: Likewise.
47462 * math/w_lgammaf.c: Likewise.
47463 * math/w_lgammaf_r.c: Likewise.
47464 * math/w_lgammal.c: Likewise.
47465 * math/w_lgammal_r.c: Likewise.
47466 * math/w_log.c: Likewise.
47467 * math/w_log10.c: Likewise.
47468 * math/w_log10f.c: Likewise.
47469 * math/w_log10l.c: Likewise.
47470 * math/w_log2.c: Likewise.
47471 * math/w_log2f.c: Likewise.
47472 * math/w_log2l.c: Likewise.
47473 * math/w_logf.c: Likewise.
47474 * math/w_logl.c: Likewise.
47475 * math/w_pow.c: Likewise.
47476 * math/w_powf.c: Likewise.
47477 * math/w_powl.c: Likewise.
47478 * math/w_remainder.c: Likewise.
47479 * math/w_remainderf.c: Likewise.
47480 * math/w_remainderl.c: Likewise.
47481 * math/w_scalb.c: Likewise.
47482 * math/w_scalbf.c: Likewise.
47483 * math/w_scalbl.c: Likewise.
47484 * math/w_sinh.c: Likewise.
47485 * math/w_sinhf.c: Likewise.
47486 * math/w_sinhl.c: Likewise.
47487 * math/w_sqrt.c: Likewise.
47488 * math/w_sqrtf.c: Likewise.
47489 * math/w_sqrtl.c: Likewise.
47490 * math/w_tgamma.c: Likewise.
47491 * math/w_tgammaf.c: Likewise.
47492 * math/w_tgammal.c: Likewise.
47493
6a621eb7
UD
47494 * po/ja.po: Update from translation team.
47495
bf582445
AJ
474962011-09-29 Andreas Jaeger <aj@suse.de>
47497
f9efbf3a
AJ
47498 [BZ #13179]
47499 * sunrpc/netname.c (netname2host): Fix logic.
47500
bf582445
AJ
47501 [BZ #6779]
47502 [BZ #6783]
47503 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47504 correctly.
47505 * math/w_remainder.c (__remainder): Likewise.
47506 * math/w_remainderf.c (__remainderf): Likewise.
47507 * math/libm-test.inc (remainder_test): Add test cases.
47508
48693bea
AK
475092011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47510
47511 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47512 sdiv_qrnnd.
47513
42622229
LD
475142011-10-07 Ulrich Drepper <drepper@gmail.com>
47515
47516 * string/test-memcmp.c: Avoid unncessary #defines.
47517 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47518
093ecf92
LD
475192011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47520
47521 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47522 Use new sse2 version for core i3 - i7 as it's faster
47523 than sse42 version.
47524 (bit_Prefer_PMINUB_for_stringop): New.
47525 * sysdeps/x86_64/rawmemchr.S: Update.
47526 Replace with faster SSE2 version.
47527 * sysdeps/x86_64/memrchr.S: New file.
47528 * sysdeps/x86_64/memchr.S: Update.
47529 Replace with faster SSE2 version.
47530
fde56e5c
MP
475312011-09-12 Marek Polacek <mpolacek@redhat.com>
47532
47533 * elf/dl-load.c (lose): Add cast to avoid warning.
47534
21fd49a9
UD
475352011-10-07 Ulrich Drepper <drepper@gmail.com>
47536
5a06e643
UD
47537 * po/ca.po: Update from translation team.
47538
684ae515
UD
47539 * inet/getnetgrent_r.c: Hook up nscd.
47540 * nscd/Makefile (routines): Add nscd_netgroup.
47541 (nscd-modules): Add netgroupcache.
47542 (CFLAGS-netgroupcache.c): Define.
47543 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47544 (cache_search): Add const to second parameter.
47545 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47546 INNETGR.
47547 (dbs): Add netgrdb entry.
47548 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47549 (verify_persistent_db): Handle netgrdb.
47550 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47551 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47552 GETFDNETGR.
47553 (netgroup_response_header): Define.
47554 (innetgroup_response_header): Define.
47555 (datahead): Add netgroup_response_header and innetgroup_response_header
47556 elements.
47557 * nscd/nscd.conf: Add entries for netgroup cache.
47558 * nscd/nscd.h (dbtype): Add netgrdb.
47559 (_PATH_NSCD_NETGROUP_DB): Define.
47560 (netgroup_iov_disabled): Declare.
47561 (xmalloc, xcalloc, xrealloc): Move declarations here.
47562 (cache_search): Adjust prototype.
47563 Add netgroup-related prototypes.
47564 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47565 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47566 (__nscd_innetgr): Declare.
47567 * nscd/selinux.c (perms): Use access_vector_t as element type and
47568 add netgroup-related initializers.
47569 * nscd/netgroupcache.c: New file.
47570 * nscd/nscd_netgroup.c: New file.
47571 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47572 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47573 For four parameters use innetgr.
47574 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47575 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47576 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47577 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47578
21fd49a9
UD
47579 * nscd/connections.c (register_traced_file): Don't register file
47580 for disabled databases.
47581
054c0457
UD
475822011-10-06 Ulrich Drepper <drepper@gmail.com>
47583
32b63198
UD
47584 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47585
054c0457
UD
47586 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47587 from tree and freeing node.
47588
64031225
JO
475892011-09-25 Jiri Olsa <jolsa@redhat.com>
47590
47591 * nss/nsswitch.c (__nss_database_lookup): Handle
47592 nss_parse_service_list out of memory case.
47593
0490345c
JO
475942011-09-15 Jiri Olsa <jolsa@redhat.com>
47595
47596 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47597 out of memory case.
47598
3a62d00d
AS
475992011-10-04 Andreas Schwab <schwab@redhat.com>
47600
47601 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47602 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47603 pass it down.
47604 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47605 elf_machine_rela, elf_machine_lazy_rel.
47606 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47607 (ELF_DYNAMIC_DO_REL): Likewise.
47608 (ELF_DYNAMIC_DO_RELA): Likewise.
47609 (ELF_DYNAMIC_RELOCATE): Likewise.
47610 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47611 to ELF_DYNAMIC_DO_REL.
47612 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47613 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47614 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47615 elf_machine_rela.
47616 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47617 skip_ifunc, don't call ifunc function if non-zero.
47618 (elf_machine_rela): Likewise.
47619 (elf_machine_lazy_rel): Likewise.
47620 (elf_machine_lazy_rela): Likewise.
47621 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47622 (elf_machine_lazy_rel): Likewise.
47623 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47624 Likewise.
47625 (elf_machine_lazy_rel): Likewise.
47626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47627 Likewise.
47628 (elf_machine_lazy_rel): Likewise.
47629 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47630 (elf_machine_lazy_rel): Likewise.
47631 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47632 (elf_machine_lazy_rel): Likewise.
47633 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47634 (elf_machine_lazy_rel): Likewise.
47635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47636 (elf_machine_lazy_rel): Likewise.
47637 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47638 (elf_machine_lazy_rel): Likewise.
47639 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47640 (elf_machine_lazy_rel): Likewise.
47641
68577918
UD
476422011-09-28 Ulrich Drepper <drepper@gmail.com>
47643
47644 * nss/nss_files/files-init.c (_nss_files_init): Use static
47645 initialization for all the *_traced_file variables.
47646
68822d74
AS
476472011-09-28 Andreas Schwab <schwab@redhat.com>
47648
47649 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47650
2056100b
RM
476512011-09-27 Roland McGrath <roland@hack.frob.com>
47652
47653 [BZ #13226]
47654 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47655
32c76b63
AS
476562011-09-27 Andreas Schwab <schwab@redhat.com>
47657
47658 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47659 Reread the line before reparsing it.
47660
bf972c9d
AS
476612011-09-26 Andreas Schwab <schwab@redhat.com>
47662
47663 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47664
e057a1b5
JM
476652011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47666 Maxim Kuvyrkov <maxim@codesourcery.com>
47667 Joseph Myers <joseph@codesourcery.com>
47668
47669 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47670 if needed for __stack_chk_guard.
47671
bc7e1c36
RM
476722011-09-19 Roland McGrath <roland@hack.frob.com>
47673
ecb1482f
RM
47674 * sysdeps/posix/spawni.c (script_execute): Always define it.
47675 It will be optimized away if unused.
47676 (maybe_script_execute): New function.
47677 (__spawni): Call it.
47678
bc7e1c36
RM
47679 * Makerules: Don't include tls.make.
47680 (config-tls): Always set to thread.
47681 * tls.make.c: File removed.
47682
1c3b002b
MF
476832011-09-19 Mike Frysinger <vapier@gentoo.org>
47684
47685 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47686 * config.make.in (CPPFLAGS-config): New substituted variable.
47687
2840865d
UD
476882011-09-15 Ulrich Drepper <drepper@gmail.com>
47689
88738eb6
UD
47690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47691
cbf645a6 47692 [BZ #13192]
2840865d
UD
47693 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47694 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47695
b402e91a
RM
476962011-09-15 Roland McGrath <roland@hack.frob.com>
47697
47698 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47699 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47701 (CALL_FAIL): Likewise.
47702 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47703 (CALL_FAIL): Macro removed.
47704 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47705
4c1a1f71
UD
477062011-09-15 Ulrich Drepper <drepper@gmail.com>
47707
47708 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47709 for __FINITE_MATH_ONLY__ == 1.
47710
edc121be
AS
477112011-09-15 Andreas Schwab <schwab@redhat.com>
47712
47713 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47714 __ieee754_sqrt instead of sqrt.
47715 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47716 __ieee754_sqrtf instead of sqrtf.
47717 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47718 __floorf instead of floorf.
47719 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47720 __floorf, __truncf instead of floorf, truncf.
47721
cd205654
UD
477222011-09-14 Ulrich Drepper <drepper@gmail.com>
47723
ee4d0315
UD
47724 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47725
cd205654
UD
47726 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47727 __extern_always_inline.
47728 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47729 32-bit.
47730
48b67d71
AS
477312011-09-14 Andreas Schwab <schwab@redhat.com>
47732
47733 * elf/rtld.c (dl_main): Also relocate in dependency order when
47734 doing symbol dependency testing.
47735
1ae12c75
AS
477362011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47737
47738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47739 Always define `refsym'.
47740
995a80df
AS
477412011-09-13 Andreas Schwab <schwab@redhat.com>
47742
e529793b
AS
47743 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47744 (__FD_ELT): Renamed from __FDELT.
47745 * misc/bits/select2.h (__FD_ELT): Likewise.
47746 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47747 __FD_MASK instead of __FDELT, __FDMASK.
47748 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47749 Likewise.
47750 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47751 Likewise.
47752
52d4fef8
AS
47753 * elf/Makefile (gen-ldd): Fix pattern.
47754
995a80df
AS
47755 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47756 (init_tls): Likewise.
47757
8682f8b0
UD
477582011-09-12 Ulrich Drepper <drepper@gmail.com>
47759
47760 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47761
de82006d
AS
477622011-09-12 Andreas Schwab <schwab@redhat.com>
47763
a7c8e6a1
AS
47764 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47765 `struct cmsghdr *' instead of `void *'.
47766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47767 Likewise.
47768
0f31fe77
AS
477692011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47770
47771 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47772 if non-absolute.
47773 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47774 ldd_rewrite_script.
0f31fe77 47775
32b4c839
UD
477762011-09-11 Ulrich Drepper <drepper@gmail.com>
47777
83cd1420
UD
47778 * configure.in: Remove --with-tls option.
47779 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47780 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47781 out in case it is missing.
47782 * sysdeps/ia64/elf/configure.in: Likewise.
47783 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47784 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47785 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47786 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47787 * sysdeps/sh/elf/configure.in: Likewise.
47788 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47789 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47790 * sysdeps/x86_64/elf/configure.in: Likewise.
47791 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47792 * sysdeps/mach/hurd/tls.h: Likewise.
47793
633f745d
UD
47794 [BZ #13067]
47795 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47796
f318beb8
UD
47797 [BZ #13090]
47798 * configure.in: Fix use of AC_INIT.
47799
32b4c839
UD
47800 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47801
3ce1f295
UD
478022011-09-10 Ulrich Drepper <drepper@gmail.com>
47803
bb016596
UD
47804 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47805 __set_errno.
8e58439c
UD
47806 * malloc/hooks.c: Likewise.
47807
aebae053 47808 [BZ #11929]
02d46fc4
UD
47809 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47810 variables statically.
47811 (narenas): Initialize.
47812 (list_lock): Initialize.
bb016596
UD
47813 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47814 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
47815 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47816 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47817 Add initializers to main_arena and mp_.
47818 (malloc_state): Remove pagesize member. Change all users to use
47819 GLRO(dl_pagesize).
47820
47821 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47822 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47823 is always initialized.
47824
22a89187
UD
47825 * malloc/malloc.c: Removed unused configurations and dead code.
47826 * malloc/arena.c: Likewise.
47827 * malloc/hooks.c: Likewise.
02d46fc4 47828 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 47829
d063d164
UD
47830 * include/tls.h: Removed. USE___THREAD must always be defined.
47831 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47832 * elf/dl-libc.c: Likewise.
47833 * elf/dl-tsd.c: Likewise.
47834 * include/errno.h: Likewise.
47835 * include/netdb.h: Likewise.
47836 * include/resolv.h: Likewise.
47837 * inet/herrno-loc.c: Likewise.
47838 * inet/herrno.c: Likewise.
47839 * malloc/arena.c: Likewise.
47840 * malloc/hooks.c: Likewise.
47841 * malloc/malloc.c: Likewise.
47842 * resolv/res-state.c: Likewise.
47843 * resolv/res_libc.c: Likewise.
47844 * sysdeps/i386/dl-machine.h: Likewise.
47845 * sysdeps/ia64/dl-machine.h: Likewise.
47846 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47847 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47848 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47849 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47850 * sysdeps/sh/dl-machine.h: Likewise.
47851 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47852 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47853 * sysdeps/unix/i386/sysdep.S: Likewise.
47854 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47855 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47860 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47862 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47864 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47865 * sysdeps/x86_64/dl-machine.h: Likewise.
47866 * tls.make.c: Likewise.
47867
3ce1f295
UD
47868 * configure.in: Remove --with-__thread option. Make tests for
47869 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47870 tls_model attribute fail if no support is available. Remove
47871 USE_IN_LIBIO.
47872 * Makeconfig: Adjust for dropped configure option. All features are
47873 now mandatory.
47874 * Makerules: Likewise.
47875 * Versions.def: Likewise.
47876 * argp/argp-fmtstream.c: Likewise.
47877 * argp/argp-fmtstream.h: Likewise.
47878 * argp/argp-help.c: Likewise.
47879 * assert/assert.c: Likewise.
47880 * config.h.in: Likewise.
47881 * config.make.in: Likewise.
47882 * configure: Likewise.
47883 * configure.in: Likewise.
47884 * csu/Versions: Likewise.
47885 * csu/init.c: Likewise.
47886 * elf/tst-audit2.c: Likewise.
47887 * elf/tst-tls10.c: Likewise.
47888 * elf/tst-tls10.h: Likewise.
47889 * elf/tst-tls11.c: Likewise.
47890 * elf/tst-tls12.c: Likewise.
47891 * elf/tst-tls14.c: Likewise.
47892 * elf/tst-tlsmod11.c: Likewise.
47893 * elf/tst-tlsmod12.c: Likewise.
47894 * elf/tst-tlsmod13.c: Likewise.
47895 * elf/tst-tlsmod13a.c: Likewise.
47896 * elf/tst-tlsmod14a.c: Likewise.
47897 * elf/tst-tlsmod15b.c: Likewise.
47898 * elf/tst-tlsmod16a.c: Likewise.
47899 * elf/tst-tlsmod16b.c: Likewise.
47900 * elf/tst-tlsmod7.c: Likewise.
47901 * elf/tst-tlsmod8.c: Likewise.
47902 * elf/tst-tlsmod9.c: Likewise.
47903 * gmon/gmon.c: Likewise.
47904 * grp/fgetgrent_r.c: Likewise.
47905 * grp/putgrent.c: Likewise.
47906 * hurd/fopenport.c: Likewise.
47907 * include/libc-symbols.h: Likewise.
47908 * include/tls.h: Likewise.
47909 * intl/gettextP.h: Likewise.
47910 * intl/loadinfo.h: Likewise.
47911 * locale/global-locale.c: Likewise.
47912 * locale/localeinfo.h: Likewise.
47913 * mach/devstream.c: Likewise.
47914 * malloc/arena.c: Likewise.
47915 * malloc/set-freeres.c: Likewise.
47916 * misc/err.c: Likewise.
47917 * misc/getttyent.c: Likewise.
47918 * misc/mntent_r.c: Likewise.
47919 * posix/getopt.c: Likewise.
47920 * posix/wordexp.c: Likewise.
47921 * pwd/fgetpwent_r.c: Likewise.
47922 * resolv/Versions: Likewise.
47923 * resolv/res_hconf.c: Likewise.
47924 * shadow/fgetspent_r.c: Likewise.
47925 * shadow/putspent.c: Likewise.
47926 * stdio-common/printf_fphex.c: Likewise.
47927 * stdio-common/tmpfile.c: Likewise.
47928 * stdlib/abort.c: Likewise.
47929 * stdlib/fmtmsg.c: Likewise.
47930 * sunrpc/auth_unix.c: Likewise.
47931 * sunrpc/clnt_perr.c: Likewise.
47932 * sunrpc/clnt_tcp.c: Likewise.
47933 * sunrpc/clnt_udp.c: Likewise.
47934 * sunrpc/clnt_unix.c: Likewise.
47935 * sunrpc/openchild.c: Likewise.
47936 * sunrpc/svc_simple.c: Likewise.
47937 * sunrpc/svc_tcp.c: Likewise.
47938 * sunrpc/svc_udp.c: Likewise.
47939 * sunrpc/svc_unix.c: Likewise.
47940 * sunrpc/xdr.c: Likewise.
47941 * sunrpc/xdr_array.c: Likewise.
47942 * sunrpc/xdr_rec.c: Likewise.
47943 * sunrpc/xdr_ref.c: Likewise.
47944 * sunrpc/xdr_stdio.c: Likewise.
47945
1248c1c4
PB
479462011-09-09 Ulrich Drepper <drepper@gmail.com>
47947
47948 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47949
479502011-07-03 Andreas Jaeger <aj@suse.de>
47951
47952 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47953 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47954 regenerate with gen-libm-tests.pl.
47955
479562010-05-12 Petr Baudis <pasky@suse.cz>
47957
47958 [BZ #11589]
47959 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47960 around j0() zero points by switching to j1().
47961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47965
f22e1074
UD
479662011-09-09 Ulrich Drepper <drepper@gmail.com>
47967
f19009c1
UD
47968 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47969 instead of 0.
47970 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 47971 instead of 0.
f19009c1
UD
47972 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47973 Patch in part by Pavel Roskin <proski@gnu.org>.
47974
3f8cc204
UD
47975 [BZ #13138]
47976 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47977 realloc.
47978 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47979 Free memory block if necessary.
47980
f22e1074
UD
47981 [BZ #12847]
47982 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47983 be NULL. Don't lock in this case.
47984
0a2349f9
RM
479852011-09-09 Roland McGrath <roland@hack.frob.com>
47986
47987 * elf/elf.h (ELFOSABI_GNU): New macro.
47988 (ELFOSABI_LINUX): Define to that.
47989
f3cdd467
DZ
479902011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47991
47992 * string/strncat.c (strncat): Undef the symbol in case it has been
47993 defined in bits/string.h.
47994
74718d13
UD
479952011-09-09 Ulrich Drepper <drepper@gmail.com>
47996
633e9e0f
UD
47997 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47998
0a2349f9 47999 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48000 link map.
48001
f9924780
AJ
480022011-08-17 Andreas Jaeger <aj@suse.de>
48003
48004 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48005
7f5517aa
PP
480062011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48007 Ian Lance Taylor <iant@google.com>
48008
48009 * math/libm-test.inc (lround_test): New testcase.
48010 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48011
762011fe
UD
480122011-09-08 Ulrich Drepper <drepper@gmail.com>
48013
92963737
UD
48014 * Makefile: Remove support for automatic cvs check-ins.
48015 * Makerules: Likewise.
48016 * config.make.in: Likewise.
48017 * configure.in: Likewise.
48018 * intl/Makefile: Likewise.
48019 * locale/Makefile: Likewise.
48020 * po/Makefile: Likewise.
48021 * posix/Makefile: Likewise.
48022 * sysdeps/gnu/Makefile: Likewise.
48023 * sysdeps/mach/hurd/Makefile: Likewise.
48024 * sysdeps/sparc/sparc32/Makefile: Likewise.
48025
b0727fd8
JS
48026 [BZ #13118]
48027 * posix/Makefile (bug-regex32-ENV): Define.
48028 Patch by John Stanley <jpsinthemix@verizon.net>.
48029
a0f33f99
UD
48030 * misc/Makefile (headers): Add bits/select2.h.
48031 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48032 * misc/bits/select2.h: New file.
48033 * include/bits/select2.h: New file.
48034 * debug/Makefile (routines): Add fdelt_chk.
48035 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48036 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48037 FD_ISSET.
48038 * debug/fdelt_chk.c: New file.
48039
762011fe
UD
48040 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48041 * wcsmbs/test-wmemcmp.c: Likewise.
48042 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48043 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48044
480452011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48046
48047 * string/Makefile (strop-tests): Add memcmp.
48048 * string/test-wmemcmp.c: New file.
48049 * string/test-memcmp.c: Add wmemcmp support.
48050
7f513ec8
RM
480512011-09-08 Roland McGrath <roland@hack.frob.com>
48052
0442afb4
RM
48053 [BZ #13153]
48054 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48055 2011-07-19 change.
48056
7f513ec8
RM
48057 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48058 garbage value in a __mach_port_mod_refs call in the cases of the
48059 task-self and thread-self ports.
48060
a12b2239
ST
480612011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48062
48063 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48064
610f9ab4
AS
480652011-09-08 Andreas Schwab <schwab@redhat.com>
48066
7f513ec8 48067 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48068
48882a1a
LD
480692011-09-07 Ulrich Drepper <drepper@gmail.com>
48070
b49865be
UD
48071 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48072
fdc86bc9
UD
48073 * elf/dl-libc.c (dlerror_run): Pass back error code from
48074 dl_catch_error.
48075
c966526a
UD
48076 [BZ #13123]
48077 * elf/dl-load.c (lose): Free l_origin if it is valid.
48078
48882a1a
LD
48079 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48080 names.
48081 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48083 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48084 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48085 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48086 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48087
77a2a8b4
AZ
480882011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48089
48090 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48091 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48092 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48093 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48094 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48095 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48096 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48097 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48098 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48099 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48100
24f579d8
AM
481012011-08-15 Alan Modra <amodra@gmail.com>
48102
48103 [BZ #13092]
48104 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48105 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48106 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48107 ppc_mcount to static-only-routines.
48108 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48109 __mcount_internal.
48110 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48111 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48112
3d4837df
UD
481132011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48114
48115 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48116 for finite and infinity parameters.
48117
22700377
WS
481182011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48119
48120 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48121 and add nop instructions for throughput optimization.
48122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48123
5025581e
WS
481242011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48125
48126 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48127 aligned copy for power7 with vector-scalar instructions.
48128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48129
08a300c9
L
481302011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48131
48132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48133 AVX check.
48134
59178ef9
AS
481352011-09-07 Andreas Schwab <schwab@redhat.com>
48136
48137 [BZ #13144]
48138 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48139 last change.
48140
e38ba7ab
UD
481412011-09-07 Ulrich Drepper <drepper@gmail.com>
48142
48143 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48144 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48145 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48146 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48147 clock_gettime.
48148
d53a73ac
UD
481492011-09-06 Ulrich Drepper <drepper@gmail.com>
48150
fc8bffcc
UD
48151 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48152 Forgot to demangle the pointer.
48153
ceaa0c5d
UD
48154 * sysdeps/i386/sysdep.h: Define atom_text_section.
48155 * sysdeps/x86_64/sysdep.h: Likewise.
48156 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48157 section with atom_text_section.
48158 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48159 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48160 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48161 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48162 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48163
a77d3c17
UD
48164 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48166 already be defined. Change to take two parameters and don't assign
48167 result to variable. Adjust all users.
48168 Define INTERNAL_GETTIME if not already defined.
48169 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48170 call.
48171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48172 HAVE_CLOCK_GETTIME_VSYSCALL.
48173 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48174
d53a73ac
UD
48175 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48176 gettimeofday vsyscall, just use time.
48177
a8f84144
AS
481782011-09-06 Andreas Schwab <schwab@redhat.com>
48179
48180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48181 <errno.h>.
48182
ef606249
UD
481832011-09-06 Ulrich Drepper <drepper@gmail.com>
48184
48185 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48186 syscall on x86-64.
48187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48188 syscall.
48189 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48191 syscall if possible.
48192
6585cb60
UD
481932011-09-05 Ulrich Drepper <drepper@gmail.com>
48194
48195 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48196 e_ident. Don't pass to find_mapsXX.
48197 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48198
a5f524e4
LD
481992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48200
48201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48202 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48203 * sysdeps/x86_64/multiarch/strchr.S: Update.
48204 Check bit_slow_BSF bit.
48205 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48206 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48207 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48208
554881ef
UD
482092011-09-05 Ulrich Drepper <drepper@gmail.com>
48210
d96de963
UD
48211 [BZ #13134]
48212 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48213 before glibc 2.15.
48214 (tryshell): Define.
48215 (__spawni): Change last parameter to be flag. Test
48216 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48217 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48218 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48219 * posix/spawni.c: Likewise.
48220 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48221 * posix/spawnp.c: Likewise. Change normal version to use
48222 SPAWN_XFLAGS_USE_PATH.
48223 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48224 SPAWN_XFLAGS_TRY_SHELL.
48225
d48e5868
UD
48226 [BZ #13150]
48227 * posix/glob.h: Remove gcc 1.x support.
48228
554881ef
UD
48229 [BZ #13068]
48230 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48231
693fb948
LD
482322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48233
48234 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48235 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48236 strrchr-sse2-bsf
48237 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48238 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48239 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48240 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48241 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48242 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48243
1b48c537
UD
482442011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48245
49d42c37
UD
48246 * sysdeps/x86_64/wcscmp.S: New file.
48247
1b48c537
UD
48248 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48249 wcscmp-c wcscmp-sse2
48250 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48251 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48252 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48253 * wcsmbs/wcscmp.c: Allow renaming.
48254
15c95c5d
DM
482552011-09-05 David S. Miller <davem@davemloft.net>
48256
48257 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48258 stack slot, rather than the struct return pointer slot.
48259 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48260 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48262 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48263
2f0ad8f3
UD
482642011-09-05 Ulrich Drepper <drepper@gmail.com>
48265
d88ae418
UD
48266 * po/ja.po: Update from translation team.
48267
2f0ad8f3
UD
48268 [BZ #13144]
48269 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48270 kernel in 64-bit binaries.
48271
5f4318d1
DM
482722011-09-01 David S. Miller <davem@davemloft.net>
48273
48274 * elf/elf.h (HWCAP_SPARC_*): Move to..
48275 * sysdeps/sparc/sysdep.h: this new file and add new values.
48276 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48277 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48278 _DL_HWCAP_COUNT to 24.
48279 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48280 entries.
48281 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48282 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48283 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48285 instead of magic constants.
48286 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48287
3ba57516
DM
482882011-08-31 David S. Miller <davem@davemloft.net>
48289
48290 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48292 Reimplement to do errno handling inline.
48293 (SYSCALL_ERROR_HANDLER): New macro.
48294 (__SYSCALL_STRING): Do not do errno handling in asm.
48295 (__CLONE_SYSCALL_STRING): Delete.
48296 (__INTERNAL_SYSCALL_STRING): Delete.
48297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48298 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48299 (PSEUDO): Reimplement to do errno handling inline.
48300 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48301 (SYSCALL_ERROR_HANDLER): New macro.
48302 (__SYSCALL_STRING): Do not do errno handling in asm.
48303 (__CLONE_SYSCALL_STRING): Delete.
48304 (__INTERNAL_SYSCALL_STRING): Delete.
48305 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48306 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48307 i386.
48308 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48309 (inline_syscall*): Add 'err' argument.
48310 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48311 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48312 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48313 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48314
48315 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48316 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48317
2bc17433
AS
483182011-08-30 Andreas Schwab <schwab@redhat.com>
48319
48320 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48321
fbeb5f4d
JO
483222011-08-29 Jiri Olsa <jolsa@redhat.com>
48323
48324 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48325 directive.
48326
ad69cc26
DM
483272011-08-24 David S. Miller <davem@davemloft.net>
48328
48329 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48330
39dd69df
AS
483312011-08-24 Andreas Schwab <schwab@redhat.com>
48332
48333 * elf/Makefile: Add rules to build and run unload8 test.
48334 * elf/unload8.c: New file.
48335 * elf/unload8mod1.c: New file.
48336 * elf/unload8mod1x.c: New file.
48337 * elf/unload8mod2.c: New file.
48338 * elf/unload8mod3.c: New file.
48339
48340 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48341 it wasn't used.
48342
2c0b250a
DM
483432011-08-23 David S. Miller <davem@davemloft.net>
48344
48345 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48346 subtract stack bias.
48347 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48348 %sp not %fp in calculations.
48349 (_JMPBUF_UNWINDS_ADJ): Likewise.
48350
22044b48
DM
48351 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48352 (aio_suspend): Call it to force an exception region around the
48353 AIO_MISC_WAIT() invocation.
48354
2cae4995
AS
483552011-08-23 Andreas Schwab <schwab@redhat.com>
48356
48357 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48358 backslash.
48359
873a772e
AJ
483602011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48361
48362 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48363 protection macro.
48364 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48365 and <dl-machine.h>.
48366 (Elf64_FuncDesc): Remove.
48367
25ad0df1
DM
483682011-08-22 David S. Miller <davem@davemloft.net>
48369
48370 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48371 sigaltstack check, add missing cfi directives.
48372 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48373 missing cfi directives, and sigaltstack handling.
48374
e888bcbe
AS
483752011-08-16 Andreas Schwab <schwab@redhat.com>
48376
48377 [BZ #11724]
48378 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48379 object is seen twice.
48380 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48381
48382 * elf/Makefile (distribute): Add tst-initorder2.c.
48383 (tests): Add tst-initorder2.
48384 (modules-names): Add tst-initorder2a tst-initorder2b
48385 tst-initorder2c tst-initorder2d. Add rules to build them.
48386 ($(objpfx)tst-initorder2.out): New rule.
48387 * elf/tst-initorder2.c: New file.
48388 * elf/tst-initorder2.exp: New file.
48389
87162f46
AS
483902011-08-22 Andreas Schwab <schwab@redhat.com>
48391
70538b7f
AS
48392 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48393
f55ffe58
AS
48394 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48395 dependencies back to end of function.
48396
87162f46
AS
48397 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48398 $(elfobjdir)/ld.so.
48399
91b392a4
UD
484002011-08-21 Ulrich Drepper <drepper@gmail.com>
48401
48402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48403 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48405 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48406 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48407 of __vdso_gettimeofday.
48408 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48409 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48410 attribute_hidden.
48411 (_libc_vdso_platform_setup): Remove initialization of
48412 __vdso_gettimeofday and __vdso_time.
48413
5c43483f
UD
484142011-08-20 Ulrich Drepper <drepper@gmail.com>
48415
775a77e7
UD
48416 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48417 and fgetc_unlocked.
48418 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48419 getc_unlocked.
89f447ed 48420
49c74ba9
UD
48421 * elf/dl-open.c (add_to_global): Report additions to the global scope
48422 for LD_DEBUG=scopes.
48423 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48424 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48425
5c43483f
UD
48426 [BZ #13114]
48427 * stdio-common/Makefile (tests): Add bug24.
48428 * stdio-common/bug24.c: New file.
48429
a101b025
AJ
484302011-08-19 Andreas Jaeger <aj@suse.de>
48431
48432 [BZ #13114]
48433 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48434 non-existant file when using close-on-exec mode.
48435
c88f1766
UD
484362011-08-20 Ulrich Drepper <drepper@gmail.com>
48437
0276a718
UD
48438 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48439 the very first instruction.
48440
c88f1766
UD
48441 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48442 the CFI state in the end.
48443 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48444 inclusion of dl-trampoline.h.
48445 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48446
51ccffa0
AS
484472011-08-19 Andreas Schwab <schwab@redhat.com>
48448
94d7165f
AS
48449 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48450 expectations for long double.
48451
51ccffa0
AS
48452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48453 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48454
fd708658 484552011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48456
48457 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48458 artificual limit depends upon the system page size.
48459
44f0a71e
UD
484602011-08-17 Ulrich Drepper <drepper@gmail.com>
48461
48462 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48463 * resolv/Makefile: Define CFLAGS-libresolv.
48464
8de79a24
AS
484652011-08-17 Andreas Schwab <schwab@redhat.com>
48466
48467 * nss/makedb.c (compute_tables): Make variables used in nested
48468 function static.
48469
27724598
UD
484702011-08-17 Ulrich Drepper <drepper@gmail.com>
48471
c5305d88
UD
48472 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48473 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48474 if buffer was too small.
48475
27724598
UD
48476 * elf/pldd.c (main): Attach to all threads in the process.
48477 Rewrite /proc handling to use *at functions.
48478
076fe015
UD
484792011-08-16 Ulrich Drepper <drepper@gmail.com>
48480
174baab3
UD
48481 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48482 specifies first scope to show.
48483 (dl_open_worker): Update callers. Move printing scope of new
48484 object to before the relocation.
44f0a71e 48485 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48486 * sysdeps/generic/ldsodefs.h: Update declaration.
48487
076fe015
UD
48488 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48489 string for the scope number.
48490
a60df2c3
UD
484912011-08-14 Ulrich Drepper <drepper@gmail.com>
48492
48493 * nscd/servicescache.c (cache_addserv): Make sure written is always
48494 initialized.
48495
5e4287d1
RM
484962011-08-14 Roland McGrath <roland@hack.frob.com>
48497
85ae0589
RM
48498 * sysdeps/i386/i486/bits/atomic.h
48499 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48500 statement expression, so as to suppress "set but not used" warning.
48501 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48502
69f63097
RM
48503 * string/strncat.c (STRNCAT): Use prototype definition.
48504
675456ef
RM
48505 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48506 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48507 -Iprograms here.
48508 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48509 (localedef-modules): Add localedef.
48510 (locale-modules): Add locale.
48511
5e4287d1
RM
48512 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48513 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48514 to avoid a warning.
48515
9c96ff23
DM
485162011-08-14 David S. Miller <davem@davemloft.net>
48517
48518 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48519 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48520
f9ddf089
UD
485212011-08-13 Ulrich Drepper <drepper@gmail.com>
48522
44f0a71e 48523 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48524 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48525 * elf/rtld.c (dl_main): Set l_name of vDSO.
48526 Call _dl_show_scope when DL_DEBUG_SCOPES.
48527 (process_dl_debug): Recognize scopes flag and also set it for all.
48528 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48529 Declare _dl_show_scope.
48530
1dc27704
UD
48531 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48532 (do_dlopen): Pass caller_dlopen to dl_open.
48533 (__libc_dlopen_mode): Initialize caller_dlopen.
48534
f9ddf089
UD
48535 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48536 of libc. Make tolower call locale-independent. Optimize a bit by
48537 using isdigit instead of isalnum.
48538 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48539
9ac533d3
UD
485402011-08-12 Ulrich Drepper <drepper@gmail.com>
48541
48542 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48543 was a dependency or dynamically loaded.
48544
89edf2e9
UD
485452011-08-11 Ulrich Drepper <drepper@gmail.com>
48546
8e999d29
UD
48547 * intl/l10nflist.c: Allow architecture-specific pop function.
48548 * sysdeps/x86_64/l10nflist.c: New file.
48549
89edf2e9
UD
48550 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48551 classification.
48552
14d96785
AS
485532011-08-10 Andreas Schwab <schwab@redhat.com>
48554
48555 * include/dirent.h: Add libc_hidden_proto for scandirat and
48556 scandirat64. Don't declare __scandirat64.
48557 * dirent/scandirat.c: Add libc_hidden_def.
48558 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48559 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48560
6761ac04
DM
485612011-08-10 David S. Miller <davem@davemloft.net>
48562
48563 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48564 enum.
48565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48567 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48568
c55fbd1e
UD
485692011-08-09 Ulrich Drepper <drepper@gmail.com>
48570
48571 * Versions.def [libc]: Add GLIBC_2.15.
48572 * dirent/Makefile (routines): Add scandirat and scandirat64.
48573 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48574 GLIBC_2.15.
48575 * dirent/dirent.h: Declare scandirat and scandirat64.
48576 * dirent/scandirat.c: New file.
48577 * dirent/scandirat64.c: New file.
48578 * sysdeps/wordsize-64/scandirat.c: New file.
48579 * sysdeps/wordsize-64/scandirat64.c: New file.
48580 * dirent/opendir.c: Define opendirat.
48581 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48582 using scandirat.
48583 * dirent/scandir64.c: Adjust for scandir.c change.
48584 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48585 __scandirat64, and __scandir_cancel_handler.
48586 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48587 additional parameter and use openat instead of open (outside of ld.so).
48588 Add new __opendir as wrapper around __opendirat.
48589 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48590 here without requiring old scandirat implementation.
48591
879165f2
UD
485922011-08-08 Ulrich Drepper <drepper@gmail.com>
48593
48594 * dirent/scandir.c (cancel_handler): Renamed to
48595 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48596 defined. Adjust users.
48597 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48598 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48599
cb7e923b
UD
486002011-08-04 Ulrich Drepper <drepper@gmail.com>
48601
16292edd
UD
48602 * string/test-string.h (IMPL): Use __STRING to expand name and then
48603 stringify it.
48604
cb7e923b
UD
48605 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48606 of cleanups.
48607
cff82933
LD
486082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48609
48610 * string/Makefile: Update.
48611 (strop-tests): Append strncat.
48612 * string/test-wcscmp.c: New file.
48613 New comprehensive test for wcscmp.
48614 * string/test-strcmp.c: Update.
48615 (WIDE): New define.
48616
9be9bfcc
AS
486172011-07-22 Andreas Schwab <schwab@redhat.com>
48618
48619 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48620 line.
48621
2e96f1c7
AS
486222011-07-26 Andreas Schwab <schwab@redhat.com>
48623
48624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48625 encoding to ACE if AI_IDN.
48626
85188888
JJ
486272011-08-01 Jakub Jelinek <jakub@redhat.com>
48628
48629 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48630 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48631
5fa16e9b
LD
486322011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48633
48634 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48635 Fix overflow bug in strncat.
48636 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48637
48638 * string/test-strncat.c: Update.
48639 Add new tests for checking overflow bugs.
48640
486412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48642
48643 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48644 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48645 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48646 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48647 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48648 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48649 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48650 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48651 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48652
48653 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48654 (USE_AS_STRCAT): Define.
48655 Add strcat and strncat support.
48656 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48657
8c1a459f
AS
486582011-07-25 Andreas Schwab <schwab@redhat.com>
48659
48660 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48661 __n bigger than INT_MAX+1.
48662 (__strncmp_g): Likewise.
48663
bba33c28
UD
486642011-07-23 Ulrich Drepper <drepper@gmail.com>
48665
798be72d
UD
48666 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48667 * libio/stido.h: Likewise.
48668
8accd4dc
UD
48669 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48670 (AF_NFC): Define.
48671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48672 (AF_NFC): Define.
48673
cbff0d96
UD
48674 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48675 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48676 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48678 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48679
9191c04a
UD
48680 [BZ #13021]
48681 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48682 installed.
48683
bba33c28
UD
48684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48685 typo.
48686 (_dl_x86_64_save_sse): Likewise.
48687
90f139dd
UD
486882011-07-22 Ulrich Drepper <drepper@gmail.com>
48689
1aae088a
UD
48690 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48691 OSXSAVE.
48692 (_dl_x86_64_save_sse): Likewise.
48693
8e2045f5
UD
48694 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48695
90f139dd
UD
48696 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48697
1d002f25
AS
486982011-07-21 Andreas Schwab <schwab@redhat.com>
48699
48700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48701 change.
48702 (_dl_x86_64_save_sse): Use correct AVX check.
48703
21137f89
UD
487042011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48705
48706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48707 bug in strncpy/strncat.
48708 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48709
a65c0b7a
UD
487102011-07-21 Ulrich Drepper <drepper@gmail.com>
48711
48712 * string/tester.c (test_strcat): Add tests for different alignments
48713 of source and destination.
48714 (test_strncat): Likewise.
48715
6986b98a
UD
487162011-07-20 Ulrich Drepper <drepper@gmail.com>
48717
90bb2039
UD
48718 [BZ #12852]
48719 * posix/glob.c (glob): Check passed in values before using them in
48720 expressions to avoid some overflows.
48721 (glob_in_dir): Likewise.
48722
5644ef54
UD
48723 [BZ #13007]
48724 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48725 check for AVX enablement so that we don't crash with old kernels and
48726 new hardware.
48727 * elf/tst-audit4.c: Add same checks here.
48728 * elf/tst-audit6.c: Likewise.
48729
48730 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48731
bfc9dc9b
AS
487322011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48733
48734 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48735
702e64bb
UD
487362011-07-20 Ulrich Drepper <drepper@gmail.com>
48737
48738 * po/cs.po: Update from translation team.
48739 * po/bg.po: Likewise.
48740
295e904f
MP
487412011-07-12 Marek Polacek <mpolacek@redhat.com>
48742
48743 * misc/sys/cdefs.h: Add support for const attribute.
48744 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48745 to gnu_dev_{major,minor,makedev} functions.
48746
3ff94596
MP
487472011-07-20 Marek Polacek <mpolacek@redhat.com>
48748
48749 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48750
28b59fca
AS
487512011-07-20 Andreas Schwab <schwab@redhat.com>
48752
48753 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48754 strlen results.
48755
19df733e
AK
487562011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48757
48758 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48759 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48760 register in order to avoid conflicts with the soft frame pointer
48761 being held in r11 when necessary.
48762 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48763 (INTERNAL_VSYSCALL_NCS): Likewise.
48764
c8835729
MP
487652011-07-14 Marek Polacek <mpolacek@redhat.com>
48766
48767 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48768 * elf/dl-fini.c (_dl_fini): Adjust caller.
48769 * elf/dl-close.c (_dl_close_worker): Likewise.
48770 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48771
b902330c
MP
487722011-07-15 Marek Polacek <mpolacek@redhat.com>
48773
8991e135
MP
48774 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48775 "aux_cache->nlibs < 0".
48776
b902330c
MP
48777 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48778 in the reload-count case.
48779
99710781
LD
487802011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48781
48782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48783 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48784 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48785 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48786 * sysdeps/x86_64/multiarch/strcat.S: New file.
48787 * sysdeps/x86_64/multiarch/strncat.S: New file.
48788 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48789 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48790 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48791 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48792 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48793 (USE_AS_STRCAT): Define.
48794 Add strcat and strncat support.
48795 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48796 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48797 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48798 * string/strncat.c: Update.
48799 (USE_AS_STRNCAT): Define.
48800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48801 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48802 and i7.
48803 * sysdeps/x86_64/multiarch/init-arch.h
48804 (bit_Prefer_PMINUB_for_stringop): New.
48805 (index_Prefer_PMINUB_for_stringop): Likewise.
48806 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48807 bit_Prefer_PMINUB_for_stringop.
48808
7dc6bd90
UD
488092011-07-19 Ulrich Drepper <drepper@gmail.com>
48810
48811 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48812 buffer64.
48813 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48814 of casting of buffer.
48815 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48816 buffer32 and buffer64.
48817 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48818 writes instead of casting of buffer.
48819 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48820 buffer32.
48821 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48822 casting of buffer.
48823
e0e72284
AS
488242011-07-19 Andreas Schwab <schwab@redhat.com>
48825
48826 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48827
feb1eb0b
UD
488282011-07-19 Ulrich Drepper <drepper@gmail.com>
48829
48830 * nscd/nscd.c (termination_handler): Don't do anything for a database
48831 if it has not yet been initialized.
48832
298711ff
UD
488332011-07-18 Ulrich Drepper <drepper@gmail.com>
48834
48835 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48836
488372011-07-15 Marek Polacek <mpolacek@redhat.com>
48838
48839 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48840
f9d68389
UD
488412011-07-18 Ulrich Drepper <drepper@gmail.com>
48842
48843 * po/nl.po: Update from translation team.
48844 * po/sv.po: Likewise.
48845
db290cf5
RM
488462011-07-16 Roland McGrath <roland@hack.frob.com>
48847
48848 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48849 now disallowed by GCC.
5c550700 48850
fd5e21c7
RM
48851 * configure.in (use-default-link): Default to yes if a test -shared
48852 link meets our qualifications.
48853 * configure: Regenerated.
48854
5c550700
RM
48855 * config.make.in (output-format): New variable.
48856 * configure.in: Check for ld --print-output-format support.
48857 * configure: Regenerated.
48858 * Makerules ($(common-objpfx)format.lds)
48859 [$(output-format) != unknown]: Just use $(output-format),
48860 instead of the linker-script munging.
48861
9fa2c032
RM
488622011-07-14 Roland McGrath <roland@hack.frob.com>
48863
a6928d51
RM
48864 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48865 of $(common-objpfx)shlib.lds.
48866 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48867
661607b3
RM
48868 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48869 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48870
9fa2c032
RM
48871 * configure.in (-z relro check): Adjust test code to add a large
48872 writable data section after it.
48873 * configure: Regenerated.
48874
defe9061
RM
488752011-07-11 Roland McGrath <roland@hack.frob.com>
48876
48877 * configure.in (-z relro check): Fix test code to make the variable
48878 truly const.
48879 * configure: Regenerated.
48880
319b9ad4
UD
488812011-07-11 Ulrich Drepper <drepper@gmail.com>
48882
48883 * nscd/nscd.h (struct traced_file): Define.
48884 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48885 elements. Add traced_files.
48886 (inotify_fd): Declare.
48887 (register_traced_file): Declare.
48888 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48889 (inotify_fd): Export.
48890 (resolv_conf_descr): Remove.
48891 (nscd_init): Move inotify descriptor creation to main.
48892 Don't register files for notification here.
48893 (register_traced_file): New function.
48894 (invalidate_cache): Don't use reset_res to determine whether to call
48895 res_init, go through the list of registered files.
48896 (main_loop_poll): The inotify descriptors are now stored in the
48897 structures for the traced files.
48898 (main_loop_epoll): Likewise
48899 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48900 to __nss_disable_nscd.
48901 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48902 for a database anymore. Check the records for all the registered
48903 files instead.
48904 * nss/Makefile (libnss_files-routines): Add files-init.
48905 (libnss_db-routines): Add db-init.
48906 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48907 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48908 * nss/nss_db/db-init.c: New file.
48909 * nss/nss_files/files-init.c: New file.
48910 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48911 __nss_lookup_function.
48912 (__nss_lookup_function): Call nss_load_library.
48913 (nss_load_all_libraries): New function.
48914 (__nss_disable_nscd): Take parameter with callback function for files
48915 to register. Set is_nscd. Load all the DSOs for the NSS modules
48916 used for the cached services.
48917 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48918 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48919 options for features to all the files in nscd.
48920
48921 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48922
23bee3e8
RM
489232011-07-10 Roland McGrath <roland@hack.frob.com>
48924
48925 * csu/elf-init.c (__libc_csu_init): Comment typo.
48926
46a5b7f0
UD
489272011-07-09 Ulrich Drepper <drepper@gmail.com>
48928
48929 * po/pl.po: Update from translation team.
48930 * po/ja.po: Likewise.
48931 * po/ru.po: Likewise.
48932 * po/ko.po: Likewise.
48933 * po/fr.po: Likewise.
48934
d30cf5bb
RM
489352011-07-09 Roland McGrath <roland@hack.frob.com>
48936
113ddea4
RM
48937 * configure.in (.ctors/.dtors header and trailer check):
48938 Use an empirical test on a built program.
48939 * configure: Regenerated.
48940
574920b4
RM
48941 * configure.in (-z relro check): Use an empirical test on a built DSO.
48942 Detect, but do not require, on ia64.
48943 * configure: Regenerated.
48944
d30cf5bb
RM
48945 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48946 Update tests that use readelf to use $READELF instead.
48947 * configure: Regenerated.
48948
8538fdb3
UD
489492011-07-08 Ulrich Drepper <drepper@gmail.com>
48950
48951 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48952 if the result is not used.
48953
04d08991
AJ
489542011-07-05 Andreas Jaeger <aj@suse.de>
48955
48956 [BZ#9696]
48957 * stdlib/tst-strtod.c: Add testcase.
48958
de283087
AD
489592011-07-07 Ulrich Drepper <drepper@gmail.com>
48960
4e5f31c8 48961 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 48962 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
48963 The latter has a higher limit. Take additional parameter to pass to
48964 the new function.
48965 (__pathconf): Pass file to __statfs_link_max.
48966 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48967 __statfs_link_max.
48968 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48969 __statfs_link_max.
48970
de283087
AD
48971 [BZ #12868]
48972 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48973 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48974 Handle Lustre.
48975 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48976 (__statfs_filesize_max): Likewise.
48977 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48978
c75fa153
AJ
489792011-07-05 Andreas Jaeger <aj@suse.de>
48980
48981 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48982
1a544854
UD
489832011-07-06 Marek Polacek <mpolacek@redhat.com>
48984
48985 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48986 `status' variable.
48987 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48988 Likewise.
48989
6f0eec67
UD
489902011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48991
48992 * Makefile (strop-tests): Add strncat.
48993 * string/test-strncat.c: New file.
48994
aae30307
UD
489952011-06-30 Marek Polacek <mpolacek@redhat.com>
48996
48997 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48998
c0cfb5eb
UD
489992011-06-21 Andreas Jaeger <aj@suse.de>
49000
49001 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49002 Copy rule from iconvdata/Makefile.
49003
01636b21
UD
490042011-07-06 Ulrich Drepper <drepper@gmail.com>
49005
49006 [BZ #12922]
49007 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49008 but no long options are defined, just return 'W'.
49009
9895c8bc
UD
490102011-06-22 Marek Polacek <mpolacek@redhat.com>
49011
49012 [BZ #9696]
49013 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49014
5d4cf042
UD
490152011-07-06 Ulrich Drepper <drepper@gmail.com>
49016
49017 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49018 netgroups to read.
960e5535 49019 (innetgr): Likewise.
5d4cf042 49020
751eb97e
RM
490212011-07-05 Roland McGrath <roland@hack.frob.com>
49022
49023 * config.make.in (install_root): Default to $(DESTDIR).
49024
f15f1e45
UD
490252011-07-05 Ulrich Drepper <drepper@gmail.com>
49026
49027 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49028
4e34ac6a
RM
490292011-07-02 Roland McGrath <roland@hack.frob.com>
49030
5e9b6af4
RM
49031 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49032
84f9ea0f
RM
49033 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49034 containing directory rather than embedding absolute directory names.
49035
ea5ee9f7
RM
49036 * scripts/check-local-headers.sh: Rewritten using awk.
49037 Match by word, not by line. Print error messages for matches.
49038 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49039
1b74661a
RM
49040 * Makerules [shlib-lds-flags empty]:
49041 ($(common-objpfx)libc_pic.opts): New target.
49042 ($(common-objpfx)libc_pic.os.clean): New target.
49043 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49044
49045 * config.make.in (OBJCOPY): New variable.
49046 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49047 * configure: Regenerated.
49048
f781ef40
RM
49049 * config.make.in (use-default-link): New variable.
49050 * configure.in (use_default_link): Grok --with-default-link to set it.
49051 * configure: Regenerated.
49052 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49053 (shlib-lds, shlib-lds-flags): Define to empty.
49054
2d4fa81e
RM
49055 * Makerules (shlib-lds): New variable.
49056 (shlib-lds-flags): New variable.
49057 (build-shlib, build-moduile, build-module-asneeded): Use it.
49058 ($(common-objpfx)libc.so): Use $(shlib-lds).
49059 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49060 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49061
31fffa6b
RM
49062 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49063 DT_FLAGS/DT_FLAGS_1 with zero flags.
49064
4e34ac6a
RM
49065 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49066 linker script munging.
49067
fcfc776b
UD
490682011-07-02 Ulrich Drepper <drepper@gmail.com>
49069
49070 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49071 as 128-bit value.
49072 * crypt/sha512.c (sha512_process_block): Perform total addition using
49073 128-bit if possible.
49074 (__sha512_finish_ctx): Likewise.
49075 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49076 as 64-bit value.
49077 * crypt/sha256.c (SWAP64): Define.
49078 (sha256_process_block): Perform total addition using 64-bit if
49079 possible.
49080 (__sha256_finish_ctx): Likewise.
49081
99231d9a
UD
490822011-07-01 Ulrich Drepper <drepper@gmail.com>
49083
49084 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49085 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49086 * nscd/hstcache.c (cache_addhst): Likewise.
49087 * nscd/grpcache.c (cache_addgr): Likewise.
49088 * nscd/aicache.c (addhstaiX): Likewise
49089 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49090
445b4a53
TK
490912011-07-01 Thorsten Kukuk <kukuk@suse.de>
49092
49093 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49094 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49095 * nscd/hstcache.c (cache_addhst): Likewise.
49096 * nscd/grpcache.c (cache_addgr): Likewise.
49097 * nscd/aicache.c (addhstaiX): Likewise
49098
6d4d8e8e
AS
490992011-07-01 Andreas Schwab <schwab@redhat.com>
49100
49101 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49102 domain only when needed.
49103
89f654c5
AS
491042011-06-30 Andreas Schwab <schwab@redhat.com>
49105
49106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49107 is always restored.
49108
cf3b23ff
UD
491092011-06-29 Ulrich Drepper <drepper@gmail.com>
49110
49111 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49112 are re-adding the entry.
49113 * nscd/servicescache.c (cache_addserv): Likewise.
49114
751626f9
AJ
491152011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49116
49117 * sysdeps/generic/dl-irel.h: fix protection against multiple
49118 inclusions.
49119 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49120
9113ea1f
UD
491212011-06-28 Ulrich Drepper <drepper@gmail.com>
49122
5c0b8d90
UD
49123 [BZ #12935]
49124 * malloc/memusage.sh: Fix quoting in message.
49125 * debug/xtrace.sh: Likewise.
49126
9113ea1f
UD
49127 * configure.in: Remove support for --experimental-malloc option, make
49128 it the default.
49129 * config.make.in: Likewise.
49130 * malloc/Makefile: Likewise.
49131
a4172181
AS
491322011-06-27 Andreas Schwab <schwab@redhat.com>
49133
49134 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49135 two-byte characters.
49136
78a7eee7
RM
491372011-06-27 Roland McGrath <roland@hack.frob.com>
49138
62bede13
RM
49139 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49140 AC_CACHE_CHECK invocation.
49141 * configure: Regenerated.
49142
78a7eee7
RM
49143 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49144
5ce33a62
UD
491452011-06-27 Ulrich Drepper <drepper@gmail.com>
49146
034807a9
UD
49147 [BZ #12350]
49148 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49149 bit from old_res_options.
49150
4902da17
UD
49151 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49152
5ce33a62
UD
49153 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49154 value type for setfct.
49155
c2344f56
L
491562011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49157
49158 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49159 __gettimeofday instead of gettimeofday.
49160
68468076
UD
491612011-06-26 Ulrich Drepper <drepper@gmail.com>
49162
49163 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49164
acb0d739
L
491652011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49166
49167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49168
49169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49170 info.
49171
8912479f
L
491722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49173
49174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49175 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49176 strcpy-sse2-unaligned strncpy-sse2-unaligned
49177 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49178 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49179 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49180 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49181 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49182 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49183 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49184 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49185 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49186 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49187 (STRCPY): Support SSE2 and SSSE3 versions.
49188
d5495a11
UD
491892011-06-24 Ulrich Drepper <drepper@gmail.com>
49190
49191 [BZ #12874]
49192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49193 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49194 kernels which artificially limit size of requests.
49195
0b1cbaae
L
491962011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49197
49198 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49199 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49200 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49201 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49202 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49203 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49204 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49205 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49206 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49208 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49209 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49210 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49211 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49212 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49214 Enable unaligned load optimization for Intel Core i3, i5 and i7
49215 processors.
49216 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49217 Define.
49218 (index_Fast_Unaligned_Load): Define.
49219 (HAS_FAST_UNALIGNED_LOAD): Define.
49220
07f494a0
MP
492212011-06-23 Marek Polacek <mpolacek@redhat.com>
49222
49223 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49224
fa3fc0fe
UD
492252011-06-22 Ulrich Drepper <drepper@gmail.com>
49226
49227 [BZ #12907]
49228 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49229 until it is clear that the information is realy needed.
49230 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49231
e12df166
AS
492322011-06-22 Andreas Schwab <schwab@redhat.com>
49233
49234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49235
852eb34d
UD
492362011-06-22 Ulrich Drepper <drepper@gmail.com>
49237
84e2a551
UD
49238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49239 /sys/devices/system/cpu/online if it is usable.
49240
852eb34d
UD
49241 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49242 reading the information from the /proc filesystem to once a second.
49243
6e502e19
UD
492442011-06-21 Andreas Jaeger <aj@suse.de>
49245
49246 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49247 NULL after inclusion of kernel headers.
49248
75d39ff2
UD
492492011-06-21 Ulrich Drepper <drepper@gmail.com>
49250
51f9aa6a
UD
49251 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49252 calls to internal_setent.
49253
c0244a9d
UD
49254 [BZ #12885]
49255 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49256 addresses using gethostbyname4_r ignore IPv4 addresses.
49257
c5e3c2ae
UD
49258 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49259 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49260
75d39ff2
UD
49261 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49262
42675c6f
DM
492632011-06-20 David S. Miller <davem@davemloft.net>
49264
49265 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49266 inclusions.
49267 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49268
49269 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49270 (elf_irel): Use it.
49271 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49272 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49273 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49274 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49275 * sysdeps/x86_64/dl-irel.h: Likewise.
49276
49277 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49278 * elf/dl-sym.c: Likewise.
49279
57912a71
UD
492802011-06-15 Ulrich Drepper <drepper@gmail.com>
49281
49282 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49283 need to dereference resplen2.
49284
ee22793d
AS
492852011-06-14 Andreas Schwab <schwab@redhat.com>
49286
49287 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49288
a9e836b0
UD
492892011-06-15 Ulrich Drepper <drepper@gmail.com>
49290
77fb9117
UD
49291 * Makeconfig: Define vardbdir and inst_vardbdir.
49292 * nss/Makefile: Add rules to install db-Makefile.
49293
40c1b22c
UD
49294 * nss/nss_db/db-XXX.c: Cleanup.
49295
9f2da732
UD
49296 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49297 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49298 GLIBC_PRIVATE.
49299 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49300 * nss/makedb.c: Implement -g option to specify that value strings
49301 are generated and should not be added to table iterated over for
49302 get*ent calls.
49303 * nss/nss_db/db-initgroups.c: New file.
49304
82e9a1f7
UD
49305 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49306 interface.
49307
c41af17e
UD
49308 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49309 (internal_getgrouplist): Adjust to name change.
49310 Update use_initgroups_entry if this is not the first call.
49311 * nss/databases.def: Add initgroups entry.
49312
a9e836b0
UD
49313 * nss/makedb.c (compute_tables): Check result of multiple hash table
49314 sizes to minimize maximum chain length.
49315
2666d441
UD
493162011-06-14 Ulrich Drepper <drepper@gmail.com>
49317
49318 * Versions.def: Add entry for libnss_db.
49319 * shlib-versions: Likewise.
49320 * nss/Makefile: Add rules to build libnss_db.
49321 * nss/Versions: Add libnss_db information. Organize libnss_files
49322 entries better.
49323 * nss/db-Makefile: Add gshadow support. Change rules for the new
49324 makedb progra. Some minor improvements to generate smaller files.
49325 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49326 here from...
49327 * nss/makedb.c: ...here.
49328 Improve database format to be smaller and require less memory at
49329 runtime.
49330 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49331 db anymore.
49332 * nss/nss_db/db-netgrp.c: Likewise.
49333 * nss/nss_db/db-open.c: Likewise.
49334 * nss/nss_files/flies-XXX.x: Adjust comments.
49335 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49336 * nss/nss_files/files-grp.c: Likewise.
49337 * nss/nss_files/files-hosts.c: Likewise.
49338 * nss/nss_files/files-network.c: Likewise.
49339 * nss/nss_files/files-proto.c: Likewise.
49340 * nss/nss_files/files-pwd.c: Likewise.
49341 * nss/nss_files/files-rpc.c: Likewise.
49342 * nss/nss_files/files-service.c: Likewise.
49343 * nss/nss_files/files-sgrp.c: Likewise.
49344 * nss/nss_files/files-spwd.c: Likewise.
49345 * nss/nss_db/db-alias.c: Removed.
49346 * nss/nss_db/dummy-db.h: Removed.
49347
9ee76b5a
UD
493482011-06-02 Ulrich Drepper <drepper@gmail.com>
49349
49350 * nss/makedb.c: Rewritten to not use database library.
49351 * nss/Makefile: Update to build new makedb program.
49352
c71ca1f8
AJ
493532011-06-14 Andreas Jaeger <aj@suse.de>
49354
49355 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49356 memset declaration.
49357
3154bfb8
UD
493582011-06-10 Andreas Schwab <schwab@redhat.com>
49359
49360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49361 tmpbuf.
49362
b350afab
RM
493632011-06-10 Roland McGrath <roland@hack.frob.com>
49364
decd4e50
RM
49365 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49366 * elf/Makefile ($(objpfx)ld.so): Likewise.
49367
5615eaf2
RM
49368 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49369 Don't list ld.so twice in dependencies.
49370
49371 * posix/bug-regex31.c: Include <stdlib.h>.
49372
49373 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49374
49375 * nis/nss_compat/compat-spwd.c
49376 (getspent_next_nss_netgr): Remove unused variable.
49377 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49378
49379 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49380 nonmembers" output to use the right array.
49381
49382 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49383
49384 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49385
49386 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49387 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49388 * catgets/gencat.c (read_input_file): Likewise.
49389 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49390
49391 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49392 variable definition inside #if's controlling its use.
49393
49394 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49395
49396 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49397
49398 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49399
49400 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49401 unreachable code.
49402
49403 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49404
b68e08db
RM
49405 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49406 * configure: Regenerated.
49407
b350afab
RM
49408 * Makerules: Revert last change.
49409 * elf/Makefile: Likewise.
49410
28368601
RM
494112011-06-09 Roland McGrath <roland@hack.frob.com>
49412
49413 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49414 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49415 (reloc-link): Likewise.
49416
11988f8f
UD
494172011-06-09 Ulrich Drepper <drepper@gmail.com>
49418
49419 * elf/Makefile: Add rules to build pldd.
49420 * elf/pldd.c: New file.
49421 * elf/pldd-xx.c: New file.
49422
e80fab37
UD
494232011-06-07 Ulrich Drepper <drepper@gmail.com>
49424
49425 * version.h: Update for 2.15 development version.
49426
9b849836
DM
494272011-06-07 David S. Miller <davem@davemloft.net>
49428
49429 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49430 ifuncs.
49431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49432 elf_machine_lazy_rel): Likewise.
49433 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49434 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49435 elf_machine_lazy_rel): Likewise.
49436 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49437 dl_hwcap via passed in argument.
49438 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49439 Likewise.
49440
5a31b283
AK
494412011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49442
49443 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49444
069e52f8
RM
494452011-06-06 Roland McGrath <roland@hack.frob.com>
49446
49447 [BZ #12849]
49448 * manual/fdl-1.1.texi: New file, verbatim from:
49449 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49450 * manual/lgpl-2.1.texi: New file, verbatim from:
49451 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49452 * manual/Makefile (licenses): New variable, list those new file names.
49453 (texis): Use it.
49454 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49455
49456 * manual/fdl.texi: File removed.
49457 * manual/lesser.texi: File removed.
49458 * manual/libc.texinfo (Copying, Documentation License):
49459 Use new @include file names, put @appendix directive before @include.
49460
f16846a5
JJ
494612011-06-04 Jakub Jelinek <jakub@redhat.com>
49462
49463 [BZ #12841]
49464 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49465 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49466 (mq_open): Add __NTH.
49467
3d29045b
L
494682011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49469
49470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49471 Assume Intel Core i3/i5/i7 processor if AVX is available.
49472
8c297311
UD
494732011-05-31 Ulrich Drepper <drepper@gmail.com>
49474
49475 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49476 typo.
49477
c8fc0c91
UD
494782011-05-31 Andreas Schwab <schwab@redhat.com>
49479
49480 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49481 memory. Use alloca_account. Fix memory leak when retrying.
49482
5b27a807
UD
494832011-05-31 Ulrich Drepper <drepper@gmail.com>
49484
356f8bc6
UD
49485 * version.h (RELEASE): Bump for 2.14 release.
49486 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49487
5b27a807
UD
49488 * config.make.in (RANLIB): Remove entry.
49489
01f16ab0
UD
494902011-05-30 Ulrich Drepper <drepper@gmail.com>
49491
41fce8bd
UD
49492 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49493 (libc.pot): Work around missing support for .ksh extension in xgettext.
49494
4769ae77
UD
49495 [BZ #12684]
49496 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49497 if both request failed.
49498 (send_dg): In case of server errors clear resplen or *resplen2.
49499
6b1e7d19
UD
49500 [BZ #12454]
49501 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49502 when there are multiple maps.
49503 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49504 (_dl_fini): Remove test here.
49505
01f16ab0
UD
49506 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49507
b1ebd700
UD
495082011-05-29 Ulrich Drepper <drepper@gmail.com>
49509
7ae22829
UD
49510 [BZ #12350]
49511 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49512 bit from old_res_options.
49513 (gaih_inet): Likewise.
49514
553149f6 49515 [BZ #11099]
18a84741 49516 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49517 as signed.
49518
652ffab1
UD
49519 * resolv/res_init.c (res_setoptions): Make the code more compact.
49520
16985fd0
UD
49521 [BZ #11558]
49522 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49523 set RES_USEVC.
49524
0464f746
UD
49525 [BZ #11634]
49526 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49527
7d17596c
UD
49528 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49529
cf6bbbd7
UD
49530 [BZ #11781]
49531 * malloc/malloc.h: Declare malloc hook variables as volatile.
49532
13f1ab36
UD
49533 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49534 in last patch.
49535
b1ebd700
UD
49536 [BZ #11799]
49537 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49538 raise in the comment.
80e2212d
UD
49539 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49540 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49541 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49542
ce67228d
UD
495432011-05-28 Ulrich Drepper <drepper@gmail.com>
49544
8887a920
UD
49545 [BZ #12811]
49546 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49547 grow the buffers more if it already has to be sufficient.
49548 (build_wcs_upper_buffer): Likewise.
49549 * posix/regexec.c (check_matching): Likewise.
49550 (clean_state_log_if_needed): Likewise.
49551 (extend_buffers): Don't enlarge buffers beyond size of the input
49552 buffer.
49553 Patches mostly by Emil Wojak <emil@wojak.eu>.
49554 * posix/bug-regex32.c: New file.
49555 * posix/Makefile (tests): Add bug-regex32.
49556
4f031072
UD
49557 * locale/findlocale.c (_nl_find_locale): Return right away if
49558 _nl_explode_name failed.
49559 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49560
d0478f0c
UD
49561 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49562
de81b246
UD
49563 * debug/xtrace.sh: Unify messages.
49564 * malloc/memusage.sh: Likewise.
49565
c738465a
UD
49566 [BZ #12813]
49567 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49568 time symbol from vDSO. Substitute with vsyscall if not available.
49569 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49570 __vdso_time.
49571
f1f929d7
UD
49572 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49573 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49574 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49575 Add sendmmsg and internal_sendmmsg.
49576 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49577 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49578 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49579
ce67228d
UD
49580 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49581 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49582 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49583
e57420c6
UD
495842011-05-27 Ulrich Drepper <drepper@gmail.com>
49585
a8509ca5
UD
49586 [BZ #12813]
49587 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49588 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49589 available.
49590 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49591 __vdso_getcpu.
49592
e57420c6
UD
49593 [BZ #12814]
49594 * iconvdata/Makefile (tests): Add bug-iconv9.
49595 * iconvdata/bug-iconv9.c: New file.
49596
4d07db15
AS
495972011-05-27 Andreas Schwab <schwab@redhat.com>
49598
49599 [BZ #12814]
49600 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49601
ea486f69
JJ
496022011-05-25 Jakub Jelinek <jakub@redhat.com>
49603
49604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49605 (struct user_regs_struct): Change intcs field back to cs.
49606
6f038433
UD
496072011-05-25 Ulrich Drepper <drepper@gmail.com>
49608
49609 * po/ja.po: Update from translation team.
49610
67f86a25
UD
496112011-05-23 Ulrich Drepper <drepper@gmail.com>
49612
49613 [BZ #12795]
49614 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49615 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49616
def7fbd6
AS
496172011-05-20 Andreas Schwab <schwab@redhat.com>
49618
49619 * stdlib/longlong.h: Update from GCC.
49620
f50ef8f1
AS
496212011-05-23 Andreas Schwab <schwab@redhat.com>
49622
49623 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49624 parameter name.
49625 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49626 Add parameter name.
49627 (__sysconf): Pass it down.
49628
de7ce8f1
UD
496292011-05-22 Ulrich Drepper <drepper@gmail.com>
49630
f2962a71
UD
49631 [BZ #12671]
49632 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49633 some situations.
49634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49635 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49636 add in in __libc_use_alloca calls. Adjust callers.
49637 (glob): Use malloc in some situations.
49638
de7ce8f1
UD
49639 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49640 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49641 pltexit.
49642
aec84f53
UD
496432011-05-21 Ulrich Drepper <drepper@gmail.com>
49644
05bb4a68
UD
49645 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49646 and CLOCK_BOOTTIME_ALARM.
49647
7ea72f99
UD
49648 [BZ #12782]
49649 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49650 is returned.
49651
7e4afad5
UD
49652 * string/_strerror.c (__strerror_r): Print negative errors as signed
49653 numbers.
49654
8e211fec
UD
49655 [BZ #12777]
49656 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49657 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49658 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49659
f7d82dc9
UD
49660 * configure.in: Fix typo in redirection and correct removal of test
49661 files in two cases.
49662
cc9e536d
UD
49663 [BZ #12788]
49664 * locale/setlocale.c (new_composite_name): Fix test to check for
49665 identical name of all categories.
49666
aec84f53
UD
49667 [BZ #12792]
49668 * libio/filedoalloc.c (local_isatty): New function.
49669 (_IO_file_doallocate): Use local_isatty.
49670 * stdio-common/perror.c (perror): In case a new stream is used
49671 forward the stream error.
49672 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49673 error flag.
49674
78e64fdc
RT
496752011-05-20 Ulrich Drepper <drepper@gmail.com>
49676
34a9094f
UD
49677 [BZ #11869]
49678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49679 alloca.
49680 * include/alloca.h (extend_alloca_account): Define.
49681
78e64fdc
RT
49682 [BZ #11857]
49683 * posix/regex.h: Fix comments with documentation of user-accessible
49684 fields after compilation and describe correct free'ing of pattern
49685 after re_compile_pattern.
49686 Patch by Reuben Thomas <rrt@sc3d.org>.
49687
457bddfc
RA
496882011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49689
49690 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49691 and -mno-altivec to prevent the compiler from using Altivec and/or
49692 VSX instructions when the corresponding registers are not available.
49693
a4527b51
AS
496942011-05-19 Andreas Schwab <schwab@redhat.com>
49695
49696 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49697
ed690b2f
UD
496982011-05-19 Ulrich Drepper <drepper@gmail.com>
49699
49700 * libio/freopen.c (freopen): Use __dup2, not dup2.
49701 * libio/freopen64.c (freopen64): Likewise.
49702
8db73634
L
497032011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49704
49705 [BZ #12775]
49706 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49707 * math/Makefile (tests): Add test-powl.
49708 (CFLAGS-test-powl.c): Define.
49709 * math/test-powl.c: New file.
49710
0a197a9d
L
497112011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49712
49713 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49714
ee30c380
UD
497152011-05-17 Ulrich Drepper <drepper@gmail.com>
49716
49717 [BZ #11837]
49718 * iconvdata/gb18030.c: Update to GB18020-2005.
49719
6ce75379
UD
497202011-05-16 Ulrich Drepper <drepper@gmail.com>
49721
a4b89fd8
AR
49722 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49723 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49724 Patch by Aharon Robbins <arnold@skeeve.com>.
49725
ea389b12
UD
49726 [BZ #11892]
49727 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49728 on the stack.
49729
68a3f91f
UD
49730 [BZ #11895]
49731 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49732 through underflows.
49733
15cc7dd1
UD
49734 [BZ #12766]
49735 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49736 point to strings before performing equality test for error_one_per_line
49737 mode.
49738
f3799213
UD
49739 [BZ #11697]
49740 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49741
d79a9c94
UD
49742 [BZ #11820]
49743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49744 (struct user_fpregs_struct): Avoid __uint*_t types.
49745
56e5eb46
UD
49746 [BZ #6420]
49747 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49748 symbol info. Use it instead of calling _dl_addr locally.
49749 (lock_and_info): New function.
49750 (tr_freehook): Call lock_and_info and pass symbol info as additional
49751 parameter to tr_where.
49752 (tr_mallochook): Likewise.
49753 (tr_reallochook): Likewise.
49754 (tr_memalignhook): Likewise.
49755
6ce75379
UD
49756 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49757 used and couldn't be at all thread-safe.
49758
f8a3b5bf
UD
497592011-05-15 Ulrich Drepper <drepper@gmail.com>
49760
94b7cc37
UD
49761 * libio/freopen.c (freopen): Don't close old file descriptor
49762 before the new one is opened. Instead dup the new file descriptor
49763 to the old one after the new stream is created.
49764 * libio/freopen64.c (freopen64): Likewise.
49765 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49766 * libio/fileops.c (_IO_new_file_close_it): Handle new
49767 _IO_FLAGS2_NOCLOSE flag.
49768 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49769 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49770 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49771 _IO_FLAGS2_NOCLOSE flag.
49772 * include/unistd.h: Add hidden_proto for dup3.
49773 Define __have_dup3.
49774 * io/dup3.c: Define hidden symbol.
49775 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49776
bd25564e
UD
49777 [BZ #7101]
49778 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49779 when an incomplete long option is used.
49780 * posix/tst-getopt_long1.c: New file.
49781 * posix/Makefile (tests): Add tst-getopt_long1.
49782
c84cfef4
UD
49783 [BZ #10138]
49784 * scripts/config.guess: Update from autoconf-2.68.
49785 * scripts/config.sub: Likewise.
49786
3b85df27
UD
49787 [BZ #10157]
49788 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49789 tests into ...
49790 (has_cpuclock): ...this. New function.
49791 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49792 macro here based on has_cpuclock code.
49793
15a856b1
UD
49794 [BZ #10149]
49795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49796 First byte (not low byte) is now always NUL.
49797 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49798
05f399e6
UD
49799 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49800 Use non-cancelable interfaces.
49801
10a52685 49802 [BZ #9809]
94ecc67d
UD
49803 * locale/iso-639.def: Add entry for Sorani.
49804
f8a3b5bf
UD
49805 [BZ #11901]
49806 * include/stdlib.h: Move include protection to the right place.
49807 Define abort_msg_s. Declare __abort_msg with it.
49808 * stdlib/abort.c (__abort_msg): Adjust type.
49809 * assert/assert.c (__assert_fail_base): New function. Majority
49810 of code from __assert_fail. Allocate memory for __abort_msg with
49811 mmap.
49812 (__assert_fail): Now call __assert_fail_base.
49813 * assert/assert-perr.c: Remove bulk of implementation. Use
49814 __assert_fail_base.
49815 * include/assert.hL Declare __assert_fail_base.
49816 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49817 mmap.
49818 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49819
1af4e298
UD
498202011-05-14 Ulrich Drepper <drepper@gmail.com>
49821
f8a3b5bf 49822 [BZ #11952]
d26dfc60
MG
49823 [BZ #12453]
49824 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49825 until all modules are registered in the DTV.
49826 * elf/Makefile: Add rules to build and run tst-tls19.
49827 * elf/tst-tls19.c: New file.
49828 * elf/tst-tls19mod1.c: New file.
49829 * elf/tst-tls19mod2.c: New file.
49830 * elf/tst-tls19mod3.c: New file.
49831 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49832
2fc54d6f
UD
49833 [BZ #12083]
49834 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49835 correctly.
49836
98d76b46
UD
49837 [BZ #12601]
49838 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49839 two-byte sequence errors.
49840 * iconvdata/Makefile (tests): Add bug-iconv8.
49841 * iconvdata/bug-iconv8.c: New file.
49842
da3c19ef
UD
49843 [BZ #12626]
49844 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49845 buf2 definition.
49846
ca408c15
UD
49847 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49848
d6f67f7d
UD
49849 [BZ #12432]
49850 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49851 (dummy_getcfa): New function.
49852 (init): Get _Unwind_GetCFA address, use dummy if not found.
49853 (backtrace_helper): In recursion check, also check whether CFA changes.
49854 (__backtrace): Completely initialize arg.
49855
1af4e298 49856 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
49857 storing incomplete byte sequence in state object. Avoid testing for
49858 guaranteed too small input if we know there is enough data available.
1af4e298 49859
da62f81b
AS
498602011-05-11 Andreas Schwab <schwab@redhat.com>
49861
49862 * Makeconfig (+link-pie): Indent.
49863 * Rules (binaries-pie): Define if $(have-fpie) and
49864 $(build-shared).
49865 (binaries-shared): Also filter out $(binaries-pie).
49866 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49867 * nscd/Makefile (others-pie): Add nscd.
49868 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49869 ($(objpfx)nscd): Remove command override.
49870 * login/Makefile (others-pie): Add pt_chown.
49871 ($(objpfx)pt_chown): Remove command override.
49872 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49873 remove command overrides.
49874
fcabc0f8
UD
498752011-05-13 Ulrich Drepper <drepper@gmail.com>
49876
20030ae6
UD
49877 * libio/tst_putwc.c: Fix error messages.
49878
fcabc0f8
UD
49879 [BZ #12724]
49880 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49881 currently writing and seek to current position when not.
49882 * libio/Makefile (tests): Add bug-fclose1.
49883 * libio/bug-fclose1.c: New file.
49884
320a5dc0
PB
498852011-05-12 Ulrich Drepper <drepper@gmail.com>
49886
49887 [BZ #12511]
49888 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49889 don't set DF_1_NODELETE here.
49890 (do_lookup_x): When entering new entry test for copy relocation
49891 and if necessary set DF_1_NODELETE flag.
49892 * elf/tst-unique4.cc: New file.
49893 * elf/tst-unique4.h: New file.
49894 * elf/tst-unique4lib.cc: New file.
49895 * elf/Makefile: Add rules to build and run tst-unique4.
49896 Patch by Piotr Bury <pbury@goahead.com>.
49897
22836f52
UD
498982011-05-11 Ulrich Drepper <drepper@gmail.com>
49899
f574184a
UD
49900 [BZ #12052]
49901 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49902
e1fb097f
UD
49903 [BZ #12625]
49904 * misc/mntent_r.c (addmntent): Flush the stream after the output
49905
22836f52
UD
49906 [BZ #12393]
49907 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49908 (is_trusted_path_normalize): Skip initial colon. Append slash
49909 to empty buffer. Duplicate is_trusted_path code but allow
49910 constructed patch to be prefix.
49911 (is_dst): Allow $ORIGIN followed by /.
49912 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49913 Correct testing of result of is_trusted_path_normalize
49914 (decompose_rpath): Fix warning.
49915
7b3b0b2a
UD
499162011-05-10 Ulrich Drepper <drepper@gmail.com>
49917
49918 [BZ #11257]
49919 * grp/initgroups.c (internal_getgrouplist): When we found the service
49920 list through the initgroups entry in nsswitch.conf do not always
49921 continue on a successful lookup. Don't always use the
eac80ce2 49922 __nss_group_database value if it is set.
7b3b0b2a
UD
49923 * nss/nsswitch.conf (initgroups): Change action for successful db
49924 lookup to continue for compatibility.
49925
2a81eaa5
UD
499262011-05-09 Ulrich Drepper <drepper@gmail.com>
49927
be97a69e
UD
49928 [BZ #11532]
49929 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49930 and CP774 modules.
49931 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49932 and CP774 modules.
49933 * iconvdata/tst-tables.sh: Likewise.
49934 * iconvdata/cp770.c: New file.
49935 * iconvdata/cp771.c: New file.
49936 * iconvdata/cp772.c: New file.
49937 * iconvdata/cp773.c: New file.
49938 * iconvdata/cp774.c: New file.
49939 * iconvdata/testdata/CP770: New file.
49940 * iconvdata/testdata/CP770..UTF8: New file.
49941 * iconvdata/testdata/CP771: New file.
49942 * iconvdata/testdata/CP771..UTF8: New file.
49943 * iconvdata/testdata/CP772: New file.
49944 * iconvdata/testdata/CP772..UTF8: New file.
49945 * iconvdata/testdata/CP773: New file.
49946 * iconvdata/testdata/CP773..UTF8: New file.
49947 * iconvdata/testdata/CP774: New file.
49948 * iconvdata/testdata/CP774..UTF8: New file.
49949
49950 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49951 END CHARMAP line.
49952 * iconvdata/gen-8bit-gap.sh: Likewise.
49953 * iconvdata/gen-8bit.sh: Likewise.
49954
c1e9e399
UD
49955 * locale/iso-639.def: Add ary entry.
49956
24c55fb3 49957 [BZ #11258]
96b4b1b0
UD
49958 * locale/C-translit.h.in: Add U20A1 transliteration.
49959
bdc2f971
KB
49960 [BZ #12178]
49961 * locale/iso-639.def: Add wae entry.
49962 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49963
2952b117
UD
49964 [BZ #12545]
49965 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49966 for n.
49967
2a81eaa5
UD
49968 [BZ #12711]
49969 * locale/C-translit.h.in: Add entry for U20B9.
49970 Patch by pravin.d.s@gmail.com.
49971
28377d1b
UD
499722011-05-08 Ulrich Drepper <drepper@gmail.com>
49973
7fb90fb8
UD
49974 [BZ #12713]
49975 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49976 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
49977 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49978 in rtld. Use *stat64.
7fb90fb8 49979 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 49980 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 49981 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
49982 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49983 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49984 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49985 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49986 __fstatat64 macros.
7fb90fb8
UD
49987 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49988 * dirent/rewinddir.c: Add libc_hidden_def.
49989 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 49990 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 49991
28377d1b
UD
49992 * include/dirent.h (__alloc_dir): Add flags parameter.
49993 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49994 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49995 __alloc_dir.
49996 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49997 from fdopendir if O_CLOEXEC is already set.
49998
66bdbaa4
AM
499992011-03-15 Alan Modra <amodra@gmail.com>
50000
50001 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50002 l_tls_firstbyte_offset non-zero. Save padding offset in
50003 l_tls_firstbyte_offset for later use.
50004 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50005 freeing static tls block.
50006
95721191
JN
500072011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50008
50009 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50010 where #ifdef was intended. The intent is to prevent ARG_MAX from
50011 being defined by the kernel headers.
50012
f87dfb1f
UD
500132011-05-07 Ulrich Drepper <drepper@gmail.com>
50014
50015 [BZ #12734]
50016 * resolv/resolv.h: Define RES_NOTLDQUERY.
50017 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50018 no-tld-query and set RES_NOTLDQUERY.
50019 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50020 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50021 modern BIND to search name as TLD unless forbidden.
50022
47c3cd7a
UD
500232011-05-07 Petr Baudis <pasky@suse.cz>
50024 Ulrich Drepper <drepper@gmail.com>
50025
50026 [BZ #12393]
50027 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50028 (is_trusted_path): ...to here.
c1e9ea35 50029 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50030 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50031 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50032
8a35c912
PP
500332011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50034
50035 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50036 __BEGIN/__END_DECLS.
50037
acd41f47
UD
500382011-05-06 Ulrich Drepper <drepper@gmail.com>
50039
50040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50041 NSS_STATUS_NOTFOUND if no record was found.
50042
597df647
AS
500432011-05-05 Andreas Schwab <schwab@redhat.com>
50044
50045 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50046 (headers-not-in-tirpc): Remove rpc/netdb.h
50047 * resolv/netdb.h: Revert last change.
50048
b9af1301
PP
500492011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50050
50051 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50052 circular dependency between libgcc.a and libc.a.
50053
4e34d5f5
AS
500542011-05-05 Andreas Schwab <schwab@redhat.com>
50055
50056 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50057 * nis/Makefile: Don't install rpcsvc/*.
50058 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50059 instead of <rpc/types.h>.
50060 (MAXHOSTNAMELEN): Define.
50061
00ee369c
AS
500622011-05-03 Andreas Schwab <schwab@redhat.com>
50063
50064 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50065
0b592a30
MB
500662011-04-28 Maciej Babinski <mbabinski@google.com>
50067
50068 [BZ #12714]
50069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50070 gethostbyname4_r when IPv6 results are possible.
50071
6e04cbbe
UD
500722011-05-02 Ulrich Drepper <drepper@gmail.com>
50073
50074 [BZ #12723]
50075 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50076 _PC_PIPE_BUF handling.
50077
e4ecafe0
BH
500782011-04-30 Bruno Haible <bruno@clisp.org>
50079
50080 [BZ #12717]
50081 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50082 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50083 to 'int'.
50084 * inet/getnameinfo.c (getnameinfo): Likewise.
50085
125ee683
UD
500862011-04-29 Ulrich Drepper <drepper@gmail.com>
50087
50088 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50089 to groups setting in database lookup.
50090 * nss/nsswitch.conf: Add initgroups entry.
50091
b722481a
EB
500922011-04-22 Ulrich Drepper <drepper@gmail.com>
50093
50094 [BZ #12685]
50095 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50096 mode string.
50097 Patch by Eric Blake <eblake@redhat.com>.
50098
4df46dbd
L
500992011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50100
50101 * sunrpc/Makefile (need-export-routines): Add svc_run.
50102 (routines): Remove svc_run.
50103 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50104 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50105 * sunrpc/svc_run.c (svc_run): Likewise.
50106 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50107
e84142d2
UD
501082011-04-21 Ulrich Drepper <drepper@gmail.com>
50109
50110 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50111 problem in reallocation in last patch.
50112
877175d8
UD
501132011-04-20 Ulrich Drepper <drepper@gmail.com>
50114
50115 * sunrpc/Makefile: Move inclusion of Rules.
50116
ab8eed78
UD
501172011-04-19 Ulrich Drepper <drepper@gmail.com>
50118
50119 * nss/nss_files/files-initgroups.c: New file.
50120 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50121 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50122 _nss_files_initgroups_dyn.
50123
e3d8f584
RS
501242011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50125
50126 * elf/elf.h (R_ARM_IRELATIVE): Define.
50127
af190f45
UD
501282011-04-19 Ulrich Drepper <drepper@gmail.com>
50129
50130 * po/ru.po: Update from translation team.
50131
53cf59ef
UD
501322011-04-17 Ulrich Drepper <drepper@gmail.com>
50133
50134 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50135 dependencies.
50136
4c559bcd
MF
501372011-02-06 Mike Frysinger <vapier@gentoo.org>
50138
50139 [BZ #12653]
50140 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50141 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50143 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50145
4420675c
AS
501462011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50147
50148 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50149 differing bytes.
50150 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50151 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50153
75ea32ab
UD
501542011-04-17 Ulrich Drepper <drepper@gmail.com>
50155
50156 [BZ #12420]
50157 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50158 storing it.
50159 * stdlib/bug-getcontext.c: New file.
50160 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50161
27390476
AK
501622011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50163
50164 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50165 instructions into .machine "z9-109".
50166 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50167 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50168
10442705
AK
501692011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50170
50171 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50172 between environment variables and auxiliary vector.
50173
7b57bfe5
UD
501742011-04-16 Ulrich Drepper <drepper@gmail.com>
50175
50176 * Makefile: Add rules to build linkobj/libc.so.
50177 * include/libc-symbols.h: Define libc_hidden_nolink.
50178 * include/rpc/auth.h: Mark functions which are to be hidden.
50179 * include/rpc/auth_des.h: Likewise.
50180 * include/rpc/auth_unix.h: Likewise.
50181 * include/rpc/clnt.h: Likewise.
50182 * include/rpc/des_crypt.h: Likewise.
50183 * include/rpc/key_prot.h: Likewise.
50184 * include/rpc/pmap_clnt.h: Likewise.
50185 * include/rpc/pmap_prot.h: Likewise.
50186 * include/rpc/pmap_rmt.h: Likewise.
50187 * include/rpc/rpc_msg.h: Likewise.
50188 * include/rpc/svc.h: Likewise.
50189 * include/rpc/svc_auth.h: Likewise.
50190 * include/rpc/xdr.h: Likewise.
50191 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50192 * nss/Makefile: Likewise.
50193 * sunrpc/Makefile: Don't install headers. Build library with normal
50194 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50195 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50196 for the compat linking library. Remove use of INTDEF/INTUSE.
50197 * sunrpc/auth_none.c: Likewise.
50198 * sunrpc/auth_unix.c: Likewise.
50199 * sunrpc/authdes_prot.c: Likewise.
50200 * sunrpc/authuxprot.c: Likewise.
50201 * sunrpc/clnt_gen.c: Likewise.
50202 * sunrpc/clnt_perr.c: Likewise.
50203 * sunrpc/clnt_raw.c: Likewise.
50204 * sunrpc/clnt_simp.c: Likewise.
50205 * sunrpc/clnt_tcp.c: Likewise.
50206 * sunrpc/clnt_udp.c: Likewise.
50207 * sunrpc/clnt_unix.c: Likewise.
50208 * sunrpc/des_crypt.c: Likewise.
50209 * sunrpc/des_soft.c: Likewise.
50210 * sunrpc/get_myaddr.c: Likewise.
50211 * sunrpc/key_call.c: Likewise.
50212 * sunrpc/key_prot.c: Likewise.
50213 * sunrpc/netname.c: Likewise.
50214 * sunrpc/pm_getmaps.c: Likewise.
50215 * sunrpc/pm_getport.c: Likewise.
50216 * sunrpc/pmap_clnt.c: Likewise.
50217 * sunrpc/pmap_prot.c: Likewise.
50218 * sunrpc/pmap_prot2.c: Likewise.
50219 * sunrpc/pmap_rmt.c: Likewise.
50220 * sunrpc/publickey.c: Likewise.
50221 * sunrpc/rpc_cmsg.c: Likewise.
50222 * sunrpc/rpc_common.c: Likewise.
50223 * sunrpc/rpc_dtable.c: Likewise.
50224 * sunrpc/rpc_prot.c: Likewise.
50225 * sunrpc/rpc_thread.c: Likewise.
50226 * sunrpc/rtime.c: Likewise.
50227 * sunrpc/svc.c: Likewise.
50228 * sunrpc/svc_auth.c: Likewise.
50229 * sunrpc/svc_authux.c: Likewise.
50230 * sunrpc/svc_raw.c: Likewise.
50231 * sunrpc/svc_run.c: Likewise.
50232 * sunrpc/svc_simple.c: Likewise.
50233 * sunrpc/svc_tcp.c: Likewise.
50234 * sunrpc/svc_udp.c: Likewise.
50235 * sunrpc/svc_unix.c: Likewise.
50236 * sunrpc/svcauth_des.c: Likewise.
50237 * sunrpc/xcrypt.c: Likewise.
50238 * sunrpc/xdr.c: Likewise.
50239 * sunrpc/xdr_array.c: Likewise.
50240 * sunrpc/xdr_float.c: Likewise.
50241 * sunrpc/xdr_intXX_t.c: Likewise.
50242 * sunrpc/xdr_mem.c: Likewise.
50243 * sunrpc/xdr_rec.c: Likewise.
50244 * sunrpc/xdr_ref.c: Likewise.
50245 * sunrpc/xdr_sizeof.c: Likewise.
50246 * sunrpc/xdr_stdio.c: Likewise.
50247
e6c61494
UD
502482011-04-10 Ulrich Drepper <drepper@gmail.com>
50249
50250 [BZ #12650]
50251 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50252 * sysdeps/ia64/dl-tls.h: Likewise.
50253 * sysdeps/powerpc/dl-tls.h: Likewise.
50254 * sysdeps/s390/dl-tls.h: Likewise.
50255 * sysdeps/sh/dl-tls.h: Likewise.
50256 * sysdeps/sparc/dl-tls.h: Likewise.
50257 * sysdeps/x86_64/dl-tls.h: Likewise.
50258 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50259
34fe483e
AS
502602011-03-14 Andreas Schwab <schwab@redhat.com>
50261
50262 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50263 rpath element also skip the following colon.
50264 (expand_dynamic_string_token): Add is_path parameter and pass
50265 down to DL_DST_REQUIRED and _dl_dst_substitute.
50266 (decompose_rpath): Call expand_dynamic_string_token with
50267 non-zero is_path. Ignore empty rpaths.
50268 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50269 with zero is_path.
50270
f12a32e6
AS
502712011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50272
50273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50274 Make cancelable.
50275
38a7d692
UD
502762011-04-09 Ulrich Drepper <drepper@gmail.com>
50277
50278 [BZ #12655]
50279 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50280 Patch by Filipe David Manana <fdmanana@apache.org>.
50281
e451d22b
AS
502822011-04-07 Andreas Schwab <schwab@redhat.com>
50283
50284 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50285 Maintain aligned stack.
50286 (CHECK_RSP): Remove unused macro.
50287
dedc7c7b
UD
502882011-04-03 Ulrich Drepper <drepper@gmail.com>
50289
50290 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50291 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50292
94521213
UD
502932011-04-02 Ulrich Drepper <drepper@gmail.com>
50294
50295 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50296
8cb700c0 50297 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50298
0354e355
L
502992011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50300
50301 [BZ #12518]
50302 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50303 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50304 * sysdeps/x86_64/memmove.c: New file.
50305 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50306 (memcpy): Renamed to ...
50307 (__new_memcpy): This.
50308 (memcpy): Provide GLIBC_2_14 memcpy.
50309 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50310 (memcpy): Provide GLIBC_2_2_5 memcpy.
50311
8593482f
UD
503122011-04-01 Ulrich Drepper <drepper@gmail.com>
50313
50314 [BZ #12631]
50315 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50316
81a5726b
AS
503172011-03-30 Andreas Schwab <schwab@redhat.com>
50318
50319 * misc/syncfs.c: New file.
50320 * misc/Makefile (routines): Add syncfs.
50321 * posix/unistd.h: Declare syncfs.
50322 * sysdeps/unix/syscalls.list: Add syncfs.
50323
00e5419f
AS
503242011-04-01 Andreas Schwab <schwab@redhat.com>
50325
50326 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50327 open_by_handle_at.
50328 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50329 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50330 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50332 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50333 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50334 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50335
748876bf
UD
503362011-04-01 Ulrich Drepper <drepper@gmail.com>
50337
658e451d
UD
50338 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50339 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50340 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50345
748876bf
UD
50346 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50347 sync_file_range.c with -fexceptions.
50348 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50349 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50350 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50351 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50352 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50353 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50355 sync_file_range as cancellation point
50356 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50357 now a wrapper around __call_sync_file_range with cancellation handling.
50358 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50359 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50360 function name to __call_sync_file_range.
50361 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50362 Add call_sync_file_range.
748876bf 50363
6e63d5e1
AS
503642011-04-01 Andreas Schwab <schwab@redhat.com>
50365
50366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50367 bits/timex.h.
6e63d5e1 50368
46998f74
UD
503692011-04-01 Ulrich Drepper <drepper@gmail.com>
50370
4c1423ed
UD
50371 * iconv/iconv.h: Fix typo in comment.
50372 * io/fcntl.h: Likewise.
50373 * libio/stdio.h: Likewise.
50374 * posix/spawn.h: Likewise.
50375 * posix/unistd.h: Likewise.
50376 * stdlib/stdlib.h: Likewise.
50377 * time/time.h: Likewise.
50378 * wcsmbs/wchar.h: Likewise.
50379
158648c0
UD
50380 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50381 open_by_handle): Add.
50382 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50383 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50384 Augment a few comments.
50385 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50386 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50387 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50389 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50390 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50391 open_by_handle.
50392
46998f74
UD
50393 * io/fcntl.h (AT_EMPTY_PATH): Define.
50394
83fe108b
UD
503952011-03-30 Ulrich Drepper <drepper@gmail.com>
50396
50397 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50398 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50399 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50400 to...
50401 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50402 * Versions.def: Add GLIBC_2.14.
50403 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50404 Export.
83fe108b 50405
bb242059
UD
504062011-03-22 Ulrich Drepper <drepper@gmail.com>
50407
50408 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50409 round counter.
50410 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50411
c97a1282
L
504122011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50413
50414 [BZ #12597]
50415 * string/test-strncmp.c (do_page_test): New function.
50416 (check2): Likewise.
50417 (test_main): Call check2.
50418 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50419
2a115601
UD
504202011-03-20 Ulrich Drepper <drepper@gmail.com>
50421
50422 [BZ #12587]
50423 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50424 Handle cache information in CPU leaf 4.
50425 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50426
8126d904
UD
504272011-03-18 Ulrich Drepper <drepper@gmail.com>
50428
042c49c6 50429 [BZ #12583]
8126d904
UD
50430 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50431 character representation.
50432 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50433
ccfe366e
RA
504342011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50435
50436 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50437 END(__isnan) to END(__isnanf) to match function entry point/label
50438 EALIGN(__isnanf,...).
50439
c6e13027
JJ
504402011-03-10 Jakub Jelinek <jakub@redhat.com>
50441
50442 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50443
33f85a3f
UD
504442011-03-10 Ulrich Drepper <drepper@gmail.com>
50445
028478fa
UD
50446 [BZ #12510]
50447 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50448 copy from the symbol referenced in the relocation to initialize the
50449 used variable.
50450 Patch by Piotr Bury <pbury@goahead.com>.
50451 * elf/Makefile: Add rules to build and tst-unique3.
50452 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50453 * elf/tst-unique3.cc: New file.
50454 * elf/tst-unique3.h: New file.
50455 * elf/tst-unique3lib.cc: New file.
50456 * elf/tst-unique3lib2.cc: New file.
50457
33f85a3f
UD
50458 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50459
03592fc7
MF
504602011-03-10 Mike Frysinger <vapier@gentoo.org>
50461
50462 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50463 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50464 to _start.
03592fc7 50465
6a5ee102
UD
504662011-03-06 Ulrich Drepper <drepper@gmail.com>
50467
50468 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50469 to-be-loaded object along a path to loader is ld.so.
50470
7e4ba49c
HJ
504712011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50472 Ulrich Drepper <drepper@gmail.com>
50473
50474 * sysdeps/x86_64/memset.S: After aligning destination, code
50475 branches to different locations depending on the value of
50476 misalignment, when multiarch is enabled. Fix this.
50477
504782011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50479
50480 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50481 Set _x86_64_preferred_memory_instruction for AMD processsors.
50482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50483 Set bit_Prefer_SSE_for_memop for AMD processors.
50484
13a804de
UD
504852011-03-04 Ulrich Drepper <drepper@gmail.com>
50486
50487 * libio/fmemopen.c (fmemopen): Optimize a bit.
50488
9d25c392
AS
504892011-03-03 Andreas Schwab <schwab@redhat.com>
50490
50491 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50492
a5543c6a
RM
504932011-03-03 Roland McGrath <roland@redhat.com>
50494
50495 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50496
012d35f7
DM
504972011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50498
7e4ba49c 50499 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50500 __bzero_ultra1 instead of __memset_ultra1.
50501
4bff6e01
AS
505022011-02-23 Andreas Schwab <schwab@redhat.com>
50503 Ulrich Drepper <drepper@gmail.com>
50504
50505 [BZ #12509]
50506 * include/link.h (struct link_map): Add l_orig_initfini.
50507 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50508 returning unsuccessfully.
50509 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50510 close of a file loaded at startup, restore the original l_initfini
50511 list.
50512 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50513 list, store the pointer.
50514 * elf/Makefile ($(objpfx)noload-mem): New rule.
50515 (noload-ENV): Define.
50516 (tests): Add $(objpfx)noload-mem.
50517 * elf/noload.c: Include <memcheck.h>.
50518 (main): Call mtrace. Close all opened handles.
50519
f2092faf
AS
505202011-02-17 Andreas Schwab <schwab@redhat.com>
50521
50522 [BZ #12454]
50523 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50524 dependencies are missing.
50525
6c8a2e88
ST
505262011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50527
f2092faf 50528 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50529 Hurd needs munmap.
50530 * sysdeps/mach/hurd/ifreq.h: New file.
50531
84a42118
PB
505322011-01-27 Petr Baudis <pasky@suse.cz>
50533 Ulrich Drepper <drepper@gmail.com>
50534
071f805e 50535 [BZ 12445]#
84a42118
PB
50536 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50537 to extend_alloca().
50538 * stdio-common/bug23.c: New file.
50539 * stdio-common/Makefile (tests): Add bug23.
50540
e23fe25b
AS
505412010-09-28 Andreas Schwab <schwab@redhat.com>
50542 Ulrich Drepper <drepper@gmail.com>
50543
50544 [BZ #12489]
50545 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50546 before performing relro protection. At old place add assertion
50547 to make sure nothing changed.
50548
d3f02e10
NS
505492011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50550 Glauber de Oliveira Costa <glommer@gmail.com>
50551
50552 * elf/elf.h: Add new ARM TLS relocs.
50553
d55fd7a5
RA
505542011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50555
50556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50557 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50558 cast from r3.
50559 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50560 'tests' variable.
50561 * sysdeps/wordsize-64/tst-writev.c: New file.
50562
2206397e
RA
505632011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50564
50565 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50566 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50567 insns in _dl_start to prevent a TOC reference before relocs are
50568 resolved.
50569
e9433893
UD
505702011-02-15 Ulrich Drepper <drepper@gmail.com>
50571
50572 [BZ #12469]
50573 * Makeconfig: Remove RANLIB definition.
50574 * Makerules: Don't use RANLIB.
50575 * aclocal.m4: Remove ranlib test.
50576 * configure.in: No need to check for ranlib.
50577 * elf/rtld-Rules: Don't use RANLIB.
50578
f75286c6
ST
505792011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50580
8e31c82d
ST
50581 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50582 protection macro.
50583 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50584 inclusion protection macro.
50585
f75286c6
ST
50586 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50587 SIGRTMIN and SIGRTMAX and print information in that case only when
50588 SIGRTMIN is defined.
50589
c1d0e639
JJ
505902011-02-11 Jakub Jelinek <jakub@redhat.com>
50591
50592 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50593 arginfo fn returning -1.
50594
50595 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50596 and thousands string is zero terminated.
50597
edf9294e
AS
505982011-02-03 Andreas Schwab <schwab@redhat.com>
50599
50600 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50601 sysdeps/unix/sysv/linux/bits/socket.h.
50602
2b7e92df
ST
506032011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50604
edf9294e
AS
50605 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50606 (__CPU_COUNT): Remove old macros.
50607 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50608 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50609 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50610 (__sched_cpualloc, __sched_cpufree): Add declarations.
50611
a4c7ea7b
UD
506122011-02-05 Ulrich Drepper <drepper@gmail.com>
50613
50614 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50615 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50616 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50617 (readdhstai): Return value of addhstaiX call.
50618 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50619 (addgrbyX): Return value returned by cache_addgr.
50620 (readdgrbyname): Return value returned by addgrbyX.
50621 (readdgrbygid): Likewise.
50622 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50623 (addpwbyX): Return value returned by cache_addpw.
50624 (readdpwbyname): Return value returned by addhstbyX.
50625 (readdpwbyuid): Likewise.
50626 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50627 (addservbyX): Return value returned by cache_addserv.
50628 (readdservbyname): Return value returned by addservbyX:
50629 (readdservbyport): Likewise.
50630 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50631 (addhstbyX): Return value returned by cache_addhst.
50632 (readdhstbyname): Return value returned by addhstbyX.
50633 (readdhstbyaddr): Likewise.
50634 (readdhstbynamev6): Likewise.
50635 (readdhstbyaddrv6): Likewise.
50636 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50637 (readdinitgroups): Return value returned by addinitgroupsX.
50638 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50639 (prune_cache): Keep track of timeout value of re-added entries.
50640 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50641 * nscd/nscd.h: Adjust prototypes of readd* functions.
50642
a0bf67cc
RM
506432011-02-04 Roland McGrath <roland@redhat.com>
50644
50645 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50646 (nis_stats): Likewise.
50647 * nis/nis_modify.c (nis_modify): Likewise.
50648 * nis/nis_remove.c (nis_remove): Likewise.
50649 * nis/nis_add.c (nis_add): Likewise.
50650
50651 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50652
50653 * posix/fnmatch_loop.c: Add some consts.
50654
50655 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50656
435b95eb
L
506572011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50658
50659 [BZ #12460]
50660 * config.make.in (config-cflags-novzeroupper): Define.
50661 * configure.in: Substitute libc_cv_cc_novzeroupper.
50662 * elf/Makefile (AVX-CFLAGS): Define.
50663 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50664 (CFLAGS-tst-auditmod4a.c): Likewise.
50665 (CFLAGS-tst-auditmod4b.c): Likewise.
50666 (CFLAGS-tst-auditmod6b.c): Likewise.
50667 (CFLAGS-tst-auditmod6c.c): Likewise.
50668 (CFLAGS-tst-auditmod7b.c): Likewise.
50669 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50670
8517b15e
UD
506712011-02-02 Ulrich Drepper <drepper@gmail.com>
50672
50673 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50674 function to the callback.
50675 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50676
10a656fe
AS
506772011-02-02 Andreas Schwab <schwab@redhat.com>
50678
50679 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50680 of errno.
50681
968dad0a
UD
506822011-01-19 Ulrich Drepper <drepper@gmail.com>
50683
9f94d2ea 50684 [BZ #11724]
968dad0a
UD
50685 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50686 of constructors.
50687 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50688 of destructors.
50689 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50690
50691 [BZ #11724]
50692 * elf/Makefile: Add rules to build and run new test.
50693 * elf/tst-initorder.c: New file.
50694 * elf/tst-initorder.exp: New file.
50695 * elf/tst-initordera1.c: New file.
50696 * elf/tst-initordera2.c: New file.
50697 * elf/tst-initordera3.c: New file.
50698 * elf/tst-initordera4.c: New file.
50699 * elf/tst-initorderb1.c: New file.
50700 * elf/tst-initorderb2.c: New file.
50701 * elf/tst-order-a1.c: New file.
50702 * elf/tst-order-a2.c: New file.
50703 * elf/tst-order-a3.c: New file.
50704 * elf/tst-order-a4.c: New file.
50705 * elf/tst-order-b1.c: New file.
50706 * elf/tst-order-b2.c: New file.
50707 * elf/tst-order-main.c: New file.
50708 New test case by George Gensure <werkt0@gmail.com>.
50709
86e92359
UD
507102010-10-01 Andreas Schwab <schwab@redhat.com>
50711
50712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50713 decoding ACE if AI_CANONIDN.
50714
5d5732b0
UD
507152011-01-18 Ulrich Drepper <drepper@gmail.com>
50716
50717 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50718
a77e8cbc
UD
507192011-01-17 Ulrich Drepper <drepper@gmail.com>
50720
6392473f
UD
50721 * version.h (RELEASE): Bump for 2.13 release.
50722 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50723
620a0529
UD
50724 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50725
18ba70a5
UD
50726 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50727 MADV_NOHUGEPAGE.
32465c3e
UD
50728 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50730 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50731 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50732 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50733 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50734
c0dafcf1
UD
50735 * posix/getconf.c: Update copyright year.
50736 * catgets/gencat.c: Likewise.
50737 * csu/version.c: Likewise.
50738 * debug/catchsegv.sh: Likewise.
50739 * debug/xtrace.sh: Likewise.
50740 * elf/ldconfig.c: Likewise.
50741 * elf/ldd.bash.in: Likewise.
50742 * elf/sprof.c (print_version): Likewise.
50743 * iconv/iconv_prog.c: Likewise.
50744 * iconv/iconvconfig.c: Likewise.
50745 * locale/programs/locale.c: Likewise.
50746 * locale/programs/localedef.c: Likewise.
50747 * malloc/memusage.sh: Likewise.
50748 * malloc/mtrace.pl: Likewise.
50749 * nscd/nscd.c (print_version): Likewise.
50750 * nss/getent.c: Likewise.
50751
a77e8cbc
UD
50752 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50753 PF_CAIF, and PF_ALG.
50754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50755
77e8bddf
AS
507562011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50757
1f20b93a
AS
50758 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50759 (modules-names): Use them.
50760 (ifunc-test-modules, ifunc-pie-tests): Define.
50761 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50762 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50763 (test-extras): Likewise.
50764 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50765 $(compile-command.c).
50766 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50767 (all-built-dso): Define.
50768 (check-textrel.out, check-execstack.out): Depend on it.
50769
77e8bddf
AS
50770 * configure.in: Don't override --enable-multi-arch.
50771
bc425b33
UD
507722011-01-15 Ulrich Drepper <drepper@gmail.com>
50773
50774 [BZ #6812]
50775 * nscd/hstcache.c (tryagain): Define.
50776 (cache_addhst): Return tryagain not notfound for temporary errors.
50777 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50778 failed.
50779
794c3ad3
UD
507802011-01-14 Ulrich Drepper <drepper@gmail.com>
50781
70181fdd
UD
50782 [BZ #10563]
50783 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50784 to make the syscall.
50785 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50786
794c3ad3
UD
50787 [BZ #12378]
50788 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50789 and fall back to matching as normal character if the string ends before
50790 the matching ']' is found. This is what POSIX requires.
50791 * posix/testfnm.c: Adjust test result.
50792 * posix/globtest.sh: Adjust test result. Add new test.
50793 * posix/tst-fnmatch.input: Likewise.
50794 * posix/tst-fnmatch2.c: Add new test.
50795
68dc9497
AS
507962010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50797
50798 * elf/Makefile (check-execstack): Revert last change. Depend on
50799 check-execstack.h.
50800 (check-execstack.h): New target.
50801 (generated): Add check-execstack.h.
50802 * elf/check-execstack.c: Include "check-execstack.h".
50803 (main): Revert last change.
50804 (handle_file): Return zero if GNU_STACK is absent and
50805 DEFAULT_STACK_PERMS doesn't include PF_X.
50806
451f001b
UD
508072011-01-13 Ulrich Drepper <drepper@gmail.com>
50808
cfa28e56
UD
50809 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50810 in child fails because the descriptor is already closed.
8cf8ce17
UD
50811 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50812 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50813 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 50814
1086d70d
UD
50815 [BZ #12397]
50816 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50817 syscall.
50818
451f001b
UD
50819 [BZ #10484]
50820 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50821 temporary buffer used to handle multi lookups locally.
a85b5cb4 50822 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 50823
08769175
UD
508242011-01-12 Ulrich Drepper <drepper@gmail.com>
50825
50826 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50827 loader is ld.so.
50828
5e49c52e
UD
508292011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50830
50831 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50832 alignment for SSE2.
50833
60522a5f
UD
508342011-01-12 Ulrich Drepper <drepper@gmail.com>
50835
50836 [BZ #12394]
50837 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50838 characters. When rounding increased number of integer digits recompute
50839 number of groups.
50840 * stdio-common/tst-grouping.c: New file.
50841 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50842
f257bbd7
UD
508432011-01-09 Ulrich Drepper <drepper@gmail.com>
50844
50845 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50846 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50847
50848 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50849 void.
50850 * bits/select.h: Likewise.
50851
fa9c15cb
UD
508522011-01-08 Ulrich Drepper <drepper@gmail.com>
50853
50854 * po/ja.po: Update from translation team.
50855
16c2895f
DM
508562011-01-04 David S. Miller <davem@sunset.davemloft.net>
50857
50858 [BZ #11155]
50859 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50860 implementation just like for lxstat, fxstatat, et al.
50861
2543fef2
JM
508622010-12-27 Jim Meyering <meyering@redhat.com>
50863
50864 [BZ #12348]
50865 * posix/regexec.c (build_trtable): Return failure indication upon
50866 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50867
98727dbe
UD
508682010-12-25 Ulrich Drepper <drepper@gmail.com>
50869
5bd6dc5c
UD
50870 [BZ #12201]
50871 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50872 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50873 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50875
97983464
UD
50876 [BZ #12207]
50877 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50878
98727dbe
UD
50879 [BZ #12204]
50880 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50881 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50882
4a531bb0
L
508832010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50884
50885 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50886 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50887 script has SORT_BY_INIT_PRIORITY.
50888 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50889 NO_CTORS_DTORS_SECTIONS is defined.
50890 * elf/soinit.c: Likewise.
50891 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50892 NO_CTORS_DTORS_SECTIONS is defined.
50893 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50894 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50895 * sysdeps/sh/init-first.c: Likewise.
50896 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50897
07eb4b71
UD
508982010-12-24 Ulrich Drepper <drepper@gmail.com>
50899
50900 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50901 always use the slow path.
50902
30950a5f
RA
509032010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50904
50905 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50906 similar rule which adds the sysdep directories to the header search in
50907 order to pick up the correct platform stackinfo.h.
50908 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50909 perform test if it is, otherwise return successfully without testing.
50910 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50911 DEFAULT_STACK_PERMS define in stackinfo.h.
50912 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50913 defined in stackinfo.h.
50914 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50915 DEFAULT_STACK_PERMS defined in stackinfo.h.
50916 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50917 * sysdeps/ia64/stackinfo.h: Likewise.
50918 * sysdeps/s390/stackinfo.h: Likewise.
50919 * sysdeps/sh/stackinfo.h: Likewise.
50920 * sysdeps/sparc/stackinfo.h: Likewise.
50921 * sysdeps/x86_64/stackinfo.h: Likewise.
50922 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50923 PF_X for powerpc64. Retain PF_X for powerpc32.
50924
db753e2c
UD
509252010-12-19 Ulrich Drepper <drepper@gmail.com>
50926
14b697f7
UD
50927 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50928 accurately.
db753e2c
UD
50929 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50930 GETDENTS_64BIT_ALIGNED.
50931
28300719
UD
509322010-12-14 Ulrich Drepper <dreper@gmail.com>
50933
14b697f7 50934 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 50935
4f197237
AS
509362010-12-10 Andreas Schwab <schwab@redhat.com>
50937
dbb0472f
AS
50938 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50939 _GNU_SOURCE.
50940
4f197237
AS
50941 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50942 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50943 Remove __restrict.
50944 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50945 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50946
fb88ac72
UD
509472010-12-09 Ulrich Drepper <drepper@gmail.com>
50948
50949 [BZ #11655]
50950 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50951 are initialized.
50952
42acbb92
JJ
509532010-12-09 Jakub Jelinek <jakub@redhat.com>
50954
50955 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50956
c038d98d
UD
509572010-12-03 Ulrich Drepper <drepper@gmail.com>
50958
50959 * po/it.po: Update from translation team.
50960
3a4a2499
L
509612010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50962
50963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50964 unused codes.
50965
1e24cf6e
UD
509662010-11-30 Ulrich Drepper <drepper@gmail.com>
50967
50968 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50969
a7690819
AS
509702010-11-24 Andreas Schwab <schwab@redhat.com>
50971
50972 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50973 specially.
50974 (gaih_getanswer_slice): Likewise.
50975
3bf8d1b1
JJ
509762010-10-20 Jakub Jelinek <jakub@redhat.com>
50977
50978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50979
6db52fbb
PB
509802010-05-31 Petr Baudis <pasky@suse.cz>
50981
50982 [BZ #11149]
50983 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50984 silently even in the chroot mode.
50985
eaca7569
UD
509862010-11-22 Ulrich Drepper <drepper@gmail.com>
50987
50988 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50989 last patch a bit. Pretty printing
50990
3056dcdb
UD
509912010-05-31 Petr Baudis <pasky@suse.cz>
50992
50993 [BZ #10085]
50994 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50995 initialization of skip_initgroups_dyn.
50996
cf7c9078
UD
509972010-11-19 Ulrich Drepper <drepper@gmail.com>
50998
50999 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51000 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51001
a1fb5e3e
UD
510022010-11-16 Ulrich Drepper <drepper@gmail.com>
51003
51004 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51005
3540d66b
AS
510062010-11-11 Andreas Schwab <schwab@redhat.com>
51007
51008 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51009 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51010 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51011 ($(objpfx)tst-fnmatch-mem): New rule.
51012 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51013 * posix/tst-fnmatch.c (main): Call mtrace.
51014
13b69574
L
510152010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51016
51017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51018 Support Intel processor model 6 and model 0x2c.
51019
da93d214
LM
510202010-11-10 Luis Machado <luisgpm@br.ibm.com>
51021
51022 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51023 signed comparison.
51024
8ca52c6e
L
510252010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51026
51027 [BZ #12205]
51028 * string/test-strncasecmp.c (check_result): New function.
51029 (do_one_test): Use it.
51030 (check1): New function.
51031 (test_main): Use it.
51032 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51033 Support strcasecmp and strncasecmp.
51034
69da074d
UD
510352010-11-08 Ulrich Drepper <drepper@gmail.com>
51036
51037 [BZ #12194]
51038 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51039 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51040
ff02d528
L
510412010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51042
51043 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51044 IFUNC support.
51045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51046 memset-x86-64.
51047 * sysdeps/x86_64/multiarch/bzero.S: New file.
51048 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51049 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51050 * sysdeps/x86_64/multiarch/memset.S: New file.
51051 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51053 Set bit_Prefer_SSE_for_memop for Intel processors.
51054 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51055 Define.
51056 (index_Prefer_SSE_for_memop): Define.
51057 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51058
344d0b54
LM
510592010-11-04 Luis Machado <luisgpm@br.ibm.com>
51060
51061 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51062 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51063
c0dde15b
UD
510642010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51065
51066 [BZ #12191]
51067 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51068 (__x86_64_raw_data_cache_size_half): Likewise.
51069 (__x86_64_raw_shared_cache_size): Likewise.
51070 (__x86_64_raw_shared_cache_size_half): Likewise.
51071
51072 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51073 (__x86_64_raw_data_cache_size_half): Likewise.
51074 (__x86_64_raw_shared_cache_size): Likewise.
51075 (__x86_64_raw_shared_cache_size_half): Likewise.
51076 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51077 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51078 and __x86_64_raw_shared_cache_size_half. Round
51079 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51080 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51081 to multiple of 256 bytes.
51082
0e516e0e
MS
510832010-11-03 Ulrich Drepper <drepper@gmail.com>
51084
51085 [BZ #12167]
51086 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51087 of inacessible symlinks. Verify result of symlink before returning it.
51088 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51089 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51090
0e012e87
ER
510912010-10-28 Erich Ritz <erichritz@gmail.com>
51092
51093 * math/math.h (isinf): Fix typo in comment.
51094
de0ff7bc
UD
510952010-11-01 Ulrich Drepper <drepper@gmail.com>
51096
51097 * po/da.po: Update from translation team.
51098
fa41c84d
UD
510992010-10-26 Ulrich Drepper <drepper@gmail.com>
51100
51101 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51102 is added to the list.
51103
f0967738
AK
511042010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51105 Ulrich Drepper <drepper@gmail.com>
51106
51107 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51108 the global list here. Move code to...
51109 (_dl_add_to_namespace_list): ...here. New function.
51110 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51111 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51112 * elf/dl-load.c (lose): Don't remove the element from the list.
51113 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51114 (_dl_map_object): Likewise.
51115
511162010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51117
51118 [BZ #12159]
51119 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51120 into all bytes of SSE register.
51121 Patch by Richard Li <richardpku@gmail.com>.
51122
f0967738 511232010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51124
51125 [BZ #12140]
51126 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51127 perturbing.
51128
d0b9e94f
MB
511292010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51130
51131 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51132 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51133 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51134 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51136 submachine.
51137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51138
8e9f92e9
AS
511392010-10-22 Andreas Schwab <schwab@redhat.com>
51140
51141 * include/dlfcn.h (__RTLD_SECURE): Define.
51142 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51143 mode & __RTLD_SECURE instead.
51144 (open_path): Rename preloaded parameter to secure.
51145 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51146 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51147 * elf/dl-deps.c (openaux): Likewise.
51148 * elf/rtld.c (struct map_args): Remove is_preloaded.
51149 (map_doit): Don't use it.
51150 (dl_main): Likewise.
51151 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51152 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51153
bc96fbda
AS
511542010-09-09 Andreas Schwab <schwab@redhat.com>
51155
51156 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51157 (sysd-rules-targets): Remove duplicates.
51158 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51159 rtld-%.$o dependency.
51160
22cd1c9b
AS
511612010-10-18 Andreas Schwab <schwab@redhat.com>
51162
51163 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51164 _dl_map_object do it.
51165
18edac48
UD
511662010-10-19 Ulrich Drepper <drepper@gmail.com>
51167
51168 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51169 fast fma builtins, define the macros in the C99 standard.
51170 (FP_FAST_FMAF): Likewise.
51171 (FP_FAST_FMAL): Likewise.
51172 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51173
51174 * bits/mathdef.h: Update copyright year.
51175 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51176
d2050124
MM
511772010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51178
51179 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51180 builtins, define the macros in the C99 standard.
51181 (FP_FAST_FMAF): Likewise.
51182 (FP_FAST_FMAL): Likewise.
51183 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51184 multiply/add.
51185 (FP_FAST_FMAF): Likewise.
51186
475facd1
JJ
511872010-10-15 Jakub Jelinek <jakub@redhat.com>
51188
51189 [BZ #3268]
51190 * math/libm-test.inc (fma_test): Some new testcases.
51191 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51192 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51193 y and infinite z. Do multiplication by C already in long double.
51194 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51196 y and infinite z. Do bitwise or of inexact bit into u.d.
51197 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51198 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51199 * sysdeps/i386/fpu/s_fma.S: Removed.
51200 * sysdeps/i386/fpu/s_fmal.S: Removed.
51201
7c08a05c
JJ
512022010-10-16 Jakub Jelinek <jakub@redhat.com>
51203
51204 [BZ #3268]
51205 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51206 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51207 computation is not scheduled after fetestexcept. Fix value
51208 of minimum denormal long double.
51209
f3f7372d
JJ
512102010-10-14 Jakub Jelinek <jakub@redhat.com>
51211
51212 [BZ #3268]
51213 * math/libm-test.inc (fma_test): Add some more tests.
51214 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51215 correctly.
51216
14d43591
AS
512172010-10-15 Andreas Schwab <schwab@redhat.com>
51218
51219 * scripts/data/localplt-s390-linux-gnu.data: New file.
51220 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51221
5e908464
JJ
512222010-10-13 Jakub Jelinek <jakub@redhat.com>
51223
51224 [BZ #3268]
51225 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51226 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51227 instead of dbl-64.
51228 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51229 inlines.
51230 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51232 if one of x and y is very large and the other is subnormal.
51233 * sysdeps/s390/fpu/s_fmaf.c: New file.
51234 * sysdeps/s390/fpu/s_fma.c: New file.
51235 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51236 * sysdeps/powerpc/fpu/s_fma.S: New file.
51237 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51238 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51239 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51240
512412010-10-12 Jakub Jelinek <jakub@redhat.com>
51242
51243 [BZ #3268]
51244 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51245 fma tests.
51246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51247 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51248 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51249 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51250 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51251 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51252 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51253
b833d51f
UD
512542010-10-12 Ulrich Drepper <drepper@redhat.com>
51255
51256 [BZ #12078]
51257 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51258 * posix/bug-regex31.input: Add test case.
51259
1751705d
UD
512602010-10-11 Ulrich Drepper <drepper@gmail.com>
51261
e9b9cbf5
UD
51262 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51263 * posix/bug-regex31.input: New file.
51264
51265 [BZ #12078]
51266 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51267 (parse_sub_exp): Fix last change, use postorder.
51268
ef06edbe
UD
51269 * posix/bug-regex31.c: New file.
51270 * posix/Makefile: Add rules to build and run bug-regex31.
51271
a129c80d
UD
51272 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51273
51274 [BZ #12078]
51275 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51276
b76b818e
UD
51277 [BZ #12108]
51278 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51279 to have entries in sys_siglist.
51280
1751705d
UD
51281 [BZ #12093]
51282 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51283 be NULL.
51284
9ff8d36f
JJ
512852010-10-07 Jakub Jelinek <jakub@redhat.com>
51286
51287 [BZ #3268]
51288 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51289 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51290 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51291 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51292 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51293 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51294 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51295 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51296 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51297 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51298 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51299 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51300 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51301 * math/ftestexcept.c (fetestexcept): Likewise.
51302 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51303 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51304 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51305 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51306 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51307 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51308 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51309
af325969
UD
513102010-10-11 Ulrich Drepper <drepper@gmail.com>
51311
c579b202 51312 [BZ #12107]
af325969
UD
51313 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51314 newline.
51315
67a67b95
UD
513162010-10-06 Ulrich Drepper <drepper@gmail.com>
51317
51318 * string/bug-strstr1.c: New file.
51319 * string/Makefile: Add rules to build and run bug-strstr1.
51320
5fb308bc
EB
513212010-10-05 Eric Blake <eblake@redhat.com>
51322
51323 [BZ #12092]
51324 * string/str-two-way.h (two_way_long_needle): Always clear memory
51325 when skipping input due to the shift table.
51326
45db99c7
UD
513272010-10-03 Ulrich Drepper <drepper@gmail.com>
51328
3b111893
UD
51329 [BZ #12005]
51330 * malloc/mcheck.c: Handle large requests.
51331
45db99c7
UD
51332 [BZ #12077]
51333 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51334 for strncmp and strncasecmp.
51335 * string/stratcliff.c: Add tests for strcmp and strncmp.
51336 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51337
cf7a1eb8
NI
513382010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51339
51340 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51341 __set_fpscr.
51342
6484ba5e
AJ
513432010-09-30 Andreas Jaeger <aj@suse.de>
51344
51345 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51346 (CGROUP_SUPER_MAGIC): Define.
51347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51348 Handle btrfs and cgroup file systems.
51349 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51350 Likewise.
51351
91c42559
LM
513522010-09-27 Luis Machado <luisgpm@br.ibm.com>
51353
51354 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51355 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51356
87a97932
AK
513572010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51358
51359 [BZ #12067]
51360 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51361 trying to locate the ELF header.
51362
c21cc9bc
AS
513632010-09-27 Andreas Schwab <schwab@redhat.com>
51364
51365 [BZ #11611]
51366 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51367 Mask out sign-bit copies when constructing f_fsid.
51368
315970f6
PB
513692010-09-24 Petr Baudis <pasky@suse.cz>
51370
51371 * debug/stack_chk_fail_local.c: Add missing licence exception.
51372 * debug/warning-nop.c: Likewise.
51373
1ac7a2c7
JM
513742010-09-15 Joseph Myers <joseph@codesourcery.com>
51375
51376 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51377 implementing getdents64 using getdents syscall, set d_type if
51378 __ASSUME_GETDENTS32_D_TYPE.
51379
56801c50
AS
513802010-09-16 Andreas Schwab <schwab@redhat.com>
51381
51382 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51383 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51384
dda51327
UD
513852010-09-21 Ulrich Drepper <drepper@redhat.com>
51386
51387 [BZ #12037]
51388 * posix/unistd.h: Undo change of feature selection for ftruncate from
51389 2010-01-11.
51390
8ffcee4a
UD
513912010-09-20 Ulrich Drepper <drepper@redhat.com>
51392
a545ecd9 51393 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51394 detection.
51395
e24f0a8b
AS
513962010-09-20 Andreas Schwab <schwab@redhat.com>
51397
51398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51399 fanotify_mark.
51400 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51401
7291c56f
AS
514022010-09-14 Andreas Schwab <schwab@redhat.com>
51403
51404 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51405 variables after CHECK_SP call.
51406 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51407
bc5fb037
AS
514082010-09-13 Andreas Schwab <schwab@redhat.com>
51409 Ulrich Drepper <drepper@redhat.com>
51410
51411 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51412 re-relocationg ld.so.
51413 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51414 _dl_init_paths call.
51415 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51416 here anymore.
51417
e66e7419
UD
514182010-09-14 Ulrich Drepper <drepper@redhat.com>
51419
51420 * resolv/res_init.c (__res_vinit): Count the default server we added.
51421
c044aa75
CLT
514222010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51423 Ulrich Drepper <drepper@redhat.com>
51424
51425 [BZ #11968]
51426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51427 (____longjmp_chk): Use %ebx for saving value across system call.
51428 Add unwind info.
51429
32cf4069
AS
514302010-09-06 Andreas Schwab <schwab@redhat.com>
51431
51432 * manual/Makefile: Don't mix pattern rules with normal rules.
51433
817328ee
AS
514342010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51435
51436 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51437 operation.
51438 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51439 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51440 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51441 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51442 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51443 Likewise.
51444
29fddf61
UD
514452010-09-04 Ulrich Drepper <drepper@redhat.com>
51446
51447 [BZ #11979]
51448 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51449 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51450
0959ffc9
UD
514512010-09-02 Ulrich Drepper <drepper@redhat.com>
51452
51453 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51454 * sysdeps/x86_64/addmul_1.S: Likewise.
51455 * sysdeps/x86_64/lshift.S: Likewise.
51456 * sysdeps/x86_64/mul_1.S: Likewise.
51457 * sysdeps/x86_64/rshift.S: Likewise.
51458 * sysdeps/x86_64/sub_n.S: Likewise.
51459 * sysdeps/x86_64/submul_1.S: Likewise.
51460
ece29840
ST
514612010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51462
0959ffc9
UD
51463 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51464 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51465 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51466 * bits/sched.h [__need_schedparam]
ece29840 51467 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51468 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51469 (__defined_schedparam): Define to 1.
ece29840
ST
51470 (__sched_param): New structure, identical to sched_param.
51471 (__need_schedparam): Undefine.
51472
e53a31fe
MF
514732010-08-31 Mike Frysinger <vapier@gentoo.org>
51474
fdc0c10d
MF
51475 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51476 (epoll_create1): Declare.
51477
e53a31fe
MF
51478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51479
a726d796
AS
514802010-08-31 Andreas Schwab <schwab@redhat.com>
51481
51482 [BZ #7066]
51483 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51484 shifting retval into place.
51485
2f3e3dc7
UD
514862010-09-01 Ulrich Drepper <drepper@redhat.com>
51487
f2933da9
UD
51488 * nis/rpcsvc/nis.h: Update copyright notice.
51489 * nis/rpcsvc/nis.x: Likewise.
51490 * nis/rpcsvc/nis_callback.h: Likewise.
51491 * nis/rpcsvc/nis_callback.x: Likewise.
51492 * nis/rpcsvc/nis_object.x: Likewise.
51493 * nis/rpcsvc/nis_tags.h: Likewise.
51494 * nis/rpcsvc/yp.h: Likewise.
51495 * nis/rpcsvc/yp.x: Likewise.
51496 * nis/rpcsvc/ypupd.h: Likewise.
51497 * nis/yp_xdr.c: Likewise.
51498 * nis/ypupdate_xdr.c: Likewise.
51499
2f3e3dc7
UD
51500 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51501 mainly the body of pmap_getport. Add parameters to specify timeouts.
51502 (pmap_getport): Use __libc_rpc_getport.
51503 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51504 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51505 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51506
f3dcc2f9
AS
515072010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51508
51509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51510 fanotify_mark.
51511
6d34eb5b
RM
515122010-08-27 Roland McGrath <roland@redhat.com>
51513
51514 * sysdeps/i386/i686/multiarch/Makefile
51515 (CFLAGS-varshift.c): New variable.
51516
9ea3de11
UD
515172010-08-27 Ulrich Drepper <drepper@redhat.com>
51518
c96d23fc
UD
51519 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51520 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51521
9ea3de11
UD
51522 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51523
51524 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51525
623aac7f
L
515262010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51527
51528 * sysdeps/x86_64/strlen.S: Unroll the loop.
51529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51530 strlen-sse2 strlen-sse2-bsf.
51531 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51532 __strlen_no_bsf if bit_Slow_BSF is set.
51533 (__strlen_sse42): Removed.
51534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51535 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51536
8b2b7715
RM
515372010-08-25 Roland McGrath <roland@redhat.com>
51538
51539 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51540 * sysdeps/x86_64/multiarch/varshift.c: New file.
51541 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51542 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51543 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51544 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51545
e73015f2
L
515462010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51547
51548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51549 strlen-sse2 strlen-sse2-bsf.
51550 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51551 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51552 (__strlen_sse2): Removed.
51553 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51556 bit_Slow_BSF for Atom.
51557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51558 (index_Slow_BSF): Define.
51559 (HAS_SLOW_BSF): Define.
51560
df24a73e
UD
515612010-08-25 Ulrich Drepper <drepper@redhat.com>
51562
51563 [BZ #10851]
51564 * resolv/res_init.c (__res_vinit): When no server address at all
51565 is given default to loopback.
51566
f2ac4868
RM
515672010-08-24 Roland McGrath <roland@redhat.com>
51568
09055553
RM
51569 * configure.in: Remove config-name.h generation.
51570 * configure: Regenerated.
51571 * config-name.in: File removed.
51572 * scripts/config-uname.sh: New file.
51573 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51574 ($(objdir)config-name.h): New target.
51575
f2ac4868
RM
51576 * sunrpc/rpc_parse.h: Avoid nested comment.
51577
73f27d5e
RH
515782010-08-24 Richard Henderson <rth@redhat.com>
51579 Ulrich Drepper <drepper@redhat.com>
51580 H.J. Lu <hongjiu.lu@intel.com>
51581
51582 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51583 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51584 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51585 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51586 _mm_alignr_epi8 with _mm_loadu_si128.
51587 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51588 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51589 (__m128i_shift_right): Removed.
51590 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51591 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51592 * sysdeps/x86_64/multiarch/varshift.h: New file.
51593 * sysdeps/x86_64/multiarch/varshift.S: New file.
51594
84b9230c
MF
515952010-08-21 Mike Frysinger <vapier@gentoo.org>
51596
51597 * configure.in: Move assembler checks to before sysdep dir checking.
51598
9bbd0ddc
PB
515992010-08-20 Petr Baudis <pasky@suse.cz>
51600
51601 * LICENSES: Sync the sunrpc license.
51602
9da4bb31
UD
516032010-08-19 Ulrich Drepper <drepper@redhat.com>
51604
a7ab6ec8
UD
51605 * sunrpc/auth_des.c: Update copyright notice once again.
51606 * sunrpc/auth_none.c: Likewise.
51607 * sunrpc/auth_unix.c: Likewise.
51608 * sunrpc/authdes_prot.c: Likewise.
51609 * sunrpc/authuxprot.c: Likewise.
51610 * sunrpc/bindrsvprt.c: Likewise.
51611 * sunrpc/clnt_gen.c: Likewise.
51612 * sunrpc/clnt_perr.c: Likewise.
51613 * sunrpc/clnt_raw.c: Likewise.
51614 * sunrpc/clnt_simp.c: Likewise.
51615 * sunrpc/clnt_tcp.c: Likewise.
51616 * sunrpc/clnt_udp.c: Likewise.
51617 * sunrpc/clnt_unix.c: Likewise.
51618 * sunrpc/des_crypt.c: Likewise.
51619 * sunrpc/des_soft.c: Likewise.
51620 * sunrpc/get_myaddr.c: Likewise.
51621 * sunrpc/getrpcport.c: Likewise.
51622 * sunrpc/key_call.c: Likewise.
51623 * sunrpc/key_prot.c: Likewise.
51624 * sunrpc/openchild.c: Likewise.
51625 * sunrpc/pm_getmaps.c: Likewise.
51626 * sunrpc/pm_getport.c: Likewise.
51627 * sunrpc/pmap_clnt.c: Likewise.
51628 * sunrpc/pmap_prot.c: Likewise.
51629 * sunrpc/pmap_prot2.c: Likewise.
51630 * sunrpc/pmap_rmt.c: Likewise.
51631 * sunrpc/rpc/auth.h: Likewise.
51632 * sunrpc/rpc/auth_unix.h: Likewise.
51633 * sunrpc/rpc/clnt.h: Likewise.
51634 * sunrpc/rpc/des_crypt.h: Likewise.
51635 * sunrpc/rpc/key_prot.h: Likewise.
51636 * sunrpc/rpc/netdb.h: Likewise.
51637 * sunrpc/rpc/pmap_clnt.h: Likewise.
51638 * sunrpc/rpc/pmap_prot.h: Likewise.
51639 * sunrpc/rpc/pmap_rmt.h: Likewise.
51640 * sunrpc/rpc/rpc.h: Likewise.
51641 * sunrpc/rpc/rpc_des.h: Likewise.
51642 * sunrpc/rpc/rpc_msg.h: Likewise.
51643 * sunrpc/rpc/svc.h: Likewise.
51644 * sunrpc/rpc/svc_auth.h: Likewise.
51645 * sunrpc/rpc/types.h: Likewise.
51646 * sunrpc/rpc/xdr.h: Likewise.
51647 * sunrpc/rpc_clntout.c: Likewise.
51648 * sunrpc/rpc_cmsg.c: Likewise.
51649 * sunrpc/rpc_common.c: Likewise.
51650 * sunrpc/rpc_cout.c: Likewise.
51651 * sunrpc/rpc_dtable.c: Likewise.
51652 * sunrpc/rpc_hout.c: Likewise.
51653 * sunrpc/rpc_main.c: Likewise.
51654 * sunrpc/rpc_parse.c: Likewise.
51655 * sunrpc/rpc_parse.h: Likewise.
51656 * sunrpc/rpc_prot.c: Likewise.
51657 * sunrpc/rpc_sample.c: Likewise.
51658 * sunrpc/rpc_scan.c: Likewise.
51659 * sunrpc/rpc_scan.h: Likewise.
51660 * sunrpc/rpc_svcout.c: Likewise.
51661 * sunrpc/rpc_tblout.c: Likewise.
51662 * sunrpc/rpc_util.c: Likewise.
51663 * sunrpc/rpc_util.h: Likewise.
51664 * sunrpc/rpcinfo.c: Likewise.
51665 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51666 * sunrpc/rpcsvc/key_prot.x: Likewise.
51667 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51668 * sunrpc/rpcsvc/mount.x: Likewise.
51669 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51670 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51671 * sunrpc/rpcsvc/rex.x: Likewise.
51672 * sunrpc/rpcsvc/rstat.x: Likewise.
51673 * sunrpc/rpcsvc/rusers.x: Likewise.
51674 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51675 * sunrpc/rpcsvc/spray.x: Likewise.
51676 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51677 * sunrpc/rtime.c: Likewise.
51678 * sunrpc/svc.c: Likewise.
51679 * sunrpc/svc_auth.c: Likewise.
51680 * sunrpc/svc_authux.c: Likewise.
51681 * sunrpc/svc_raw.c: Likewise.
51682 * sunrpc/svc_run.c: Likewise.
51683 * sunrpc/svc_simple.c: Likewise.
51684 * sunrpc/svc_tcp.c: Likewise.
51685 * sunrpc/svc_udp.c: Likewise.
51686 * sunrpc/svc_unix.c: Likewise.
51687 * sunrpc/svcauth_des.c: Likewise.
51688 * sunrpc/xcrypt.c: Likewise.
51689 * sunrpc/xdr.c: Likewise.
51690 * sunrpc/xdr_array.c: Likewise.
51691 * sunrpc/xdr_float.c: Likewise.
51692 * sunrpc/xdr_mem.c: Likewise.
51693 * sunrpc/xdr_rec.c: Likewise.
51694 * sunrpc/xdr_ref.c: Likewise.
51695 * sunrpc/xdr_sizeof.c: Likewise.
51696 * sunrpc/xdr_stdio.c: Likewise.
51697
9da4bb31
UD
51698 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51699 handling.
51700
bdaa77bc
AS
517012010-08-19 Andreas Schwab <schwab@redhat.com>
51702
51703 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51704
fe2f79db
LM
517052010-08-19 Luis Machado <luisgpm@br.ibm.com>
51706
51707 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51708 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51709 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51710 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51711 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51712 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51713 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51714 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51715 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51716 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51717 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51718 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51719 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51720 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51721
b9b42ee0
AB
517222010-07-26 Anton Blanchard <anton@samba.org>
51723
51724 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51725 * malloc/arena.c (heap_trim): Likewise.
51726
1c06ba31
UD
517272010-08-16 Ulrich Drepper <drepper@redhat.com>
51728
51729 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51730 here. Not...
51731 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51732 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51733
f8392f40
L
517342010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51735
51736 * sysdeps/i386/elf/Makefile: New file.
51737
3162f12e
AS
517382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51739
51740 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51741 from fanotify_init.
51742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51744
28c90b2c
UD
517452010-08-15 Ulrich Drepper <drepper@redhat.com>
51746
51747 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51748 of strncasecmp_l.
1feccb6c 51749 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 51750
ca6bb004
UD
517512010-08-14 Ulrich Drepper <drepper@redhat.com>
51752
e9f82e0d
UD
51753 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51754 strncase_l-nonascii.
51755 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51756 Add strncase_l-ssse3.
51757 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51758 * sysdeps/x86_64/strcmp.S: Likewise.
51759 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51760 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51761 * sysdeps/x86_64/strncase.S: New file.
51762 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51763 * sysdeps/x86_64/strncase_l.S: New file.
51764 * string/Makefile (strop-tests): Add strncasecmp.
51765 * string/test-strncasecmp.c: New file.
51766
51767 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51768 warning.
51769
ca6bb004
UD
51770 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51771 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51772
052fa7b3
AS
517732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51774
51775 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51776
962dba78
UD
517772010-08-12 Ulrich Drepper <drepper@redhat.com>
51778
51779 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51780 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51781 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51782
bebff237
AM
517832010-05-01 Alan Modra <amodra@gmail.com>
51784
51785 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51786 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51787 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51788 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51789 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51790 tidying. Don't tail-call __sigjmp_save for static lib.
51791 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51792 save location.
51793 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51794 (CALL_MCOUNT): Add eh info, and nop after bl.
51795 (TAIL_CALL_SYSCALL_ERROR): New macro.
51796 (PSEUDO_RET): Use it.
51797 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51798 Correct save location of integer regs and cr.
51799 (_dl_profile_resolve): Correct cr save location. Delete nops
51800 after bl when SHARED. Reduce cfi size a little by better
51801 placement of cfi directives.
51802 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51803 make a stack frame. Instead use parm save area as a temp.
51804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51805 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51807 Don't make a stack frame for parent, use parm save area.
51808 Increase child stack frame to 112 bytes. Don't save unused reg,
51809 and adjust reg usage. Set up cfi on error recovery and
51810 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51812 (__makecontext): Add dummy nop after jump to exit.
51813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51814 Use correct parm save area and cr save, reduce stack frame.
51815 Correct cfi for possible PSEUDO_RET frame setup.
51816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51817 Branch to local label emitted by PSEUDO_RET rather than
51818 __syscall_error.
51819
02637374
AS
518202010-08-12 Andreas Schwab <schwab@redhat.com>
51821
51822 [BZ #11904]
51823 * locale/programs/locale.c (print_assignment): New function.
51824 (show_locale_vars): Use it.
51825
c3e2f19b
UD
518262010-08-11 Ulrich Drepper <drepper@redhat.com>
51827
3cdaa6ad
UD
51828 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51829 field.
51830 (struct statfs64): Likewise.
51831 (_STATFS_F_FLAGS): Define.
51832 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51834 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51835 (ST_VALID): Define locally.
51836 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51837 __statvfs_getflags, use the provided value.
51838 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51839 __ASSUME_STATFS_F_FLAGS.
51840
754f7da3
UD
51841 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51842
10b3bedc
UD
51843 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51844 Add sys/fanotify.h.
51845 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51846 fanotify_mask for GLIBC_2.13.
51847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51848 fanotify_init and fanotify_mark.
51849 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51850 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51851
c08fb0d7
UD
51852 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51853 Add prlimit.
51854 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51855 prlimit64 for GLIBC_2.13.
51856 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51857 prlimit64.
51858 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51859 syscall.
51860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51861 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51862 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51863 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51865 add prlimit alias.
51866 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51867
15bac72b
UD
51868 [BZ #11903]
51869 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51870 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51871
c3e2f19b
UD
51872 * nss/Makefile: Add rules to build and run tst-nss-test1.
51873 * shlib-versions: Add entry for libnss_test1.
51874 * nss/nss_test1.c: New file.
51875 * nss/tst-nss-test1.c: New file.
51876
51877 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51878 (__nss_configure_lookup): Set appropriate entry in
51879 __nss_configure_lookup to true.
51880 * nss/nsswitch.h: Define enum with indeces of databases in
51881 databases and __nss_database_custom arrays. Declare
51882 __nss_database_custom.
51883 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51884 to avoid using nscd when custom rules are installed.
51885 * nss/getXXbyYY_r.c: Likewise.
51886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51887
51888 * nss/nss_files/files-parse.c: Whitespace fixes.
51889
f15ce4d8
UD
518902010-08-09 Ulrich Drepper <drepper@redhat.com>
51891
51892 [BZ #11883]
51893 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51894 * posix/fnmatch_loop.c: Likewise.
51895
d22e4cc9
AK
518962010-07-17 Andi Kleen <ak@linux.intel.com>
51897
51898 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51899 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51900 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51901 * Versions.def [GLIBC_2.13]: Add.
51902
805bc17d
UD
519032010-08-06 Ulrich Drepper <drepper@redhat.com>
51904
51905 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51906 Also fail if tpwd after pwuid call is NULL.
51907
5a42321d
ST
519082010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51909
51910 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51911 when converting to ms.
51912
fd3ebeda
ST
519132010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51914
51915 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51916 EOPNOTSUPP errors with ENOTTY.
51917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51918 EOPNOTSUPP errors with ENOTTY.
51919
73507d3a
UD
519202010-07-31 Ulrich Drepper <drepper@redhat.com>
51921
51922 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51923 Add strcasecmp_l-ssse3.
51924 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51925 strcasecmp.
51926 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51927 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51928 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51929
fe36dd02
UD
519302010-07-30 Ulrich Drepper <drepper@redhat.com>
51931
66f6765a
UD
51932 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51933
42e08a54
UD
51934 * string/Makefile (strop-tests): Add strcasecmp.
51935 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51936 strcasecmp_l-nonascii.
51937 (gen-as-const-headers): Add locale-defines.sym.
51938 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51939 * sysdeps/x86_64/strcasecmp.S: New file.
51940 * sysdeps/x86_64/strcasecmp_l.S: New file.
51941 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51942 * sysdeps/x86_64/locale-defines.sym: New file.
51943 * string/test-strcasecmp.c: New file.
51944
fe36dd02
UD
51945 * string/test-strcasestr.c: Test both ends of the range of characters.
51946 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51947
48cbc0d6
RM
519482010-07-29 Roland McGrath <roland@redhat.com>
51949
76e6d6bc 51950 [BZ #11856]
48cbc0d6
RM
51951 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51952
880113d9
UD
519532010-07-27 Ulrich Drepper <drepper@redhat.com>
51954
51955 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51956 for ld.so.
51957
deb9cabb
AS
519582010-07-27 Andreas Schwab <schwab@redhat.com>
51959
51960 * manual/memory.texi (Malloc Tunable Parameters): Document
51961 M_PERTURB.
51962
1c7570ff
RM
519632010-07-26 Roland McGrath <roland@redhat.com>
51964
51965 [BZ #11840]
51966 * configure.in (-fgnu89-inline check): Set and substitute
51967 gnu89_inline, not libc_cv_gnu89_inline.
51968 * configure: Regenerated.
51969 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51970
24fb0f88
UD
519712010-07-26 Ulrich Drepper <drepper@redhat.com>
51972
51973 * string/test-strnlen.c: New file.
51974 * string/Makefile (strop-tests): Add strnlen.
51975 * string/tester.c (test_strnlen): Add a few more test cases.
51976 * string/tst-strlen.c: Better error reporting.
51977
51978 * sysdeps/x86_64/strnlen.S: New file.
51979
8e96b93a
UD
519802010-07-24 Ulrich Drepper <drepper@redhat.com>
51981
51982 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51983 lower-latency instructions.
51984
dbc676d4
UD
519852010-07-23 Ulrich Drepper <drepper@redhat.com>
51986
51987 * string/test-strcasestr.c: New file.
51988 * string/test-strstr.c: New file.
51989 * string/Makefile (strop-tests): Add strstr and strcasestr.
51990 * string/str-two-way.h: Don't undefine MAX.
51991 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51992
f6a31e0e
AS
519932010-07-21 Andreas Schwab <schwab@redhat.com>
51994
51995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51996 strcasestr-nonascii.
51997 (CFLAGS-strcasestr-nonascii.c): Define.
51998 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51999 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52000 Remove unused attribute.
52001
5dbc3b6c
RM
520022010-07-20 Roland McGrath <roland@redhat.com>
52003
52004 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52005 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52006 ld.so.cache was broken. With it, there is no way to disable dsocaps
52007 like LD_HWCAP_MASK can disable hwcaps.
52008
23d101d8
EPM
520092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52010
52011 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52012
cc9f2e47
UD
520132010-07-16 Ulrich Drepper <drepper@redhat.com>
52014
52015 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52016 call in strcasestr.
52017 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52018 __strcasestr_sse42_nonascii.
52019 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52020 strcasestr-nonascii.c.
52021 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52022
77c1b069
LM
520232010-06-15 Luis Machado <luisgpm@br.ibm.com>
52024
52025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52026 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52028 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52029
440566c3
UD
520302010-07-09 Ulrich Drepper <drepper@redhat.com>
52031
52032 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52033 fcntl.
52034
5be9d05d
AS
520352010-07-06 Andreas Schwab <schwab@redhat.com>
52036
c30b7ee2 52037 [BZ #11577]
5be9d05d
AS
52038 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52039 dl_signal_cerror.
52040
8a492a67
UD
520412010-07-06 Ulrich Drepper <drepper@redhat.com>
52042
52043 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52044 _PC_PIPE_BUF using F_GETPIPE_SZ.
52045
713df3d5
RM
520462010-07-05 Roland McGrath <roland@redhat.com>
52047
52048 * manual/arith.texi (Rounding Functions): Fix rint description
52049 implicit in round description.
52050
702e8f14
UD
520512010-07-02 Ulrich Drepper <drepper@redhat.com>
52052
52053 * elf/Makefile: Fix linking for a few tests to make recent linker
52054 happy.
52055
52ed8be9
AS
520562010-06-30 Andreas Schwab <schwab@redhat.com>
52057
52058 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52059 $(common-objpfx)libc_nonshared.a.
52060
f47c9a11
LM
520612010-06-21 Luis Machado <luisgpm@br.ibm.com>
52062
52063 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52064 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52065 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52066 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52067 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52068 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52069 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52070 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52085 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52086 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52087 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52088 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52089 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52090 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52091 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52092 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52093 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52094 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52095 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52096 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52111
6fb8cbcb
L
521122010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52113
52114 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52115 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52116 * string/memmove.c (memmove): Renamed to ...
52117 (MEMMOVE): ...this. Default to memmove.
52118 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52119 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52120 (END_CHK): Define.
52121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52122 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52123 mempcpy-ssse3-back memmove-ssse3-back.
52124 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52125 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52126 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52127 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52128 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52129 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52130 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52131 * sysdeps/x86_64/multiarch/memmove.c: New file.
52132 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52133 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52134 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52135 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52136 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52138 Define.
52139 (index_Fast_Copy_Backward): Define.
52140 (HAS_ARCH_FEATURE): Define.
52141 (HAS_FAST_REP_STRING): Define.
52142 (HAS_FAST_COPY_BACKWARD): Define.
52143
4e733bac 521442010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52145
52146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52147 Restore proper fallback handling.
52148
63c4ed22
UD
521492010-06-19 Ulrich Drepper <drepper@redhat.com>
52150
ac2b484c
UD
52151 [BZ #11701]
52152 * posix/group_member.c (__group_member): Correct checking loop.
52153
63c4ed22
UD
52154 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52155 OOM in getpwuid_r correctly. Return error number when the caller
52156 should return, otherwise -1.
52157 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52158 call returning > 0 value.
52159 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52160
765ade4b
AS
521612010-06-07 Andreas Schwab <schwab@redhat.com>
52162
52163 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52164 libc_nonshared.a from targets in modules-names.
52165
80da2e09
KS
521662010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52167
52168 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52169 requires it.
52170
158db122
LM
521712010-06-10 Luis Machado <luisgpm@br.ibm.com>
52172
52173 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52174 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52175 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52176 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52177
caa78cf8
AS
521782010-06-02 Andreas Schwab <schwab@redhat.com>
52179
52180 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52181
b2ef2c01
UD
521822010-06-14 Ulrich Drepper <drepper@redhat.com>
52183
52184 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52185 and F_GETPIPE_SZ.
52186 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52187 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52188 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52190 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52191 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52192
fbd643b6
RM
521932010-06-14 Roland McGrath <roland@redhat.com>
52194
52195 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52196
f32f2869
JJ
521972010-06-07 Jakub Jelinek <jakub@redhat.com>
52198
52199 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52200 __REDIRECT followed by __THROW.
52201 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52202 * posix/getopt.h (getopt): Likewise.
52203
2a50c078
EPM
522042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52205
52206 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52207 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52208 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52209 in AT_FLAGS.
52210 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52211 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52212
eb5ad2eb
LM
522132010-05-28 Luis Machado <luisgpm@br.ibm.com>
52214
52215 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52216
3c88fe1e
L
522172010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52218
52219 [BZ #11640]
52220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52221 Properly check family and model.
52222
d2f73151
TY
522232010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52224
52225 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52226
ebd2e13d
LM
522272010-05-24 Luis Machado <luisgpm@br.ibm.com>
52228
52229 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52230
b32b8b45
UD
522312010-05-21 Ulrich Drepper <drepper@redhat.com>
52232
52233 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52234 symbol reference.
52235
9acbe24d
AS
522362010-05-19 Andreas Schwab <schwab@redhat.com>
52237
52238 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52239 symbol reference.
52240
f0ccf6ea
AS
522412010-05-21 Andreas Schwab <schwab@redhat.com>
52242
3d04ff3a
AS
52243 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52244 and internal_recvmmsg.
52245 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52246 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52247 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52248 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52249
f0ccf6ea
AS
52250 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52251 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52252 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52253
5b08ac57
AS
522542010-05-20 Andreas Schwab <schwab@redhat.com>
52255
52256 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52257
4828935d
LM
522582010-05-17 Luis Machado <luisgpm@br.ibm.com>
52259
52260 POWER7 optimizations.
52261 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52262 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52263
373d545e
UD
522642010-05-19 Ulrich Drepper <drepper@redhat.com>
52265
52266 * version.h: Update for 2.13 development version.
52267
21a2b1ae
AS
522682010-05-12 Andrew Stubbs <ams@codesourcery.com>
52269
52270 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52271 exceptions. Return 0.
52272
3f7dcb2b
RM
522732010-05-07 Roland McGrath <roland@redhat.com>
52274
52275 * elf/ldconfig.c (main): Add a const.
52276
5f24d53a 522772010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52278
a160f8d8
UD
52279 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52280 (args_options): Add no-idn option.
52281 (ahosts_keys_int): Add idn_flags to ai_flags.
52282 (parse_option): Handle 'i' option to clear idn_flags.
52283
5f24d53a
UD
52284 * malloc/malloc.c (_int_free): Possible race in the most recently
52285 added check. Only act on the data if no current modification
52286 happened.
265bb1ce
UD
52287
52288See ChangeLog.17 for earlier changes.
This page took 7.90178 seconds and 5 git commands to generate.